update to angular 11

This commit is contained in:
Mathias Beaulieu-Duncan 2024-08-25 18:40:16 -04:00
parent 9f8a32d9cf
commit 8d50344a03
Signed by: mathias
GPG Key ID: 1C16CF05BAF9162D
8 changed files with 1935 additions and 1711 deletions

View File

@ -43,7 +43,6 @@
"optimization": true, "optimization": true,
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
"extractCss": true,
"namedChunks": false, "namedChunks": false,
"extractLicenses": true, "extractLicenses": true,
"vendorChunk": false, "vendorChunk": false,
@ -131,7 +130,7 @@
"prefix": "lib", "prefix": "lib",
"architect": { "architect": {
"build": { "build": {
"builder": "@angular-devkit/build-ng-packagr:build", "builder": "@angular-devkit/build-angular:ng-packagr",
"options": { "options": {
"tsConfig": "projects/openharbor/ngx-data/tsconfig.lib.json", "tsConfig": "projects/openharbor/ngx-data/tsconfig.lib.json",
"project": "projects/openharbor/ngx-data/ng-package.json" "project": "projects/openharbor/ngx-data/ng-package.json"
@ -171,7 +170,7 @@
"prefix": "lib", "prefix": "lib",
"architect": { "architect": {
"build": { "build": {
"builder": "@angular-devkit/build-ng-packagr:build", "builder": "@angular-devkit/build-angular:ng-packagr",
"options": { "options": {
"tsConfig": "projects/openharbor/ngx-data-apollo/tsconfig.lib.json", "tsConfig": "projects/openharbor/ngx-data-apollo/tsconfig.lib.json",
"project": "projects/openharbor/ngx-data-apollo/ng-package.json" "project": "projects/openharbor/ngx-data-apollo/ng-package.json"

View File

@ -13,14 +13,14 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "~10.2.5", "@angular/animations": "~11.2.14",
"@angular/common": "~10.2.5", "@angular/common": "~11.2.14",
"@angular/compiler": "~10.2.5", "@angular/compiler": "~11.2.14",
"@angular/core": "~10.2.5", "@angular/core": "~11.2.14",
"@angular/forms": "~10.2.5", "@angular/forms": "~11.2.14",
"@angular/platform-browser": "~10.2.5", "@angular/platform-browser": "~11.2.14",
"@angular/platform-browser-dynamic": "~10.2.5", "@angular/platform-browser-dynamic": "~11.2.14",
"@angular/router": "~10.2.5", "@angular/router": "~11.2.14",
"@poweredsoft/data": "0.0.32", "@poweredsoft/data": "0.0.32",
"apollo-angular": "^1.8.0", "apollo-angular": "^1.8.0",
"apollo-angular-link-http": "^1.9.0", "apollo-angular-link-http": "^1.9.0",
@ -34,23 +34,22 @@
"zone.js": "~0.10.2" "zone.js": "~0.10.2"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.1002.4", "@angular-devkit/build-angular": "~0.1102.19",
"@angular-devkit/build-ng-packagr": "~0.1002.4", "@angular/cli": "~11.2.19",
"@angular/cli": "~10.2.4", "@angular/compiler-cli": "~11.2.14",
"@angular/compiler-cli": "~10.2.5", "@angular/language-service": "~11.2.14",
"@angular/language-service": "~10.2.5",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
"@types/jasmine": "~3.3.8", "@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"codelyzer": "^5.1.2", "codelyzer": "^6.0.0",
"jasmine-core": "~3.5.0", "jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0", "jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0", "karma": "~6.4.4",
"karma-chrome-launcher": "~3.1.0", "karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2", "karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0", "karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0", "karma-jasmine-html-reporter": "^1.5.0",
"ng-packagr": "^10.1.0", "ng-packagr": "^11.2.4",
"protractor": "~7.0.0", "protractor": "~7.0.0",
"ts-node": "~7.0.0", "ts-node": "~7.0.0",
"tslint": "~6.1.0", "tslint": "~6.1.0",

View File

@ -2,6 +2,7 @@
"extends": "../../../tsconfig.json", "extends": "../../../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../../../out-tsc/lib", "outDir": "../../../out-tsc/lib",
"declarationMap": true,
"target": "es2015", "target": "es2015",
"declaration": true, "declaration": true,
"inlineSources": true, "inlineSources": true,

View File

@ -1,5 +1,8 @@
{ {
"extends": "./tsconfig.lib.json", "extends": "./tsconfig.lib.json",
"compilerOptions": {
"declarationMap": false
},
"angularCompilerOptions": { "angularCompilerOptions": {
"enableIvy": false "enableIvy": false
} }

View File

@ -2,6 +2,7 @@
"extends": "../../../tsconfig.json", "extends": "../../../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../../../out-tsc/lib", "outDir": "../../../out-tsc/lib",
"declarationMap": true,
"target": "es2015", "target": "es2015",
"declaration": true, "declaration": true,
"inlineSources": true, "inlineSources": true,

View File

@ -1,5 +1,8 @@
{ {
"extends": "./tsconfig.lib.json", "extends": "./tsconfig.lib.json",
"compilerOptions": {
"declarationMap": false
},
"angularCompilerOptions": { "angularCompilerOptions": {
"enableIvy": false "enableIvy": false
} }

View File

@ -5,7 +5,7 @@ import { Routes, RouterModule } from '@angular/router';
const routes: Routes = []; const routes: Routes = [];
@NgModule({ @NgModule({
imports: [RouterModule.forRoot(routes)], imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })],
exports: [RouterModule] exports: [RouterModule]
}) })
export class AppRoutingModule { } export class AppRoutingModule { }

3594
yarn.lock

File diff suppressed because it is too large Load Diff