@angular-builders/custom-webpack 19.0.1 → 20.0.0-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.
- package/README.md +2 -1
- package/dist/custom-webpack-builder.js +58 -37
- package/dist/custom-webpack-builder.js.map +1 -1
- package/dist/extract-i18n/schema.json +9 -0
- package/dist/generic-browser-builder.d.ts +1 -1
- package/dist/generic-browser-builder.js +3 -14
- package/dist/generic-browser-builder.js.map +1 -1
- package/dist/transform-factories.d.ts +1 -1
- package/dist/transform-factories.js +37 -13
- package/dist/transform-factories.js.map +1 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -33,6 +33,7 @@ Allow customizing build configuration without ejecting webpack configuration (`n
|
|
|
33
33
|
<details>
|
|
34
34
|
<summary>Click to expand</summary>
|
|
35
35
|
|
|
36
|
+
- [Version 19](https://github.com/just-jeb/angular-builders/blob/19.x.x/packages/custom-webpack/README.md)
|
|
36
37
|
- [Version 18](https://github.com/just-jeb/angular-builders/blob/18.x.x/packages/custom-webpack/README.md)
|
|
37
38
|
- [Version 17](https://github.com/just-jeb/angular-builders/blob/17.x.x/packages/custom-webpack/README.md)
|
|
38
39
|
- [Version 16](https://github.com/just-jeb/angular-builders/blob/16.x.x/packages/custom-webpack/README.md)
|
|
@@ -52,7 +53,7 @@ Allow customizing build configuration without ejecting webpack configuration (`n
|
|
|
52
53
|
|
|
53
54
|
## Prerequisites:
|
|
54
55
|
|
|
55
|
-
- [Angular CLI
|
|
56
|
+
- [Angular CLI 20](https://www.npmjs.com/package/@angular/cli)
|
|
56
57
|
|
|
57
58
|
# Usage
|
|
58
59
|
|
|
@@ -1,16 +1,40 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
11
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
36
|
exports.CustomWebpackBuilder = exports.defaultWebpackConfigPath = void 0;
|
|
13
|
-
const path = require("node:path");
|
|
37
|
+
const path = __importStar(require("node:path"));
|
|
14
38
|
const util_1 = require("util");
|
|
15
39
|
const core_1 = require("@angular-devkit/core");
|
|
16
40
|
const lodash_1 = require("lodash");
|
|
@@ -18,43 +42,40 @@ const common_1 = require("@angular-builders/common");
|
|
|
18
42
|
const webpack_config_merger_1 = require("./webpack-config-merger");
|
|
19
43
|
exports.defaultWebpackConfigPath = 'webpack.config.js';
|
|
20
44
|
class CustomWebpackBuilder {
|
|
21
|
-
static buildWebpackConfig(root, config, baseWebpackConfig, buildOptions, targetOptions, logger) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
const finalWebpackConfig = yield configOrFactoryOrPromise(baseWebpackConfig, buildOptions, targetOptions);
|
|
34
|
-
logConfigProperties(config, finalWebpackConfig, logger);
|
|
35
|
-
return finalWebpackConfig;
|
|
36
|
-
}
|
|
37
|
-
// The user can also export a promise that resolves to a `Configuration` object.
|
|
38
|
-
// Suppose the following example:
|
|
39
|
-
// `module.exports = new Promise(resolve => resolve({ ... }))`
|
|
40
|
-
// This is valid both for promise and non-promise cases. If users export
|
|
41
|
-
// a plain object, for instance, `module.exports = { ... }`, then it will
|
|
42
|
-
// be wrapped into a promise and also `awaited`.
|
|
43
|
-
const resolvedConfig = yield configOrFactoryOrPromise;
|
|
44
|
-
const finalWebpackConfig = (0, webpack_config_merger_1.mergeConfigs)(baseWebpackConfig, resolvedConfig, config.mergeRules, config.replaceDuplicatePlugins);
|
|
45
|
+
static async buildWebpackConfig(root, config, baseWebpackConfig, buildOptions, targetOptions, logger) {
|
|
46
|
+
if (!config) {
|
|
47
|
+
return baseWebpackConfig;
|
|
48
|
+
}
|
|
49
|
+
const normalizedRootPath = (0, core_1.getSystemPath)(root);
|
|
50
|
+
const tsConfig = path.join(normalizedRootPath, buildOptions.tsConfig);
|
|
51
|
+
const webpackConfigPath = path.join(normalizedRootPath, config.path || exports.defaultWebpackConfigPath);
|
|
52
|
+
const configOrFactoryOrPromise = await (0, common_1.loadModule)(webpackConfigPath, tsConfig, logger);
|
|
53
|
+
if (typeof configOrFactoryOrPromise === 'function') {
|
|
54
|
+
// The exported function can return a new configuration synchronously
|
|
55
|
+
// or return a promise that resolves to a new configuration.
|
|
56
|
+
const finalWebpackConfig = await configOrFactoryOrPromise(baseWebpackConfig, buildOptions, targetOptions);
|
|
45
57
|
logConfigProperties(config, finalWebpackConfig, logger);
|
|
46
58
|
return finalWebpackConfig;
|
|
47
|
-
}
|
|
59
|
+
}
|
|
60
|
+
// The user can also export a promise that resolves to a `Configuration` object.
|
|
61
|
+
// Suppose the following example:
|
|
62
|
+
// `module.exports = new Promise(resolve => resolve({ ... }))`
|
|
63
|
+
// This is valid both for promise and non-promise cases. If users export
|
|
64
|
+
// a plain object, for instance, `module.exports = { ... }`, then it will
|
|
65
|
+
// be wrapped into a promise and also `awaited`.
|
|
66
|
+
const resolvedConfig = await configOrFactoryOrPromise;
|
|
67
|
+
const finalWebpackConfig = (0, webpack_config_merger_1.mergeConfigs)(baseWebpackConfig, resolvedConfig, config.mergeRules, config.replaceDuplicatePlugins);
|
|
68
|
+
logConfigProperties(config, finalWebpackConfig, logger);
|
|
69
|
+
return finalWebpackConfig;
|
|
48
70
|
}
|
|
49
71
|
}
|
|
50
72
|
exports.CustomWebpackBuilder = CustomWebpackBuilder;
|
|
51
73
|
function logConfigProperties(config, webpackConfig, logger) {
|
|
52
|
-
var _a;
|
|
53
74
|
// There's no reason to log the entire configuration object
|
|
54
75
|
// since Angular's Webpack configuration is huge by default
|
|
55
76
|
// and doesn't bring any meaningful context by being printed
|
|
56
77
|
// entirely. Users can provide a list of properties they want to be logged.
|
|
57
|
-
if (
|
|
78
|
+
if (config.verbose?.properties) {
|
|
58
79
|
for (const property of config.verbose.properties) {
|
|
59
80
|
const value = (0, lodash_1.get)(webpackConfig, property);
|
|
60
81
|
if (value) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-webpack-builder.js","sourceRoot":"","sources":["../src/custom-webpack-builder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"custom-webpack-builder.js","sourceRoot":"","sources":["../src/custom-webpack-builder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAkC;AAClC,+BAA+B;AAC/B,+CAAoE;AACpE,mCAA6B;AAE7B,qDAAsD;AAKtD,mEAAuD;AAE1C,QAAA,wBAAwB,GAAG,mBAAmB,CAAC;AAgB5D,MAAa,oBAAoB;IAC/B,MAAM,CAAC,KAAK,CAAC,kBAAkB,CAC7B,IAAU,EACV,MAAyC,EACzC,iBAAgC,EAChC,YAAiB,EACjB,aAA4B,EAC5B,MAAyB;QAEzB,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAO,iBAAiB,CAAC;QAC3B,CAAC;QAED,MAAM,kBAAkB,GAAG,IAAA,oBAAa,EAAC,IAAI,CAAC,CAAC;QAC/C,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAC;QACtE,MAAM,iBAAiB,GAAG,IAAI,CAAC,IAAI,CACjC,kBAAkB,EAClB,MAAM,CAAC,IAAI,IAAI,gCAAwB,CACxC,CAAC;QACF,MAAM,wBAAwB,GAAG,MAAM,IAAA,mBAAU,EAC/C,iBAAiB,EACjB,QAAQ,EACR,MAAM,CACP,CAAC;QAEF,IAAI,OAAO,wBAAwB,KAAK,UAAU,EAAE,CAAC;YACnD,qEAAqE;YACrE,4DAA4D;YAC5D,MAAM,kBAAkB,GAAG,MAAM,wBAAwB,CACvD,iBAAiB,EACjB,YAAY,EACZ,aAAa,CACd,CAAC;YACF,mBAAmB,CAAC,MAAM,EAAE,kBAAkB,EAAE,MAAM,CAAC,CAAC;YACxD,OAAO,kBAAkB,CAAC;QAC5B,CAAC;QAED,gFAAgF;QAChF,iCAAiC;QACjC,8DAA8D;QAC9D,wEAAwE;QACxE,yEAAyE;QACzE,gDAAgD;QAChD,MAAM,cAAc,GAAG,MAAM,wBAAwB,CAAC;QAEtD,MAAM,kBAAkB,GAAG,IAAA,oCAAY,EACrC,iBAAiB,EACjB,cAAc,EACd,MAAM,CAAC,UAAU,EACjB,MAAM,CAAC,uBAAuB,CAC/B,CAAC;QACF,mBAAmB,CAAC,MAAM,EAAE,kBAAkB,EAAE,MAAM,CAAC,CAAC;QACxD,OAAO,kBAAkB,CAAC;IAC5B,CAAC;CACF;AAtDD,oDAsDC;AAED,SAAS,mBAAmB,CAC1B,MAAkC,EAClC,aAA4B,EAC5B,MAAyB;IAEzB,2DAA2D;IAC3D,2DAA2D;IAC3D,4DAA4D;IAC5D,2EAA2E;IAC3E,IAAI,MAAM,CAAC,OAAO,EAAE,UAAU,EAAE,CAAC;QAC/B,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;YACjD,MAAM,KAAK,GAAG,IAAA,YAAG,EAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;YAC3C,IAAI,KAAK,EAAE,CAAC;gBACV,MAAM,OAAO,GAAG,IAAA,cAAO,EAAC,KAAK,EAAE,gBAAgB,CAAC,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;gBAC1F,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -37,6 +37,15 @@
|
|
|
37
37
|
"outFile": {
|
|
38
38
|
"type": "string",
|
|
39
39
|
"description": "Name of the file to output."
|
|
40
|
+
},
|
|
41
|
+
"i18nDuplicateTranslation": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"description": "How to handle duplicate translations.",
|
|
44
|
+
"enum": [
|
|
45
|
+
"error",
|
|
46
|
+
"warning",
|
|
47
|
+
"ignore"
|
|
48
|
+
]
|
|
40
49
|
}
|
|
41
50
|
},
|
|
42
51
|
"additionalProperties": false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BuilderContext, BuilderHandlerFn } from '@angular-devkit/architect';
|
|
2
2
|
import { ExecutionTransformer } from '@angular-devkit/build-angular';
|
|
3
|
-
import type { IndexHtmlTransform } from '@angular/build/
|
|
3
|
+
import type { IndexHtmlTransform } from '@angular/build/private';
|
|
4
4
|
import { Configuration } from 'webpack';
|
|
5
5
|
import { json } from '@angular-devkit/core';
|
|
6
6
|
export interface BuildTargetOptions {
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.executeBrowserBasedBuilder = void 0;
|
|
13
4
|
const architect_1 = require("@angular-devkit/architect");
|
|
@@ -15,11 +6,9 @@ const rxjs_1 = require("rxjs");
|
|
|
15
6
|
const operators_1 = require("rxjs/operators");
|
|
16
7
|
const transform_factories_1 = require("./transform-factories");
|
|
17
8
|
const executeBrowserBasedBuilder = (executebBuilder) => (options, context) => {
|
|
18
|
-
function setup() {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
return context.getTargetOptions(browserTarget);
|
|
22
|
-
});
|
|
9
|
+
async function setup() {
|
|
10
|
+
const browserTarget = (0, architect_1.targetFromTargetString)(options.buildTarget);
|
|
11
|
+
return context.getTargetOptions(browserTarget);
|
|
23
12
|
}
|
|
24
13
|
return (0, rxjs_1.from)(setup()).pipe((0, operators_1.switchMap)(customWebpackOptions => executebBuilder(options, context, (0, transform_factories_1.getTransforms)(customWebpackOptions, context))));
|
|
25
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generic-browser-builder.js","sourceRoot":"","sources":["../src/generic-browser-builder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generic-browser-builder.js","sourceRoot":"","sources":["../src/generic-browser-builder.ts"],"names":[],"mappings":";;;AAAA,yDAImC;AAGnC,+BAA4B;AAC5B,8CAA2C;AAG3C,+DAAsD;AAgB/C,MAAM,0BAA0B,GACrC,CACE,eAAmC,EACd,EAAE,CACzB,CAAC,OAAU,EAAE,OAAuB,EAAsC,EAAE;IAC1E,KAAK,UAAU,KAAK;QAClB,MAAM,aAAa,GAAG,IAAA,kCAAsB,EAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QAClE,OAAO,OAAO,CAAC,gBAAgB,CAAC,aAAa,CAAmC,CAAC;IACnF,CAAC;IAED,OAAO,IAAA,WAAI,EAAC,KAAK,EAAE,CAAC,CAAC,IAAI,CACvB,IAAA,qBAAS,EAAC,oBAAoB,CAAC,EAAE,CAC/B,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,IAAA,mCAAa,EAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC,CAChF,CACF,CAAC;AACJ,CAAC,CAAC;AAfS,QAAA,0BAA0B,8BAenC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BuilderContext } from '@angular-devkit/architect';
|
|
2
2
|
import { ExecutionTransformer } from '@angular-devkit/build-angular';
|
|
3
|
-
import type { IndexHtmlTransform } from '@angular/build/
|
|
3
|
+
import type { IndexHtmlTransform } from '@angular/build/private';
|
|
4
4
|
import { Configuration } from 'webpack';
|
|
5
5
|
import { CustomWebpackSchema } from './custom-webpack-schema';
|
|
6
6
|
export declare const customWebpackConfigTransformFactory: (options: CustomWebpackSchema, context: BuilderContext) => ExecutionTransformer<Configuration>;
|
|
@@ -1,16 +1,40 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
11
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
36
|
exports.getTransforms = exports.indexHtmlTransformFactory = exports.customWebpackConfigTransformFactory = void 0;
|
|
13
|
-
const path = require("node:path");
|
|
37
|
+
const path = __importStar(require("node:path"));
|
|
14
38
|
const core_1 = require("@angular-devkit/core");
|
|
15
39
|
const common_1 = require("@angular-builders/common");
|
|
16
40
|
const custom_webpack_builder_1 = require("./custom-webpack-builder");
|
|
@@ -23,10 +47,10 @@ const indexHtmlTransformFactory = (options, { workspaceRoot, target, logger }) =
|
|
|
23
47
|
return null;
|
|
24
48
|
const transformPath = path.join((0, core_1.getSystemPath)((0, core_1.normalize)(workspaceRoot)), options.indexTransform);
|
|
25
49
|
const tsConfig = path.join((0, core_1.getSystemPath)((0, core_1.normalize)(workspaceRoot)), options.tsConfig);
|
|
26
|
-
return (indexHtml) =>
|
|
27
|
-
const transform =
|
|
50
|
+
return async (indexHtml) => {
|
|
51
|
+
const transform = await (0, common_1.loadModule)(transformPath, tsConfig, logger);
|
|
28
52
|
return transform(target, indexHtml);
|
|
29
|
-
}
|
|
53
|
+
};
|
|
30
54
|
};
|
|
31
55
|
exports.indexHtmlTransformFactory = indexHtmlTransformFactory;
|
|
32
56
|
const getTransforms = (options, context) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform-factories.js","sourceRoot":"","sources":["../src/transform-factories.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transform-factories.js","sourceRoot":"","sources":["../src/transform-factories.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAkC;AAIlC,+CAAgE;AAEhE,qDAAsD;AAEtD,qEAAgE;AAOzD,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,IAAA,gBAAS,EAAC,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,OAAO,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE;IACvE,IAAI,CAAC,OAAO,CAAC,cAAc;QAAE,OAAO,IAAI,CAAC;IAEzC,MAAM,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,IAAA,oBAAa,EAAC,IAAA,gBAAS,EAAC,aAAa,CAAC,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IACjG,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,IAAA,oBAAa,EAAC,IAAA,gBAAS,EAAC,aAAa,CAAC,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAEtF,OAAO,KAAK,EAAE,SAAiB,EAAE,EAAE;QACjC,MAAM,SAAS,GAAG,MAAM,IAAA,mBAAU,EAChC,aAAa,EACb,QAAQ,EACR,MAAM,CACP,CAAC;QAEF,OAAO,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IACtC,CAAC,CAAC;AACJ,CAAC,CAAC;AAlBW,QAAA,yBAAyB,6BAkBpC;AAEK,MAAM,aAAa,GAAG,CAAC,OAA4B,EAAE,OAAuB,EAAE,EAAE,CAAC,CAAC;IACvF,oBAAoB,EAAE,IAAA,2CAAmC,EAAC,OAAO,EAAE,OAAO,CAAC;IAC3E,SAAS,EAAE,IAAA,iCAAyB,EAAC,OAAO,EAAE,OAAO,CAAC;CACvD,CAAC,CAAC;AAHU,QAAA,aAAa,iBAGvB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-builders/custom-webpack",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.0.0-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": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"author": "JeB Barabanov",
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"engines": {
|
|
21
|
-
"node": "^
|
|
21
|
+
"node": "^20.19.0 || ^22.12.0 || >=24.0.0"
|
|
22
22
|
},
|
|
23
23
|
"keywords": [
|
|
24
24
|
"cli",
|
|
@@ -40,22 +40,22 @@
|
|
|
40
40
|
},
|
|
41
41
|
"builders": "builders.json",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@angular-builders/common": "
|
|
44
|
-
"@angular-devkit/architect": ">=0.
|
|
45
|
-
"@angular-devkit/build-angular": "^
|
|
46
|
-
"@angular-devkit/core": "^
|
|
43
|
+
"@angular-builders/common": "4.0.0-beta.0",
|
|
44
|
+
"@angular-devkit/architect": ">=0.2000.0 < 0.2100.0",
|
|
45
|
+
"@angular-devkit/build-angular": "^20.0.0",
|
|
46
|
+
"@angular-devkit/core": "^20.0.0",
|
|
47
|
+
"@angular/build": "^20.0.0",
|
|
47
48
|
"lodash": "^4.17.15",
|
|
48
49
|
"webpack-merge": "^6.0.0"
|
|
49
50
|
},
|
|
50
51
|
"peerDependencies": {
|
|
51
|
-
"@angular/compiler-cli": "^
|
|
52
|
+
"@angular/compiler-cli": "^20.0.0"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
54
|
-
"@angular/build": "^19.0.0",
|
|
55
55
|
"jest": "29.7.0",
|
|
56
56
|
"rimraf": "^5.0.0",
|
|
57
57
|
"ts-node": "^10.0.0",
|
|
58
58
|
"typescript": "5.8.3"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "24bf96d532eea5f526136bbcab12b66f3210b61a"
|
|
61
61
|
}
|