Skip to content

Commit

Permalink
Merge pull request #54 from srleecode/14.5.4
Browse files Browse the repository at this point in the history
chore: updated to 14.5.4
  • Loading branch information
srleecode authored Aug 11, 2022
2 parents 91bc955 + 467a1f9 commit 4ad845a
Show file tree
Hide file tree
Showing 19 changed files with 22,383 additions and 21,515 deletions.
4 changes: 2 additions & 2 deletions e2e/domain/cypress/domain-test/src/domain-test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ describe('domainTest e2e', () => {
await runNxCommandAsync(
`generate @srleecode/domain:domainTest --groupingFolder ${groupingFolder}`
);
checkFilesExist(`${groupingFolder}/.e2e/cypress.json`);
checkFilesExist(`${groupingFolder}/.e2e/cypress.config.ts`);
checkFilesExist(`${groupingFolder}/.e2e/project.json`);
});
it('should create ct project for domain', async () => {
await runNxCommandAsync(
`generate @srleecode/domain:domainTest --groupingFolder ${groupingFolder} --type ct`
);
checkFilesExist(`${groupingFolder}/.ct/cypress.json`);
checkFilesExist(`${groupingFolder}/.ct/cypress.config.ts`);
checkFilesExist(`${groupingFolder}/.ct/project.json`);
});
});
3 changes: 2 additions & 1 deletion e2e/domain/utils/util.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { logger } from '@nrwl/devkit';
import {
ensureNxProject,
fileExists,
Expand All @@ -6,7 +7,7 @@ import {

export const createProject = () => {
if (isProjectExisting()) {
throw new Error(`Project was not cleaned up at ${tmpProjPath()}`);
logger.warn(`Project was not cleaned up at ${tmpProjPath()}`);
}
ensureNxProject('@srleecode/domain', 'dist/packages/domain');
};
Expand Down
169 changes: 18 additions & 151 deletions migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,168 +2,35 @@
"migrations": [
{
"cli": "nx",
"version": "14.2.0-beta.0",
"description": "Add JSON Schema to Nx configuration files",
"implementation": "./src/migrations/update-14-2-0/add-json-schema",
"package": "nx",
"name": "14-2-0-add-json-schema"
},
{
"cli": "nx",
"version": "14.2.0-beta.0",
"description": "Remove default collection from configuration to switch to prompts for collection",
"implementation": "./src/migrations/update-14-2-0/remove-default-collection",
"package": "nx",
"name": "14-2-0-remove-default-collection"
},
{
"cli": "nx",
"version": "14.2.0-beta.5",
"description": "Replace all ./ and ../ in outputs with absolute paths",
"implementation": "./src/migrations/update-14-2-0/replace-all-relative-outputs-with-absolute",
"package": "nx",
"name": "14-2-0-replace-relative-outputs-with-absolute"
},
{
"cli": "nx",
"version": "14.3.4-beta.1",
"description": "Replace targetDependencies with targetDefaults",
"implementation": "./src/migrations/update-14-3-4/create-target-defaults",
"package": "nx",
"name": "14.3.4-create-target-defaults"
},
{
"version": "14.2.0",
"description": "Explicitly enable sourceAnalysis for all workspaces extending from npm.json or core.json (this was default behavior prior to 14.2)",
"cli": "nx",
"implementation": "./src/migrations/update-14-2-0/enable-source-analysis",
"package": "@nrwl/workspace",
"name": "14-2-0-enable-source-analysis"
},
{
"cli": "nx",
"version": "14.1.9-beta.0",
"description": "Adds @swc/core and @swc-node as a dev dep if you are using them",
"factory": "./src/migrations/update-14-1-9/add-swc-deps-if-needed",
"package": "@nrwl/linter",
"name": "add-swc-deps"
},
{
"cli": "nx",
"version": "14.2.3-beta.0",
"description": "Adds @swc/core and @swc-node as a dev dep if you are using them (repeated due to prior mistake)",
"factory": "./src/migrations/update-14-1-9/add-swc-deps-if-needed",
"package": "@nrwl/linter",
"name": "add-swc-deps-again"
},
{
"cli": "nx",
"version": "14.1.5-beta.0",
"description": "Rename option swcrcPath to swcrc, and resolve relative to workspace root",
"factory": "./src/migrations/update-14.1.5-beta.0/update-swcrc-path",
"package": "@nrwl/js",
"name": "update-swcrc-path"
},
{
"cli": "nx",
"version": "14.2.0-beta.0",
"description": "Remove 'showCircularDependencies' option from browser and server executors.",
"factory": "./src/migrations/update-14-2-0/remove-show-circular-dependencies-option",
"package": "@nrwl/angular",
"name": "remove-show-circular-dependencies-option"
},
{
"cli": "nx",
"version": "14.2.0-beta.0",
"description": "Update the @angular/cli package version.",
"factory": "./src/migrations/update-14-2-0/update-angular-cli",
"package": "@nrwl/angular",
"name": "update-angular-cli-version"
},
{
"cli": "nx",
"version": "14.2.0-beta.0",
"description": "Remove 'package.json' files from library projects secondary entrypoints.",
"factory": "./src/migrations/update-14-2-0/update-libraries-secondary-entrypoints",
"package": "@nrwl/angular",
"name": "update-libraries-secondary-entrypoints"
},
{
"cli": "nx",
"version": "14.2.0-beta.0",
"description": "Update postinstall script running ngcc to use ES2020 target.",
"factory": "./src/migrations/update-14-2-0/update-ngcc-target",
"package": "@nrwl/angular",
"name": "update-postinstall-script-ngcc-target"
},
{
"cli": "nx",
"version": "14.2.0-beta.0",
"description": "Update TypeScript compilation target to 'ES2020'.",
"factory": "./src/migrations/update-14-2-0/update-tsconfig-target",
"version": "14.5.0-beta.0",
"description": "Update any references of MFE to MF.",
"factory": "./src/migrations/update-14-5-0/migrate-mfe-to-mf",
"package": "@nrwl/angular",
"name": "update-tsconfig-target"
"name": "migrate-mfe-to-mf"
},
{
"cli": "nx",
"version": "14.2.0-beta.6",
"description": "Update `initialNavigation: 'enabled'` to `initialNavigation: 'enabledBlocking'`.",
"factory": "./src/migrations/update-14-2-0/update-router-initial-navigation",
"version": "14.5.2-beta.0",
"description": "Update the @angular/cli package version to ~14.1.0.",
"factory": "./src/migrations/update-14-5-2/update-angular-cli",
"package": "@nrwl/angular",
"name": "update-router-initial-navigation"
},
{
"version": "14.0.0-beta",
"description": "As of Angular version 13, `entryComponents` are no longer necessary.",
"factory": "./migrations/entry-components/index",
"package": "@angular/core",
"name": "migration-entry-components"
},
{
"version": "14.0.0-beta",
"description": "As of Angular version 14, Forms model classes accept a type parameter, and existing usages must be opted out to preserve backwards-compatibility.",
"factory": "./migrations/typed-forms/index",
"package": "@angular/core",
"name": "migration-v14-typed-forms"
},
{
"version": "14.0.0-beta",
"description": "In Angular version 14, the `pathMatch` property of `Routes` was updated to be a strict union of the two valid options: `'full'|'prefix'`. `Routes` and `Route` variables need an explicit type so TypeScript does not infer the property as the looser `string`.",
"factory": "./migrations/path-match-type/index",
"package": "@angular/core",
"name": "migration-v14-path-match-type"
},
{
"version": "14.1.5-beta.0",
"cli": "nx",
"description": "Update to export default in jest config and revert jest.preset.ts to jest.preset.js",
"factory": "./src/migrations/update-14-1-5/update-exports-jest-config",
"package": "@nrwl/jest",
"name": "update-to-export-default"
"name": "update-angular-cli-version-14-1-0"
},
{
"cli": "nx",
"version": "14.1.9-beta.0",
"description": "Adds @swc/core and @swc-node as a dev dep if you are using them",
"factory": "./src/migrations/update-14-1-9/add-swc-deps-if-needed",
"package": "@nrwl/nx-plugin",
"name": "add-swc-deps"
},
{
"cli": "nx",
"version": "14.2.3-beta.0",
"description": "Adds @swc/core and @swc-node as a dev dep if you are using them (repeated due to bad version on earlier migration)",
"factory": "./src/migrations/update-14-1-9/add-swc-deps-if-needed",
"package": "@nrwl/nx-plugin",
"name": "add-swc-deps-again"
"version": "14.4.4",
"description": "Adds @typescript-eslint/utils as a dev dep",
"factory": "./src/migrations/update-14-4-4/experimental-to-utils-deps",
"package": "@nrwl/linter",
"name": "experimental-to-utils-deps"
},
{
"version": "14.1.8",
"cli": "nx",
"description": "Change storybook targets for Angular projects to use @storybook/angular executors",
"factory": "./src/migrations/update-14-1-8/change-storybook-targets",
"package": "@nrwl/storybook",
"name": "update-14.1.8"
"version": "14.4.4",
"description": "Switch from @typescript-eslint/experimental-utils to @typescript-eslint/utils in all rules and rules.spec files",
"factory": "./src/migrations/update-14-4-4/experimental-to-utils-rules",
"package": "@nrwl/linter",
"name": "experimental-to-utils-rules"
}
]
}
Loading

0 comments on commit 4ad845a

Please sign in to comment.