Skip to content

Commit 374f8fe

Browse files
committed
build(repo): update nx workspace to 22.0.2
1 parent c1cef07 commit 374f8fe

11 files changed

Lines changed: 244 additions & 267 deletions

File tree

e2e/utils/run-publish-local-registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const runPublishLocalRegistry = async () => {
3939
gitCommit: false,
4040
gitTag: false,
4141
firstRelease: true,
42-
generatorOptionsOverrides: {
42+
versionActionsOptionsOverrides: {
4343
skipLockFileUpdate: true
4444
},
4545
projects,

e2e/utils/start-local-registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default async () => {
4040
gitCommit: false,
4141
gitTag: false,
4242
firstRelease: true,
43-
generatorOptionsOverrides: {
43+
versionActionsOptionsOverrides: {
4444
skipLockFileUpdate: true
4545
},
4646
verbose

nx.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@
118118
"release": {
119119
"projects": ["packages/*"],
120120
"projectsRelationship": "independent",
121-
"releaseTagPattern": "{projectName}-{version}",
122121
"changelog": {
123122
"automaticFromRef": true,
124123
"git": {
@@ -135,10 +134,8 @@
135134
"version": {
136135
"preVersionCommand": "pnpm nx run-many -t build",
137136
"conventionalCommits": true,
138-
"generatorOptions": {
139-
"fallbackCurrentVersionResolver": "disk",
140-
"preserveLocalDependencyProtocols": false
141-
}
137+
"fallbackCurrentVersionResolver": "disk",
138+
"preserveLocalDependencyProtocols": false
142139
},
143140
"conventionalCommits": {
144141
"types": {
@@ -209,6 +206,9 @@
209206
}
210207
}
211208
}
209+
},
210+
"releaseTag": {
211+
"pattern": "{projectName}-{version}"
212212
}
213213
},
214214
"plugins": [

package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -92,23 +92,23 @@
9292
"@eslint/js": "^9.8.0",
9393
"@evilmartians/lefthook": "^1.8.0",
9494
"@homebridge/node-pty-prebuilt-multiarch": "^0.13.0",
95-
"@nx/cypress": "21.6.5",
96-
"@nx/devkit": "21.6.5",
97-
"@nx/esbuild": "21.6.5",
98-
"@nx/eslint": "21.6.5",
99-
"@nx/eslint-plugin": "21.6.5",
100-
"@nx/jest": "21.6.5",
101-
"@nx/js": "21.6.5",
102-
"@nx/next": "21.6.5",
103-
"@nx/node": "21.6.5",
104-
"@nx/playwright": "21.6.5",
105-
"@nx/plugin": "21.6.5",
106-
"@nx/react": "21.6.5",
107-
"@nx/remix": "21.6.5",
108-
"@nx/vite": "21.6.5",
109-
"@nx/web": "21.6.5",
110-
"@nx/webpack": "21.6.5",
111-
"@nx/workspace": "21.6.5",
95+
"@nx/cypress": "22.0.2",
96+
"@nx/devkit": "22.0.2",
97+
"@nx/esbuild": "22.0.2",
98+
"@nx/eslint": "22.0.2",
99+
"@nx/eslint-plugin": "22.0.2",
100+
"@nx/jest": "22.0.2",
101+
"@nx/js": "22.0.2",
102+
"@nx/next": "22.0.2",
103+
"@nx/node": "22.0.2",
104+
"@nx/playwright": "22.0.2",
105+
"@nx/plugin": "22.0.2",
106+
"@nx/react": "22.0.2",
107+
"@nx/remix": "22.0.2",
108+
"@nx/vite": "22.0.2",
109+
"@nx/web": "22.0.2",
110+
"@nx/webpack": "22.0.2",
111+
"@nx/workspace": "22.0.2",
112112
"@octokit/core": "6.1.6",
113113
"@octokit/graphql-schema": "^15.25.0",
114114
"@octokit/plugin-rest-endpoint-methods": "^13.2.6",
@@ -149,7 +149,7 @@
149149
"babel-jest": "30.0.5",
150150
"chalk": "^4.1.0",
151151
"concurrently": "^9.1.2",
152-
"create-nx-workspace": "21.6.5",
152+
"create-nx-workspace": "22.0.2",
153153
"cz-git": "^1.8.0",
154154
"czg": "^1.8.0",
155155
"docker-cli-js": "^2.10.0",
@@ -175,7 +175,7 @@
175175
"memfs": "^4.14.0",
176176
"nodemon": "^3.1.9",
177177
"npm-whoami": "^1.1.4",
178-
"nx": "21.6.5",
178+
"nx": "22.0.2",
179179
"nx-cloud": "19.1.0",
180180
"postcss": "~8.5.2",
181181
"prettier": "^3.0.0",

packages/core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@
3434
"@actions/github": "^6.0.0",
3535
"@clack/prompts": "^0.11.0",
3636
"@homebridge/node-pty-prebuilt-multiarch": "^0.13.0",
37-
"@nx/devkit": "^21.0.0",
38-
"@nx/plugin": "^21.0.0",
37+
"@nx/devkit": "^22.0.2",
38+
"@nx/plugin": "^22.0.2",
3939
"@octokit/request-error": "^5.0.1",
4040
"chalk": "^4.1.0",
4141
"docker-cli-js": "^2.10.0",
4242
"fast-glob": "^3.3.2",
4343
"http-status-codes": "^2.3.0",
4444
"kill-port": "^2.0.1",
4545
"npm-whoami": "^1.1.4",
46-
"nx": "^21.0.0",
46+
"nx": "^22.0.2",
4747
"simple-git": "^3.27.0",
4848
"tcp-port-used": "^1.0.2",
4949
"tiny-invariant": "^1.3.3",

packages/create-nx-payload/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"dependencies": {
2323
"chalk": "^4.1.0",
24-
"create-nx-workspace": "21.6.5",
24+
"create-nx-workspace": "22.0.2",
2525
"enquirer": "^2.4.1",
2626
"tslib": "^2.4.1",
2727
"yargs": "^17.7.2"

packages/nx-fly-deployment-action/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@actions/core": "^1.11.1",
2828
"@actions/exec": "^1.1.1",
2929
"@actions/github": "^6.0.0",
30-
"@nx/devkit": "^20.0.0 || ^21.0.0",
30+
"@nx/devkit": "^20.0.0 || ^21.0.0 || ^22.0.2",
3131
"@octokit/webhooks-types": "^7.6.1",
3232
"zod": "^3.23.8"
3333
},

packages/nx-migrate-action/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@actions/core": "^1.11.1",
2828
"@actions/exec": "^1.1.1",
2929
"@actions/github": "^6.0.0",
30-
"@nx/devkit": "^20.0.0 || ^21.0.0",
30+
"@nx/devkit": "^20.0.0 || ^21.0.0 || ^22.0.2",
3131
"@octokit/graphql-schema": "^15.25.0",
3232
"replace-in-file": "^7.2.0",
3333
"zod": "^3.23.8"

packages/nx-payload/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"access": "public"
3030
},
3131
"peerDependencies": {
32-
"@nx/devkit": "^20.4.2 || ^21.0.0",
32+
"@nx/devkit": "^20.4.2 || ^21.0.0 || ^22.0.2",
3333
"next": "^15.0.0",
3434
"payload": "^3.0.0",
3535
"react": "^19.0.0",

packages/nx-payload/src/plugins/utils/create-payload-nodes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { dirname, join, relative } from 'path/posix';
22

33
import {
4-
type CreateNodesContext,
4+
type CreateNodesContextV2,
55
type CreateNodesResult,
66
type ProjectConfiguration,
77
type TargetConfiguration,
@@ -31,7 +31,7 @@ import {
3131
*/
3232
export const createPayloadNodes = async (
3333
configFilePath: string,
34-
context: CreateNodesContext,
34+
context: CreateNodesContextV2,
3535
options: PayloadPluginOptions | undefined,
3636
targetsCache: Record<
3737
string,

0 commit comments

Comments
 (0)