@angular-builders/custom-webpack 12.1.3-beta.0 → 13.0.0-beta.1
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.
- package/dist/browser/schema.json +2 -7
- package/dist/custom-webpack-builder.d.ts +2 -2
- package/dist/custom-webpack-builder.js +4 -4
- package/dist/custom-webpack-builder.js.map +1 -1
- package/dist/dev-server/index.d.ts +1 -1
- package/dist/dev-server/schema.json +0 -104
- package/dist/extract-i18n/index.d.ts +1 -1
- package/dist/server/schema.json +2 -1
- package/dist/transform-factories.js +4 -4
- package/dist/transform-factories.js.map +1 -1
- package/dist/utils.d.ts +2 -1
- package/dist/utils.js +8 -6
- package/dist/utils.js.map +1 -1
- package/package.json +9 -6
package/dist/browser/schema.json
CHANGED
|
@@ -206,7 +206,8 @@
|
|
|
206
206
|
},
|
|
207
207
|
"deployUrl": {
|
|
208
208
|
"type": "string",
|
|
209
|
-
"description": "URL where files will be deployed."
|
|
209
|
+
"description": "URL where files will be deployed.",
|
|
210
|
+
"x-deprecated": "Use \"baseHref\" option, \"APP_BASE_HREF\" DI token or a combination of both instead. For more information, see https://angular.io/guide/deployment#the-deploy-url."
|
|
210
211
|
},
|
|
211
212
|
"verbose": {
|
|
212
213
|
"type": "boolean",
|
|
@@ -246,12 +247,6 @@
|
|
|
246
247
|
}
|
|
247
248
|
]
|
|
248
249
|
},
|
|
249
|
-
"extractCss": {
|
|
250
|
-
"type": "boolean",
|
|
251
|
-
"description": "Extract CSS from global styles into '.css' files instead of '.js'.",
|
|
252
|
-
"default": true,
|
|
253
|
-
"x-deprecated": "Deprecated since version 11.0. No longer required to disable CSS extraction for HMR."
|
|
254
|
-
},
|
|
255
250
|
"watch": {
|
|
256
251
|
"type": "boolean",
|
|
257
252
|
"description": "Run build when files change.",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Path } from '@angular-devkit/core';
|
|
1
|
+
import { Path, logging } from '@angular-devkit/core';
|
|
2
2
|
import { Configuration } from 'webpack';
|
|
3
3
|
import { CustomWebpackBuilderConfig } from './custom-webpack-builder-config';
|
|
4
4
|
import { TargetOptions } from './type-definition';
|
|
5
5
|
export declare const defaultWebpackConfigPath = "webpack.config.js";
|
|
6
6
|
export declare class CustomWebpackBuilder {
|
|
7
|
-
static buildWebpackConfig(root: Path, config: CustomWebpackBuilderConfig, baseWebpackConfig: Configuration, buildOptions: any, targetOptions: TargetOptions): Promise<Configuration>;
|
|
7
|
+
static buildWebpackConfig(root: Path, config: CustomWebpackBuilderConfig, baseWebpackConfig: Configuration, buildOptions: any, targetOptions: TargetOptions, logger: logging.LoggerApi): Promise<Configuration>;
|
|
8
8
|
}
|
|
@@ -15,7 +15,7 @@ const webpack_config_merger_1 = require("./webpack-config-merger");
|
|
|
15
15
|
const utils_1 = require("./utils");
|
|
16
16
|
exports.defaultWebpackConfigPath = 'webpack.config.js';
|
|
17
17
|
class CustomWebpackBuilder {
|
|
18
|
-
static buildWebpackConfig(root, config, baseWebpackConfig, buildOptions, targetOptions) {
|
|
18
|
+
static buildWebpackConfig(root, config, baseWebpackConfig, buildOptions, targetOptions, logger) {
|
|
19
19
|
return __awaiter(this, void 0, void 0, function* () {
|
|
20
20
|
if (!config) {
|
|
21
21
|
return baseWebpackConfig;
|
|
@@ -23,7 +23,7 @@ class CustomWebpackBuilder {
|
|
|
23
23
|
const webpackConfigPath = config.path || exports.defaultWebpackConfigPath;
|
|
24
24
|
const path = `${core_1.getSystemPath(root)}/${webpackConfigPath}`;
|
|
25
25
|
const tsConfig = `${core_1.getSystemPath(root)}/${buildOptions.tsConfig}`;
|
|
26
|
-
const configOrFactoryOrPromise = resolveCustomWebpackConfig(path, tsConfig);
|
|
26
|
+
const configOrFactoryOrPromise = resolveCustomWebpackConfig(path, tsConfig, logger);
|
|
27
27
|
if (typeof configOrFactoryOrPromise === 'function') {
|
|
28
28
|
// That exported function can be synchronous either
|
|
29
29
|
// asynchronous. Given the following example:
|
|
@@ -42,8 +42,8 @@ class CustomWebpackBuilder {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.CustomWebpackBuilder = CustomWebpackBuilder;
|
|
45
|
-
function resolveCustomWebpackConfig(path, tsConfig) {
|
|
46
|
-
utils_1.tsNodeRegister(path, tsConfig);
|
|
45
|
+
function resolveCustomWebpackConfig(path, tsConfig, logger) {
|
|
46
|
+
utils_1.tsNodeRegister(path, tsConfig, logger);
|
|
47
47
|
const customWebpackConfig = require(path);
|
|
48
48
|
// If the user provides a configuration in TS file
|
|
49
49
|
// then there are 2 cases for exporing an object. The first one is:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-webpack-builder.js","sourceRoot":"","sources":["../src/custom-webpack-builder.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+
|
|
1
|
+
{"version":3,"file":"custom-webpack-builder.js","sourceRoot":"","sources":["../src/custom-webpack-builder.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAoE;AAGpE,mEAAuD;AAEvD,mCAAyC;AAI5B,QAAA,wBAAwB,GAAG,mBAAmB,CAAC;AAgB5D,MAAa,oBAAoB;IAC/B,MAAM,CAAO,kBAAkB,CAC7B,IAAU,EACV,MAAkC,EAClC,iBAAgC,EAChC,YAAiB,EACjB,aAA4B,EAC5B,MAAyB;;YAEzB,IAAI,CAAC,MAAM,EAAE;gBACX,OAAO,iBAAiB,CAAC;aAC1B;YAED,MAAM,iBAAiB,GAAG,MAAM,CAAC,IAAI,IAAI,gCAAwB,CAAC;YAClE,MAAM,IAAI,GAAG,GAAG,oBAAa,CAAC,IAAI,CAAC,IAAI,iBAAiB,EAAE,CAAC;YAC3D,MAAM,QAAQ,GAAG,GAAG,oBAAa,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,QAAQ,EAAE,CAAC;YACnE,MAAM,wBAAwB,GAAG,0BAA0B,CAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;YAEpF,IAAI,OAAO,wBAAwB,KAAK,UAAU,EAAE;gBAClD,mDAAmD;gBACnD,6CAA6C;gBAC7C,+CAA+C;gBAC/C,OAAO,wBAAwB,CAAC,iBAAiB,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC;aACjF;YAED,qEAAqE;YACrE,uCAAuC;YACvC,8DAA8D;YAC9D,iDAAiD;YACjD,6BAA6B;YAC7B,uCAAuC;YACvC,MAAM,cAAc,GAAG,MAAM,wBAAwB,CAAC;YAEtD,OAAO,oCAAY,CACjB,iBAAiB,EACjB,cAAc,EACd,MAAM,CAAC,UAAU,EACjB,MAAM,CAAC,uBAAuB,CAC/B,CAAC;QACJ,CAAC;KAAA;CACF;AAxCD,oDAwCC;AAED,SAAS,0BAA0B,CACjC,IAAY,EACZ,QAAgB,EAChB,MAAyB;IAEzB,sBAAc,CAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;IAEvC,MAAM,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1C,kDAAkD;IAClD,mEAAmE;IACnE,qDAAqD;IACrD,6DAA6D;IAC7D,yBAAyB;IACzB,OAAO,mBAAmB,CAAC,OAAO,IAAI,mBAAmB,CAAC;AAC5D,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("@angular-devkit/architect/src/internal").Builder<import("@angular-devkit/build-angular/src/dev-server/schema").Schema & import("@angular-devkit/core").JsonObject>;
|
|
1
|
+
declare const _default: import("@angular-devkit/architect/src/internal").Builder<import("@angular-devkit/build-angular/src/builders/dev-server/schema").Schema & import("@angular-devkit/core").JsonObject>;
|
|
2
2
|
export default _default;
|
|
@@ -92,110 +92,6 @@
|
|
|
92
92
|
"description": "Rebuild on change.",
|
|
93
93
|
"default": true
|
|
94
94
|
},
|
|
95
|
-
"hmrWarning": {
|
|
96
|
-
"type": "boolean",
|
|
97
|
-
"description": "Show a warning when the --hmr option is enabled.",
|
|
98
|
-
"default": true,
|
|
99
|
-
"x-deprecated": "No longer has an effect."
|
|
100
|
-
},
|
|
101
|
-
"servePathDefaultWarning": {
|
|
102
|
-
"type": "boolean",
|
|
103
|
-
"description": "Show a warning when deploy-url/base-href use unsupported serve path values.",
|
|
104
|
-
"default": true,
|
|
105
|
-
"x-deprecated": "No longer has an effect."
|
|
106
|
-
},
|
|
107
|
-
"optimization": {
|
|
108
|
-
"description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking, dead-code elimination, tree-shaking and fonts inlining. For more information, see https://angular.io/guide/workspace-config#optimization-configuration.",
|
|
109
|
-
"x-user-analytics": 16,
|
|
110
|
-
"oneOf": [
|
|
111
|
-
{
|
|
112
|
-
"type": "object",
|
|
113
|
-
"properties": {
|
|
114
|
-
"scripts": {
|
|
115
|
-
"type": "boolean",
|
|
116
|
-
"description": "Enables optimization of the scripts output.",
|
|
117
|
-
"default": true
|
|
118
|
-
},
|
|
119
|
-
"styles": {
|
|
120
|
-
"type": "boolean",
|
|
121
|
-
"description": "Enables optimization of the styles output.",
|
|
122
|
-
"default": true
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
"additionalProperties": false
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"type": "boolean"
|
|
129
|
-
}
|
|
130
|
-
],
|
|
131
|
-
"x-deprecated": "Use the \"optimization\" option in the browser builder instead."
|
|
132
|
-
},
|
|
133
|
-
"aot": {
|
|
134
|
-
"type": "boolean",
|
|
135
|
-
"description": "Build using Ahead of Time compilation.",
|
|
136
|
-
"x-user-analytics": 13,
|
|
137
|
-
"x-deprecated": "Use the \"aot\" option in the browser builder instead."
|
|
138
|
-
},
|
|
139
|
-
"sourceMap": {
|
|
140
|
-
"description": "Output source maps for scripts and styles. For more information, see https://angular.io/guide/workspace-config#source-map-configuration.",
|
|
141
|
-
"oneOf": [
|
|
142
|
-
{
|
|
143
|
-
"type": "object",
|
|
144
|
-
"properties": {
|
|
145
|
-
"scripts": {
|
|
146
|
-
"type": "boolean",
|
|
147
|
-
"description": "Output source maps for all scripts.",
|
|
148
|
-
"default": true
|
|
149
|
-
},
|
|
150
|
-
"styles": {
|
|
151
|
-
"type": "boolean",
|
|
152
|
-
"description": "Output source maps for all styles.",
|
|
153
|
-
"default": true
|
|
154
|
-
},
|
|
155
|
-
"hidden": {
|
|
156
|
-
"type": "boolean",
|
|
157
|
-
"description": "Output source maps used for error reporting tools.",
|
|
158
|
-
"default": false
|
|
159
|
-
},
|
|
160
|
-
"vendor": {
|
|
161
|
-
"type": "boolean",
|
|
162
|
-
"description": "Resolve vendor packages source maps.",
|
|
163
|
-
"default": false
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
"additionalProperties": false
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"type": "boolean"
|
|
170
|
-
}
|
|
171
|
-
],
|
|
172
|
-
"x-deprecated": "Use the \"sourceMap\" option in the browser builder instead."
|
|
173
|
-
},
|
|
174
|
-
"vendorChunk": {
|
|
175
|
-
"type": "boolean",
|
|
176
|
-
"description": "Generate a seperate bundle containing only vendor libraries. This option should only used for development.",
|
|
177
|
-
"x-deprecated": "Use the \"vendorChunk\" option in the browser builder instead."
|
|
178
|
-
},
|
|
179
|
-
"commonChunk": {
|
|
180
|
-
"type": "boolean",
|
|
181
|
-
"description": "Generate a seperate bundle containing code used across multiple bundles.",
|
|
182
|
-
"x-deprecated": "Use the \"commonChunk\" option in the browser builder instead."
|
|
183
|
-
},
|
|
184
|
-
"baseHref": {
|
|
185
|
-
"type": "string",
|
|
186
|
-
"description": "Base url for the application being built.",
|
|
187
|
-
"x-deprecated": "Use the \"baseHref\" option in the browser builder instead."
|
|
188
|
-
},
|
|
189
|
-
"deployUrl": {
|
|
190
|
-
"type": "string",
|
|
191
|
-
"description": "URL where files will be deployed.",
|
|
192
|
-
"x-deprecated": "Use the \"deployUrl\" option in the browser builder instead."
|
|
193
|
-
},
|
|
194
|
-
"progress": {
|
|
195
|
-
"type": "boolean",
|
|
196
|
-
"description": "Log progress to the console while building.",
|
|
197
|
-
"x-deprecated": "Use the \"progress\" option in the browser builder instead."
|
|
198
|
-
},
|
|
199
95
|
"poll": {
|
|
200
96
|
"type": "number",
|
|
201
97
|
"description": "Enable and define the file watching poll time period in milliseconds."
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("@angular-devkit/architect/src/internal").Builder<import("@angular-devkit/build-angular/src/extract-i18n/schema").Schema & import("@angular-devkit/core").JsonObject>;
|
|
1
|
+
declare const _default: import("@angular-devkit/architect/src/internal").Builder<import("@angular-devkit/build-angular/src/builders/extract-i18n/schema").Schema & import("@angular-devkit/core").JsonObject>;
|
|
2
2
|
export default _default;
|
package/dist/server/schema.json
CHANGED
|
@@ -119,7 +119,8 @@
|
|
|
119
119
|
},
|
|
120
120
|
"deployUrl": {
|
|
121
121
|
"type": "string",
|
|
122
|
-
"description": "URL where files will be deployed."
|
|
122
|
+
"description": "URL where files will be deployed.",
|
|
123
|
+
"x-deprecated": "Use \"baseHref\" browser builder option, \"APP_BASE_HREF\" DI token or a combination of both instead. For more information, see https://angular.io/guide/deployment#the-deploy-url."
|
|
123
124
|
},
|
|
124
125
|
"verbose": {
|
|
125
126
|
"type": "boolean",
|
|
@@ -13,14 +13,14 @@ exports.getTransforms = exports.indexHtmlTransformFactory = exports.customWebpac
|
|
|
13
13
|
const core_1 = require("@angular-devkit/core");
|
|
14
14
|
const custom_webpack_builder_1 = require("./custom-webpack-builder");
|
|
15
15
|
const utils_1 = require("./utils");
|
|
16
|
-
const customWebpackConfigTransformFactory = (options, { workspaceRoot, target }) => browserWebpackConfig => {
|
|
17
|
-
return custom_webpack_builder_1.CustomWebpackBuilder.buildWebpackConfig(core_1.normalize(workspaceRoot), options.customWebpackConfig, browserWebpackConfig, options, target);
|
|
16
|
+
const customWebpackConfigTransformFactory = (options, { workspaceRoot, target, logger }) => browserWebpackConfig => {
|
|
17
|
+
return custom_webpack_builder_1.CustomWebpackBuilder.buildWebpackConfig(core_1.normalize(workspaceRoot), options.customWebpackConfig, browserWebpackConfig, options, target, logger);
|
|
18
18
|
};
|
|
19
19
|
exports.customWebpackConfigTransformFactory = customWebpackConfigTransformFactory;
|
|
20
|
-
const indexHtmlTransformFactory = ({ indexTransform, tsConfig }, { workspaceRoot, target }) => {
|
|
20
|
+
const indexHtmlTransformFactory = ({ indexTransform, tsConfig }, { workspaceRoot, target, logger }) => {
|
|
21
21
|
if (!indexTransform)
|
|
22
22
|
return null;
|
|
23
|
-
utils_1.tsNodeRegister(indexTransform, `${core_1.getSystemPath(core_1.normalize(workspaceRoot))}/${tsConfig}
|
|
23
|
+
utils_1.tsNodeRegister(indexTransform, `${core_1.getSystemPath(core_1.normalize(workspaceRoot))}/${tsConfig}`, logger);
|
|
24
24
|
const indexModule = require(`${core_1.getSystemPath(core_1.normalize(workspaceRoot))}/${indexTransform}`);
|
|
25
25
|
const transform = indexModule.default || indexModule;
|
|
26
26
|
return (indexHtml) => __awaiter(void 0, void 0, void 0, function* () { return transform(target, indexHtml); });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform-factories.js","sourceRoot":"","sources":["../src/transform-factories.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,+CAAgE;AAEhE,qEAAgE;AAEhE,mCAAyC;AAElC,MAAM,mCAAmC,GAI9C,CAAC,OAAO,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"transform-factories.js","sourceRoot":"","sources":["../src/transform-factories.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,+CAAgE;AAEhE,qEAAgE;AAEhE,mCAAyC;AAElC,MAAM,mCAAmC,GAI9C,CAAC,OAAO,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,CAC/C,oBAAoB,CAAC,EAAE;IACrB,OAAO,6CAAoB,CAAC,kBAAkB,CAC5C,gBAAS,CAAC,aAAa,CAAC,EACxB,OAAO,CAAC,mBAAmB,EAC3B,oBAAoB,EACpB,OAAO,EACP,MAAM,EACN,MAAM,CACP,CAAC;AACJ,CAAC,CAAC;AAdS,QAAA,mCAAmC,uCAc5C;AAEG,MAAM,yBAAyB,GAGZ,CAAC,EAAE,cAAc,EAAE,QAAQ,EAAE,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE;IAC5F,IAAI,CAAC,cAAc;QAAE,OAAO,IAAI,CAAC;IACjC,sBAAc,CAAC,cAAc,EAAE,GAAG,oBAAa,CAAC,gBAAS,CAAC,aAAa,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,MAAM,CAAC,CAAC;IACjG,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,oBAAa,CAAC,gBAAS,CAAC,aAAa,CAAC,CAAC,IAAI,cAAc,EAAE,CAAC,CAAC;IAC5F,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,IAAI,WAAW,CAAC;IACrD,OAAO,CAAO,SAAiB,EAAE,EAAE,kDAAC,OAAA,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA,GAAA,CAAC;AACnE,CAAC,CAAC;AATW,QAAA,yBAAyB,6BASpC;AAEK,MAAM,aAAa,GAAG,CAAC,OAA4B,EAAE,OAAuB,EAAE,EAAE,CAAC,CAAC;IACvF,oBAAoB,EAAE,2CAAmC,CAAC,OAAO,EAAE,OAAO,CAAC;IAC3E,SAAS,EAAE,iCAAyB,CAAC,OAAO,EAAE,OAAO,CAAC;CACvD,CAAC,CAAC;AAHU,QAAA,aAAa,iBAGvB"}
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { logging } from '@angular-devkit/core';
|
|
1
2
|
/**
|
|
2
3
|
* check for TS node registration
|
|
3
4
|
* @param file: file name or file directory are allowed
|
|
4
5
|
* @todo tsNodeRegistration: require ts-node if file extension is TypeScript
|
|
5
6
|
*/
|
|
6
|
-
export declare function tsNodeRegister(file
|
|
7
|
+
export declare function tsNodeRegister(file: string, tsConfig: string, logger: logging.LoggerApi): void;
|
package/dist/utils.js
CHANGED
|
@@ -3,15 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.tsNodeRegister = void 0;
|
|
4
4
|
const _tsNodeRegister = (() => {
|
|
5
5
|
let lastTsConfig;
|
|
6
|
-
return (tsConfig) => {
|
|
6
|
+
return (tsConfig, logger) => {
|
|
7
7
|
// Check if the function was previously called with the same tsconfig
|
|
8
|
-
if (
|
|
9
|
-
|
|
8
|
+
if (lastTsConfig && lastTsConfig !== tsConfig) {
|
|
9
|
+
logger.warn(`Trying to register ts-node again with a different tsconfig - skipping the registration.
|
|
10
|
+
tsconfig 1: ${lastTsConfig}
|
|
11
|
+
tsconfig 2: ${tsConfig}`);
|
|
10
12
|
}
|
|
11
13
|
if (lastTsConfig) {
|
|
12
14
|
return;
|
|
13
15
|
}
|
|
14
|
-
lastTsConfig = tsConfig
|
|
16
|
+
lastTsConfig = tsConfig;
|
|
15
17
|
// Register ts-node
|
|
16
18
|
require('ts-node').register({
|
|
17
19
|
project: tsConfig,
|
|
@@ -35,10 +37,10 @@ const _tsNodeRegister = (() => {
|
|
|
35
37
|
* @param file: file name or file directory are allowed
|
|
36
38
|
* @todo tsNodeRegistration: require ts-node if file extension is TypeScript
|
|
37
39
|
*/
|
|
38
|
-
function tsNodeRegister(file = '', tsConfig) {
|
|
40
|
+
function tsNodeRegister(file = '', tsConfig, logger) {
|
|
39
41
|
if (file && file.endsWith('.ts')) {
|
|
40
42
|
// Register TS compiler lazily
|
|
41
|
-
_tsNodeRegister(tsConfig);
|
|
43
|
+
_tsNodeRegister(tsConfig, logger);
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
exports.tsNodeRegister = tsNodeRegister;
|
package/dist/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;AAEA,MAAM,eAAe,GAAG,CAAC,GAAG,EAAE;IAC5B,IAAI,YAAgC,CAAC;IACrC,OAAO,CAAC,QAAgB,EAAE,MAAyB,EAAE,EAAE;QACrD,qEAAqE;QACrE,IAAI,YAAY,IAAI,YAAY,KAAK,QAAQ,EAAE;YAC7C,MAAM,CAAC,IAAI,CAAC;iCACe,YAAY;iCACZ,QAAQ,EAAE,CAAC,CAAC;SACxC;QAED,IAAI,YAAY,EAAE;YAChB,OAAO;SACR;QAED,YAAY,GAAG,QAAQ,CAAC;QAExB,mBAAmB;QACnB,OAAO,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC;YAC1B,OAAO,EAAE,QAAQ;YACjB,eAAe,EAAE;gBACf,MAAM,EAAE,UAAU;gBAClB,KAAK,EAAE;oBACL,MAAM,EAAE,qGAAqG;iBAC9G;aACF;SACF,CAAC,CAAC;QAEH,6BAA6B;QAC7B,MAAM,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;QAChD,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,aAAa,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;QAC/E,IAAI,OAAO,IAAI,KAAK,EAAE;YACpB,aAAa,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC;SAC5C;IACH,CAAC,CAAC;AACJ,CAAC,CAAC,EAAE,CAAC;AAEL;;;;GAIG;AACH,SAAgB,cAAc,CAAC,OAAe,EAAE,EAAE,QAAgB,EAAE,MAAyB;IAC3F,IAAI,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;QAChC,8BAA8B;QAC9B,eAAe,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;KACnC;AACH,CAAC;AALD,wCAKC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-builders/custom-webpack",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0-beta.1",
|
|
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": [
|
|
@@ -12,10 +12,13 @@
|
|
|
12
12
|
"url": "https://github.com/just-jeb/angular-builders",
|
|
13
13
|
"directory": "packages/custom-webpack"
|
|
14
14
|
},
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public"
|
|
17
|
+
},
|
|
15
18
|
"author": "JeB Barabanov",
|
|
16
19
|
"license": "MIT",
|
|
17
20
|
"engines": {
|
|
18
|
-
"node": ">=12.
|
|
21
|
+
"node": ">=12.20.0"
|
|
19
22
|
},
|
|
20
23
|
"keywords": [
|
|
21
24
|
"cli",
|
|
@@ -37,13 +40,13 @@
|
|
|
37
40
|
},
|
|
38
41
|
"builders": "builders.json",
|
|
39
42
|
"dependencies": {
|
|
40
|
-
"@angular-devkit/architect": ">=0.
|
|
41
|
-
"@angular-devkit/build-angular": "^
|
|
42
|
-
"@angular-devkit/core": "^
|
|
43
|
+
"@angular-devkit/architect": ">=0.1300.0 < 0.1400.0",
|
|
44
|
+
"@angular-devkit/build-angular": "^13.0.0",
|
|
45
|
+
"@angular-devkit/core": "^13.0.0",
|
|
43
46
|
"lodash": "^4.17.15",
|
|
44
47
|
"ts-node": "^10.0.0",
|
|
45
48
|
"tsconfig-paths": "^3.9.0",
|
|
46
49
|
"webpack-merge": "^5.7.3"
|
|
47
50
|
},
|
|
48
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "295f1efe314b8abc214cfa6f8149cfbf3e4f41fa"
|
|
49
52
|
}
|