Skip to content

Commit 6a8a5e7

Browse files
authored
[Tock Studio] Angular version upgrade (v14 to v17) (#1710)
* Temporarily remove angular-eslint devDep * Upgrade v14 to v15 * npm update * Upgrade zone.js to v0.13 * Update typescript to v4.9.5 * Update eslint to v 16.2.14 * Temporarily remove angular-eslint devDep * Upgrade v15 to v16 * typescript and zone.js upgrade * Remove angular-eslint * Upgrade v16 to v17 * Temp workaround for incompatibility of Nebular 13 vith angular cdk >17.1 * Upgrade Cytoscape Fixes #1712
1 parent a7505db commit 6a8a5e7

26 files changed

+7053
-5877
lines changed

bot/admin/web/angular.json

+7-9
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"outputPath": "dist",
2222
"index": "src/index.html",
2323
"main": "src/main.ts",
24-
"polyfills": "src/polyfills.ts",
24+
"polyfills": ["zone.js"],
2525
"tsConfig": "tsconfig.app.json",
2626
"inlineStyleLanguage": "scss",
2727
"assets": ["src/favicon.ico", "src/assets", "src/img"],
@@ -77,30 +77,30 @@
7777
"serve": {
7878
"builder": "@angular-devkit/build-angular:dev-server",
7979
"options": {
80-
"browserTarget": "bot:build"
80+
"buildTarget": "bot:build"
8181
},
8282
"configurations": {
8383
"production": {
84-
"browserTarget": "bot:build:production"
84+
"buildTarget": "bot:build:production"
8585
},
8686
"dev": {
87-
"browserTarget": "bot:build:dev"
87+
"buildTarget": "bot:build:dev"
8888
}
8989
},
9090
"defaultConfiguration": "dev"
9191
},
9292
"extract-i18n": {
9393
"builder": "@angular-devkit/build-angular:extract-i18n",
9494
"options": {
95-
"browserTarget": "bot:build"
95+
"buildTarget": "bot:build"
9696
}
9797
},
9898
"test": {
9999
"builder": "@angular-devkit/build-angular:karma",
100100
"options": {
101101
"main": "src/test.ts",
102102
"preserveSymlinks": true,
103-
"polyfills": "src/polyfills.ts",
103+
"polyfills": ["zone.js"],
104104
"tsConfig": "tsconfig.spec.json",
105105
"karmaConfig": "karma.conf.js",
106106
"styles": ["src/styles.css"],
@@ -118,9 +118,7 @@
118118
}
119119
},
120120
"cli": {
121-
"schematicCollections": [
122-
"@angular-eslint/schematics"
123-
],
121+
"schematicCollections": ["@angular-eslint/schematics"],
124122
"analytics": false
125123
}
126124
}

0 commit comments

Comments
 (0)