Skip to content

Commit 65cd5e2

Browse files
committed
chore: upgrade nx
1 parent 7adfa6f commit 65cd5e2

File tree

5 files changed

+10507
-8237
lines changed

5 files changed

+10507
-8237
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,6 @@ Thumbs.db
4545
# See https://nx.dev/recipes/tips-n-tricks/define-environment-variables#set-environment-variables
4646
.env.local
4747
nxcloud.env
48+
49+
vite.config.*.timestamp*
50+
vitest.config.*.timestamp*

migrations.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"migrations": [
3+
{
4+
"version": "20.0.0-beta.7",
5+
"description": "Migration for v20.0.0-beta.7",
6+
"implementation": "./src/migrations/update-20-0-0/move-use-daemon-process",
7+
"package": "nx",
8+
"name": "move-use-daemon-process"
9+
},
10+
{
11+
"version": "20.0.1",
12+
"description": "Set `useLegacyCache` to true for migrating workspaces",
13+
"implementation": "./src/migrations/update-20-0-1/use-legacy-cache",
14+
"x-repair-skip": true,
15+
"package": "nx",
16+
"name": "use-legacy-cache"
17+
},
18+
{
19+
"version": "20.2.0-beta.5",
20+
"description": "Update TypeScript ESLint packages to v8.13.0 if they are already on v8",
21+
"implementation": "./src/migrations/update-20-2-0/update-typescript-eslint-v8-13-0",
22+
"package": "@nx/eslint",
23+
"name": "update-typescript-eslint-v8.13.0"
24+
},
25+
{
26+
"version": "20.3.0-beta.1",
27+
"description": "Update ESLint flat config to include .cjs, .mjs, .cts, and .mts files in overrides (if needed)",
28+
"implementation": "./src/migrations/update-20-3-0/add-file-extensions-to-overrides",
29+
"package": "@nx/eslint",
30+
"name": "add-file-extensions-to-overrides"
31+
},
32+
{
33+
"version": "20.0.4-beta.0",
34+
"description": "Add gitignore entry for temporary vite config files.",
35+
"implementation": "./src/migrations/update-20-0-4/add-vite-temp-files-to-git-ignore",
36+
"package": "@nx/vite",
37+
"name": "update-20-0-4"
38+
},
39+
{
40+
"version": "20.0.6-beta.0",
41+
"description": "Add gitignore entry for temporary vite config files and remove previous incorrect glob.",
42+
"implementation": "./src/migrations/update-20-0-4/add-vite-temp-files-to-git-ignore",
43+
"package": "@nx/vite",
44+
"name": "update-20-0-6"
45+
},
46+
{
47+
"version": "20.3.0-beta.2",
48+
"description": "Add gitignore entry for temporary vitest config files.",
49+
"implementation": "./src/migrations/update-20-3-0/add-vitest-temp-files-to-git-ignore",
50+
"package": "@nx/vite",
51+
"name": "update-20-3-0"
52+
},
53+
{
54+
"cli": "nx",
55+
"version": "20.0.0-beta.5",
56+
"description": "replace getJestProjects with getJestProjectsAsync",
57+
"implementation": "./src/migrations/update-20-0-0/replace-getJestProjects-with-getJestProjectsAsync",
58+
"package": "@nx/jest",
59+
"name": "replace-getJestProjects-with-getJestProjectsAsync"
60+
}
61+
]
62+
}

nx.json

Lines changed: 43 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,18 @@
3434
"serveStaticTargetName": "serve-static"
3535
}
3636
},
37-
{ "plugin": "@nx/eslint/plugin", "options": { "targetName": "lint" } },
38-
{ "plugin": "@nx/playwright/plugin", "options": { "targetName": "e2e" } },
37+
{
38+
"plugin": "@nx/eslint/plugin",
39+
"options": {
40+
"targetName": "lint"
41+
}
42+
},
43+
{
44+
"plugin": "@nx/playwright/plugin",
45+
"options": {
46+
"targetName": "e2e"
47+
}
48+
},
3949
{
4050
"plugin": "@nx/webpack/plugin",
4151
"options": {
@@ -46,7 +56,9 @@
4656
},
4757
{
4858
"plugin": "@nx/jest/plugin",
49-
"options": { "targetName": "test" },
59+
"options": {
60+
"targetName": "test"
61+
},
5062
"exclude": ["apps/books-api-e2e/**/*"]
5163
}
5264
],
@@ -56,7 +68,9 @@
5668
"dependsOn": ["^build"],
5769
"inputs": ["production", "^production"]
5870
},
59-
"e2e-ci--**/*": { "dependsOn": ["^build"] },
71+
"e2e-ci--**/*": {
72+
"dependsOn": ["^build"]
73+
},
6074
"@nx/vite:build": {
6175
"cache": true,
6276
"dependsOn": ["^build"],
@@ -74,21 +88,38 @@
7488
"projectsRelationship": "independent",
7589
"conventionalCommits": {
7690
"types": {
77-
"fix": { "semverBump": "patch", "changelog": { "title": "Bug Fixes" } },
91+
"fix": {
92+
"semverBump": "patch",
93+
"changelog": {
94+
"title": "Bug Fixes"
95+
}
96+
},
7897
"feat": {
7998
"semverBump": "minor",
80-
"changelog": { "title": "New Features" }
99+
"changelog": {
100+
"title": "New Features"
101+
}
81102
},
82103
"docs": {
83104
"semverBump": "patch",
84-
"changelog": { "title": "Documentation Updates" }
105+
"changelog": {
106+
"title": "Documentation Updates"
107+
}
85108
},
86109
"build": {
87110
"semverBump": "minor",
88-
"changelog": { "title": "Other Updates" }
111+
"changelog": {
112+
"title": "Other Updates"
113+
}
89114
},
90-
"chore": { "semverBump": "none", "changelog": false },
91-
"style": { "semverBump": "patch", "changelog": false }
115+
"chore": {
116+
"semverBump": "none",
117+
"changelog": false
118+
},
119+
"style": {
120+
"semverBump": "patch",
121+
"changelog": false
122+
}
92123
}
93124
},
94125
"version": {
@@ -111,5 +142,6 @@
111142
}
112143
}
113144
},
114-
"nxCloudAccessToken": "NzY1ODc3OWUtNzg4OS00NzNkLTliNmMtZTRhY2I3NjEzNjU0fHJlYWQtd3JpdGU="
145+
"nxCloudAccessToken": "NzY1ODc3OWUtNzg4OS00NzNkLTliNmMtZTRhY2I3NjEzNjU0fHJlYWQtd3JpdGU=",
146+
"useLegacyCache": true
115147
}

0 commit comments

Comments
 (0)