Skip to content

Commit 6c48442

Browse files
chore(qwik-nx): migrate to nx v20
1 parent be20c64 commit 6c48442

File tree

7 files changed

+5688
-772
lines changed

7 files changed

+5688
-772
lines changed

.eslintrc.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,18 @@
4141
"selector": "enumMember",
4242
"format": ["PascalCase"]
4343
}
44-
]
44+
],
45+
"@typescript-eslint/no-extra-semi": "error",
46+
"no-extra-semi": "off"
4547
}
4648
},
4749
{
4850
"files": ["*.js", "*.jsx"],
4951
"extends": ["plugin:@nx/javascript"],
50-
"rules": {}
52+
"rules": {
53+
"@typescript-eslint/no-extra-semi": "error",
54+
"no-extra-semi": "off"
55+
}
5156
},
5257
{
5358
"files": [

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ Thumbs.db
4343

4444
# Nx
4545
.nx/cache
46+
.nx/workspace-data
4647
migrations.json

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
/dist
44
/coverage
55
CHANGELOG.md
6-
/.nx/cache
6+
/.nx/cache
7+
/.nx/workspace-data

jest.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { getJestProjects } from '@nx/jest';
1+
import { getJestProjectsAsync } from '@nx/jest';
22

3-
export default {
4-
projects: getJestProjects(),
5-
};
3+
export default async () => ({
4+
projects: await getJestProjectsAsync(),
5+
});

nx.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,6 @@
4444
"libsDir": "packages"
4545
},
4646
"nxCloudAccessToken": "MmI5MzJhMDctNGYwMi00OTI1LWJiZjUtNWIwNTQ4NmY2ZjhjfHJlYWQtd3JpdGU=",
47-
"useInferencePlugins": false
47+
"useInferencePlugins": false,
48+
"useLegacyCache": true
4849
}

package.json

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,28 @@
2424
"@commitlint/config-angular": "^17.8.1",
2525
"@commitlint/config-conventional": "^17.8.1",
2626
"@jscutlery/semver": "^4.2.0",
27-
"@nx/cypress": "19.0.6",
28-
"@nx/devkit": "19.0.6",
29-
"@nx/eslint": "19.0.6",
30-
"@nx/eslint-plugin": "19.0.6",
31-
"@nx/jest": "19.0.6",
32-
"@nx/js": "19.0.6",
33-
"@nx/playwright": "19.0.6",
34-
"@nx/plugin": "19.0.6",
35-
"@nx/storybook": "19.0.6",
36-
"@nx/vite": "19.0.6",
37-
"@nx/workspace": "19.0.6",
38-
"@swc-node/register": "1.8.0",
27+
"@nx/cypress": "20.0.3",
28+
"@nx/devkit": "20.0.3",
29+
"@nx/eslint": "20.0.3",
30+
"@nx/eslint-plugin": "20.0.3",
31+
"@nx/jest": "20.0.3",
32+
"@nx/js": "20.0.3",
33+
"@nx/playwright": "20.0.3",
34+
"@nx/plugin": "20.0.3",
35+
"@nx/storybook": "20.0.3",
36+
"@nx/vite": "20.0.3",
37+
"@nx/workspace": "20.0.3",
38+
"@swc-node/register": "1.9.2",
3939
"@swc/cli": "0.3.12",
40-
"@swc/core": "^1.4.1",
40+
"@swc/core": "1.5.7",
4141
"@types/fs-extra": "11.0.1",
42-
"@types/jest": "29.4.0",
42+
"@types/jest": "29.5.13",
4343
"@types/node": "18.19.15",
4444
"@types/semver": "7.5.6",
4545
"@types/tcp-port-used": "1.0.1",
4646
"@types/yargs": "17.0.24",
47-
"@typescript-eslint/eslint-plugin": "7.9.0",
48-
"@typescript-eslint/parser": "7.9.0",
47+
"@typescript-eslint/eslint-plugin": "7.18.0",
48+
"@typescript-eslint/parser": "7.18.0",
4949
"all-contributors-cli": "^6.26.1",
5050
"chalk": "^4.1.2",
5151
"commitizen": "^4.3.0",
@@ -60,12 +60,12 @@
6060
"husky": "^8.0.3",
6161
"is-windows": "1.0.2",
6262
"isomorphic-fetch": "3.0.0",
63-
"jest": "29.4.3",
64-
"jest-environment-jsdom": "29.4.3",
63+
"jest": "29.7.0",
64+
"jest-environment-jsdom": "29.7.0",
6565
"jsonc-eslint-parser": "^2.4.0",
6666
"kill-port": "2.0.1",
6767
"ngx-deploy-npm": "8.0.1",
68-
"nx": "19.0.6",
68+
"nx": "20.0.3",
6969
"prettier": "^2.8.8",
7070
"pretty-quick": "^3.3.1",
7171
"semver": "7.6.0",
@@ -80,8 +80,10 @@
8080
"yargs": "17.7.1"
8181
},
8282
"dependencies": {
83-
"@swc/helpers": "0.5.1",
84-
"tslib": "^2.6.2"
83+
"@swc/helpers": "0.5.13",
84+
"tslib": "^2.6.2",
85+
"@storybook/addon-interactions": "^8.2.8",
86+
"storybook": "^8.2.8"
8587
},
8688
"config": {
8789
"commitizen": {

0 commit comments

Comments
 (0)