feat(angular): upgrade angular to ~12.1.0 (#6390)

This commit is contained in:
Colum Ferry 2021-07-16 19:44:16 +01:00 committed by GitHub
parent cd868a8a0d
commit bea5ed458d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 1456 additions and 631 deletions

View File

@ -195,7 +195,7 @@ describe('Angular Package', () => {
path.normalize(`apps/${myapp}/src/app/inline-template.component.ts`) path.normalize(`apps/${myapp}/src/app/inline-template.component.ts`)
); );
expect(appLintStdOut).toContain( expect(appLintStdOut).toContain(
`The selector should be prefixed by one of the prefixes` `The selector should start with one of these prefixes`
); );
expect(appLintStdOut).toContain(`7:18`); expect(appLintStdOut).toContain(`7:18`);
}); });

View File

@ -26,26 +26,26 @@
"prepare": "is-ci || husky install" "prepare": "is-ci || husky install"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/architect": "^0.1200.0", "@angular-devkit/architect": "~0.1201.0",
"@angular-devkit/build-angular": "^12.0.0", "@angular-devkit/build-angular": "~12.1.0",
"@angular-devkit/build-optimizer": "^0.1200.0", "@angular-devkit/build-optimizer": "~0.1201.0",
"@angular-devkit/build-webpack": "^0.1200.0", "@angular-devkit/build-webpack": "~0.1201.0",
"@angular-devkit/core": "^12.0.0", "@angular-devkit/core": "~12.1.0",
"@angular-devkit/schematics": "^12.0.0", "@angular-devkit/schematics": "~12.1.0",
"@angular-eslint/eslint-plugin": "~12.0.0", "@angular-eslint/eslint-plugin": "~12.3.0",
"@angular-eslint/eslint-plugin-template": "~12.0.0", "@angular-eslint/eslint-plugin-template": "~12.3.0",
"@angular-eslint/template-parser": "~12.0.0", "@angular-eslint/template-parser": "~12.3.0",
"@angular/cli": "^12.0.0", "@angular/cli": "~12.1.0",
"@angular/common": "^12.0.0", "@angular/common": "^12.1.0",
"@angular/compiler": "^12.0.0", "@angular/compiler": "^12.1.0",
"@angular/compiler-cli": "^12.0.0", "@angular/compiler-cli": "^12.1.0",
"@angular/core": "^12.0.0", "@angular/core": "^12.1.0",
"@angular/forms": "^12.0.0", "@angular/forms": "^12.1.0",
"@angular/platform-browser": "^12.0.0", "@angular/platform-browser": "^12.1.0",
"@angular/platform-browser-dynamic": "^12.0.0", "@angular/platform-browser-dynamic": "^12.1.0",
"@angular/router": "^12.0.0", "@angular/router": "^12.1.0",
"@angular/service-worker": "^12.0.0", "@angular/service-worker": "^12.1.0",
"@angular/upgrade": "^12.0.0", "@angular/upgrade": "^12.1.0",
"@babel/helper-create-regexp-features-plugin": "^7.14.5", "@babel/helper-create-regexp-features-plugin": "^7.14.5",
"@cypress/webpack-preprocessor": "4.1.5", "@cypress/webpack-preprocessor": "4.1.5",
"@nestjs/common": "^7.0.0", "@nestjs/common": "^7.0.0",
@ -53,13 +53,13 @@
"@nestjs/platform-express": "^7.0.0", "@nestjs/platform-express": "^7.0.0",
"@nestjs/schematics": "^7.0.0", "@nestjs/schematics": "^7.0.0",
"@nestjs/testing": "^7.0.0", "@nestjs/testing": "^7.0.0",
"@ngrx/component-store": "12.0.0", "@ngrx/component-store": "12.2.0",
"@ngrx/effects": "12.0.0", "@ngrx/effects": "12.2.0",
"@ngrx/entity": "12.0.0", "@ngrx/entity": "12.2.0",
"@ngrx/router-store": "12.0.0", "@ngrx/router-store": "12.2.0",
"@ngrx/schematics": "12.0.0", "@ngrx/schematics": "12.2.0",
"@ngrx/store": "12.0.0", "@ngrx/store": "12.2.0",
"@ngrx/store-devtools": "12.0.0", "@ngrx/store-devtools": "12.2.0",
"@nrwl/cli": "12.6.0-beta.7", "@nrwl/cli": "12.6.0-beta.7",
"@nrwl/cypress": "12.6.0-beta.7", "@nrwl/cypress": "12.6.0-beta.7",
"@nrwl/eslint-plugin-nx": "12.6.0-beta.7", "@nrwl/eslint-plugin-nx": "12.6.0-beta.7",
@ -80,7 +80,7 @@
"@rollup/plugin-image": "2.0.4", "@rollup/plugin-image": "2.0.4",
"@rollup/plugin-json": "^4.1.0", "@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "7.1.1", "@rollup/plugin-node-resolve": "7.1.1",
"@schematics/angular": "^12.0.0", "@schematics/angular": "~12.1.0",
"@storybook/addon-essentials": "~6.3.0", "@storybook/addon-essentials": "~6.3.0",
"@storybook/addon-knobs": "~6.3.0", "@storybook/addon-knobs": "~6.3.0",
"@storybook/angular": "~6.3.0", "@storybook/angular": "~6.3.0",
@ -179,7 +179,7 @@
"minimatch": "3.0.4", "minimatch": "3.0.4",
"next": "10.2.0", "next": "10.2.0",
"next-sitemap": "^1.6.108", "next-sitemap": "^1.6.108",
"ng-packagr": "~12.0.0", "ng-packagr": "~12.1.0",
"ngrx-store-freeze": "0.2.4", "ngrx-store-freeze": "0.2.4",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"open": "^7.4.2", "open": "^7.4.2",
@ -281,4 +281,4 @@
"ng-packagr/rxjs": "6.6.7", "ng-packagr/rxjs": "6.6.7",
"**/xmlhttprequest-ssl": "~1.6.2" "**/xmlhttprequest-ssl": "~1.6.2"
} }
} }

View File

@ -613,6 +613,126 @@
"jasmine-marbles": { "jasmine-marbles": {
"version": "~0.8.3", "version": "~0.8.3",
"alwaysAddToPackageJson": false "alwaysAddToPackageJson": false
},
"@angular/cli": {
"version": "~12.1.0",
"alwaysAddToPackageJson": false
},
"@angular-devkit/build-angular": {
"version": "~12.1.0",
"alwaysAddToPackageJson": false
},
"@angular-devkit/build-optimizer": {
"version": "^0.1200.0",
"alwaysAddToPackageJson": false
},
"@angular/core": {
"version": "^12.1.0",
"alwaysAddToPackageJson": false
},
"@angular/common": {
"version": "^12.1.0",
"alwaysAddToPackageJson": false
},
"@angular/forms": {
"version": "^12.1.0",
"alwaysAddToPackageJson": false
},
"@angular/elements": {
"version": "^12.1.0",
"alwaysAddToPackageJson": false
},
"@angular/compiler": {
"version": "^12.1.0",
"alwaysAddToPackageJson": false
},
"@angular/compiler-cli": {
"version": "^12.1.0",
"alwaysAddToPackageJson": false
},
"@angular/platform-browser": {
"version": "^12.1.0",
"alwaysAddToPackageJson": false
},
"@angular/platform-browser-dynamic": {
"version": "^12.1.0",
"alwaysAddToPackageJson": false
},
"@angular/router": {
"version": "^12.1.0",
"alwaysAddToPackageJson": false
},
"@angular/upgrade": {
"version": "^12.1.0",
"alwaysAddToPackageJson": false
},
"@angular/language-service": {
"version": "^12.1.0",
"alwaysAddToPackageJson": false
},
"@angular/animations": {
"version": "^12.1.0",
"alwaysAddToPackageJson": false
},
"@angular/service-worker": {
"version": "^12.1.0",
"alwaysAddToPackageJson": false
},
"@angular/material": {
"version": "^12.1.0",
"alwaysAddToPackageJson": false
},
"zone.js": {
"version": "~0.11.4",
"alwaysAddToPackageJson": false
},
"ng-packagr": {
"version": "~12.1.0",
"alwaysAddToPackageJson": false
},
"typescript": {
"version": "~4.3.4",
"alwaysAddToPackageJson": false
},
"@angular-eslint/eslint-plugin": {
"version": "~12.3.0",
"alwaysAddToPackageJson": false
},
"@angular-eslint/eslint-plugin-template": {
"version": "~12.3.0",
"alwaysAddToPackageJson": false
},
"@angular-eslint/template-parser": {
"version": "~12.3.0",
"alwaysAddToPackageJson": false
},
"@ngrx/store": {
"version": "~12.2.0",
"alwaysAddToPackageJson": false
},
"@ngrx/effects": {
"version": "~12.2.0",
"alwaysAddToPackageJson": false
},
"@ngrx/entity": {
"version": "~12.2.0",
"alwaysAddToPackageJson": false
},
"@ngrx/router-store": {
"version": "~12.2.0",
"alwaysAddToPackageJson": false
},
"@ngrx/schematics": {
"version": "~12.2.0",
"alwaysAddToPackageJson": false
},
"@ngrx/store-devtools": {
"version": "~12.2.0",
"alwaysAddToPackageJson": false
},
"@ngrx/component-store": {
"version": "~12.2.0",
"alwaysAddToPackageJson": false
} }
} }
} }

View File

@ -33,13 +33,13 @@
"migrations": "./migrations.json" "migrations": "./migrations.json"
}, },
"dependencies": { "dependencies": {
"@angular-devkit/schematics": "^12.0.0", "@angular-devkit/schematics": "~12.1.0",
"@nrwl/cypress": "*", "@nrwl/cypress": "*",
"@nrwl/devkit": "*", "@nrwl/devkit": "*",
"@nrwl/jest": "*", "@nrwl/jest": "*",
"@nrwl/linter": "*", "@nrwl/linter": "*",
"@nrwl/storybook": "*", "@nrwl/storybook": "*",
"@schematics/angular": "^12.0.0", "@schematics/angular": "~12.1.0",
"@phenomnomnominal/tsquery": "4.1.1", "@phenomnomnominal/tsquery": "4.1.1",
"ignore": "^5.0.4", "ignore": "^5.0.4",
"jasmine-marbles": "~0.8.3", "jasmine-marbles": "~0.8.3",

View File

@ -565,9 +565,9 @@ exports[`convert-tslint-to-eslint should work for Angular applications 1`] = `
Object { Object {
"dependencies": Object {}, "dependencies": Object {},
"devDependencies": Object { "devDependencies": Object {
"@angular-eslint/eslint-plugin": "~12.0.0", "@angular-eslint/eslint-plugin": "~12.3.0",
"@angular-eslint/eslint-plugin-template": "~12.0.0", "@angular-eslint/eslint-plugin-template": "~12.3.0",
"@angular-eslint/template-parser": "~12.0.0", "@angular-eslint/template-parser": "~12.3.0",
"@nrwl/eslint-plugin-nx": "*", "@nrwl/eslint-plugin-nx": "*",
"@nrwl/linter": "*", "@nrwl/linter": "*",
"@typescript-eslint/eslint-plugin": "4.19.0", "@typescript-eslint/eslint-plugin": "4.19.0",
@ -919,9 +919,9 @@ exports[`convert-tslint-to-eslint should work for Angular libraries 1`] = `
Object { Object {
"dependencies": Object {}, "dependencies": Object {},
"devDependencies": Object { "devDependencies": Object {
"@angular-eslint/eslint-plugin": "~12.0.0", "@angular-eslint/eslint-plugin": "~12.3.0",
"@angular-eslint/eslint-plugin-template": "~12.0.0", "@angular-eslint/eslint-plugin-template": "~12.3.0",
"@angular-eslint/template-parser": "~12.0.0", "@angular-eslint/template-parser": "~12.3.0",
"@nrwl/eslint-plugin-nx": "*", "@nrwl/eslint-plugin-nx": "*",
"@nrwl/linter": "*", "@nrwl/linter": "*",
"@typescript-eslint/eslint-plugin": "4.19.0", "@typescript-eslint/eslint-plugin": "4.19.0",

View File

@ -1,7 +1,7 @@
export const nxVersion = '*'; export const nxVersion = '*';
export const angularVersion = '^12.0.0'; export const angularVersion = '^12.1.0';
export const angularJsVersion = '1.7.9'; export const angularJsVersion = '1.7.9';
export const ngrxVersion = '^12.0.0'; export const ngrxVersion = '~12.2.0';
export const rxjsVersion = '~6.6.0'; export const rxjsVersion = '~6.6.0';
export const jestPresetAngularVersion = '9.0.3'; export const jestPresetAngularVersion = '9.0.4';
export const angularEslintVersion = '~12.0.0'; export const angularEslintVersion = '~12.3.0';

View File

@ -2,7 +2,7 @@ export const nxVersion = '*';
export const tslintVersion = '~6.1.0'; export const tslintVersion = '~6.1.0';
export const tslintToEslintConfigVersion = '^2.4.0'; export const tslintToEslintConfigVersion = '^2.4.0';
export const buildAngularVersion = '^12.0.0'; export const buildAngularVersion = '~12.1.0';
export const typescriptESLintVersion = '4.19.0'; export const typescriptESLintVersion = '4.19.0';
export const eslintVersion = '7.22.0'; export const eslintVersion = '7.22.0';

1879
yarn.lock

File diff suppressed because it is too large Load Diff