Skip to content

Commit 066dbfc

Browse files
authored
Merge pull request #103 from CodeLog-Development/deps/nx-migrate
Run Nx migrations
2 parents f60f9f7 + d5a0605 commit 066dbfc

File tree

3 files changed

+1806
-1583
lines changed

3 files changed

+1806
-1583
lines changed

migrations.json

Lines changed: 9 additions & 275 deletions
Original file line numberDiff line numberDiff line change
@@ -2,287 +2,21 @@
22
"migrations": [
33
{
44
"cli": "nx",
5-
"version": "17.3.0-beta.6",
6-
"description": "Updates the nx wrapper.",
7-
"implementation": "./src/migrations/update-17-3-0/update-nxw",
8-
"package": "nx",
9-
"name": "17.3.0-update-nx-wrapper"
10-
},
11-
{
12-
"cli": "nx",
13-
"version": "18.0.0-beta.2",
14-
"description": "Updates nx.json to disabled adding plugins when generating projects in an existing Nx workspace",
15-
"implementation": "./src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces",
16-
"x-repair-skip": true,
17-
"package": "nx",
18-
"name": "18.0.0-disable-adding-plugins-for-existing-workspaces"
19-
},
20-
{
21-
"version": "18.1.0-beta.3",
22-
"description": "Moves affected.defaultBase to defaultBase in `nx.json`",
23-
"implementation": "./src/migrations/update-17-2-0/move-default-base",
24-
"package": "nx",
25-
"name": "move-default-base-to-nx-json-root"
26-
},
27-
{
28-
"cli": "nx",
29-
"version": "19.2.0-beta.2",
30-
"description": "Updates the default workspace data directory to .nx/workspace-data",
31-
"implementation": "./src/migrations/update-19-2-0/move-workspace-data-directory",
32-
"package": "nx",
33-
"name": "19-2-0-move-graph-cache-directory"
34-
},
35-
{
36-
"cli": "nx",
37-
"version": "19.2.2-beta.0",
38-
"description": "Updates the nx wrapper.",
39-
"implementation": "./src/migrations/update-17-3-0/update-nxw",
40-
"package": "nx",
41-
"name": "19-2-2-update-nx-wrapper"
42-
},
43-
{
44-
"version": "19.2.4-beta.0",
45-
"description": "Set project name in nx.json explicitly",
46-
"implementation": "./src/migrations/update-19-2-4/set-project-name",
47-
"x-repair-skip": true,
48-
"package": "nx",
49-
"name": "19-2-4-set-project-name"
50-
},
51-
{
52-
"version": "17.1.0-beta.2",
53-
"description": "Move jest executor options to nx.json targetDefaults",
54-
"implementation": "./src/migrations/update-17-1-0/move-options-to-target-defaults",
55-
"package": "@nx/jest",
56-
"name": "move-options-to-target-defaults"
57-
},
58-
{
59-
"version": "17.1.0-beta.1",
60-
"description": "Updates for @typescript-utils/utils v6.9.1+",
61-
"implementation": "./src/migrations/update-17-1-0/update-typescript-eslint",
62-
"package": "@nx/eslint",
63-
"name": "update-typescript-eslint"
64-
},
65-
{
66-
"version": "17.2.0-beta.0",
67-
"description": "Simplify eslintFilePatterns",
68-
"implementation": "./src/migrations/update-17-2-0/simplify-eslint-patterns",
69-
"package": "@nx/eslint",
70-
"name": "simplify-eslint-patterns"
71-
},
72-
{
73-
"version": "17.2.9",
74-
"description": "Move executor options to target defaults",
75-
"implementation": "./src/migrations/update-17-2-9/move-options-to-target-defaults",
76-
"package": "@nx/eslint",
77-
"name": "move-options-to-target-defaults"
78-
},
79-
{
80-
"cli": "nx",
81-
"version": "18.1.0-beta.3",
82-
"description": "Update to Cypress ^13.6.6 if the workspace is using Cypress v13 to ensure workspaces don't use v13.6.5 which has an issue when verifying Cypress.",
83-
"implementation": "./src/migrations/update-18-1-0/update-cypress-version-13-6-6",
84-
"package": "@nx/cypress",
85-
"name": "update-cypress-version-13-6-6"
86-
},
87-
{
88-
"cli": "nx",
89-
"version": "17.2.6-beta.1",
90-
"description": "Rename workspace rules from @nx/workspace/name to @nx/workspace-name",
91-
"implementation": "./src/migrations/update-17-2-6-rename-workspace-rules/rename-workspace-rules",
92-
"package": "@nx/eslint-plugin",
93-
"name": "update-17-2-6-rename-workspace-rules"
94-
},
95-
{
96-
"cli": "nx",
97-
"version": "19.1.0-beta.6",
98-
"description": "Migrate no-extra-semi rules into user config, out of nx extendable configs",
99-
"implementation": "./src/migrations/update-19-1-0-migrate-no-extra-semi/migrate-no-extra-semi",
100-
"package": "@nx/eslint-plugin",
101-
"name": "update-19-1-0-rename-no-extra-semi"
102-
},
103-
{
104-
"cli": "nx",
105-
"version": "17.1.0-beta.5",
106-
"requires": {
107-
"@angular/core": ">=17.0.0"
108-
},
109-
"description": "Update the @angular/cli package version to ~17.0.0.",
110-
"factory": "./src/migrations/update-17-1-0/update-angular-cli",
111-
"package": "@nx/angular",
112-
"name": "update-angular-cli-version-17-0-0"
113-
},
114-
{
115-
"cli": "nx",
116-
"version": "17.1.0-beta.5",
117-
"requires": {
118-
"@angular/core": ">=17.0.0"
119-
},
120-
"description": "Rename 'browserTarget' to 'buildTarget'.",
121-
"factory": "./src/migrations/update-17-1-0/browser-target-to-build-target",
122-
"package": "@nx/angular",
123-
"name": "rename-browser-target-to-build-target"
124-
},
125-
{
126-
"cli": "nx",
127-
"version": "17.1.0-beta.5",
128-
"requires": {
129-
"@angular/core": ">=17.0.0"
130-
},
131-
"description": "Replace usages of '@nguniversal/builders' with '@angular-devkit/build-angular'.",
132-
"factory": "./src/migrations/update-17-1-0/replace-nguniversal-builders",
133-
"package": "@nx/angular",
134-
"name": "replace-nguniversal-builders"
135-
},
136-
{
137-
"cli": "nx",
138-
"version": "17.1.0-beta.5",
139-
"requires": {
140-
"@angular/core": ">=17.0.0"
141-
},
142-
"description": "Replace usages of '@nguniversal/' packages with '@angular/ssr'.",
143-
"factory": "./src/migrations/update-17-1-0/replace-nguniversal-engines",
144-
"package": "@nx/angular",
145-
"name": "replace-nguniversal-engines"
146-
},
147-
{
148-
"cli": "nx",
149-
"version": "17.1.0-beta.5",
150-
"requires": {
151-
"@angular/core": ">=17.0.0"
152-
},
153-
"description": "Replace the deep imports from 'zone.js/dist/zone' and 'zone.js/dist/zone-testing' with 'zone.js' and 'zone.js/testing'.",
154-
"factory": "./src/migrations/update-17-1-0/update-zone-js-deep-import",
155-
"package": "@nx/angular",
156-
"name": "update-zone-js-deep-import"
157-
},
158-
{
159-
"cli": "nx",
160-
"version": "17.2.0-beta.2",
161-
"description": "Rename '@nx/angular:webpack-dev-server' executor to '@nx/angular:dev-server'",
162-
"factory": "./src/migrations/update-17-2-0/rename-webpack-dev-server",
163-
"package": "@nx/angular",
164-
"name": "rename-webpack-dev-server-executor"
165-
},
166-
{
167-
"cli": "nx",
168-
"version": "17.3.0-beta.10",
169-
"requires": {
170-
"@angular/core": ">=17.1.0"
171-
},
172-
"description": "Update the @angular/cli package version to ~17.1.0.",
173-
"factory": "./src/migrations/update-17-3-0/update-angular-cli",
174-
"package": "@nx/angular",
175-
"name": "update-angular-cli-version-17-1-0"
176-
},
177-
{
178-
"cli": "nx",
179-
"version": "17.3.0-beta.10",
180-
"requires": {
181-
"@angular/core": ">=17.1.0"
182-
},
183-
"description": "Add 'browser-sync' as dev dependency when '@angular-devkit/build-angular:ssr-dev-server' or '@nx/angular:module-federation-dev-ssr' is used.",
184-
"factory": "./src/migrations/update-17-3-0/add-browser-sync-dependency",
185-
"package": "@nx/angular",
186-
"name": "add-browser-sync-dependency"
187-
},
188-
{
189-
"cli": "nx",
190-
"version": "17.3.0-beta.10",
191-
"requires": {
192-
"@angular/core": ">=17.1.0"
193-
},
194-
"description": "Add 'autoprefixer' as dev dependency when '@nx/angular:ng-packagr-lite' or '@nx/angular:package` is used.",
195-
"factory": "./src/migrations/update-17-3-0/add-autoprefixer-dependency",
196-
"package": "@nx/angular",
197-
"name": "add-autoprefixer-dependency"
198-
},
199-
{
200-
"cli": "nx",
201-
"version": "18.0.0-beta.0",
202-
"description": "Add NX_MF_DEV_SERVER_STATIC_REMOTES to inputs for task hashing when '@nx/angular:webpack-browser' is used for Module Federation.",
203-
"factory": "./src/migrations/update-18-0-0/add-mf-env-var-to-target-defaults",
204-
"package": "@nx/angular",
205-
"name": "add-module-federation-env-var-to-target-defaults"
206-
},
207-
{
208-
"cli": "nx",
209-
"version": "18.1.0-beta.1",
5+
"version": "19.5.0-beta.1",
2106
"requires": {
211-
"@angular/core": ">=17.2.0"
7+
"@angular/core": ">=18.1.0"
2128
},
213-
"description": "Update the @angular/cli package version to ~17.2.0.",
214-
"factory": "./src/migrations/update-18-1-0/update-angular-cli",
9+
"description": "Update the @angular/cli package version to ~18.1.0.",
10+
"factory": "./src/migrations/update-19-5-0/update-angular-cli",
21511
"package": "@nx/angular",
216-
"name": "update-angular-cli-version-17-2-0"
12+
"name": "update-angular-cli-version-18-1-0"
21713
},
21814
{
219-
"cli": "nx",
220-
"version": "18.1.1-beta.0",
221-
"description": "Ensure targetDefaults inputs for task hashing when '@nx/angular:webpack-browser' is used are correct for Module Federation.",
222-
"factory": "./src/migrations/update-18-1-1/fix-target-defaults-inputs",
223-
"package": "@nx/angular",
224-
"name": "fix-target-defaults-for-webpack-browser"
225-
},
226-
{
227-
"cli": "nx",
228-
"version": "18.2.0-beta.0",
229-
"requires": {
230-
"@angular/core": ">=17.3.0"
231-
},
232-
"description": "Update the @angular/cli package version to ~17.3.0.",
233-
"factory": "./src/migrations/update-18-2-0/update-angular-cli",
234-
"package": "@nx/angular",
235-
"name": "update-angular-cli-version-17-3-0"
236-
},
237-
{
238-
"cli": "nx",
239-
"version": "19.1.0-beta.2",
240-
"requires": {
241-
"@angular/core": ">=18.0.0"
242-
},
243-
"description": "Update the @angular/cli package version to ~18.0.0.",
244-
"factory": "./src/migrations/update-19-1-0/update-angular-cli",
245-
"package": "@nx/angular",
246-
"name": "update-angular-cli-version-18-0-0"
247-
},
248-
{
249-
"cli": "nx",
250-
"version": "19.2.1-beta.0",
251-
"requires": {
252-
"@angular-eslint/eslint-plugin": ">=18.0.0"
253-
},
254-
"description": "Installs the '@typescript-eslint/utils' package when having installed '@angular-eslint/eslint-plugin' or '@angular-eslint/eslint-plugin-template' with version >=18.0.0.",
255-
"factory": "./src/migrations/update-19-2-1/add-typescript-eslint-utils",
256-
"package": "@nx/angular",
257-
"name": "add-typescript-eslint-utils"
258-
},
259-
{
260-
"version": "18.0.0",
261-
"description": "Updates two-way bindings that have an invalid expression to use the longform expression instead.",
262-
"factory": "./migrations/invalid-two-way-bindings/bundle",
15+
"version": "18.1.0",
16+
"description": "Updates calls to afterRender with an explicit phase to the new API",
17+
"factory": "./migrations/after-render-phase/bundle",
26318
"package": "@angular/core",
264-
"name": "invalid-two-way-bindings"
265-
},
266-
{
267-
"version": "18.0.0",
268-
"description": "Replace deprecated HTTP related modules with provider functions",
269-
"factory": "./migrations/http-providers/bundle",
270-
"package": "@angular/core",
271-
"name": "migration-http-providers"
272-
},
273-
{
274-
"version": "18.0.0-0",
275-
"description": "Updates Angular Material to v18",
276-
"factory": "./ng-update/index_bundled#updateToV18",
277-
"package": "@angular/material",
278-
"name": "migration-v18"
279-
},
280-
{
281-
"version": "18.0.0-0",
282-
"description": "Updates the Angular CDK to v18",
283-
"factory": "./ng-update/index#updateToV18",
284-
"package": "@angular/cdk",
285-
"name": "migration-v18"
19+
"name": "migration-after-render-phase"
28620
}
28721
]
28822
}

0 commit comments

Comments
 (0)