forked from SAP/spartacus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migration: - Nx migrate to 16.10.0 - Nx updated "@angular/" packages to 16.2.8, "@angular-devkit/" to 16.2.5 and "@angular-eslint/" to 16.2.0 - manual bump "@angular/" to 16.2.10 - manual bump "@angular-devkit/" to 16.2.7 - manual bump "ngx-infinite-scroll" to v16.0.0 - manual bump "@ng-select/ng-select" to v11.1.1 - manual bump "@angular-eslint/schematics" to v16.2.0 - manual bump "@ngrx/" to v16.0.1 - bump versions in librariers - automatic migration - changes from "@nrwl" to "@nx" - automatic migration - removed deprecated "CanActivate" interface - fixed type errors after TypeScript upgrade - went through Angular update guide Build issues: - remove 'entryComponents' from modules: See: https://github.com/angular/angular/blob/229331e11b6c214f74c9801aa52eb9cd47d7fc76/CHANGELOG.md?plain=1#L732 - handle new type of 'routerEvent' property from Scroll class. See: https://github.com/angular/angular/blob/b9a4941a327954c5c6b06a995de8f959ee0d63f6/packages/router/src/events.ts#L586 - schematics - removed 'defaultProject' that's no longer part of angular.json - schematics - addressed changes in SchematicTestRunner API - ssr - "renderModuleFactor" has been removed, use "renderModule" instead Linting issues: - added "plugin:@angular-eslint/recommended" to .eslintrc.json - added to project rules removed from "@angular-eslint". See: ng-cli-compat config does not work with eslint-plugin-jsdoc >=42.0.0 angular-eslint/angular-eslint#1353 (comment) - added "tsconfig.base.json" required by "@nx/eslint-plugin" - all errors related to "@angular-eslint/no-empty-lifecycle-method" marked as warnings - updated "validate-lint.sh" with a new path to nx Unit tests issues: - set clearContext: true in all karma config files to avoid Some of your tests did a full page reload! error - fixed issues caused by changes in Router API - events: Observable<RouterEvent> -> events: Observable<Event> - fixed issues with jest.spyOn when used on properties that are not configurable - caused by zone.js update (see: zone.js update 0.13.1 regression with Jest mock Cannot redefine property angular/angular#50756 (comment)) - fixed Error: NG04002: Cannot match any routes. that causes an infinite loop during running tests. See: https://github.com/angular/angular/blob/main/CHANGELOG.md#router-17 - changed waitForAsync causing issues to async in unit-level-order-overview.component.spec.ts - fix async test in quick-order.service.spec.ts causing errors thrown in afterAll - TS issue - observable.toPromise() -> firstValueFrom(observable) in tests for schematics - updated schematics snapshot - removed globalSetup: 'jest-preset-angular/global-setup' as it is no longer needed and to avoid ngcc warning
- Loading branch information
Showing
200 changed files
with
12,765 additions
and
9,015 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,34 @@ | ||
{ | ||
"compilerOptions": { | ||
/* Basic Options */ | ||
"target": "es2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ | ||
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ | ||
"lib": ["es2019", "esnext.bigint", "es2020.string", "es2020.symbol.wellknown"], /* Specify library files to be included in the compilation. */ | ||
"allowJs": false, /* Allow javascript files to be compiled. */ | ||
"checkJs": false, /* Report errors in .js files. */ | ||
"declaration": false, /* Generates corresponding '.d.ts' file. */ | ||
"declarationMap": false, /* Generates a sourcemap for each corresponding '.d.ts' file. */ | ||
"sourceMap": false, /* Generates corresponding '.map' file. */ | ||
"target": "es2019" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */, | ||
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */, | ||
"lib": [ | ||
"es2019", | ||
"esnext.bigint", | ||
"es2022.string", | ||
"es2022.symbol.wellknown" | ||
] /* Specify library files to be included in the compilation. */, | ||
"allowJs": false /* Allow javascript files to be compiled. */, | ||
"checkJs": false /* Report errors in .js files. */, | ||
"declaration": false /* Generates corresponding '.d.ts' file. */, | ||
"declarationMap": false /* Generates a sourcemap for each corresponding '.d.ts' file. */, | ||
"sourceMap": false /* Generates corresponding '.map' file. */, | ||
|
||
/* Strict Type-Checking Options */ | ||
"strict": true, /* Enable all strict type-checking options. */ | ||
"strict": true /* Enable all strict type-checking options. */, | ||
|
||
/* Additional Checks */ | ||
"noUnusedLocals": true, /* Report errors on unused locals. */ | ||
"noUnusedParameters": true, /* Report errors on unused parameters. */ | ||
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ | ||
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ | ||
"noUnusedLocals": true /* Report errors on unused locals. */, | ||
"noUnusedParameters": true /* Report errors on unused parameters. */, | ||
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */, | ||
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */, | ||
|
||
/* Module Resolution Options */ | ||
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ | ||
"esModuleInterop": false, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ | ||
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, | ||
"esModuleInterop": false /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, | ||
|
||
/* Advanced Options */ | ||
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ | ||
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,34 @@ | ||
{ | ||
"compilerOptions": { | ||
/* Basic Options */ | ||
"target": "es2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ | ||
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ | ||
"lib": ["es2019", "esnext.bigint", "es2020.string", "es2020.symbol.wellknown"], /* Specify library files to be included in the compilation. */ | ||
"allowJs": false, /* Allow javascript files to be compiled. */ | ||
"checkJs": false, /* Report errors in .js files. */ | ||
"declaration": false, /* Generates corresponding '.d.ts' file. */ | ||
"declarationMap": false, /* Generates a sourcemap for each corresponding '.d.ts' file. */ | ||
"sourceMap": false, /* Generates corresponding '.map' file. */ | ||
"target": "es2019" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */, | ||
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */, | ||
"lib": [ | ||
"es2019", | ||
"esnext.bigint", | ||
"es2022.string", | ||
"es2022.symbol.wellknown" | ||
] /* Specify library files to be included in the compilation. */, | ||
"allowJs": false /* Allow javascript files to be compiled. */, | ||
"checkJs": false /* Report errors in .js files. */, | ||
"declaration": false /* Generates corresponding '.d.ts' file. */, | ||
"declarationMap": false /* Generates a sourcemap for each corresponding '.d.ts' file. */, | ||
"sourceMap": false /* Generates corresponding '.map' file. */, | ||
|
||
/* Strict Type-Checking Options */ | ||
"strict": true, /* Enable all strict type-checking options. */ | ||
"strict": true /* Enable all strict type-checking options. */, | ||
|
||
/* Additional Checks */ | ||
"noUnusedLocals": true, /* Report errors on unused locals. */ | ||
"noUnusedParameters": true, /* Report errors on unused parameters. */ | ||
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ | ||
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ | ||
"noUnusedLocals": true /* Report errors on unused locals. */, | ||
"noUnusedParameters": true /* Report errors on unused parameters. */, | ||
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */, | ||
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */, | ||
|
||
/* Module Resolution Options */ | ||
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ | ||
"esModuleInterop": false, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ | ||
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, | ||
"esModuleInterop": false /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, | ||
|
||
/* Advanced Options */ | ||
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ | ||
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,3 +70,5 @@ Thumbs.db | |
|
||
**/git-ignore | ||
|
||
.nx/cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.