You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- change `projects/a21/architect/test/options/tsConfig` to `tsconfig.json`
162
+
- add `projects/a21/architect/test/options/main` with the value of `src/test.ts`
163
+
- add `projects/a21/architect/test/options/karmaConfig` with the value of `karma.conf.js`
164
+
- add `projects/lib` as it is in the prev version: `ng-mocks/e2e/a20/angular.json`
165
+
- add `cli/analytics` as it is in the prev version: `ng-mocks/e2e/a20/angular.json`
166
+
- change `package.json` to be similar as in the prev version: `ng-mocks/e2e/a20/package.json`
167
+
-`name` should be `a21`
168
+
-`description` should be `Angular 21`
168
169
-`private` should be `true`
169
-
- replace `scripts` as it is in the prev version: `ng-mocks/e2e/a19/package.json`
170
-
- remove flexible versions (`^~`) in `dependencies` as it is in the prev version: `ng-mocks/e2e/a19/package.json`
171
-
- remove flexible versions (`^~`) in `devDependencies` as it is in the prev version: `ng-mocks/e2e/a19/package.json`
170
+
- replace `scripts` as it is in the prev version: `ng-mocks/e2e/a20/package.json`
171
+
- remove flexible versions (`^~`) in `dependencies` as it is in the prev version: `ng-mocks/e2e/a20/package.json`
172
+
- remove flexible versions (`^~`) in `devDependencies` as it is in the prev version: `ng-mocks/e2e/a20/package.json`
173
+
- in `dependencies`, add `@angular/animations` which supports the desired angular version
172
174
- in `devDependencies`, add `@types/jest`, `jest`, `jest-preset-angular`, `ng-packagr`, `puppeteer`, `ts-node` which support the desired angular version
173
175
- add `engines` with the correct `npm` which supports the desired angular version
174
176
- delete `README.md`
175
-
- merge `tsconfig.app.json` and `tsconfig.spec.json` into `tsconfig.json` as it is in the prev version: `ng-mocks/e2e/a19/tsconfig.json`
177
+
- merge `tsconfig.app.json` and `tsconfig.spec.json` into `tsconfig.json` as it is in the prev version: `ng-mocks/e2e/a20/tsconfig.json`
176
178
- add `compilerOptions/baseUrl`with the value of `./`
177
-
- add `compilerOptions/types` as it is in the prev version: `ng-mocks/e2e/a19/tsconfig.json`
178
-
- add `compilerOptions/skipLibCheck` as it is in the prev version: `ng-mocks/e2e/a19/tsconfig.json`
179
+
- add `compilerOptions/types` as it is in the prev version: `ng-mocks/e2e/a20/tsconfig.json`
180
+
- add `compilerOptions/skipLibCheck` as it is in the prev version: `ng-mocks/e2e/a20/tsconfig.json`
179
181
- change `compilerOptions/noImplicitOverride` to `false`
180
-
- add `files` as it is in the prev version: `ng-mocks/e2e/a19/tsconfig.json`
181
-
- add `include` as it is in the prev version: `ng-mocks/e2e/a19/tsconfig.json`
182
+
- add `files` as it is in the prev version: `ng-mocks/e2e/a20/tsconfig.json`
183
+
- add `include` as it is in the prev version: `ng-mocks/e2e/a20/tsconfig.json`
182
184
- delete `tsconfig.app.json`
183
185
- delete `tsconfig.spec.json`
184
186
- add `.nvmrc` which supports the desired angular version
185
-
- add `jest.config.ts` as it is in the prev version: `ng-mocks/e2e/a19/jest.config.ts`
186
-
- add `karma.conf.js` as it is in the prev version: `ng-mocks/e2e/a19/karma.conf.js`
187
-
- add `ng-package.json` as it is in the prev version: `ng-mocks/e2e/a19/ng-package.json`
188
-
- delete `ng-mocks/e2e/a20/public`
189
-
- delete `ng-mocks/e2e/a20/src/app`
190
-
- delete `ng-mocks/e2e/a20/src/style.css`
191
-
- remove `<link rel="icon">` from `ng-mocks/e2e/a20/src/index.html`
192
-
- change `ng-mocks/e2e/a20/src/main.ts` as it is in the prev version: `ng-mocks/e2e/a19/src/main.ts`
193
-
- add `ng-mocks/e2e/a20/src/test.ts` as it is in the prev version: `ng-mocks/e2e/a19/src/test.ts`
194
-
- add `ng-mocks/e2e/a20/src/setup-jest.ts` as it is in the prev version: `ng-mocks/e2e/a19/src/setup-jest.ts`
187
+
- add `jest.config.ts` as it is in the prev version: `ng-mocks/e2e/a20/jest.config.ts`
188
+
- add `karma.conf.js` as it is in the prev version: `ng-mocks/e2e/a20/karma.conf.js`
189
+
- add `ng-package.json` as it is in the prev version: `ng-mocks/e2e/a20/ng-package.json`
190
+
- delete `ng-mocks/e2e/a21/public`
191
+
- delete `ng-mocks/e2e/a21/src/app`
192
+
- delete `ng-mocks/e2e/a21/src/style.css`
193
+
- remove `<link rel="icon">` from `ng-mocks/e2e/a21/src/index.html`
194
+
- change `ng-mocks/e2e/a21/src/main.ts` as it is in the prev version: `ng-mocks/e2e/a20/src/main.ts`
195
+
- add `ng-mocks/e2e/a21/src/test.ts` as it is in the prev version: `ng-mocks/e2e/a20/src/test.ts`
196
+
- add `ng-mocks/e2e/a21/src/setup-jest.ts` as it is in the prev version: `ng-mocks/e2e/a20/src/setup-jest.ts`
195
197
196
198
### Step #3 - update scripts
197
199
198
-
- update `ng-mocks/package.json`, search for `a19` and extended scripts to support `a20`
199
-
- update `ng-mocks/compose.yml`, search for `a19` and copy blocks to support `a20` with the right node version
200
-
- update `ng-mocks/compose.sh`, search for `a19` and copy blocks to support `a20` with the right command to install `puppeteer`
201
-
- update `ng-mocks/.dockerignore`, search for `a19` and copy blocks to support `a20`
202
-
- update `ng-mocks/.github/dependabot.yml`, search for `a19` and copy blocks to support `a20`
203
-
- update `ng-mocks/.circleci/config.yml`, search for `a19` and copy blocks to support `a20`
204
-
- update `ng-mocks/.eslintrc.yml`, search for `a19` and copy blocks to support `a20`
205
-
- execute `sh compose.sh a20` in `ng-mocks` to install dependencies for `a20`, it might require `--force` at this moment in `compose.yml` in the command for the new version
200
+
- update `ng-mocks/package.json`, search for `a20` and extended scripts to support `a21`
201
+
- update `ng-mocks/compose.yml`, search for `a20` and copy blocks to support `a21` with the right node version
202
+
- update `ng-mocks/compose.sh`, search for `a20` and copy blocks to support `a21` with the right command to install `puppeteer`
203
+
- update `ng-mocks/test.sh`, search for `a20` and copy blocks to support `a21`
204
+
- update `ng-mocks/.dockerignore`, search for `a20` and copy blocks to support `a21`
205
+
- update `ng-mocks/.github/dependabot.yml`, search for `a20` and copy blocks to support `a21`
206
+
- update `ng-mocks/.circleci/config.yml`, search for `a20` and copy blocks to support `a21`
207
+
- update `ng-mocks/.eslintrc.yml`, search for `a20` and copy blocks to support `a21`
208
+
- execute `sh compose.sh a21` in `ng-mocks` to install dependencies for `a21`, it might require `--force` at this moment in `compose.yml` in the command for the new version
206
209
207
210
### Step #4 - update ng-mocks dependencies
208
211
209
-
- update `ng-mocks/package.json` to point to the new angular version in dependencies
212
+
- update `ng-mocks/package.json` to point to the version`^21` in dependencies
210
213
- execute `sh compose.sh root` in `ng-mocks` to install the dependencies
211
214
212
215
### Step #5 - verify that`ng-mocks` does not fail with the new version
213
216
214
-
- execute `nvm install` in `ng-mocks`
215
-
- execute `nvm use`
216
-
- execute `npm run build`
217
-
- execute `npm run clean:a20`
218
-
- execute `npm run s:a20`
219
-
- execute `npm run s:app:a20`
220
-
- execute `npm run s:test:a20`
221
-
- execute `npm run test:a20`
217
+
- execute `sh test.sh root` in `ng-mocks` to ensure nothing fails
218
+
- execute `sh test.sh a21` in `ng-mocks` to ensure nothing fails
222
219
- tests should pass successfully without failures
223
220
221
+
if tests are failing
222
+
223
+
- execute `cd e2e/a21` in `ng-mocks`
224
+
- execute `nvm install`
225
+
- execute `nvm nvm use`
226
+
- execute `npm run test:debug`
227
+
224
228
### Step #6 - update version references
225
229
226
230
- update the version table in `ng-mocks/docs/articles/index.md`
227
231
- update the migration guide in `docs/articles/migrations.md`
228
232
- update the version table in `ng-mocks/README.md`
229
233
- update `description` in `libs/ng-mocks/package.json`
230
234
- update `peerDependencies` in `libs/ng-mocks/package.json`
231
-
- update this file and replace `a20` with `a21`
232
-
- update this file and replace `v20` with `v21`
233
-
- update this file and replace `^20` with `^21`
234
-
- update this file and replace `Angular 20` with `Angular 21`
235
-
- update this file and replace `a19` with `a20`
235
+
- update this file and replace `a21` with `a22`
236
+
- update this file and replace `v21` with `v22`
237
+
- update this file and replace `^21` with `^22`
238
+
- update this file and replace `Angular 21` with `Angular 22`
239
+
- update this file and replace `a20` with `a` + `21`
0 commit comments