Skip to content

Commit 0a1b880

Browse files
ScriptedAlchemyColy0102heal1
authored
chore: update NX libraries to v19 (#2764)
Co-authored-by: Colum Ferry <[email protected]> Co-authored-by: 2heal1 <[email protected]> Co-authored-by: Hanric <[email protected]>
1 parent 7464da3 commit 0a1b880

File tree

184 files changed

+33157
-33823
lines changed

Some content is hidden

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

184 files changed

+33157
-33823
lines changed

.eslintrc.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,18 @@
2727
"rules": {
2828
"@typescript-eslint/ban-ts-comment": "off",
2929
"@typescript-eslint/no-explicit-any": "off",
30-
"@typescript-eslint/no-unused-vars": "off"
30+
"@typescript-eslint/no-unused-vars": "off",
31+
"@typescript-eslint/no-extra-semi": "error",
32+
"no-extra-semi": "off"
3133
}
3234
},
3335
{
3436
"files": ["*.js", "*.jsx"],
3537
"extends": ["plugin:@nx/javascript"],
3638
"rules": {
37-
"@typescript-eslint/no-useless-constructor": "off"
39+
"@typescript-eslint/no-useless-constructor": "off",
40+
"@typescript-eslint/no-extra-semi": "error",
41+
"no-extra-semi": "off"
3842
}
3943
},
4044
{

.github/workflows/e2e-modern.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,6 @@ jobs:
4444
- name: E2E Test for ModernJS
4545
if: steps.check-ci.outcome == 'success'
4646
run: npx kill-port --port 4001 && npx nx run-many --target=test:e2e --projects=modernjs --parallel=1 && npx kill-port --port 4001
47+
48+
- name: Kill ports
49+
run: npx kill-port --port 4001

.github/workflows/e2e-next-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ jobs:
4949
npx wait-on tcp:3002 &&
5050
npx wait-on tcp:3000 &&
5151
npx nx run-many --target=test:e2e --projects=3000-home,3001-shop,3002-checkout --parallel=1 &&
52-
lsof -ti tcp:3000,3001,3002 | xargs kill
52+
npx kill-port 3000,3001,3002

.github/workflows/e2e-next-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ jobs:
5050
npx wait-on tcp:3002 &&
5151
npx wait-on tcp:3000 &&
5252
npx nx run-many --target=test:e2e --projects=3000-home,3001-shop,3002-checkout --parallel=1 &&
53-
lsof -ti tcp:3000,3001,3002 | xargs kill
53+
npx kill-port 3000,3001,3002

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@
88
pnpm-lock.yaml
99
**/dist/**
1010
apps/website-new/docs
11+
12+
/.nx/workspace-data
13+
/.nx/cache

apps/3000-home/components/SharedNav.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const SharedNav = () => {
2424
</>
2525
),
2626
key: '/',
27-
onMouseEnter: () => {},
2827
},
2928
{
3029
className: 'shop-menu-link',

apps/3000-home/package.json

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,9 @@
55
"dependencies": {
66
"antd": "5.19.1",
77
"@ant-design/cssinjs": "^1.21.0",
8-
"buffer": "5.7.1",
9-
"encoding": "0.1.13",
10-
"eslint-scope": "7.2.2",
11-
"events": "3.3.0",
12-
"js-cookie": "3.0.5",
138
"lodash": "4.17.21",
149
"next": "14.1.2",
15-
"node-fetch": "2.7.0",
16-
"react": "18.2.0",
17-
"react-dom": "18.2.0",
18-
"schema-utils": "3.3.0",
19-
"terser-webpack-plugin": "5.3.10",
20-
"typescript": "5.3.3",
21-
"upath": "2.0.1",
22-
"url": "0.11.3",
23-
"util": "0.12.5"
10+
"react": "18.3.1"
2411
},
2512
"devDependencies": {
2613
"@module-federation/nextjs-mf": "workspace:*",

apps/3000-home/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"$schema": "../../node_modules/nx/schemas/project-schema.json",
44
"sourceRoot": "apps/3000-home",
55
"projectType": "application",
6+
"tags": [],
67
"targets": {
78
"build": {
89
"executor": "@nx/next:build",
@@ -93,6 +94,5 @@
9394
]
9495
}
9596
}
96-
},
97-
"tags": []
97+
}
9898
}

apps/3001-shop/package.json

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,11 @@
33
"version": "1.0.0",
44
"private": true,
55
"dependencies": {
6-
"acorn": "8.12.1",
76
"antd": "5.19.1",
87
"@ant-design/cssinjs": "^1.21.0",
9-
"buffer": "5.7.1",
10-
"chrome-trace-event": "1.0.4",
11-
"encoding": "0.1.13",
12-
"enhanced-resolve": "5.15.0",
13-
"eslint-scope": "7.2.2",
14-
"eventemitter3": "5.0.1",
15-
"events": "3.3.0",
16-
"fast-glob": "3.3.2",
178
"lodash": "4.17.21",
189
"next": "14.1.2",
19-
"node-fetch": "2.7.0",
20-
"react": "18.2.0",
21-
"react-dom": "18.2.0",
22-
"schema-utils": "3.3.0",
23-
"semver": "6.3.1",
24-
"tapable": "2.2.1",
25-
"terser-webpack-plugin": "5.3.10",
26-
"typescript": "5.3.3",
27-
"upath": "2.0.1",
28-
"url": "0.11.3",
29-
"util": "0.12.5",
30-
"webpack-sources": "3.2.3"
10+
"react": "18.3.1"
3111
},
3212
"devDependencies": {
3313
"@module-federation/nextjs-mf": "workspace:*",

apps/3001-shop/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"$schema": "../../node_modules/nx/schemas/project-schema.json",
44
"sourceRoot": "apps/3001-shop",
55
"projectType": "application",
6+
"tags": [],
67
"targets": {
78
"build": {
89
"executor": "@nx/next:build",
@@ -92,6 +93,5 @@
9293
}
9394
}
9495
}
95-
},
96-
"tags": []
96+
}
9797
}

0 commit comments

Comments
 (0)