Skip to content

Commit 018543c

Browse files
authored
cleanup(misc): remove unused migrations (nrwl#28591)
This PR removes migrations that are unused in our packages. Other changes: - Update the `remove-migrations` generator to remove all files inside the migration directory, rather than just the implementation, spec file, and `__snapshots__` directory. There were some helpers that were not removed due to this problem. - Add a check to the `assertValidMigrationPaths` test util (used in `migrations.spec.ts` test files) to ensure that all paths inside `./src/migrations` are included in `migrations.json` file. There were a few migrations missing in the `@nx/expo` package, and we never run them nor cleaned them up. **Note:** This has no effect on users and is purely a clean-up. ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
1 parent daa4e19 commit 018543c

File tree

64 files changed

+114
-6854
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+114
-6854
lines changed

packages/angular/.eslintrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"prettier",
6060
"typescript",
6161
// These are installed by generators
62+
"@schematics/angular",
6263
"@angular-devkit/core",
6364
"@angular-devkit/architect",
6465
"@angular-devkit/build-angular",

packages/angular/src/migrations/update-14-2-0/remove-show-circular-dependencies-option.spec.ts

-90
This file was deleted.

packages/angular/src/migrations/update-14-2-0/remove-show-circular-dependencies-option.ts

-37
This file was deleted.

packages/angular/src/migrations/update-14-2-0/update-angular-cli.spec.ts

-46
This file was deleted.

packages/angular/src/migrations/update-14-2-0/update-angular-cli.ts

-23
This file was deleted.

packages/angular/src/migrations/update-14-2-0/update-libraries-secondary-entrypoints.spec.ts

-96
This file was deleted.

packages/angular/src/migrations/update-14-2-0/update-libraries-secondary-entrypoints.ts

-56
This file was deleted.

0 commit comments

Comments
 (0)