mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 17:12:43 +00:00
build: upgrade to angular 9
This commit is contained in:
39
angular.json
39
angular.json
@@ -14,6 +14,7 @@
|
|||||||
"build": {
|
"build": {
|
||||||
"builder": "@angular-devkit/build-angular:browser",
|
"builder": "@angular-devkit/build-angular:browser",
|
||||||
"options": {
|
"options": {
|
||||||
|
"aot": true,
|
||||||
"outputPath": "www",
|
"outputPath": "www",
|
||||||
"index": "src/index.html",
|
"index": "src/index.html",
|
||||||
"main": "src/main.ts",
|
"main": "src/main.ts",
|
||||||
@@ -54,13 +55,25 @@
|
|||||||
"extractLicenses": true,
|
"extractLicenses": true,
|
||||||
"vendorChunk": false,
|
"vendorChunk": false,
|
||||||
"buildOptimizer": true,
|
"buildOptimizer": true,
|
||||||
"budgets": [{
|
"budgets": [
|
||||||
"type": "initial",
|
{
|
||||||
"maximumWarning": "2mb",
|
"type": "initial",
|
||||||
"maximumError": "5mb"
|
"maximumWarning": "2mb",
|
||||||
}]
|
"maximumError": "5mb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "anyComponentStyle",
|
||||||
|
"maximumWarning": "6kb"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"ci": {
|
"ci": {
|
||||||
|
"budgets": [
|
||||||
|
{
|
||||||
|
"type": "anyComponentStyle",
|
||||||
|
"maximumWarning": "6kb"
|
||||||
|
}
|
||||||
|
],
|
||||||
"progress": false
|
"progress": false
|
||||||
},
|
},
|
||||||
"web": {
|
"web": {
|
||||||
@@ -78,11 +91,17 @@
|
|||||||
"extractLicenses": true,
|
"extractLicenses": true,
|
||||||
"vendorChunk": false,
|
"vendorChunk": false,
|
||||||
"buildOptimizer": true,
|
"buildOptimizer": true,
|
||||||
"budgets": [{
|
"budgets": [
|
||||||
"type": "initial",
|
{
|
||||||
"maximumWarning": "2mb",
|
"type": "initial",
|
||||||
"maximumError": "5mb"
|
"maximumWarning": "2mb",
|
||||||
}]
|
"maximumError": "5mb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "anyComponentStyle",
|
||||||
|
"maximumWarning": "6kb"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
4486
package-lock.json
generated
4486
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
33
package.json
33
package.json
@@ -34,12 +34,12 @@
|
|||||||
"tslint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'"
|
"tslint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/common": "8.2.14",
|
"@angular/common": "9.1.12",
|
||||||
"@angular/core": "8.2.14",
|
"@angular/core": "9.1.12",
|
||||||
"@angular/forms": "8.2.14",
|
"@angular/forms": "9.1.12",
|
||||||
"@angular/platform-browser": "8.2.14",
|
"@angular/platform-browser": "9.1.12",
|
||||||
"@angular/platform-browser-dynamic": "8.2.14",
|
"@angular/platform-browser-dynamic": "9.1.12",
|
||||||
"@angular/router": "8.2.14",
|
"@angular/router": "9.1.12",
|
||||||
"@ionic-native/core": "5.4.0",
|
"@ionic-native/core": "5.4.0",
|
||||||
"@ionic-native/geolocation": "5.4.0",
|
"@ionic-native/geolocation": "5.4.0",
|
||||||
"@ionic-native/splash-screen": "5.4.0",
|
"@ionic-native/splash-screen": "5.4.0",
|
||||||
@@ -68,25 +68,26 @@
|
|||||||
"ngx-markdown": "9.1.1",
|
"ngx-markdown": "9.1.1",
|
||||||
"ngx-moment": "3.4.0",
|
"ngx-moment": "3.4.0",
|
||||||
"rxjs": "6.6.3",
|
"rxjs": "6.6.3",
|
||||||
"zone.js": "~0.9.1"
|
"tslib": "^1.10.0",
|
||||||
|
"zone.js": "~0.10.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/architect": "0.13.10",
|
"@angular-devkit/architect": "0.13.10",
|
||||||
"@angular-devkit/build-angular": "~0.803.29",
|
"@angular-devkit/build-angular": "~0.901.12",
|
||||||
"@angular-devkit/core": "7.3.8",
|
"@angular-devkit/core": "9.1.12",
|
||||||
"@angular-devkit/schematics": "7.3.8",
|
"@angular-devkit/schematics": "9.1.12",
|
||||||
"@angular/cli": "8.3.29",
|
"@angular/cli": "9.1.12",
|
||||||
"@angular/compiler": "8.2.14",
|
"@angular/compiler": "9.1.12",
|
||||||
"@angular/compiler-cli": "8.2.14",
|
"@angular/compiler-cli": "9.1.12",
|
||||||
"@angular/language-service": "8.2.14",
|
"@angular/language-service": "9.1.12",
|
||||||
"@compodoc/compodoc": "1.1.10",
|
"@compodoc/compodoc": "1.1.10",
|
||||||
"@ionic/angular-toolkit": "2.3.3",
|
"@ionic/angular-toolkit": "2.3.3",
|
||||||
"@types/deepmerge": "2.2.0",
|
"@types/deepmerge": "2.2.0",
|
||||||
"@types/form-data": "2.5.0",
|
"@types/form-data": "2.5.0",
|
||||||
"@types/jasmine": "3.3.12",
|
"@types/jasmine": "3.3.12",
|
||||||
"@types/jasminewd2": "2.0.6",
|
"@types/jasminewd2": "2.0.6",
|
||||||
"@types/node": "10.14.6",
|
"@types/node": "^12.11.1",
|
||||||
"codelyzer": "^5.0.1",
|
"codelyzer": "^5.1.2",
|
||||||
"conventional-changelog-cli": "2.0.12",
|
"conventional-changelog-cli": "2.0.12",
|
||||||
"is-docker": "1.1.0",
|
"is-docker": "1.1.0",
|
||||||
"jasmine-core": "3.5.0",
|
"jasmine-core": "3.5.0",
|
||||||
|
|||||||
@@ -4,8 +4,11 @@
|
|||||||
"outDir": "../out-tsc/app",
|
"outDir": "../out-tsc/app",
|
||||||
"baseUrl": "./"
|
"baseUrl": "./"
|
||||||
},
|
},
|
||||||
"exclude": [
|
"files": [
|
||||||
"test.ts",
|
"main.ts",
|
||||||
"**/*.spec.ts"
|
"polyfills.ts"
|
||||||
|
],
|
||||||
|
"include": [
|
||||||
|
"src/**/*.d.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user