Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
build: update to Angular v17 (#1228)
Browse files Browse the repository at this point in the history
Updates the repo to Angular v17 in order to fix the deployment.
  • Loading branch information
crisbeto authored Oct 24, 2023
1 parent 775010d commit 914a8bc
Show file tree
Hide file tree
Showing 10 changed files with 7,555 additions and 6,030 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Input hashes for repository rule npm_translate_lock(name = "npm", pnpm_lock = "//:pnpm-lock.yaml").
# This file should be checked into version control along with the pnpm-lock.yaml file.
.npmrc=-1306950124
pnpm-lock.yaml=-1236521065
yarn.lock=86022894
package.json=1192278631
pnpm-lock.yaml=710493181
yarn.lock=-1833642635
package.json=421506501
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"root": true,
"ignorePatterns": [
"*.d.ts"
"*.d.ts",
"src/assets/stack-blitz/**/*.ts"
],
"overrides": [
{
Expand Down
14 changes: 7 additions & 7 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,22 +108,22 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "material-angular-io:build",
"headers": {
// Keep in sync with `firebase.json`
"Content-Security-Policy": "upgrade-insecure-requests; default-src 'self'; font-src 'self' https://fonts.gstatic.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: *; frame-src https://www.youtube.com; media-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.google-analytics.com https://www.googletagmanager.com; child-src 'self' blob:; connect-src 'self' https://material.angular.io https://*.google-analytics.com https://stats.g.doubleclick.net https://api.github.com https://www.googletagmanager.com;"
}
},
"buildTarget": "material-angular-io:build"
},
"configurations": {
"production": {
"browserTarget": "material-angular-io:build:production"
"buildTarget": "material-angular-io:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "material-angular-io:build"
"buildTarget": "material-angular-io:build"
}
},
"test": {
Expand Down Expand Up @@ -261,18 +261,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "scenes:build"
"buildTarget": "scenes:build"
},
"configurations": {
"production": {
"browserTarget": "scenes:build:production"
"buildTarget": "scenes:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "scenes:build"
"buildTarget": "scenes:build"
}
},
"test": {
Expand Down
51 changes: 26 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,47 +30,48 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^16.1.0",
"@angular/cdk": "^16.1.0",
"@angular/cdk-experimental": "^16.1.0",
"@angular/common": "^16.1.0",
"@angular/compiler": "^16.1.0",
"@angular/animations": "^17.0.0-rc.0",
"@angular/cdk": "^17.0.0-rc.0",
"@angular/cdk-experimental": "^17.0.0-rc.0",
"@angular/common": "^17.0.0-rc.0",
"@angular/compiler": "^17.0.0-rc.0",
"@angular/components-examples": "https://github.com/angular/material2-docs-content.git#9bef76ab6f8c5e7bec1356e2c38d77afc6451658",
"@angular/core": "^16.1.0",
"@angular/forms": "^16.1.0",
"@angular/google-maps": "^16.1.0",
"@angular/localize": "^16.1.0",
"@angular/material": "^16.1.0",
"@angular/material-experimental": "^16.1.0",
"@angular/material-moment-adapter": "^16.1.0",
"@angular/platform-browser": "^16.1.0",
"@angular/platform-browser-dynamic": "^16.1.0",
"@angular/router": "^16.1.0",
"@angular/youtube-player": "^16.1.0",
"@angular/core": "^17.0.0-rc.0",
"@angular/forms": "^17.0.0-rc.0",
"@angular/google-maps": "^17.0.0-rc.0",
"@angular/localize": "^17.0.0-rc.0",
"@angular/material": "^17.0.0-rc.0",
"@angular/material-experimental": "^17.0.0-rc.0",
"@angular/material-moment-adapter": "^17.0.0-rc.0",
"@angular/platform-browser": "^17.0.0-rc.0",
"@angular/platform-browser-dynamic": "^17.0.0-rc.0",
"@angular/router": "^17.0.0-rc.0",
"@angular/ssr": "^17.0.0-rc.0",
"@angular/youtube-player": "^17.0.0-rc.0",
"@stackblitz/sdk": "^1.5.2",
"moment": "^2.29.1",
"path-normalize": "^6.0.7",
"rxjs": "^6.6.7",
"tslib": "^2.3.0",
"zone.js": "~0.13.0"
"zone.js": "~0.14.0"
},
"devDependencies": {
"@angular-devkit/architect": "^0.1601.0",
"@angular-devkit/architect-cli": "^0.1601.0",
"@angular-devkit/build-angular": "^16.1.0",
"@angular-devkit/architect": "^0.1700.0-rc.0",
"@angular-devkit/architect-cli": "^0.1700.0-rc.0",
"@angular-devkit/build-angular": "^17.0.0-rc.0",
"@angular-eslint/builder": "^14.0.0",
"@angular-eslint/eslint-plugin": "^14.0.0",
"@angular-eslint/eslint-plugin-template": "^14.0.0",
"@angular-eslint/template-parser": "^14.0.0",
"@angular/cli": "^16.1.0",
"@angular/compiler-cli": "^16.1.0",
"@angular/cli": "^17.0.0-rc.0",
"@angular/compiler-cli": "^17.0.0-rc.0",
"@bazel/bazelisk": "^1.12.1",
"@types/imagemin": "^7.0.0",
"@types/jasmine": "^3.7.7",
"@types/node": "^16.11.7",
"@types/shelljs": "~0.8.8",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.23.1",
"eslint-plugin-ban": "^1.5.2",
"eslint-plugin-import": "^2.22.1",
Expand All @@ -95,6 +96,6 @@
"puppeteer": "~21.1.0",
"shelljs": "^0.8.4",
"ts-node": "^8.10.2",
"typescript": "~5.1.3"
"typescript": "~5.2.2"
}
}
Loading

0 comments on commit 914a8bc

Please sign in to comment.