Skip to content

Commit cb0a7a1

Browse files
committed
fix(deps): update dependencies
1 parent 2c45b98 commit cb0a7a1

File tree

4 files changed

+32
-32
lines changed

4 files changed

+32
-32
lines changed

.github/workflows/actions/setup_node-cache_dep-install_dep/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
- name: Setup Node.js ⚙️
77
uses: actions/setup-node@v4
88
with:
9-
node-version: '20.x'
9+
node-version: '22.x'
1010

1111
- name: Cache dependencies ⚡
1212
id: cache_dependencies

package-lock.json

Lines changed: 28 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"scripts": {
2525
"start": "npm run storybook",
2626
"prepare": "husky",
27-
"build": "rm -rf dist && rollup --config scripts/rollup.config.ts --configPlugin typescript",
27+
"build": "rm -rf dist && rollup --config scripts/rollup.config.ts --configPlugin typescript --configImportAttributesKey with",
2828
"lint": "eslint --report-unused-disable-directives --max-warnings 0 .",
2929
"lint-fix": "eslint --fix .",
3030
"lint-staged-husky": "lint-staged",

scripts/rollupConfigs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const LEGACY_CONFIG = [
5050
}),
5151
],
5252
// Ensure dependencies are not bundled with the library
53-
external: [...Object.keys(packageJson.peerDependencies)],
53+
external: [...Object.keys(packageJson.peerDependencies), 'react/jsx-runtime'],
5454
},
5555
{
5656
input: PATH_INPUT_FILE,
@@ -98,7 +98,7 @@ export const MODERN_CONFIG = [
9898
}),
9999
],
100100
// Ensure dependencies are not bundled with the library
101-
external: [...Object.keys(packageJson.peerDependencies)],
101+
external: [...Object.keys(packageJson.peerDependencies), 'react/jsx-runtime'],
102102
},
103103
{
104104
input: PATH_INPUT_FILE,

0 commit comments

Comments
 (0)