Skip to content

Commit

Permalink
chore: Update to Angular 8 (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender authored May 25, 2024
1 parent 4fa3e9c commit fc51b10
Show file tree
Hide file tree
Showing 6 changed files with 1,865 additions and 6,949 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: ${{ vars.CLOUDFLARE_PROJECT_NAME }}
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
directory: dist/app
directory: dist/app/browser
wranglerVersion: 'latest'

- name: Tag and release note
Expand Down
19 changes: 10 additions & 9 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular/build:application",
"options": {
"outputPath": "dist/app",
"outputPath": {
"base": "dist/app"
},
"outputHashing": "all",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": [
"zone.js"
],
Expand Down Expand Up @@ -48,7 +49,8 @@
],
"stylePreprocessorOptions": {
"includePaths": [
"./node_modules/@uswds/uswds/packages"
"./node_modules/@uswds/uswds/packages",
"."
]
},
"styles": [
Expand All @@ -64,11 +66,10 @@
"allowedCommonJsDependencies": [
"@uswds/uswds/js/usa-modal"
],
"buildOptimizer": true,
"sourceMap": true,
"vendorChunk": false,
"extractLicenses": false,
"namedChunks": false
"namedChunks": false,
"browser": "src/main.ts"
},
"configurations": {
"production": {
Expand All @@ -81,7 +82,7 @@
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"builder": "@angular/build:dev-server",
"configurations": {
"production": {
"buildTarget": "app:build:production"
Expand All @@ -93,7 +94,7 @@
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"builder": "@angular/build:extract-i18n",
"options": {
"buildTarget": "app:build"
}
Expand Down
Loading

0 comments on commit fc51b10

Please sign in to comment.