Skip to content

Commit aab0c43

Browse files
Update to Angular 13 (#95)
* build: generate package-locks * build(frontend): update angular core to v 12 * build(frontend): update @angular/cli to 12 * build(frontend): update @angular/cli to 12 * build(frontend): update @angular/core and ng-zorro-antd to 13 * build(frontend): update @angular/cli to 13 * build(frontend): update @angular/cdk to v 13' * build(frontend): update app to run angular 13 * fix: scss imports breaking the build * build(frontend): remove production flag as it is the default in 13
1 parent 1e3b739 commit aab0c43

File tree

14 files changed

+68624
-21104
lines changed

14 files changed

+68624
-21104
lines changed

backend/package-lock.json

+15,277-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ speed-measure-plugin*.json
3232
.history/*
3333

3434
# misc
35+
/.angular/cache
3536
/.sass-cache
3637
/connect.lock
3738
/coverage

frontend/angular.json

+9-10
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"skipTests": true
2424
},
2525
"@schematics/angular:module": {
26-
"skipTests": true
2726
},
2827
"@schematics/angular:pipe": {
2928
"skipTests": true
@@ -98,21 +97,21 @@
9897
"maximumError": "100kb"
9998
}
10099
]
100+
},
101+
"development": {
102+
"buildOptimizer": false,
103+
"optimization": false,
104+
"vendorChunk": true,
105+
"extractLicenses": false,
106+
"sourceMap": true,
107+
"namedChunks": true
101108
}
102109
}
103110
},
104111
"serve": {
105112
"builder": "@angular-builders/custom-webpack:dev-server",
106113
"options": {
107-
"browserTarget": "frontend:build",
108-
"customWebpackConfig": {
109-
"path": "./webpack.config.js"
110-
}
111-
},
112-
"configurations": {
113-
"production": {
114-
"browserTarget": "frontend:build:production"
115-
}
114+
"browserTarget": "frontend:build:development"
116115
}
117116
},
118117
"extract-i18n": {

0 commit comments

Comments
 (0)