Skip to content

Commit

Permalink
chore: Update to Angular v17 (#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
lindolo25 authored Jan 31, 2024
1 parent e6d2c99 commit d4277c6
Show file tree
Hide file tree
Showing 3 changed files with 2,084 additions and 1,275 deletions.
8 changes: 4 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "sample-app-angular:build"
"buildTarget": "sample-app-angular:build"
},
"configurations": {
"production": {
"browserTarget": "sample-app-angular:build:production"
"buildTarget": "sample-app-angular:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "sample-app-angular:build"
"buildTarget": "sample-app-angular:build"
}
},
"test": {
Expand Down Expand Up @@ -118,4 +118,4 @@
"cli": {
"analytics": false
}
}
}
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,28 @@
"checkPeerDependencies": {
"ignore": [
"ajv",
"postcss"
"postcss",
"terser"
]
},
"scripts": {
"ng": "ng",
"start": "ng serve --configuration production --source-map",
"build": "ng build --configuration production --source-map",
"start": "ng serve --configuration production",
"build": "ng build --configuration production",
"test": "npm run build && cypress-runner run",
"test:open": "npm run build && cypress-runner open",
"e2e": "npm run test",
"gh-pages": "ng build --base-href=/sample-app-angular/ && shx rm -rf pages && shx mkdir pages && cd pages && git init && git remote add pages [email protected]:ui-router/sample-app-angular.git && git fetch pages && git checkout gh-pages && git rm -rf * && shx mv ../dist/* . && git add . && git commit -m 'Update gh-pages' . && git push && cd .. && shx rm -rf pages"
},
"private": true,
"dependencies": {
"@angular/common": "^16.0.0",
"@angular/compiler": "^16.0.0",
"@angular/core": "^16.0.0",
"@angular/forms": "^16.0.0",
"@angular/platform-browser": "^16.0.0",
"@angular/platform-browser-dynamic": "^16.0.0",
"@uirouter/angular": "^11.0.0",
"@angular/common": "^17.0.9",
"@angular/compiler": "^17.0.9",
"@angular/core": "^17.0.9",
"@angular/forms": "^17.0.9",
"@angular/platform-browser": "^17.0.9",
"@angular/platform-browser-dynamic": "^17.0.9",
"@uirouter/angular": "^12.0.0",
"@uirouter/core": "6.0.8",
"@uirouter/rx": "1.0.0",
"@uirouter/visualizer": "^7.2.1",
Expand All @@ -35,19 +36,18 @@
"rxjs-compat": "^6.6.7",
"ts-helpers": "^1.1.2",
"tslib": "^2.3.1",
"zone.js": "~0.11.4"
"zone.js": "~0.14.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "^16.0.0",
"@angular/animations": "^16.0.0",
"@angular/cli": "^16.0.0",
"@angular/compiler-cli": "^16.0.0",
"@angular-devkit/build-angular": "^17.0.0",
"@angular/animations": "^17.0.9",
"@angular/cli": "^17.0.10",
"@angular/compiler-cli": "^17.0.9",
"@types/jasmine": "~3.10.2",
"@uirouter/cypress-runner": "^3.0.0",
"fibers": "5.0.0",
"html-webpack-plugin": "5.5.0",
"shx": "^0.3.3",
"tslint": "6.1.3",
"typescript": "~4.9.5"
"typescript": "~5.2.2"
}
}
Loading

0 comments on commit d4277c6

Please sign in to comment.