Skip to content

Commit

Permalink
fix(deps): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosir committed Dec 25, 2024
1 parent 2c45b98 commit cb0a7a1
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
- name: Setup Node.js ⚙️
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'

- name: Cache dependencies ⚡
id: cache_dependencies
Expand Down
56 changes: 28 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"start": "npm run storybook",
"prepare": "husky",
"build": "rm -rf dist && rollup --config scripts/rollup.config.ts --configPlugin typescript",
"build": "rm -rf dist && rollup --config scripts/rollup.config.ts --configPlugin typescript --configImportAttributesKey with",
"lint": "eslint --report-unused-disable-directives --max-warnings 0 .",
"lint-fix": "eslint --fix .",
"lint-staged-husky": "lint-staged",
Expand Down
4 changes: 2 additions & 2 deletions scripts/rollupConfigs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const LEGACY_CONFIG = [
}),
],
// Ensure dependencies are not bundled with the library
external: [...Object.keys(packageJson.peerDependencies)],
external: [...Object.keys(packageJson.peerDependencies), 'react/jsx-runtime'],
},
{
input: PATH_INPUT_FILE,
Expand Down Expand Up @@ -98,7 +98,7 @@ export const MODERN_CONFIG = [
}),
],
// Ensure dependencies are not bundled with the library
external: [...Object.keys(packageJson.peerDependencies)],
external: [...Object.keys(packageJson.peerDependencies), 'react/jsx-runtime'],
},
{
input: PATH_INPUT_FILE,
Expand Down

0 comments on commit cb0a7a1

Please sign in to comment.