Skip to content

Commit 4576dc9

Browse files
authored
201: adapt config files (#202)
1 parent f4f18d8 commit 4576dc9

16 files changed

+5412
-3558
lines changed

ship-frontend/angular.json

Lines changed: 5 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
33
"version": 1,
4+
"cli": {
5+
"packageManager": "npm"
6+
},
47
"newProjectRoot": "projects",
58
"projects": {
69
"ship-frontend": {
@@ -13,23 +16,15 @@
1316
"build": {
1417
"builder": "@angular/build:application",
1518
"options": {
16-
"outputPath": {
17-
"base": "dist/ship-frontend"
18-
},
19-
"index": "src/index.html",
20-
"polyfills": [
21-
"src/polyfills.ts"
22-
],
19+
"browser": "src/main.ts",
2320
"tsConfig": "tsconfig.app.json",
2421
"assets": [
2522
"src/favicon.ico",
2623
"src/assets"
2724
],
2825
"styles": [
2926
"src/styles.css"
30-
],
31-
"scripts": [],
32-
"browser": "src/main.ts"
27+
]
3328
},
3429
"configurations": {
3530
"production": {
@@ -73,57 +68,8 @@
7368
}
7469
},
7570
"defaultConfiguration": "development"
76-
},
77-
"extract-i18n": {
78-
"builder": "@angular/build:extract-i18n",
79-
"options": {
80-
"buildTarget": "ship-frontend:build"
81-
}
82-
},
83-
"test": {
84-
"builder": "@angular/build:karma",
85-
"options": {
86-
"main": "src/test.ts",
87-
"polyfills": "src/polyfills.ts",
88-
"tsConfig": "tsconfig.spec.json",
89-
"karmaConfig": "karma.conf.js",
90-
"assets": [
91-
"src/favicon.ico",
92-
"src/assets"
93-
],
94-
"styles": [
95-
"src/styles.css"
96-
],
97-
"scripts": []
98-
}
9971
}
10072
}
10173
}
102-
},
103-
"schematics": {
104-
"@schematics/angular:component": {
105-
"type": "component"
106-
},
107-
"@schematics/angular:directive": {
108-
"type": "directive"
109-
},
110-
"@schematics/angular:service": {
111-
"type": "service"
112-
},
113-
"@schematics/angular:guard": {
114-
"typeSeparator": "."
115-
},
116-
"@schematics/angular:interceptor": {
117-
"typeSeparator": "."
118-
},
119-
"@schematics/angular:module": {
120-
"typeSeparator": "."
121-
},
122-
"@schematics/angular:pipe": {
123-
"typeSeparator": "."
124-
},
125-
"@schematics/angular:resolver": {
126-
"typeSeparator": "."
127-
}
12874
}
12975
}

0 commit comments

Comments
 (0)