completed ng13 migration

This commit is contained in:
Mathias Beaulieu-Duncan 2024-08-26 01:14:23 -04:00
parent f371f7051c
commit ae968f00e7
Signed by: mathias
GPG Key ID: 1C16CF05BAF9162D
12 changed files with 1876 additions and 2892 deletions

1
.gitignore vendored
View File

@ -32,6 +32,7 @@ speed-measure-plugin*.json
.history/* .history/*
# misc # misc
/.angular/cache
/.sass-cache /.sass-cache
/connect.lock /connect.lock
/coverage /coverage

View File

@ -107,19 +107,6 @@
"scripts": [] "scripts": []
} }
}, },
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"tsconfig.app.json",
"tsconfig.spec.json",
"e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
},
"e2e": { "e2e": {
"builder": "@angular-devkit/build-angular:protractor", "builder": "@angular-devkit/build-angular:protractor",
"options": { "options": {
@ -164,18 +151,6 @@
"tsConfig": "projects/openharbor/ngx-data-cdk-ui/tsconfig.spec.json", "tsConfig": "projects/openharbor/ngx-data-cdk-ui/tsconfig.spec.json",
"karmaConfig": "projects/openharbor/ngx-data-cdk-ui/karma.conf.js" "karmaConfig": "projects/openharbor/ngx-data-cdk-ui/karma.conf.js"
} }
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/openharbor/ngx-data-cdk-ui/tsconfig.lib.json",
"projects/openharbor/ngx-data-cdk-ui/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
} }
} }
}, },
@ -206,18 +181,6 @@
"tsConfig": "projects/openharbor/ngx-data-bootstrap-ui/tsconfig.spec.json", "tsConfig": "projects/openharbor/ngx-data-bootstrap-ui/tsconfig.spec.json",
"karmaConfig": "projects/openharbor/ngx-data-bootstrap-ui/karma.conf.js" "karmaConfig": "projects/openharbor/ngx-data-bootstrap-ui/karma.conf.js"
} }
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/openharbor/ngx-data-bootstrap-ui/tsconfig.lib.json",
"projects/openharbor/ngx-data-bootstrap-ui/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
} }
} }
}, },
@ -248,18 +211,6 @@
"tsConfig": "projects/openharbor/ngx-data-ng-select-ui/tsconfig.spec.json", "tsConfig": "projects/openharbor/ngx-data-ng-select-ui/tsconfig.spec.json",
"karmaConfig": "projects/openharbor/ngx-data-ng-select-ui/karma.conf.js" "karmaConfig": "projects/openharbor/ngx-data-ng-select-ui/karma.conf.js"
} }
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/openharbor/ngx-data-ng-select-ui/tsconfig.lib.json",
"projects/openharbor/ngx-data-ng-select-ui/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
} }
} }
}}, }},

View File

@ -15,14 +15,14 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "~12.2.17", "@angular/animations": "~13.4.0",
"@angular/common": "~12.2.17", "@angular/common": "~13.4.0",
"@angular/compiler": "~12.2.17", "@angular/compiler": "~13.4.0",
"@angular/core": "~12.2.17", "@angular/core": "~13.4.0",
"@angular/forms": "~12.2.17", "@angular/forms": "~13.4.0",
"@angular/platform-browser": "~12.2.17", "@angular/platform-browser": "~13.4.0",
"@angular/platform-browser-dynamic": "~12.2.17", "@angular/platform-browser-dynamic": "~13.4.0",
"@angular/router": "~12.2.17", "@angular/router": "~13.4.0",
"@ng-select/ng-select": "^13.0.0", "@ng-select/ng-select": "^13.0.0",
"@openharbor/ngx-data": "^18.0.0-alpha.3", "@openharbor/ngx-data": "^18.0.0-alpha.3",
"@poweredsoft/data": "^0.0.36", "@poweredsoft/data": "^0.0.36",
@ -41,10 +41,10 @@
"zone.js": "~0.11.4" "zone.js": "~0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~12.2.18", "@angular-devkit/build-angular": "~13.3.11",
"@angular/cli": "~12.2.18", "@angular/cli": "~13.3.11",
"@angular/compiler-cli": "~12.2.17", "@angular/compiler-cli": "~13.4.0",
"@angular/language-service": "~12.2.17", "@angular/language-service": "~13.4.0",
"@types/jasmine": "~3.6.0", "@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
@ -56,13 +56,13 @@
"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": "^12.2.7", "ng-packagr": "^13.3.1",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"protractor": "~7.0.0", "protractor": "~7.0.0",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-node": "~8.3.0", "ts-node": "~8.3.0",
"tslint": "~6.1.0", "tslint": "~6.1.0",
"typescript": "~4.3.5", "typescript": "~4.6.4",
"wait-on": "^5.0.1" "wait-on": "^5.0.1"
}, },
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610" "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"

View File

@ -18,7 +18,9 @@ declare const require: {
// First, initialize the Angular testing environment. // First, initialize the Angular testing environment.
getTestBed().initTestEnvironment( getTestBed().initTestEnvironment(
BrowserDynamicTestingModule, BrowserDynamicTestingModule,
platformBrowserDynamicTesting() platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
); );
// Then we find all the tests. // Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/); const context = require.context('./', true, /\.spec\.ts$/);

View File

@ -4,6 +4,6 @@
"declarationMap": false "declarationMap": false
}, },
"angularCompilerOptions": { "angularCompilerOptions": {
"enableIvy": false "compilationMode": "partial"
} }
} }

View File

@ -18,7 +18,9 @@ declare const require: {
// First, initialize the Angular testing environment. // First, initialize the Angular testing environment.
getTestBed().initTestEnvironment( getTestBed().initTestEnvironment(
BrowserDynamicTestingModule, BrowserDynamicTestingModule,
platformBrowserDynamicTesting() platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
); );
// Then we find all the tests. // Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/); const context = require.context('./', true, /\.spec\.ts$/);

View File

@ -4,6 +4,6 @@
"declarationMap": false "declarationMap": false
}, },
"angularCompilerOptions": { "angularCompilerOptions": {
"enableIvy": false "compilationMode": "partial"
} }
} }

View File

@ -18,7 +18,9 @@ declare const require: {
// First, initialize the Angular testing environment. // First, initialize the Angular testing environment.
getTestBed().initTestEnvironment( getTestBed().initTestEnvironment(
BrowserDynamicTestingModule, BrowserDynamicTestingModule,
platformBrowserDynamicTesting() platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
); );
// Then we find all the tests. // Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/); const context = require.context('./', true, /\.spec\.ts$/);

View File

@ -4,6 +4,6 @@
"declarationMap": false "declarationMap": false
}, },
"angularCompilerOptions": { "angularCompilerOptions": {
"enableIvy": false "compilationMode": "partial"
} }
} }

View File

@ -18,16 +18,6 @@
* BROWSER POLYFILLS * BROWSER POLYFILLS
*/ */
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
// import 'classlist.js'; // Run `npm install --save classlist.js`.
/**
* Web Animations `@angular/platform-browser/animations`
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
*/
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
/** /**
* By default, zone.js will patch all possible macroTask and DomEvents * By default, zone.js will patch all possible macroTask and DomEvents
* user can disable parts of macroTask/DomEvents patch by setting following flags * user can disable parts of macroTask/DomEvents patch by setting following flags

View File

@ -17,7 +17,9 @@ declare const require: {
// First, initialize the Angular testing environment. // First, initialize the Angular testing environment.
getTestBed().initTestEnvironment( getTestBed().initTestEnvironment(
BrowserDynamicTestingModule, BrowserDynamicTestingModule,
platformBrowserDynamicTesting() platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
); );
// Then we find all the tests. // Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/); const context = require.context('./', true, /\.spec\.ts$/);

4658
yarn.lock

File diff suppressed because it is too large Load Diff