Skip to content

Commit 193ff5b

Browse files
Update minimum Node version to 18, Webpack to v5 and Lerna to v6. (#676)
* 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. * Upgrade Webpack and plugins for styleguidist and fixed any breaking changes * Update styleguidist asset loading --------- Co-authored-by: Ioannis Karasavvaidis <[email protected]>
1 parent de66109 commit 193ff5b

File tree

164 files changed

+90392
-97327
lines changed

Some content is hidden

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

164 files changed

+90392
-97327
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
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [12.4.0]
14+
node-version: [20]
1515

1616
steps:
1717
- uses: actions/checkout@v4

.nvmrc

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

0 commit comments

Comments
 (0)