File tree Expand file tree Collapse file tree 11 files changed +98
-22
lines changed Expand file tree Collapse file tree 11 files changed +98
-22
lines changed Original file line number Diff line number Diff line change 71
71
"extractLicenses" : false ,
72
72
"sourceMap" : true ,
73
73
"namedChunks" : true
74
+ },
75
+ "test" : {
76
+ "fileReplacements" : [
77
+ {
78
+ "replace" : " src/environments/environment.ts" ,
79
+ "with" : " src/environments/environment.prod.ts"
80
+ }
81
+ ],
82
+ "optimization" : true ,
83
+ "outputHashing" : " none" ,
84
+ "sourceMap" : false ,
85
+ "namedChunks" : false ,
86
+ "aot" : true ,
87
+ "progress" : false ,
88
+ "extractLicenses" : false ,
89
+ "vendorChunk" : false ,
90
+ "buildOptimizer" : true
74
91
}
75
92
},
76
93
"defaultConfiguration" : " production"
86
103
},
87
104
"development" : {
88
105
"browserTarget" : " test-app:build:development"
106
+ },
107
+ "test" : {
108
+ "browserTarget" : " test-app:build:test"
89
109
}
90
110
},
91
111
"defaultConfiguration" : " development"
Original file line number Diff line number Diff line change 13
13
"build:ssr" : " ng build --prod && ng run test-app:server:production" ,
14
14
"dev:ssr" : " ng run test-app:serve-ssr" ,
15
15
"prerender" : " ng run test-app:prerender" ,
16
- "test" : " concurrently \" npm run start -- --configuration production\" \" wait-on http-get://localhost:4200 && npm run test.e2e\" --kill-others --success first" ,
17
- "test.e2e" : " npx playwright test"
16
+ "test" : " npx playwright test"
18
17
},
19
18
"dependencies" : {
20
19
"@angular/animations" : " ^16.0.0" ,
Original file line number Diff line number Diff line change 71
71
"extractLicenses" : false ,
72
72
"sourceMap" : true ,
73
73
"namedChunks" : true
74
+ },
75
+ "test" : {
76
+ "fileReplacements" : [
77
+ {
78
+ "replace" : " src/environments/environment.ts" ,
79
+ "with" : " src/environments/environment.prod.ts"
80
+ }
81
+ ],
82
+ "optimization" : true ,
83
+ "outputHashing" : " none" ,
84
+ "sourceMap" : false ,
85
+ "namedChunks" : false ,
86
+ "aot" : true ,
87
+ "progress" : false ,
88
+ "extractLicenses" : false ,
89
+ "vendorChunk" : false ,
90
+ "buildOptimizer" : true
74
91
}
75
92
},
76
93
"defaultConfiguration" : " production"
86
103
},
87
104
"development" : {
88
105
"buildTarget" : " test-app:build:development"
106
+ },
107
+ "test" : {
108
+ "buildTarget" : " test-app:build:test"
89
109
}
90
110
},
91
111
"defaultConfiguration" : " development"
Original file line number Diff line number Diff line change 13
13
"build:ssr" : " ng build --prod && ng run test-app:server:production" ,
14
14
"dev:ssr" : " ng run test-app:serve-ssr" ,
15
15
"prerender" : " ng run test-app:prerender" ,
16
- "test" : " concurrently \" npm run start -- --configuration production\" \" wait-on http-get://localhost:4200 && npm run test.e2e\" --kill-others --success first" ,
17
- "test.e2e" : " npx playwright test"
16
+ "test" : " npx playwright test"
18
17
},
19
18
"dependencies" : {
20
19
"@angular/animations" : " ^17.0.2" ,
Original file line number Diff line number Diff line change 71
71
"extractLicenses" : false ,
72
72
"sourceMap" : true ,
73
73
"namedChunks" : true
74
+ },
75
+ "test" : {
76
+ "fileReplacements" : [
77
+ {
78
+ "replace" : " src/environments/environment.ts" ,
79
+ "with" : " src/environments/environment.prod.ts"
80
+ }
81
+ ],
82
+ "optimization" : true ,
83
+ "outputHashing" : " none" ,
84
+ "sourceMap" : false ,
85
+ "namedChunks" : false ,
86
+ "aot" : true ,
87
+ "progress" : false ,
88
+ "extractLicenses" : false ,
89
+ "vendorChunk" : false ,
90
+ "buildOptimizer" : true
74
91
}
75
92
},
76
93
"defaultConfiguration" : " production"
86
103
},
87
104
"development" : {
88
105
"buildTarget" : " test-app:build:development"
106
+ },
107
+ "test" : {
108
+ "buildTarget" : " test-app:build:test"
89
109
}
90
110
},
91
111
"defaultConfiguration" : " development"
Original file line number Diff line number Diff line change 13
13
"build:ssr" : " ng build --prod && ng run test-app:server:production" ,
14
14
"dev:ssr" : " ng run test-app:serve-ssr" ,
15
15
"prerender" : " ng run test-app:prerender" ,
16
- "test" : " concurrently \" npm run start -- --configuration production\" \" wait-on http-get://localhost:4200 && npm run test.e2e\" --kill-others --success first" ,
17
- "test.e2e" : " npx playwright test"
16
+ "test" : " npx playwright test"
18
17
},
19
18
"dependencies" : {
20
19
"@angular/animations" : " ^18.0.0" ,
Original file line number Diff line number Diff line change 13
13
"build:ssr" : " ng build --prod && ng run test-app:server:production" ,
14
14
"dev:ssr" : " ng run test-app:serve-ssr" ,
15
15
"prerender" : " ng run test-app:prerender" ,
16
- "test" : " concurrently \" npm run start -- --configuration production\" \" wait-on http-get://localhost:4200 && npm run test.e2e\" --kill-others --success first" ,
17
- "test.e2e" : " npx playwright test"
16
+ "test" : " npx playwright test"
18
17
},
19
18
"dependencies" : {
20
19
"@angular/animations" : " ^19.0.0" ,
Original file line number Diff line number Diff line change 13
13
"build:ssr" : " ng build --prod && ng run test-app:server:production" ,
14
14
"dev:ssr" : " ng run test-app:serve-ssr" ,
15
15
"prerender" : " ng run test-app:prerender" ,
16
- "test" : " concurrently \" npm run start -- --configuration production\" \" wait-on http-get://localhost:4200 && npm run test.e2e\" --kill-others --success first" ,
17
- "test.e2e" : " npx playwright test"
16
+ "test" : " npx playwright test"
18
17
},
19
18
"dependencies" : {
20
19
"@angular/animations" : " ^20.0.0" ,
Original file line number Diff line number Diff line change 5
5
# You can see what browsers were selected by your queries by running:
6
6
# npx browserslist
7
7
8
- > 0.5%
9
- last 2 versions
10
- Firefox ESR
8
+ # Compatible with Angular 16-20 - Main browsers only
9
+ chrome >= 120
10
+ firefox >= 115
11
+ safari >= 17
12
+ edge >= 120
13
+ ios_saf >= 17
11
14
not dead
12
15
not IE 9-11 # For IE 9-11 support, remove 'not'.
Original file line number Diff line number Diff line change 71
71
"extractLicenses" : false ,
72
72
"sourceMap" : true ,
73
73
"namedChunks" : true
74
+ },
75
+ "test" : {
76
+ "fileReplacements" : [
77
+ {
78
+ "replace" : " src/environments/environment.ts" ,
79
+ "with" : " src/environments/environment.prod.ts"
80
+ }
81
+ ],
82
+ "optimization" : true ,
83
+ "outputHashing" : " none" ,
84
+ "sourceMap" : false ,
85
+ "namedChunks" : false ,
86
+ "aot" : true ,
87
+ "progress" : false ,
88
+ "extractLicenses" : false ,
89
+ "vendorChunk" : false ,
90
+ "buildOptimizer" : true
74
91
}
75
92
},
76
93
"defaultConfiguration" : " production"
86
103
},
87
104
"development" : {
88
105
"buildTarget" : " test-app:build:development"
106
+ },
107
+ "test" : {
108
+ "buildTarget" : " test-app:build:test"
89
109
}
90
110
},
91
111
"defaultConfiguration" : " development"
128
148
"options" : {
129
149
"browserTarget" : " test-app:build" ,
130
150
"serverTarget" : " test-app:server"
151
+ }
152
+ },
153
+ "prerender" : {
154
+ "builder" : " @angular-devkit/build-angular:prerender" ,
155
+ "options" : {
156
+ "routesFile" : " src/app/app.routes.ts"
131
157
},
132
158
"configurations" : {
133
159
"production" : {
134
160
"browserTarget" : " test-app:build:production" ,
135
161
"serverTarget" : " test-app:server:production"
136
162
}
137
163
}
138
- },
139
- "prerender" : {
140
- "builder" : " @angular-devkit/build-angular:prerender" ,
141
- "options" : {
142
- "browserTarget" : " test-app:build:production" ,
143
- "serverTarget" : " test-app:server:production" ,
144
- "routes" : []
145
- }
146
164
}
147
165
}
148
166
}
You can’t perform that action at this time.
0 commit comments