-
Notifications
You must be signed in to change notification settings - Fork 12
feat: upgrade Angular 9 → 20 (Wave 1 — core framework + build config) #426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
c937658
694a9eb
ae50b40
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,3 +44,4 @@ testem.log | |
| # System Files | ||
| .DS_Store | ||
| Thumbs.db | ||
| .angular/ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,13 +15,14 @@ | |
| "prefix": "app", | ||
| "architect": { | ||
| "build": { | ||
| "builder": "@angular-devkit/build-angular:browser", | ||
| "builder": "@angular-devkit/build-angular:application", | ||
| "options": { | ||
| "aot": true, | ||
| "outputPath": "dist/angular-hnpwa", | ||
| "index": "src/index.html", | ||
| "main": "src/main.ts", | ||
| "polyfills": "src/polyfills.ts", | ||
| "browser": "src/main.ts", | ||
|
Comment on lines
+18
to
+22
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚩 Migration to application builder changes output directory structure The builder was changed from Was this helpful? React with 👍 or 👎 to provide feedback. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good catch — updated |
||
| "polyfills": [ | ||
| "zone.js" | ||
| ], | ||
| "tsConfig": "tsconfig.app.json", | ||
| "assets": [ | ||
| "src/favicon.ico", | ||
|
|
@@ -45,12 +46,8 @@ | |
| "optimization": true, | ||
| "outputHashing": "all", | ||
| "sourceMap": true, | ||
| "extractCss": true, | ||
| "namedChunks": true, | ||
| "aot": true, | ||
| "extractLicenses": true, | ||
| "vendorChunk": false, | ||
| "buildOptimizer": true, | ||
| "budgets": [ | ||
| { | ||
| "type": "initial", | ||
|
|
@@ -62,33 +59,35 @@ | |
| "maximumWarning": "6kb" | ||
| } | ||
| ], | ||
| "serviceWorker": true, | ||
| "ngswConfigPath": "ngsw-config.json" | ||
| "serviceWorker": "ngsw-config.json" | ||
| } | ||
| } | ||
| }, | ||
| "serve": { | ||
| "builder": "@angular-devkit/build-angular:dev-server", | ||
| "options": { | ||
| "browserTarget": "angular-hnpwa:build" | ||
| "buildTarget": "angular-hnpwa:build" | ||
| }, | ||
| "configurations": { | ||
| "production": { | ||
| "browserTarget": "angular-hnpwa:build:production" | ||
| "buildTarget": "angular-hnpwa:build:production" | ||
| } | ||
| } | ||
| }, | ||
| "extract-i18n": { | ||
| "builder": "@angular-devkit/build-angular:extract-i18n", | ||
| "options": { | ||
| "browserTarget": "angular-hnpwa:build" | ||
| "buildTarget": "angular-hnpwa:build" | ||
| } | ||
| }, | ||
| "test": { | ||
| "builder": "@angular-devkit/build-angular:karma", | ||
| "options": { | ||
| "main": "src/test.ts", | ||
| "polyfills": "src/polyfills.ts", | ||
| "polyfills": [ | ||
| "zone.js", | ||
| "zone.js/testing" | ||
| ], | ||
| "tsConfig": "tsconfig.spec.json", | ||
| "karmaConfig": "karma.conf.js", | ||
| "assets": [ | ||
|
|
@@ -129,6 +128,5 @@ | |
| } | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚩 Angular lint/e2e architect targets reference removed/deprecated builders The (Refers to lines 104-128) Was this helpful? React with 👍 or 👎 to provide feedback. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Intentional deferral — TSLint→ESLint and Protractor removal (including these |
||
| } | ||
| } | ||
| }, | ||
| "defaultProject": "angular-hnpwa" | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.