Skip to content

Commit

Permalink
test(angular): update angular config
Browse files Browse the repository at this point in the history
  • Loading branch information
brandyscarney committed Nov 26, 2024
1 parent 4725dfc commit 33396fd
Show file tree
Hide file tree
Showing 7 changed files with 7,895 additions and 4,388 deletions.
58 changes: 38 additions & 20 deletions packages/angular/test/apps/ng19/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,12 @@
"schematics": {},
"architect": {
"build": {
"builder": "@angular/build:application",
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": {
"base": "dist/test-app"
},
"outputPath": "dist/test-app",
"index": "src/index.html",
"polyfills": [
"src/polyfills.ts"
],
"main": "src/main.ts",
"polyfills": ["src/polyfills.ts"],
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
Expand All @@ -34,16 +31,8 @@
"output": "./svg"
}
],
"styles": [
"src/styles.css"
],
"scripts": [],
"browser": "src/main.ts",
"server": "src/main.server.ts",
"prerender": true,
"ssr": {
"entry": "src/server.ts"
}
"styles": ["src/styles.css"],
"scripts": []
},
"configurations": {
"production": {
Expand Down Expand Up @@ -81,8 +70,26 @@
},
"defaultConfiguration": "production"
},
"server": {
"builder": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist/test-app-server",
"main": "src/main.server.ts",
"tsConfig": "tsconfig.server.json"
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
]
}
}
},
"serve": {
"builder": "@angular/build:dev-server",
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"buildTarget": "test-app:build"
},
Expand All @@ -96,16 +103,27 @@
},
"defaultConfiguration": "development"
},
"prerender": {
"builder": "@nguniversal/builders:prerender",
"options": {
"buildTarget": "test-app:build:production",
"serverTarget": "test-app:server:production",
"routes": ["/"]
}
},
"extract-i18n": {
"builder": "@angular/build:extract-i18n",
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "test-app:build"
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
}
}
Expand Down
Loading

0 comments on commit 33396fd

Please sign in to comment.