Skip to content

Commit 9801296

Browse files
committed
Update minimum Node version to 18, Webpack to v5 and Lerna to v6.
Update the rest of the package(s) dependencies to the latest major version where possible. Some packages cannot be updated to latest due to other peer dependency requirements we have not yet upgraded such as React and React-Dom. The updated stylelintand eslint versions required some changes in the components to match new style rules. Remove as many redundant or unused dependencies as possible.
1 parent 85d053c commit 9801296

File tree

170 files changed

+93919
-105921
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+93919
-105921
lines changed

.github/workflows/deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-node@v4
1515
with:
16-
node-version: 12.4.0
16+
node-version: 20
1717
- run: npm install
1818
- run: npm run build --if-present
1919
- run: npm test
@@ -29,7 +29,7 @@ jobs:
2929
- name: Set Node version
3030
uses: actions/setup-node@v4
3131
with:
32-
node-version: 12.4.0
32+
node-version: 20
3333
- name: Install
3434
run: |
3535
cd packages/design-system-website

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-node@v4
1515
with:
16-
node-version: 12.4.0
16+
node-version: 20
1717
- run: npm install
1818
- run: npm run build --if-present
1919
- run: npm test
@@ -29,7 +29,7 @@ jobs:
2929
- name: Set Node version
3030
uses: actions/setup-node@v4
3131
with:
32-
node-version: 12.4.0
32+
node-version: 20
3333
registry-url: https://registry.npmjs.org
3434
- name: Install all package dependencies
3535
run: npm install

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
node-version: [12.4.0]
11+
node-version: [20]
1212

1313
steps:
1414
- uses: actions/checkout@v4

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.4.0
1+
20.9

0 commit comments

Comments
 (0)