@powerlines/nx 0.11.33 → 0.11.34
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/CHANGELOG.md +6 -0
- package/dist/{chunk-3JSTHS37.js → chunk-2YGM5JKH.js} +2 -2
- package/dist/{chunk-T3IKU3DK.mjs → chunk-654VONX6.mjs} +1 -1
- package/dist/{chunk-B5NUJRO6.js → chunk-7DQ5N2AF.js} +2 -2
- package/dist/{chunk-GUZ5M4FD.mjs → chunk-B4QE5XNI.mjs} +87 -24
- package/dist/{chunk-ADGJLSVE.js → chunk-CFV4NWFC.js} +2 -2
- package/dist/{chunk-L5QL7OM6.js → chunk-HI6CKVBI.js} +2 -2
- package/dist/{chunk-AKPRI35G.mjs → chunk-KIE3NRLH.mjs} +1 -1
- package/dist/{chunk-Q7DBJ4IW.js → chunk-NWII77TV.js} +87 -24
- package/dist/{chunk-KZC5VAQA.mjs → chunk-OTJ7D6KO.mjs} +1 -1
- package/dist/{chunk-UWB7F3QR.js → chunk-QYDGCOAD.js} +2 -2
- package/dist/{chunk-TLRE7ILP.mjs → chunk-SWFY3CNW.mjs} +1 -1
- package/dist/{chunk-WEIDMVKH.mjs → chunk-VNUHBDVA.mjs} +1 -1
- package/dist/executors.js +11 -11
- package/dist/executors.mjs +6 -6
- package/dist/index.js +11 -11
- package/dist/index.mjs +6 -6
- package/dist/src/base/base-executor.js +2 -2
- package/dist/src/base/base-executor.mjs +1 -1
- package/dist/src/executors/build/executor.js +4 -4
- package/dist/src/executors/build/executor.mjs +2 -2
- package/dist/src/executors/clean/executor.js +4 -4
- package/dist/src/executors/clean/executor.mjs +2 -2
- package/dist/src/executors/docs/executor.js +4 -4
- package/dist/src/executors/docs/executor.mjs +2 -2
- package/dist/src/executors/lint/executor.js +4 -4
- package/dist/src/executors/lint/executor.mjs +2 -2
- package/dist/src/executors/prepare/executor.js +4 -4
- package/dist/src/executors/prepare/executor.mjs +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Powerlines - Nx
|
|
4
4
|
|
|
5
|
+
## [0.11.33](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.33) (12/27/2025)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **powerlines** to **v0.36.7**
|
|
10
|
+
|
|
5
11
|
## [0.11.32](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.32) (12/23/2025)
|
|
6
12
|
|
|
7
13
|
### Updated Dependencies
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNWII77TV_js = require('./chunk-NWII77TV.js');
|
|
4
4
|
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
5
5
|
var defu = require('defu');
|
|
6
6
|
|
|
@@ -19,7 +19,7 @@ async function executorFn(context, api) {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
chunkSHUYVCID_js.__name(executorFn, "executorFn");
|
|
22
|
-
var executor =
|
|
22
|
+
var executor = chunkNWII77TV_js.withExecutor("build", executorFn);
|
|
23
23
|
var executor_default = executor;
|
|
24
24
|
|
|
25
25
|
exports.executorFn = executorFn;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNWII77TV_js = require('./chunk-NWII77TV.js');
|
|
4
4
|
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
5
5
|
var defu = require('defu');
|
|
6
6
|
|
|
@@ -19,7 +19,7 @@ async function executorFn(context, api) {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
chunkSHUYVCID_js.__name(executorFn, "executorFn");
|
|
22
|
-
var executor =
|
|
22
|
+
var executor = chunkNWII77TV_js.withExecutor("prepare", executorFn);
|
|
23
23
|
var executor_default = executor;
|
|
24
24
|
|
|
25
25
|
exports.executorFn = executorFn;
|
|
@@ -24,13 +24,13 @@ import { isPromiseLike } from '@stryke/type-checks/is-promise';
|
|
|
24
24
|
import { isSet } from '@stryke/type-checks/is-set';
|
|
25
25
|
import { isSetObject } from '@stryke/type-checks/is-set-object';
|
|
26
26
|
import { isSetString } from '@stryke/type-checks/is-set-string';
|
|
27
|
+
import { isString } from '@stryke/type-checks/is-string';
|
|
27
28
|
import chalk5 from 'chalk';
|
|
28
29
|
import Handlebars from 'handlebars';
|
|
29
30
|
import { declare } from '@babel/helper-plugin-utils';
|
|
30
31
|
import * as t from '@babel/types';
|
|
31
32
|
import ts, { flattenDiagnosticMessageText } from 'typescript';
|
|
32
33
|
import { InMemoryFileSystemHost, Project } from 'ts-morph';
|
|
33
|
-
import { isString } from '@stryke/type-checks/is-string';
|
|
34
34
|
import { getPackageName, hasPackageVersion, getPackageVersion } from '@stryke/string-format/package';
|
|
35
35
|
import { getObjectDiff } from '@donedeal0/superdiff';
|
|
36
36
|
import { readJsonFile, readJsonFileSync } from '@stryke/fs/json';
|
|
@@ -65,6 +65,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
65
65
|
import { resolveConfig, format } from 'prettier';
|
|
66
66
|
import { getColor } from '@storm-software/config-tools/utilities/colors';
|
|
67
67
|
import { noop } from '@stryke/helpers/noop';
|
|
68
|
+
import { kebabCase } from '@stryke/string-format/kebab-case';
|
|
68
69
|
import { correctPath } from '@stryke/path/correct-path';
|
|
69
70
|
import { slash } from '@stryke/path/slash';
|
|
70
71
|
import { readFileSync, readFile } from '@stryke/fs/read-file';
|
|
@@ -740,6 +741,18 @@ function createResolver(options) {
|
|
|
740
741
|
}
|
|
741
742
|
__name(createResolver, "createResolver");
|
|
742
743
|
|
|
744
|
+
// ../powerlines/src/types/build.ts
|
|
745
|
+
var UNPLUGIN_BUILD_VARIANTS = [
|
|
746
|
+
"rollup",
|
|
747
|
+
"webpack",
|
|
748
|
+
"rspack",
|
|
749
|
+
"vite",
|
|
750
|
+
"esbuild",
|
|
751
|
+
"farm",
|
|
752
|
+
"unloader",
|
|
753
|
+
"rolldown"
|
|
754
|
+
];
|
|
755
|
+
|
|
743
756
|
// ../powerlines/src/types/commands.ts
|
|
744
757
|
var SUPPORTED_COMMANDS = [
|
|
745
758
|
"new",
|
|
@@ -753,9 +766,30 @@ var SUPPORTED_COMMANDS = [
|
|
|
753
766
|
"finalize"
|
|
754
767
|
];
|
|
755
768
|
|
|
769
|
+
// ../powerlines/src/types/plugin.ts
|
|
770
|
+
var PLUGIN_NON_HOOK_FIELDS = [
|
|
771
|
+
"name",
|
|
772
|
+
"api",
|
|
773
|
+
"enforce",
|
|
774
|
+
"dedupe",
|
|
775
|
+
"applyToEnvironment"
|
|
776
|
+
];
|
|
777
|
+
var KNOWN_HOOKS = [
|
|
778
|
+
...SUPPORTED_COMMANDS,
|
|
779
|
+
"config",
|
|
780
|
+
"configEnvironment",
|
|
781
|
+
"configResolved",
|
|
782
|
+
"buildStart",
|
|
783
|
+
"buildEnd",
|
|
784
|
+
"transform",
|
|
785
|
+
"load",
|
|
786
|
+
"resolveId",
|
|
787
|
+
"writeBundle"
|
|
788
|
+
];
|
|
789
|
+
|
|
756
790
|
// ../powerlines/src/plugin-utils/helpers.ts
|
|
757
791
|
function isPlugin(value) {
|
|
758
|
-
return isSetObject(value) && "name" in value && isSetString(value.name) && (isUndefined(value.applyToEnvironment) || "applyToEnvironment" in value && isFunction(value.applyToEnvironment)) && (isUndefined(value.dedupe) || "dedupe" in value && isFunction(value.dedupe)) &&
|
|
792
|
+
return isSetObject(value) && "name" in value && isSetString(value.name) && (isUndefined(value.api) || "api" in value && isSetObject(value.api)) && (isUndefined(value.applyToEnvironment) || "applyToEnvironment" in value && isFunction(value.applyToEnvironment)) && (isUndefined(value.dedupe) || "dedupe" in value && isFunction(value.dedupe)) && KNOWN_HOOKS.every((hook) => isUndefined(value[hook]) || hook in value && (isPluginHookFunction(value[hook]) || hook === "config" && isSetObject(value[hook]))) && UNPLUGIN_BUILD_VARIANTS.every((variant) => isUndefined(value[variant]) || variant in value && isSetObject(value[variant]));
|
|
759
793
|
}
|
|
760
794
|
__name(isPlugin, "isPlugin");
|
|
761
795
|
function isPluginConfigObject(value) {
|
|
@@ -767,17 +801,17 @@ function isPluginConfigTuple(value) {
|
|
|
767
801
|
}
|
|
768
802
|
__name(isPluginConfigTuple, "isPluginConfigTuple");
|
|
769
803
|
function isPluginConfig(value) {
|
|
770
|
-
return isSetString(value) || isFunction(value) || isPlugin(value) || Array.isArray(value) && value.every((item) =>
|
|
804
|
+
return isSetString(value) || isFunction(value) || isPlugin(value) || isPluginConfigObject(value) || isPluginConfigTuple(value) || Array.isArray(value) && value.every((item) => isPluginConfig(item));
|
|
771
805
|
}
|
|
772
806
|
__name(isPluginConfig, "isPluginConfig");
|
|
773
|
-
function isPluginHookFunction(value) {
|
|
774
|
-
return isFunction(value) || isSetObject(value) && "handler" in value && isFunction(value.handler);
|
|
775
|
-
}
|
|
776
|
-
__name(isPluginHookFunction, "isPluginHookFunction");
|
|
777
807
|
function isPluginHookObject(value) {
|
|
778
808
|
return isSetObject(value) && "handler" in value && isFunction(value.handler);
|
|
779
809
|
}
|
|
780
810
|
__name(isPluginHookObject, "isPluginHookObject");
|
|
811
|
+
function isPluginHookFunction(value) {
|
|
812
|
+
return isFunction(value) || isPluginHookObject(value);
|
|
813
|
+
}
|
|
814
|
+
__name(isPluginHookFunction, "isPluginHookFunction");
|
|
781
815
|
function isPluginHook(value) {
|
|
782
816
|
return isPluginHookFunction(value) || isPluginHookObject(value);
|
|
783
817
|
}
|
|
@@ -807,6 +841,25 @@ function addPluginHook(context, plugin, pluginHook, hooksList) {
|
|
|
807
841
|
}
|
|
808
842
|
}
|
|
809
843
|
__name(addPluginHook, "addPluginHook");
|
|
844
|
+
function findInvalidPluginConfig(config) {
|
|
845
|
+
if (isPluginConfig(config)) {
|
|
846
|
+
return null;
|
|
847
|
+
}
|
|
848
|
+
if (Array.isArray(config)) {
|
|
849
|
+
const invalidItems = [];
|
|
850
|
+
config.forEach((item) => {
|
|
851
|
+
const invalid = findInvalidPluginConfig(item);
|
|
852
|
+
if (invalid) {
|
|
853
|
+
invalidItems.push(...invalid.map((i) => JSON.stringify(i, null, 2)));
|
|
854
|
+
}
|
|
855
|
+
});
|
|
856
|
+
return invalidItems.length > 0 ? invalidItems : null;
|
|
857
|
+
}
|
|
858
|
+
return [
|
|
859
|
+
JSON.stringify(config, null, 2)
|
|
860
|
+
];
|
|
861
|
+
}
|
|
862
|
+
__name(findInvalidPluginConfig, "findInvalidPluginConfig");
|
|
810
863
|
function replacePathTokens(context, path) {
|
|
811
864
|
if (!path) {
|
|
812
865
|
return path;
|
|
@@ -1094,7 +1147,7 @@ var createLog = /* @__PURE__ */ __name((name, options = {}) => {
|
|
|
1094
1147
|
return (type, ...args) => getLogFn(getLogLevel(type), {
|
|
1095
1148
|
...options,
|
|
1096
1149
|
logLevel
|
|
1097
|
-
})(`${chalk5.bold.hex(getColor("brand", options))(
|
|
1150
|
+
})(`${chalk5.bold.hex(getColor("brand", options))(`${name ? kebabCase(name) : ""}${options.name ? `${name ? chalk5.gray(" > ") : ""}${kebabCase(options.name)}` : ""}${chalk5.gray(" > ")}`)}${args.join(" ")} `.trim());
|
|
1098
1151
|
}, "createLog");
|
|
1099
1152
|
var BADGE_COLORS = [
|
|
1100
1153
|
"#00A0DD",
|
|
@@ -1105,6 +1158,7 @@ var BADGE_COLORS = [
|
|
|
1105
1158
|
"#A855F7",
|
|
1106
1159
|
"#469592",
|
|
1107
1160
|
"#288EDF",
|
|
1161
|
+
"#D8B4FE",
|
|
1108
1162
|
"#10B981",
|
|
1109
1163
|
"#EF4444",
|
|
1110
1164
|
"#F0EC56",
|
|
@@ -1116,7 +1170,8 @@ var BADGE_COLORS = [
|
|
|
1116
1170
|
"#0EA5E9",
|
|
1117
1171
|
"#D946EF",
|
|
1118
1172
|
"#FACC15",
|
|
1119
|
-
"#34D399"
|
|
1173
|
+
"#34D399",
|
|
1174
|
+
"#8B5CF6"
|
|
1120
1175
|
];
|
|
1121
1176
|
var extendLog = /* @__PURE__ */ __name((logFn, name) => {
|
|
1122
1177
|
return (type, ...args) => logFn(type, ` ${chalk5.inverse.hex(BADGE_COLORS[name.split("").map((char) => char.charCodeAt(0)).reduce((ret, charCode) => ret + charCode, 0) % BADGE_COLORS.length] || BADGE_COLORS[0])(` ${titleCase(name)} `)} ${args.join(" ")} `);
|
|
@@ -3432,15 +3487,6 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3432
3487
|
}, []);
|
|
3433
3488
|
}
|
|
3434
3489
|
};
|
|
3435
|
-
|
|
3436
|
-
// ../powerlines/src/types/plugin.ts
|
|
3437
|
-
var PLUGIN_NON_HOOK_FIELDS = [
|
|
3438
|
-
"name",
|
|
3439
|
-
"api",
|
|
3440
|
-
"enforce",
|
|
3441
|
-
"dedupe",
|
|
3442
|
-
"applyToEnvironment"
|
|
3443
|
-
];
|
|
3444
3490
|
function createPluginContext(plugin, environment) {
|
|
3445
3491
|
const normalizeMessage = /* @__PURE__ */ __name((message) => {
|
|
3446
3492
|
return isString(message) ? message : message.message;
|
|
@@ -3760,7 +3806,7 @@ var PowerlinesAPIContext = class _PowerlinesAPIContext extends PowerlinesContext
|
|
|
3760
3806
|
}
|
|
3761
3807
|
get log() {
|
|
3762
3808
|
if (!this.#log) {
|
|
3763
|
-
this.#log = this.createLog(
|
|
3809
|
+
this.#log = this.createLog();
|
|
3764
3810
|
}
|
|
3765
3811
|
return this.#log;
|
|
3766
3812
|
}
|
|
@@ -4458,24 +4504,41 @@ ${formatTypes(types)}
|
|
|
4458
4504
|
awaited = await Promise.resolve(config);
|
|
4459
4505
|
}
|
|
4460
4506
|
if (!isPluginConfig(awaited)) {
|
|
4461
|
-
|
|
4507
|
+
const invalid = findInvalidPluginConfig(awaited);
|
|
4508
|
+
throw new Error(`Invalid ${invalid && invalid.length > 1 ? "plugins" : "plugin"} specified in the configuration - ${invalid && invalid.length > 0 ? JSON.stringify(awaited) : invalid?.join("\n\n")}
|
|
4509
|
+
|
|
4510
|
+
Please ensure the value is one of the following:
|
|
4511
|
+
- an instance of \`Plugin\`
|
|
4512
|
+
- a plugin name
|
|
4513
|
+
- an object with the \`plugin\` and \`options\` properties
|
|
4514
|
+
- a tuple array with the plugin and options
|
|
4515
|
+
- a factory function that returns a plugin or array of plugins
|
|
4516
|
+
- an array of plugins or plugin configurations`);
|
|
4462
4517
|
}
|
|
4463
4518
|
let plugins;
|
|
4464
|
-
if (
|
|
4465
|
-
plugins = awaited;
|
|
4466
|
-
} else if (isPlugin(awaited)) {
|
|
4519
|
+
if (isPlugin(awaited)) {
|
|
4467
4520
|
plugins = [
|
|
4468
4521
|
awaited
|
|
4469
4522
|
];
|
|
4470
4523
|
} else if (isFunction(awaited)) {
|
|
4471
4524
|
plugins = toArray(await Promise.resolve(awaited()));
|
|
4472
|
-
} else if (
|
|
4525
|
+
} else if (isString(awaited)) {
|
|
4473
4526
|
const resolved = await this.#resolvePlugin(awaited);
|
|
4474
4527
|
if (isFunction(resolved)) {
|
|
4475
4528
|
plugins = toArray(await Promise.resolve(resolved()));
|
|
4476
4529
|
} else {
|
|
4477
4530
|
plugins = toArray(resolved);
|
|
4478
4531
|
}
|
|
4532
|
+
} else if (Array.isArray(awaited) && awaited.every(isPlugin)) {
|
|
4533
|
+
plugins = awaited;
|
|
4534
|
+
} else if (Array.isArray(awaited) && awaited.every(isPluginConfig)) {
|
|
4535
|
+
plugins = [];
|
|
4536
|
+
for (const pluginConfig of awaited) {
|
|
4537
|
+
const initialized = await this.#initPlugin(pluginConfig);
|
|
4538
|
+
if (initialized) {
|
|
4539
|
+
plugins.push(...initialized);
|
|
4540
|
+
}
|
|
4541
|
+
}
|
|
4479
4542
|
} else if (isPluginConfigTuple(awaited) || isPluginConfigObject(awaited)) {
|
|
4480
4543
|
let pluginConfig;
|
|
4481
4544
|
let pluginOptions;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNWII77TV_js = require('./chunk-NWII77TV.js');
|
|
4
4
|
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
5
5
|
|
|
6
6
|
// src/executors/lint/executor.ts
|
|
@@ -11,7 +11,7 @@ async function executorFn(context, api) {
|
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
chunkSHUYVCID_js.__name(executorFn, "executorFn");
|
|
14
|
-
var executor =
|
|
14
|
+
var executor = chunkNWII77TV_js.withExecutor("lint", executorFn);
|
|
15
15
|
var executor_default = executor;
|
|
16
16
|
|
|
17
17
|
exports.executorFn = executorFn;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNWII77TV_js = require('./chunk-NWII77TV.js');
|
|
4
4
|
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
5
5
|
|
|
6
6
|
// src/executors/clean/executor.ts
|
|
@@ -11,7 +11,7 @@ async function executorFn(context, api) {
|
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
chunkSHUYVCID_js.__name(executorFn, "executorFn");
|
|
14
|
-
var executor =
|
|
14
|
+
var executor = chunkNWII77TV_js.withExecutor("clean", executorFn);
|
|
15
15
|
var executor_default = executor;
|
|
16
16
|
|
|
17
17
|
exports.executorFn = executorFn;
|
|
@@ -26,13 +26,13 @@ var isPromise = require('@stryke/type-checks/is-promise');
|
|
|
26
26
|
var isSet = require('@stryke/type-checks/is-set');
|
|
27
27
|
var isSetObject = require('@stryke/type-checks/is-set-object');
|
|
28
28
|
var isSetString = require('@stryke/type-checks/is-set-string');
|
|
29
|
+
var isString = require('@stryke/type-checks/is-string');
|
|
29
30
|
var chalk5 = require('chalk');
|
|
30
31
|
var Handlebars = require('handlebars');
|
|
31
32
|
var helperPluginUtils = require('@babel/helper-plugin-utils');
|
|
32
33
|
var t = require('@babel/types');
|
|
33
34
|
var ts = require('typescript');
|
|
34
35
|
var tsMorph = require('ts-morph');
|
|
35
|
-
var isString = require('@stryke/type-checks/is-string');
|
|
36
36
|
var _package = require('@stryke/string-format/package');
|
|
37
37
|
var superdiff = require('@donedeal0/superdiff');
|
|
38
38
|
var json = require('@stryke/fs/json');
|
|
@@ -67,6 +67,7 @@ var url = require('url');
|
|
|
67
67
|
var prettier = require('prettier');
|
|
68
68
|
var colors = require('@storm-software/config-tools/utilities/colors');
|
|
69
69
|
var noop = require('@stryke/helpers/noop');
|
|
70
|
+
var kebabCase = require('@stryke/string-format/kebab-case');
|
|
70
71
|
var correctPath = require('@stryke/path/correct-path');
|
|
71
72
|
var slash = require('@stryke/path/slash');
|
|
72
73
|
var readFile = require('@stryke/fs/read-file');
|
|
@@ -769,6 +770,18 @@ function createResolver(options) {
|
|
|
769
770
|
}
|
|
770
771
|
chunkSHUYVCID_js.__name(createResolver, "createResolver");
|
|
771
772
|
|
|
773
|
+
// ../powerlines/src/types/build.ts
|
|
774
|
+
var UNPLUGIN_BUILD_VARIANTS = [
|
|
775
|
+
"rollup",
|
|
776
|
+
"webpack",
|
|
777
|
+
"rspack",
|
|
778
|
+
"vite",
|
|
779
|
+
"esbuild",
|
|
780
|
+
"farm",
|
|
781
|
+
"unloader",
|
|
782
|
+
"rolldown"
|
|
783
|
+
];
|
|
784
|
+
|
|
772
785
|
// ../powerlines/src/types/commands.ts
|
|
773
786
|
var SUPPORTED_COMMANDS = [
|
|
774
787
|
"new",
|
|
@@ -782,9 +795,30 @@ var SUPPORTED_COMMANDS = [
|
|
|
782
795
|
"finalize"
|
|
783
796
|
];
|
|
784
797
|
|
|
798
|
+
// ../powerlines/src/types/plugin.ts
|
|
799
|
+
var PLUGIN_NON_HOOK_FIELDS = [
|
|
800
|
+
"name",
|
|
801
|
+
"api",
|
|
802
|
+
"enforce",
|
|
803
|
+
"dedupe",
|
|
804
|
+
"applyToEnvironment"
|
|
805
|
+
];
|
|
806
|
+
var KNOWN_HOOKS = [
|
|
807
|
+
...SUPPORTED_COMMANDS,
|
|
808
|
+
"config",
|
|
809
|
+
"configEnvironment",
|
|
810
|
+
"configResolved",
|
|
811
|
+
"buildStart",
|
|
812
|
+
"buildEnd",
|
|
813
|
+
"transform",
|
|
814
|
+
"load",
|
|
815
|
+
"resolveId",
|
|
816
|
+
"writeBundle"
|
|
817
|
+
];
|
|
818
|
+
|
|
785
819
|
// ../powerlines/src/plugin-utils/helpers.ts
|
|
786
820
|
function isPlugin(value) {
|
|
787
|
-
return isSetObject.isSetObject(value) && "name" in value && isSetString.isSetString(value.name) && (isUndefined.isUndefined(value.applyToEnvironment) || "applyToEnvironment" in value && isFunction.isFunction(value.applyToEnvironment)) && (isUndefined.isUndefined(value.dedupe) || "dedupe" in value && isFunction.isFunction(value.dedupe)) &&
|
|
821
|
+
return isSetObject.isSetObject(value) && "name" in value && isSetString.isSetString(value.name) && (isUndefined.isUndefined(value.api) || "api" in value && isSetObject.isSetObject(value.api)) && (isUndefined.isUndefined(value.applyToEnvironment) || "applyToEnvironment" in value && isFunction.isFunction(value.applyToEnvironment)) && (isUndefined.isUndefined(value.dedupe) || "dedupe" in value && isFunction.isFunction(value.dedupe)) && KNOWN_HOOKS.every((hook) => isUndefined.isUndefined(value[hook]) || hook in value && (isPluginHookFunction(value[hook]) || hook === "config" && isSetObject.isSetObject(value[hook]))) && UNPLUGIN_BUILD_VARIANTS.every((variant) => isUndefined.isUndefined(value[variant]) || variant in value && isSetObject.isSetObject(value[variant]));
|
|
788
822
|
}
|
|
789
823
|
chunkSHUYVCID_js.__name(isPlugin, "isPlugin");
|
|
790
824
|
function isPluginConfigObject(value) {
|
|
@@ -796,17 +830,17 @@ function isPluginConfigTuple(value) {
|
|
|
796
830
|
}
|
|
797
831
|
chunkSHUYVCID_js.__name(isPluginConfigTuple, "isPluginConfigTuple");
|
|
798
832
|
function isPluginConfig(value) {
|
|
799
|
-
return isSetString.isSetString(value) || isFunction.isFunction(value) || isPlugin(value) || Array.isArray(value) && value.every((item) =>
|
|
833
|
+
return isSetString.isSetString(value) || isFunction.isFunction(value) || isPlugin(value) || isPluginConfigObject(value) || isPluginConfigTuple(value) || Array.isArray(value) && value.every((item) => isPluginConfig(item));
|
|
800
834
|
}
|
|
801
835
|
chunkSHUYVCID_js.__name(isPluginConfig, "isPluginConfig");
|
|
802
|
-
function isPluginHookFunction(value) {
|
|
803
|
-
return isFunction.isFunction(value) || isSetObject.isSetObject(value) && "handler" in value && isFunction.isFunction(value.handler);
|
|
804
|
-
}
|
|
805
|
-
chunkSHUYVCID_js.__name(isPluginHookFunction, "isPluginHookFunction");
|
|
806
836
|
function isPluginHookObject(value) {
|
|
807
837
|
return isSetObject.isSetObject(value) && "handler" in value && isFunction.isFunction(value.handler);
|
|
808
838
|
}
|
|
809
839
|
chunkSHUYVCID_js.__name(isPluginHookObject, "isPluginHookObject");
|
|
840
|
+
function isPluginHookFunction(value) {
|
|
841
|
+
return isFunction.isFunction(value) || isPluginHookObject(value);
|
|
842
|
+
}
|
|
843
|
+
chunkSHUYVCID_js.__name(isPluginHookFunction, "isPluginHookFunction");
|
|
810
844
|
function isPluginHook(value) {
|
|
811
845
|
return isPluginHookFunction(value) || isPluginHookObject(value);
|
|
812
846
|
}
|
|
@@ -836,6 +870,25 @@ function addPluginHook(context, plugin, pluginHook, hooksList) {
|
|
|
836
870
|
}
|
|
837
871
|
}
|
|
838
872
|
chunkSHUYVCID_js.__name(addPluginHook, "addPluginHook");
|
|
873
|
+
function findInvalidPluginConfig(config) {
|
|
874
|
+
if (isPluginConfig(config)) {
|
|
875
|
+
return null;
|
|
876
|
+
}
|
|
877
|
+
if (Array.isArray(config)) {
|
|
878
|
+
const invalidItems = [];
|
|
879
|
+
config.forEach((item) => {
|
|
880
|
+
const invalid = findInvalidPluginConfig(item);
|
|
881
|
+
if (invalid) {
|
|
882
|
+
invalidItems.push(...invalid.map((i) => JSON.stringify(i, null, 2)));
|
|
883
|
+
}
|
|
884
|
+
});
|
|
885
|
+
return invalidItems.length > 0 ? invalidItems : null;
|
|
886
|
+
}
|
|
887
|
+
return [
|
|
888
|
+
JSON.stringify(config, null, 2)
|
|
889
|
+
];
|
|
890
|
+
}
|
|
891
|
+
chunkSHUYVCID_js.__name(findInvalidPluginConfig, "findInvalidPluginConfig");
|
|
839
892
|
function replacePathTokens(context, path) {
|
|
840
893
|
if (!path) {
|
|
841
894
|
return path;
|
|
@@ -1123,7 +1176,7 @@ var createLog = /* @__PURE__ */ chunkSHUYVCID_js.__name((name, options = {}) =>
|
|
|
1123
1176
|
return (type, ...args) => logger.getLogFn(logger.getLogLevel(type), {
|
|
1124
1177
|
...options,
|
|
1125
1178
|
logLevel
|
|
1126
|
-
})(`${chalk5__default.default.bold.hex(colors.getColor("brand", options))(
|
|
1179
|
+
})(`${chalk5__default.default.bold.hex(colors.getColor("brand", options))(`${name ? kebabCase.kebabCase(name) : ""}${options.name ? `${name ? chalk5__default.default.gray(" > ") : ""}${kebabCase.kebabCase(options.name)}` : ""}${chalk5__default.default.gray(" > ")}`)}${args.join(" ")} `.trim());
|
|
1127
1180
|
}, "createLog");
|
|
1128
1181
|
var BADGE_COLORS = [
|
|
1129
1182
|
"#00A0DD",
|
|
@@ -1134,6 +1187,7 @@ var BADGE_COLORS = [
|
|
|
1134
1187
|
"#A855F7",
|
|
1135
1188
|
"#469592",
|
|
1136
1189
|
"#288EDF",
|
|
1190
|
+
"#D8B4FE",
|
|
1137
1191
|
"#10B981",
|
|
1138
1192
|
"#EF4444",
|
|
1139
1193
|
"#F0EC56",
|
|
@@ -1145,7 +1199,8 @@ var BADGE_COLORS = [
|
|
|
1145
1199
|
"#0EA5E9",
|
|
1146
1200
|
"#D946EF",
|
|
1147
1201
|
"#FACC15",
|
|
1148
|
-
"#34D399"
|
|
1202
|
+
"#34D399",
|
|
1203
|
+
"#8B5CF6"
|
|
1149
1204
|
];
|
|
1150
1205
|
var extendLog = /* @__PURE__ */ chunkSHUYVCID_js.__name((logFn, name) => {
|
|
1151
1206
|
return (type, ...args) => logFn(type, ` ${chalk5__default.default.inverse.hex(BADGE_COLORS[name.split("").map((char) => char.charCodeAt(0)).reduce((ret, charCode) => ret + charCode, 0) % BADGE_COLORS.length] || BADGE_COLORS[0])(` ${titleCase.titleCase(name)} `)} ${args.join(" ")} `);
|
|
@@ -3461,15 +3516,6 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3461
3516
|
}, []);
|
|
3462
3517
|
}
|
|
3463
3518
|
};
|
|
3464
|
-
|
|
3465
|
-
// ../powerlines/src/types/plugin.ts
|
|
3466
|
-
var PLUGIN_NON_HOOK_FIELDS = [
|
|
3467
|
-
"name",
|
|
3468
|
-
"api",
|
|
3469
|
-
"enforce",
|
|
3470
|
-
"dedupe",
|
|
3471
|
-
"applyToEnvironment"
|
|
3472
|
-
];
|
|
3473
3519
|
function createPluginContext(plugin, environment) {
|
|
3474
3520
|
const normalizeMessage = /* @__PURE__ */ chunkSHUYVCID_js.__name((message) => {
|
|
3475
3521
|
return isString.isString(message) ? message : message.message;
|
|
@@ -3789,7 +3835,7 @@ var PowerlinesAPIContext = class _PowerlinesAPIContext extends PowerlinesContext
|
|
|
3789
3835
|
}
|
|
3790
3836
|
get log() {
|
|
3791
3837
|
if (!this.#log) {
|
|
3792
|
-
this.#log = this.createLog(
|
|
3838
|
+
this.#log = this.createLog();
|
|
3793
3839
|
}
|
|
3794
3840
|
return this.#log;
|
|
3795
3841
|
}
|
|
@@ -4487,24 +4533,41 @@ ${formatTypes(types$1)}
|
|
|
4487
4533
|
awaited = await Promise.resolve(config);
|
|
4488
4534
|
}
|
|
4489
4535
|
if (!isPluginConfig(awaited)) {
|
|
4490
|
-
|
|
4536
|
+
const invalid = findInvalidPluginConfig(awaited);
|
|
4537
|
+
throw new Error(`Invalid ${invalid && invalid.length > 1 ? "plugins" : "plugin"} specified in the configuration - ${invalid && invalid.length > 0 ? JSON.stringify(awaited) : invalid?.join("\n\n")}
|
|
4538
|
+
|
|
4539
|
+
Please ensure the value is one of the following:
|
|
4540
|
+
- an instance of \`Plugin\`
|
|
4541
|
+
- a plugin name
|
|
4542
|
+
- an object with the \`plugin\` and \`options\` properties
|
|
4543
|
+
- a tuple array with the plugin and options
|
|
4544
|
+
- a factory function that returns a plugin or array of plugins
|
|
4545
|
+
- an array of plugins or plugin configurations`);
|
|
4491
4546
|
}
|
|
4492
4547
|
let plugins;
|
|
4493
|
-
if (
|
|
4494
|
-
plugins = awaited;
|
|
4495
|
-
} else if (isPlugin(awaited)) {
|
|
4548
|
+
if (isPlugin(awaited)) {
|
|
4496
4549
|
plugins = [
|
|
4497
4550
|
awaited
|
|
4498
4551
|
];
|
|
4499
4552
|
} else if (isFunction.isFunction(awaited)) {
|
|
4500
4553
|
plugins = toArray.toArray(await Promise.resolve(awaited()));
|
|
4501
|
-
} else if (
|
|
4554
|
+
} else if (isString.isString(awaited)) {
|
|
4502
4555
|
const resolved = await this.#resolvePlugin(awaited);
|
|
4503
4556
|
if (isFunction.isFunction(resolved)) {
|
|
4504
4557
|
plugins = toArray.toArray(await Promise.resolve(resolved()));
|
|
4505
4558
|
} else {
|
|
4506
4559
|
plugins = toArray.toArray(resolved);
|
|
4507
4560
|
}
|
|
4561
|
+
} else if (Array.isArray(awaited) && awaited.every(isPlugin)) {
|
|
4562
|
+
plugins = awaited;
|
|
4563
|
+
} else if (Array.isArray(awaited) && awaited.every(isPluginConfig)) {
|
|
4564
|
+
plugins = [];
|
|
4565
|
+
for (const pluginConfig of awaited) {
|
|
4566
|
+
const initialized = await this.#initPlugin(pluginConfig);
|
|
4567
|
+
if (initialized) {
|
|
4568
|
+
plugins.push(...initialized);
|
|
4569
|
+
}
|
|
4570
|
+
}
|
|
4508
4571
|
} else if (isPluginConfigTuple(awaited) || isPluginConfigObject(awaited)) {
|
|
4509
4572
|
let pluginConfig;
|
|
4510
4573
|
let pluginOptions;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNWII77TV_js = require('./chunk-NWII77TV.js');
|
|
4
4
|
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
5
5
|
|
|
6
6
|
// src/executors/docs/executor.ts
|
|
@@ -11,7 +11,7 @@ async function executorFn(context, api) {
|
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
chunkSHUYVCID_js.__name(executorFn, "executorFn");
|
|
14
|
-
var executor =
|
|
14
|
+
var executor = chunkNWII77TV_js.withExecutor("docs", executorFn);
|
|
15
15
|
var executor_default = executor;
|
|
16
16
|
|
|
17
17
|
exports.executorFn = executorFn;
|
package/dist/executors.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./chunk-XO62WWX4.js');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
4
|
+
var chunkCFV4NWFC_js = require('./chunk-CFV4NWFC.js');
|
|
5
|
+
var chunk7DQ5N2AF_js = require('./chunk-7DQ5N2AF.js');
|
|
6
|
+
var chunk2YGM5JKH_js = require('./chunk-2YGM5JKH.js');
|
|
7
|
+
var chunkHI6CKVBI_js = require('./chunk-HI6CKVBI.js');
|
|
8
|
+
var chunkQYDGCOAD_js = require('./chunk-QYDGCOAD.js');
|
|
9
|
+
require('./chunk-NWII77TV.js');
|
|
10
10
|
require('./chunk-DQI2I5KK.js');
|
|
11
11
|
require('./chunk-SHUYVCID.js');
|
|
12
12
|
|
|
@@ -14,21 +14,21 @@ require('./chunk-SHUYVCID.js');
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "lint", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkCFV4NWFC_js.executor_default; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "prepare", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk7DQ5N2AF_js.executor_default; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "build", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk2YGM5JKH_js.executor_default; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "clean", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkHI6CKVBI_js.executor_default; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "docs", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkQYDGCOAD_js.executor_default; }
|
|
34
34
|
});
|
package/dist/executors.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './chunk-UV4HQO3Y.mjs';
|
|
2
|
-
export { executor_default as lint } from './chunk-
|
|
3
|
-
export { executor_default as prepare } from './chunk-
|
|
4
|
-
export { executor_default as build } from './chunk-
|
|
5
|
-
export { executor_default as clean } from './chunk-
|
|
6
|
-
export { executor_default as docs } from './chunk-
|
|
7
|
-
import './chunk-
|
|
2
|
+
export { executor_default as lint } from './chunk-VNUHBDVA.mjs';
|
|
3
|
+
export { executor_default as prepare } from './chunk-OTJ7D6KO.mjs';
|
|
4
|
+
export { executor_default as build } from './chunk-654VONX6.mjs';
|
|
5
|
+
export { executor_default as clean } from './chunk-KIE3NRLH.mjs';
|
|
6
|
+
export { executor_default as docs } from './chunk-SWFY3CNW.mjs';
|
|
7
|
+
import './chunk-B4QE5XNI.mjs';
|
|
8
8
|
import './chunk-OVX2CEXQ.mjs';
|
|
9
9
|
import './chunk-O6YSETKJ.mjs';
|
package/dist/index.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkTNFRQNSW_js = require('./chunk-TNFRQNSW.js');
|
|
4
4
|
require('./chunk-XO62WWX4.js');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
5
|
+
var chunkCFV4NWFC_js = require('./chunk-CFV4NWFC.js');
|
|
6
|
+
var chunk7DQ5N2AF_js = require('./chunk-7DQ5N2AF.js');
|
|
7
|
+
var chunk2YGM5JKH_js = require('./chunk-2YGM5JKH.js');
|
|
8
|
+
var chunkHI6CKVBI_js = require('./chunk-HI6CKVBI.js');
|
|
9
|
+
var chunkQYDGCOAD_js = require('./chunk-QYDGCOAD.js');
|
|
10
10
|
require('./chunk-N2YKXZ5R.js');
|
|
11
11
|
var chunkWUJKJGEW_js = require('./chunk-WUJKJGEW.js');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-NWII77TV.js');
|
|
13
13
|
require('./chunk-QSMJD4CD.js');
|
|
14
14
|
require('./chunk-DQI2I5KK.js');
|
|
15
15
|
require('./chunk-IQVSZEQ6.js');
|
|
@@ -23,23 +23,23 @@ Object.defineProperty(exports, "createNodesV2", {
|
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "lint", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkCFV4NWFC_js.executor_default; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "prepare", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk7DQ5N2AF_js.executor_default; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "build", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk2YGM5JKH_js.executor_default; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "clean", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkHI6CKVBI_js.executor_default; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "docs", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkQYDGCOAD_js.executor_default; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "sync", {
|
|
45
45
|
enumerable: true,
|
package/dist/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export { createNodesV2 } from './chunk-KPZS6OF5.mjs';
|
|
2
2
|
import './chunk-UV4HQO3Y.mjs';
|
|
3
|
-
export { executor_default as lint } from './chunk-
|
|
4
|
-
export { executor_default as prepare } from './chunk-
|
|
5
|
-
export { executor_default as build } from './chunk-
|
|
6
|
-
export { executor_default as clean } from './chunk-
|
|
7
|
-
export { executor_default as docs } from './chunk-
|
|
3
|
+
export { executor_default as lint } from './chunk-VNUHBDVA.mjs';
|
|
4
|
+
export { executor_default as prepare } from './chunk-OTJ7D6KO.mjs';
|
|
5
|
+
export { executor_default as build } from './chunk-654VONX6.mjs';
|
|
6
|
+
export { executor_default as clean } from './chunk-KIE3NRLH.mjs';
|
|
7
|
+
export { executor_default as docs } from './chunk-SWFY3CNW.mjs';
|
|
8
8
|
import './chunk-23KFTIT2.mjs';
|
|
9
9
|
export { generator_default as sync, generatorFn as syncGenerator } from './chunk-326QB2VK.mjs';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-B4QE5XNI.mjs';
|
|
11
11
|
import './chunk-LK4PXBKI.mjs';
|
|
12
12
|
import './chunk-OVX2CEXQ.mjs';
|
|
13
13
|
import './chunk-IC47MFKB.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNWII77TV_js = require('../../chunk-NWII77TV.js');
|
|
4
4
|
require('../../chunk-DQI2I5KK.js');
|
|
5
5
|
require('../../chunk-SHUYVCID.js');
|
|
6
6
|
|
|
@@ -8,5 +8,5 @@ require('../../chunk-SHUYVCID.js');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "withExecutor", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkNWII77TV_js.withExecutor; }
|
|
12
12
|
});
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var chunk2YGM5JKH_js = require('../../../chunk-2YGM5JKH.js');
|
|
6
|
+
require('../../../chunk-NWII77TV.js');
|
|
7
7
|
require('../../../chunk-DQI2I5KK.js');
|
|
8
8
|
require('../../../chunk-SHUYVCID.js');
|
|
9
9
|
|
|
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "default", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk2YGM5JKH_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk2YGM5JKH_js.executorFn; }
|
|
19
19
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { executor_default as default, executorFn } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { executor_default as default, executorFn } from '../../../chunk-654VONX6.mjs';
|
|
2
|
+
import '../../../chunk-B4QE5XNI.mjs';
|
|
3
3
|
import '../../../chunk-OVX2CEXQ.mjs';
|
|
4
4
|
import '../../../chunk-O6YSETKJ.mjs';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var chunkHI6CKVBI_js = require('../../../chunk-HI6CKVBI.js');
|
|
6
|
+
require('../../../chunk-NWII77TV.js');
|
|
7
7
|
require('../../../chunk-DQI2I5KK.js');
|
|
8
8
|
require('../../../chunk-SHUYVCID.js');
|
|
9
9
|
|
|
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "default", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkHI6CKVBI_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkHI6CKVBI_js.executorFn; }
|
|
19
19
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { executor_default as default, executorFn } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { executor_default as default, executorFn } from '../../../chunk-KIE3NRLH.mjs';
|
|
2
|
+
import '../../../chunk-B4QE5XNI.mjs';
|
|
3
3
|
import '../../../chunk-OVX2CEXQ.mjs';
|
|
4
4
|
import '../../../chunk-O6YSETKJ.mjs';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var chunkQYDGCOAD_js = require('../../../chunk-QYDGCOAD.js');
|
|
6
|
+
require('../../../chunk-NWII77TV.js');
|
|
7
7
|
require('../../../chunk-DQI2I5KK.js');
|
|
8
8
|
require('../../../chunk-SHUYVCID.js');
|
|
9
9
|
|
|
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "default", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkQYDGCOAD_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkQYDGCOAD_js.executorFn; }
|
|
19
19
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { executor_default as default, executorFn } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { executor_default as default, executorFn } from '../../../chunk-SWFY3CNW.mjs';
|
|
2
|
+
import '../../../chunk-B4QE5XNI.mjs';
|
|
3
3
|
import '../../../chunk-OVX2CEXQ.mjs';
|
|
4
4
|
import '../../../chunk-O6YSETKJ.mjs';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var chunkCFV4NWFC_js = require('../../../chunk-CFV4NWFC.js');
|
|
6
|
+
require('../../../chunk-NWII77TV.js');
|
|
7
7
|
require('../../../chunk-DQI2I5KK.js');
|
|
8
8
|
require('../../../chunk-SHUYVCID.js');
|
|
9
9
|
|
|
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "default", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkCFV4NWFC_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkCFV4NWFC_js.executorFn; }
|
|
19
19
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { executor_default as default, executorFn } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { executor_default as default, executorFn } from '../../../chunk-VNUHBDVA.mjs';
|
|
2
|
+
import '../../../chunk-B4QE5XNI.mjs';
|
|
3
3
|
import '../../../chunk-OVX2CEXQ.mjs';
|
|
4
4
|
import '../../../chunk-O6YSETKJ.mjs';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var chunk7DQ5N2AF_js = require('../../../chunk-7DQ5N2AF.js');
|
|
6
|
+
require('../../../chunk-NWII77TV.js');
|
|
7
7
|
require('../../../chunk-DQI2I5KK.js');
|
|
8
8
|
require('../../../chunk-SHUYVCID.js');
|
|
9
9
|
|
|
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "default", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk7DQ5N2AF_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk7DQ5N2AF_js.executorFn; }
|
|
19
19
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { executor_default as default, executorFn } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { executor_default as default, executorFn } from '../../../chunk-OTJ7D6KO.mjs';
|
|
2
|
+
import '../../../chunk-B4QE5XNI.mjs';
|
|
3
3
|
import '../../../chunk-OVX2CEXQ.mjs';
|
|
4
4
|
import '../../../chunk-O6YSETKJ.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/nx",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.34",
|
|
4
4
|
"description": "A Nx plugin to support Powerlines development in Nx monorepos.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"defu": "^6.1.4",
|
|
197
197
|
"jiti": "^2.6.1",
|
|
198
198
|
"nx": "^22.3.3",
|
|
199
|
-
"powerlines": "^0.36.
|
|
199
|
+
"powerlines": "^0.36.8"
|
|
200
200
|
},
|
|
201
201
|
"devDependencies": {
|
|
202
202
|
"@nx/workspace": "^22.3.3",
|
|
@@ -210,5 +210,5 @@
|
|
|
210
210
|
"publishConfig": { "access": "public" },
|
|
211
211
|
"executors": "./executors.json",
|
|
212
212
|
"generators": "./generators.json",
|
|
213
|
-
"gitHead": "
|
|
213
|
+
"gitHead": "8867c7bf5d0505b507b029ae191bfc2844478c0e"
|
|
214
214
|
}
|