@angular-builders/custom-webpack 11.1.1 → 11.1.2-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -404,23 +404,30 @@
404
404
  "default": []
405
405
  },
406
406
  "customWebpackConfig": {
407
- "type": "object",
408
407
  "description": "Custom webpack configuration",
409
- "properties": {
410
- "path": {
411
- "type": "string",
412
- "description": "Path to the custom webpack configuration file"
413
- },
414
- "mergeRules": {
408
+ "default": false,
409
+ "oneOf": [
410
+ {
415
411
  "type": "object",
416
- "description": "Merge rules as described here: https://github.com/survivejs/webpack-merge#mergewithrules"
412
+ "properties": {
413
+ "path": {
414
+ "type": "string",
415
+ "description": "Path to the custom webpack configuration file"
416
+ },
417
+ "mergeRules": {
418
+ "type": "object",
419
+ "description": "Merge rules as described here: https://github.com/survivejs/webpack-merge#mergewithrules"
420
+ },
421
+ "replaceDuplicatePlugins": {
422
+ "type": "boolean",
423
+ "description": "Flag that indicates whether to replace duplicate webpack plugins or not"
424
+ }
425
+ }
417
426
  },
418
- "replaceDuplicatePlugins": {
419
- "type": "boolean",
420
- "description": "Flag that indicates whether to replace duplicate webpack plugins or not"
427
+ {
428
+ "type": "boolean"
421
429
  }
422
- },
423
- "default": false
430
+ ]
424
431
  },
425
432
  "indexTransform": {
426
433
  "type": "string",
@@ -528,6 +535,7 @@
528
535
  },
529
536
  "bundleName": {
530
537
  "type": "string",
538
+ "pattern": "^[\\w\\-.]*$",
531
539
  "description": "The bundle name for this extra entry point."
532
540
  },
533
541
  "inject": {
@@ -1,4 +1,3 @@
1
- /// <reference types="webpack-dev-server" />
2
1
  import { Path } from '@angular-devkit/core';
3
2
  import { Configuration } from 'webpack';
4
3
  import { CustomWebpackBuilderConfig } from './custom-webpack-builder-config';
@@ -1,4 +1,3 @@
1
- /// <reference types="webpack-dev-server" />
2
1
  import { BuilderContext, BuilderHandlerFn } from '@angular-devkit/architect';
3
2
  import { ExecutionTransformer } from '@angular-devkit/build-angular';
4
3
  import { IndexHtmlTransform } from '@angular-devkit/build-angular/src/utils/index-file/index-html-generator';
@@ -183,23 +183,30 @@
183
183
  "description": "TypeScript configuration for Web Worker modules."
184
184
  },
185
185
  "customWebpackConfig": {
186
- "type": "object",
187
186
  "description": "Custom webpack configuration",
188
- "properties": {
189
- "path": {
190
- "type": "string",
191
- "description": "Path to the custom webpack configuration file"
192
- },
193
- "mergeRules": {
187
+ "default": false,
188
+ "oneOf": [
189
+ {
194
190
  "type": "object",
195
- "description": "Merge rules as described here: https://github.com/survivejs/webpack-merge#mergewithrules"
191
+ "properties": {
192
+ "path": {
193
+ "type": "string",
194
+ "description": "Path to the custom webpack configuration file"
195
+ },
196
+ "mergeRules": {
197
+ "type": "object",
198
+ "description": "Merge rules as described here: https://github.com/survivejs/webpack-merge#mergewithrules"
199
+ },
200
+ "replaceDuplicatePlugins": {
201
+ "type": "boolean",
202
+ "description": "Flag that indicates whether to replace duplicate webpack plugins or not"
203
+ }
204
+ }
196
205
  },
197
- "replaceDuplicatePlugins": {
198
- "type": "boolean",
199
- "description": "Flag that indicates whether to replace duplicate webpack plugins or not"
206
+ {
207
+ "type": "boolean"
200
208
  }
201
- },
202
- "default": false
209
+ ]
203
210
  },
204
211
  "indexTransform": {
205
212
  "type": "string",
@@ -261,6 +268,7 @@
261
268
  },
262
269
  "bundleName": {
263
270
  "type": "string",
271
+ "pattern": "^[\\w\\-.]*$",
264
272
  "description": "The bundle name for this extra entry point."
265
273
  },
266
274
  "inject": {
@@ -251,23 +251,30 @@
251
251
  "description": "Enable and define the file watching poll time period in milliseconds."
252
252
  },
253
253
  "customWebpackConfig": {
254
- "type": "object",
255
254
  "description": "Custom webpack configuration",
256
- "properties": {
257
- "path": {
258
- "type": "string",
259
- "description": "Path to the custom webpack configuration file"
260
- },
261
- "mergeRules": {
255
+ "default": false,
256
+ "oneOf": [
257
+ {
262
258
  "type": "object",
263
- "description": "Merge rules as described here: https://github.com/survivejs/webpack-merge#mergewithrules"
259
+ "properties": {
260
+ "path": {
261
+ "type": "string",
262
+ "description": "Path to the custom webpack configuration file"
263
+ },
264
+ "mergeRules": {
265
+ "type": "object",
266
+ "description": "Merge rules as described here: https://github.com/survivejs/webpack-merge#mergewithrules"
267
+ },
268
+ "replaceDuplicatePlugins": {
269
+ "type": "boolean",
270
+ "description": "Flag that indicates whether to replace duplicate webpack plugins or not"
271
+ }
272
+ }
264
273
  },
265
- "replaceDuplicatePlugins": {
266
- "type": "boolean",
267
- "description": "Flag that indicates whether to replace duplicate webpack plugins or not"
274
+ {
275
+ "type": "boolean"
268
276
  }
269
- },
270
- "default": false
277
+ ]
271
278
  },
272
279
  "indexTransform": {
273
280
  "type": "string",
@@ -1,4 +1,3 @@
1
- /// <reference types="webpack-dev-server" />
2
1
  import { BuilderContext } from '@angular-devkit/architect';
3
2
  import { ExecutionTransformer } from '@angular-devkit/build-angular';
4
3
  import { IndexHtmlTransform } from '@angular-devkit/build-angular/src/utils/index-file/index-html-generator';
@@ -1,4 +1,3 @@
1
- /// <reference types="webpack-dev-server" />
2
1
  import { MergeRules } from './custom-webpack-builder-config';
3
2
  import { Configuration } from 'webpack';
4
3
  export declare function mergeConfigs(webpackConfig1: Configuration, webpackConfig2: Configuration, mergeRules?: MergeRules, replacePlugins?: boolean): Configuration;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-builders/custom-webpack",
3
- "version": "11.1.1",
3
+ "version": "11.1.2-beta.0",
4
4
  "description": "Custom webpack builders for Angular build facade. Allow to modify Angular build configuration without ejecting it",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -45,5 +45,5 @@
45
45
  "tsconfig-paths": "^3.9.0",
46
46
  "webpack-merge": "^5.7.3"
47
47
  },
48
- "gitHead": "055533b8a6b0a4a024393b6b8c688020ed0e325d"
48
+ "gitHead": "b4bc8b9ced6025315d52a899b7515127a219dcc0"
49
49
  }
package/CHANGELOG.md DELETED
@@ -1,244 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ### [11.1.1](https://github.com/just-jeb/angular-builders/compare/@angular-builders/custom-webpack@11.1.1-beta.1...@angular-builders/custom-webpack@11.1.1) (2021-03-09)
7
-
8
- **Note:** Version bump only for package @angular-builders/custom-webpack
9
-
10
-
11
-
12
-
13
-
14
- ### [11.1.1-beta.1](https://github.com/just-jeb/angular-builders/compare/@angular-builders/custom-webpack@11.1.1-beta.0...@angular-builders/custom-webpack@11.1.1-beta.1) (2021-03-04)
15
-
16
-
17
- ### Bug Fixes
18
-
19
- * target option typing bug ([a80f3d3](https://github.com/just-jeb/angular-builders/commit/a80f3d32b3f2abd0d5e0c5be37dfda23a2df3a16))
20
- * use karma-coverage instead of karma-coverage-istanbul-reporter ([6c2ea5b](https://github.com/just-jeb/angular-builders/commit/6c2ea5b70e0640c6c278a0e1ab18021efad27fd8))
21
- * use puppeteer for karma testing browser bin to avoid using none-existing local binary ([79894c2](https://github.com/just-jeb/angular-builders/commit/79894c2d3a4b849b176ac927e00513acfca5ebad))
22
-
23
-
24
-
25
- ### [11.1.1-beta.0](https://github.com/just-jeb/angular-builders/compare/@angular-builders/custom-webpack@11.1.0...@angular-builders/custom-webpack@11.1.1-beta.0) (2021-03-04)
26
-
27
-
28
- ### Bug Fixes
29
-
30
- * **custom-webpack:** change `ts-node` compilation target to include TS features ([#941](https://github.com/just-jeb/angular-builders/issues/941)) ([88ad0f5](https://github.com/just-jeb/angular-builders/commit/88ad0f59e3bce9257df84b8741f86bb0b76c7da8))
31
-
32
-
33
-
34
- ## [11.1.0](https://github.com/just-jeb/angular-builders/compare/@angular-builders/custom-webpack@11.1.0-beta.2...@angular-builders/custom-webpack@11.1.0) (2021-02-26)
35
-
36
- **Note:** Version bump only for package @angular-builders/custom-webpack
37
-
38
-
39
-
40
-
41
-
42
- ## [11.1.0-beta.2](https://github.com/just-jeb/angular-builders/compare/@angular-builders/custom-webpack@11.1.0-beta.1...@angular-builders/custom-webpack@11.1.0-beta.2) (2021-02-15)
43
-
44
- **Note:** Version bump only for package @angular-builders/custom-webpack
45
-
46
-
47
-
48
-
49
-
50
- ## [11.1.0-beta.1](https://github.com/just-jeb/angular-builders/compare/@angular-builders/custom-webpack@11.1.0-beta.0...@angular-builders/custom-webpack@11.1.0-beta.1) (2021-02-14)
51
-
52
- **Note:** Version bump only for package @angular-builders/custom-webpack
53
-
54
-
55
-
56
-
57
-
58
- ## 11.1.0-beta.0 (2021-02-03)
59
-
60
-
61
- ### Features
62
-
63
- * **custom-webpack:** use application tsconfig file for indexTransform and customWebpackConfig ([#879](https://github.com/just-jeb/angular-builders/issues/879)) ([c85cd10](https://github.com/just-jeb/angular-builders/commit/c85cd103af6047fefbea273ace1d9446829f3651))
64
-
65
-
66
-
67
- ### 11.0.1-beta.4 (2021-02-03)
68
-
69
- **Note:** Version bump only for package @angular-builders/custom-webpack
70
-
71
-
72
-
73
-
74
-
75
- ### 11.0.1-beta.3 (2021-02-03)
76
-
77
- **Note:** Version bump only for package @angular-builders/custom-webpack
78
-
79
-
80
-
81
-
82
-
83
- ### 11.0.1-beta.2 (2021-02-03)
84
-
85
- **Note:** Version bump only for package @angular-builders/custom-webpack
86
-
87
-
88
-
89
-
90
-
91
- ### 11.0.1-beta.1 (2021-01-14)
92
-
93
- **Note:** Version bump only for package @angular-builders/custom-webpack
94
-
95
-
96
-
97
-
98
-
99
- ### 11.0.1-beta.0 (2020-12-27)
100
-
101
- **Note:** Version bump only for package @angular-builders/custom-webpack
102
-
103
-
104
-
105
-
106
-
107
- ## [11.0.0](https://github.com/just-jeb/angular-builders/compare/@angular-builders/custom-webpack@11.0.0-beta.6...@angular-builders/custom-webpack@11.0.0) (2020-12-27)
108
-
109
- **Note:** Version bump only for package @angular-builders/custom-webpack
110
-
111
- ## 11.0.0-beta.6 (2020-12-27)
112
-
113
- **Note:** Version bump only for package @angular-builders/custom-webpack
114
-
115
- ## 11.0.0-beta.5 (2020-12-22)
116
-
117
- ### Bug Fixes
118
-
119
- - **custom-webpack:** allow merging loader name with loader object ([#912](https://github.com/just-jeb/angular-builders/issues/912)) ([a89a35d](https://github.com/just-jeb/angular-builders/commit/a89a35d30276a3d284d304ee710442ee03da351b))
120
-
121
- ## 11.0.0-beta.4 (2020-12-16)
122
-
123
- ### Bug Fixes
124
-
125
- - **custom-webpack:** fix loaders merge scenario ([#909](https://github.com/just-jeb/angular-builders/issues/909)) ([0f0ad3d](https://github.com/just-jeb/angular-builders/commit/0f0ad3d174ea589538c4474b0509ad3b5f925bf1))
126
-
127
- ## 11.0.0-beta.3 (2020-12-15)
128
-
129
- **Note:** Version bump only for package @angular-builders/custom-webpack
130
-
131
- ## 11.0.0-beta.2 (2020-12-14)
132
-
133
- **Note:** Version bump only for package @angular-builders/custom-webpack
134
-
135
- ## [11.0.0-beta.1](https://github.com/just-jeb/angular-builders/compare/@angular-builders/custom-webpack@10.1.0-beta.0...@angular-builders/custom-webpack@11.0.0-beta.1) (2020-11-17)
136
-
137
- ### ⚠ BREAKING CHANGES
138
-
139
- - **deps:** update to angular 11 (#874)
140
-
141
- ### Miscellaneous Chores
142
-
143
- - **deps:** update to angular 11 ([#874](https://github.com/just-jeb/angular-builders/issues/874)) ([e0900dd](https://github.com/just-jeb/angular-builders/commit/e0900dd5e89750a6d7c129ce82d71354dc8882be)), closes [#854](https://github.com/just-jeb/angular-builders/issues/854) [#873](https://github.com/just-jeb/angular-builders/issues/873)
144
-
145
- ## [11.0.0-beta.0](https://github.com/just-jeb/angular-builders/compare/@angular-builders/custom-webpack@10.1.0-beta.0...@angular-builders/custom-webpack@11.0.0-beta.0) (2020-11-17)
146
-
147
- ### ⚠ BREAKING CHANGES
148
-
149
- - **deps:** update to angular 11 (#874)
150
-
151
- ### Miscellaneous Chores
152
-
153
- - **deps:** update to angular 11 ([#874](https://github.com/just-jeb/angular-builders/issues/874)) ([e0900dd](https://github.com/just-jeb/angular-builders/commit/e0900dd5e89750a6d7c129ce82d71354dc8882be)), closes [#854](https://github.com/just-jeb/angular-builders/issues/854) [#873](https://github.com/just-jeb/angular-builders/issues/873)
154
-
155
- ## 10.1.0-beta.0 (2020-09-10)
156
-
157
- - feat(custom-webpack): add extract-i18n builder (#832) ([15f95d0](https://github.com/just-jeb/angular-builders/commit/15f95d0)), closes [#832](https://github.com/just-jeb/angular-builders/issues/832)
158
-
159
- ## <small>10.0.2-beta.0 (2020-09-09)</small>
160
-
161
- - Fix CHANGELOG links (#834) ([001b4ab](https://github.com/just-jeb/angular-builders/commit/001b4ab)), closes [#834](https://github.com/just-jeb/angular-builders/issues/834)
162
-
163
- ## <small>10.0.1 (2020-09-09)</small>
164
-
165
- **Note:** Version bump only for package @angular-builders/custom-webpack
166
-
167
- ## <small>10.0.1-beta.1 (2020-09-06)</small>
168
-
169
- - chore: update dependencies (#831) ([b475080](https://github.com/just-jeb/angular-builders/commit/b475080)), closes [#831](https://github.com/just-jeb/angular-builders/issues/831)
170
-
171
- ## <small>10.0.1-beta.0 (2020-09-01)</small>
172
-
173
- - chore(deps): bump ts-node from 8.10.2 to 9.0.0 ([7de38ff](https://github.com/just-jeb/angular-builders/commit/7de38ff))
174
-
175
- ## 10.0.0 (2020-07-21)
176
-
177
- **Note:** Version bump only for package @angular-builders/custom-webpack
178
-
179
- ## 10.0.0-beta.1 (2020-07-13)
180
-
181
- - feat(custom-webpack): export common (#793) ([1cb73d4](https://github.com/just-jeb/angular-builders/commit/1cb73d4)), closes [#793](https://github.com/just-jeb/angular-builders/issues/793)
182
-
183
- ## 10.0.0-beta.0 (2020-06-25)
184
-
185
- - build!: update to Angular 10 (#782) ([409f356](https://github.com/just-jeb/angular-builders/commit/409f356)), closes [#782](https://github.com/just-jeb/angular-builders/issues/782)
186
-
187
- ## <small>9.2.1-beta.0 (2020-06-23)</small>
188
-
189
- - fix(custom-webpack): schema validation error ([fe1cda0](https://github.com/just-jeb/angular-builders/commit/fe1cda0))
190
-
191
- ## 9.2.0 (2020-06-23)
192
-
193
- **Note:** Version bump only for package @angular-builders/custom-webpack
194
-
195
- ## 9.2.0-beta.0 (2020-04-15)
196
-
197
- - docs(custom-webpack): update README ([0b81440](https://github.com/just-jeb/angular-builders/commit/0b81440))
198
- - feat(custom-webpack): pass target options to custom webpack config function (#721) ([7a44528](https://github.com/just-jeb/angular-builders/commit/7a44528)), closes [#721](https://github.com/just-jeb/angular-builders/issues/721) [#683](https://github.com/just-jeb/angular-builders/issues/683)
199
-
200
- ## 9.1.0 (2020-04-05)
201
-
202
- **Note:** Version bump only for package @angular-builders/custom-webpack
203
-
204
- ## 9.1.0-beta.1 (2020-03-29)
205
-
206
- - fix: adjust devkit version range to fit 0.9xx.0 (#709) ([99e061f](https://github.com/just-jeb/angular-builders/commit/99e061f)), closes [#709](https://github.com/just-jeb/angular-builders/issues/709)
207
-
208
- ## 9.1.0-beta.0 (2020-02-27)
209
-
210
- - feat(custom-webpack): support TS for indexTransform (#689) ([f97905c](https://github.com/just-jeb/angular-builders/commit/f97905c)), closes [#689](https://github.com/just-jeb/angular-builders/issues/689)
211
-
212
- ## <small>9.0.1-beta.0 (2020-02-23)</small>
213
-
214
- - docs: minor fixes (#688) ([7cd52f8](https://github.com/just-jeb/angular-builders/commit/7cd52f8)), closes [#688](https://github.com/just-jeb/angular-builders/issues/688)
215
-
216
- ## 9.0.0 (2020-02-23)
217
-
218
- - ci(release): publish ([f0ce8bc](https://github.com/just-jeb/angular-builders/commit/f0ce8bc))
219
- - docs: update README and MIGRATION for v9 (#685) ([92ec06d](https://github.com/just-jeb/angular-builders/commit/92ec06d)), closes [#685](https://github.com/just-jeb/angular-builders/issues/685)
220
-
221
- ## 9.0.0-beta.2 (2020-02-23)
222
-
223
- - docs: update README and MIGRATION for v9 (#685) ([92ec06d](https://github.com/just-jeb/angular-builders/commit/92ec06d)), closes [#685](https://github.com/just-jeb/angular-builders/issues/685)
224
-
225
- ## 9.0.0-beta.1 (2020-01-28)
226
-
227
- - docs: add 'next' tag badges (#672) ([441adec](https://github.com/just-jeb/angular-builders/commit/441adec)), closes [#672](https://github.com/just-jeb/angular-builders/issues/672)
228
-
229
- ## 9.0.0-beta.0 (2020-01-04)
230
-
231
- - ci: use verdaccio for e2e ([23f9235](https://github.com/just-jeb/angular-builders/commit/23f9235))
232
- - build!: direct dependency on @angular-devkit 9 ([6f0ac12](https://github.com/just-jeb/angular-builders/commit/6f0ac12))
233
-
234
- ## [8.4.1](https://github.com/just-jeb/angular-builders/tree/master/packages/custom-webpack/compare/@angular-builders/custom-webpack@8.4.0...@angular-builders/custom-webpack@8.4.1) (2019-11-29)
235
-
236
- ### Bug Fixes
237
-
238
- - **custom-webpack:** support exporting function in config written in TS ([#627](https://github.com/just-jeb/angular-builders/issues/627)) ([9ecde07](https://github.com/just-jeb/angular-builders/commit/9ecde07adc80291993d59a363ce7330996bde1f4))
239
-
240
- # [8.4.0](https://github.com/just-jeb/angular-builders/tree/master/packages/custom-webpack/compare/@angular-builders/custom-webpack@8.3.0...@angular-builders/custom-webpack@8.4.0) (2019-11-19)
241
-
242
- ### Features
243
-
244
- - **custom-webpack:** support Webpack config written in TS ([#626](https://github.com/just-jeb/angular-builders/issues/626)) ([479fa0b](https://github.com/just-jeb/angular-builders/commit/479fa0bb1664ec618d482c15f0e52ba9d58acb07))