@powerlines/nx 0.11.32 → 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 +12 -0
- package/dist/{chunk-763QF4XV.js → chunk-2YGM5JKH.js} +2 -2
- package/dist/{chunk-KWPZGC5Q.mjs → chunk-654VONX6.mjs} +1 -1
- package/dist/{chunk-F35AO5TS.js → chunk-7DQ5N2AF.js} +2 -2
- package/dist/{chunk-DTIFLWCH.mjs → chunk-B4QE5XNI.mjs} +87 -30
- package/dist/{chunk-5DT6CXXA.js → chunk-CFV4NWFC.js} +2 -2
- package/dist/{chunk-DJ7GOIEQ.js → chunk-HI6CKVBI.js} +2 -2
- package/dist/{chunk-P2TM4WU5.mjs → chunk-KIE3NRLH.mjs} +1 -1
- package/dist/{chunk-U7JTEP67.js → chunk-NWII77TV.js} +87 -30
- package/dist/{chunk-JBCXCAGT.mjs → chunk-OTJ7D6KO.mjs} +1 -1
- package/dist/{chunk-BBSJIGAE.js → chunk-QYDGCOAD.js} +2 -2
- package/dist/{chunk-QD6GBO5E.mjs → chunk-SWFY3CNW.mjs} +1 -1
- package/dist/{chunk-CTFAGOSQ.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,18 @@
|
|
|
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
|
+
|
|
11
|
+
## [0.11.32](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.32) (12/23/2025)
|
|
12
|
+
|
|
13
|
+
### Updated Dependencies
|
|
14
|
+
|
|
15
|
+
- Updated **powerlines** to **v0.36.6**
|
|
16
|
+
|
|
5
17
|
## [0.11.31](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.31) (12/23/2025)
|
|
6
18
|
|
|
7
19
|
### 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.
|
|
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,16 +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
|
-
"dependsOn",
|
|
3443
|
-
"applyToEnvironment"
|
|
3444
|
-
];
|
|
3445
3490
|
function createPluginContext(plugin, environment) {
|
|
3446
3491
|
const normalizeMessage = /* @__PURE__ */ __name((message) => {
|
|
3447
3492
|
return isString(message) ? message : message.message;
|
|
@@ -3761,7 +3806,7 @@ var PowerlinesAPIContext = class _PowerlinesAPIContext extends PowerlinesContext
|
|
|
3761
3806
|
}
|
|
3762
3807
|
get log() {
|
|
3763
3808
|
if (!this.#log) {
|
|
3764
|
-
this.#log = this.createLog(
|
|
3809
|
+
this.#log = this.createLog();
|
|
3765
3810
|
}
|
|
3766
3811
|
return this.#log;
|
|
3767
3812
|
}
|
|
@@ -4441,11 +4486,6 @@ ${formatTypes(types)}
|
|
|
4441
4486
|
return;
|
|
4442
4487
|
}
|
|
4443
4488
|
for (const plugin of result) {
|
|
4444
|
-
if (plugin.dependsOn) {
|
|
4445
|
-
for (const required of plugin.dependsOn) {
|
|
4446
|
-
await this.#addPlugin(required);
|
|
4447
|
-
}
|
|
4448
|
-
}
|
|
4449
4489
|
this.context.log(LogLevelLabel.DEBUG, `Successfully initialized the ${chalk5.bold.cyanBright(plugin.name)} plugin`);
|
|
4450
4490
|
await this.context.addPlugin(plugin);
|
|
4451
4491
|
}
|
|
@@ -4464,24 +4504,41 @@ ${formatTypes(types)}
|
|
|
4464
4504
|
awaited = await Promise.resolve(config);
|
|
4465
4505
|
}
|
|
4466
4506
|
if (!isPluginConfig(awaited)) {
|
|
4467
|
-
|
|
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`);
|
|
4468
4517
|
}
|
|
4469
4518
|
let plugins;
|
|
4470
|
-
if (
|
|
4471
|
-
plugins = awaited;
|
|
4472
|
-
} else if (isPlugin(awaited)) {
|
|
4519
|
+
if (isPlugin(awaited)) {
|
|
4473
4520
|
plugins = [
|
|
4474
4521
|
awaited
|
|
4475
4522
|
];
|
|
4476
4523
|
} else if (isFunction(awaited)) {
|
|
4477
4524
|
plugins = toArray(await Promise.resolve(awaited()));
|
|
4478
|
-
} else if (
|
|
4525
|
+
} else if (isString(awaited)) {
|
|
4479
4526
|
const resolved = await this.#resolvePlugin(awaited);
|
|
4480
4527
|
if (isFunction(resolved)) {
|
|
4481
4528
|
plugins = toArray(await Promise.resolve(resolved()));
|
|
4482
4529
|
} else {
|
|
4483
4530
|
plugins = toArray(resolved);
|
|
4484
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
|
+
}
|
|
4485
4542
|
} else if (isPluginConfigTuple(awaited) || isPluginConfigObject(awaited)) {
|
|
4486
4543
|
let pluginConfig;
|
|
4487
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.
|
|
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,16 +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
|
-
"dependsOn",
|
|
3472
|
-
"applyToEnvironment"
|
|
3473
|
-
];
|
|
3474
3519
|
function createPluginContext(plugin, environment) {
|
|
3475
3520
|
const normalizeMessage = /* @__PURE__ */ chunkSHUYVCID_js.__name((message) => {
|
|
3476
3521
|
return isString.isString(message) ? message : message.message;
|
|
@@ -3790,7 +3835,7 @@ var PowerlinesAPIContext = class _PowerlinesAPIContext extends PowerlinesContext
|
|
|
3790
3835
|
}
|
|
3791
3836
|
get log() {
|
|
3792
3837
|
if (!this.#log) {
|
|
3793
|
-
this.#log = this.createLog(
|
|
3838
|
+
this.#log = this.createLog();
|
|
3794
3839
|
}
|
|
3795
3840
|
return this.#log;
|
|
3796
3841
|
}
|
|
@@ -4470,11 +4515,6 @@ ${formatTypes(types$1)}
|
|
|
4470
4515
|
return;
|
|
4471
4516
|
}
|
|
4472
4517
|
for (const plugin of result) {
|
|
4473
|
-
if (plugin.dependsOn) {
|
|
4474
|
-
for (const required of plugin.dependsOn) {
|
|
4475
|
-
await this.#addPlugin(required);
|
|
4476
|
-
}
|
|
4477
|
-
}
|
|
4478
4518
|
this.context.log(types.LogLevelLabel.DEBUG, `Successfully initialized the ${chalk5__default.default.bold.cyanBright(plugin.name)} plugin`);
|
|
4479
4519
|
await this.context.addPlugin(plugin);
|
|
4480
4520
|
}
|
|
@@ -4493,24 +4533,41 @@ ${formatTypes(types$1)}
|
|
|
4493
4533
|
awaited = await Promise.resolve(config);
|
|
4494
4534
|
}
|
|
4495
4535
|
if (!isPluginConfig(awaited)) {
|
|
4496
|
-
|
|
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`);
|
|
4497
4546
|
}
|
|
4498
4547
|
let plugins;
|
|
4499
|
-
if (
|
|
4500
|
-
plugins = awaited;
|
|
4501
|
-
} else if (isPlugin(awaited)) {
|
|
4548
|
+
if (isPlugin(awaited)) {
|
|
4502
4549
|
plugins = [
|
|
4503
4550
|
awaited
|
|
4504
4551
|
];
|
|
4505
4552
|
} else if (isFunction.isFunction(awaited)) {
|
|
4506
4553
|
plugins = toArray.toArray(await Promise.resolve(awaited()));
|
|
4507
|
-
} else if (
|
|
4554
|
+
} else if (isString.isString(awaited)) {
|
|
4508
4555
|
const resolved = await this.#resolvePlugin(awaited);
|
|
4509
4556
|
if (isFunction.isFunction(resolved)) {
|
|
4510
4557
|
plugins = toArray.toArray(await Promise.resolve(resolved()));
|
|
4511
4558
|
} else {
|
|
4512
4559
|
plugins = toArray.toArray(resolved);
|
|
4513
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
|
+
}
|
|
4514
4571
|
} else if (isPluginConfigTuple(awaited) || isPluginConfigObject(awaited)) {
|
|
4515
4572
|
let pluginConfig;
|
|
4516
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
|
}
|