Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: updated node version #1078

Merged
merged 10 commits into from
Aug 1, 2024
2 changes: 1 addition & 1 deletion .github/workflows/check-tree-shakeability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup Node.js with Yarn cache
uses: actions/setup-node@v2
with:
node-version: '18'
node-version: '20'
cache: 'yarn'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup Node.js with Yarn cache
uses: actions/setup-node@v2
with:
node-version: '18'
node-version: '20'
cache: 'yarn'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- run: yarn add @commitlint/cli
- run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: git config
run: |
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
20
13 changes: 1 addition & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"url": "git+https://github.com/italia/design-react-kit.git"
},
"engines": {
"node": ">=14"
"node": ">=20"
},
"scripts": {
"start": "NODE_OPTIONS=--max_old_space_size=16384 npm run storybook:serve",
Expand Down Expand Up @@ -76,15 +76,8 @@
"./{src,stories,test}/**/*.{js,ts,tsx,jsx,mdx}": "yarn lint:staged"
},
"devDependencies": {
"@babel/core": "^7.22.20",
"@babel/helper-remap-async-to-generator": "^7.18.9",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/preset-react": "^7.24.1",
"@chromatic-com/storybook": "^1.2.25",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@rollup/plugin-url": "^8.0.2",
"@storybook/addon-a11y": "^8.0.5",
"@storybook/addon-docs": "^8.0.5",
"@storybook/addon-essentials": "^8.0.5",
Expand All @@ -95,18 +88,14 @@
"@storybook/react": "^8.0.5",
"@storybook/react-vite": "^8.0.5",
"@storybook/test": "^8.0.5",
"@svgr/rollup": "^8.1.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^16",
"@testing-library/react-hooks": "^8.0.1",
"@types/is-number": "^7.0.3",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.2",
"@types/react": "^18.2.75",
"@types/react-dom": "^18.2.24",
"@types/react-transition-group": "^4.4.10",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-polyfill-corejs3": "^0.10.4",
"bootstrap-italia": "^2.8.8",
"browserslist-config-design-italia": "^1.0.0",
"eslint": "^8.57.0",
Expand Down
384 changes: 21 additions & 363 deletions yarn.lock

Large diffs are not rendered by default.

Loading