@powerlines/nx 0.11.46 → 0.11.48
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-SBTXAQRW.mjs → chunk-2PMXBYLJ.mjs} +1 -1
- package/dist/{chunk-A4OG6M7U.mjs → chunk-3PSMNWFO.mjs} +1 -1
- package/dist/{chunk-4BT7E5KE.js → chunk-6ANZV3Y6.js} +2 -2
- package/dist/{chunk-DO2LG7X6.mjs → chunk-EGK7VH3Q.mjs} +1 -1
- package/dist/{chunk-BNVCCV3M.js → chunk-IX7XVV5R.js} +2 -2
- package/dist/{chunk-HP36TTHW.js → chunk-JG7KNXFN.js} +2 -2
- package/dist/{chunk-FVNTHOEX.mjs → chunk-LEGYBSEN.mjs} +125 -4
- package/dist/{chunk-5W5VL6B4.mjs → chunk-MBNVVV7L.mjs} +1 -1
- package/dist/{chunk-M7QRDATO.mjs → chunk-PJAJW4YF.mjs} +1 -1
- package/dist/{chunk-BDXC76WC.js → chunk-THPKMDZ5.js} +2 -2
- package/dist/{chunk-SJ3HSQTX.js → chunk-TIWB6DZA.js} +125 -4
- package/dist/{chunk-FZKBIXEI.js → chunk-V2CBP5GX.js} +2 -2
- 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.47](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.47) (12/30/2025)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **powerlines** to **v0.36.21**
|
|
10
|
+
|
|
11
|
+
## [0.11.46](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.46) (12/30/2025)
|
|
12
|
+
|
|
13
|
+
### Updated Dependencies
|
|
14
|
+
|
|
15
|
+
- Updated **powerlines** to **v0.36.20**
|
|
16
|
+
|
|
5
17
|
## [0.11.45](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.45) (12/30/2025)
|
|
6
18
|
|
|
7
19
|
### Updated Dependencies
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTIWB6DZA_js = require('./chunk-TIWB6DZA.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 = chunkTIWB6DZA_js.withExecutor("prepare", 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 chunkTIWB6DZA_js = require('./chunk-TIWB6DZA.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 = chunkTIWB6DZA_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 chunkTIWB6DZA_js = require('./chunk-TIWB6DZA.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 = chunkTIWB6DZA_js.withExecutor("lint", executorFn);
|
|
15
15
|
var executor_default = executor;
|
|
16
16
|
|
|
17
17
|
exports.executorFn = executorFn;
|
|
@@ -60,6 +60,7 @@ import { isDirectory, isFile } from '@stryke/fs/is-file';
|
|
|
60
60
|
import * as $ from '@stryke/capnp';
|
|
61
61
|
import { readFileBuffer, readFileBufferSync, writeFileBuffer } from '@stryke/fs/buffer';
|
|
62
62
|
import { prettyBytes } from '@stryke/string-format/pretty-bytes';
|
|
63
|
+
import { isRegExp } from '@stryke/type-checks/is-regexp';
|
|
63
64
|
import { Blob } from 'node:buffer';
|
|
64
65
|
import { fileURLToPath } from 'node:url';
|
|
65
66
|
import { resolveConfig, format } from 'prettier';
|
|
@@ -78,8 +79,7 @@ function resolveModulePath(nodePath, state) {
|
|
|
78
79
|
if (!t.isStringLiteral(nodePath.node)) {
|
|
79
80
|
return;
|
|
80
81
|
}
|
|
81
|
-
const
|
|
82
|
-
const resolvedPath = state.context?.fs.resolveSync(sourcePath);
|
|
82
|
+
const resolvedPath = state.context?.fs.resolveSync(nodePath.node.value);
|
|
83
83
|
if (resolvedPath) {
|
|
84
84
|
nodePath.replaceWith(t.stringLiteral(
|
|
85
85
|
// Remove the file extension if it exists
|
|
@@ -1224,6 +1224,13 @@ var BaseStorageAdapter = class {
|
|
|
1224
1224
|
*/
|
|
1225
1225
|
options;
|
|
1226
1226
|
/**
|
|
1227
|
+
* The storage preset for the adapter.
|
|
1228
|
+
*
|
|
1229
|
+
* @remarks
|
|
1230
|
+
* This can be used as an alternate way to identify the type of storage being used.
|
|
1231
|
+
*/
|
|
1232
|
+
preset = null;
|
|
1233
|
+
/**
|
|
1227
1234
|
* Constructor for the BaseStorageAdapter.
|
|
1228
1235
|
*
|
|
1229
1236
|
* @param options - Configuration options for the storage adapter.
|
|
@@ -1414,6 +1421,13 @@ var FileSystemStorageAdapter = class extends BaseStorageAdapter {
|
|
|
1414
1421
|
*/
|
|
1415
1422
|
name = "file-system";
|
|
1416
1423
|
/**
|
|
1424
|
+
* The storage preset for the adapter.
|
|
1425
|
+
*
|
|
1426
|
+
* @remarks
|
|
1427
|
+
* This can be used as an alternate way to identify the type of storage being used.
|
|
1428
|
+
*/
|
|
1429
|
+
preset = "fs";
|
|
1430
|
+
/**
|
|
1417
1431
|
* Constructor for the FileSystemStorageAdapter.
|
|
1418
1432
|
*
|
|
1419
1433
|
* @param options - Configuration options for the storage adapter.
|
|
@@ -1573,6 +1587,13 @@ var VirtualStorageAdapter = class extends BaseStorageAdapter {
|
|
|
1573
1587
|
*/
|
|
1574
1588
|
name = "virtual";
|
|
1575
1589
|
/**
|
|
1590
|
+
* The storage preset for the adapter.
|
|
1591
|
+
*
|
|
1592
|
+
* @remarks
|
|
1593
|
+
* This can be used as an alternate way to identify the type of storage being used.
|
|
1594
|
+
*/
|
|
1595
|
+
preset = "virtual";
|
|
1596
|
+
/**
|
|
1576
1597
|
* In-memory data storage.
|
|
1577
1598
|
*/
|
|
1578
1599
|
data = /* @__PURE__ */ new Map();
|
|
@@ -1721,10 +1742,21 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
1721
1742
|
/**
|
|
1722
1743
|
* Gets the storage adapter and relative key for a given key.
|
|
1723
1744
|
*
|
|
1745
|
+
* @remarks
|
|
1746
|
+
* The `key` can be either a path or a storage adapter name.
|
|
1747
|
+
*
|
|
1724
1748
|
* @param key - The key to get the storage adapter for.
|
|
1725
1749
|
* @returns The storage adapter and relative key for the given key.
|
|
1726
1750
|
*/
|
|
1727
1751
|
#getStorage(key) {
|
|
1752
|
+
const found = Object.entries(this.#storage).find(([, adapter]) => adapter.name === key || adapter.preset && adapter.preset.toLowerCase() === key?.toLowerCase());
|
|
1753
|
+
if (found) {
|
|
1754
|
+
return {
|
|
1755
|
+
base: found[0],
|
|
1756
|
+
relativeKey: "",
|
|
1757
|
+
adapter: found[1]
|
|
1758
|
+
};
|
|
1759
|
+
}
|
|
1728
1760
|
const path = this.resolveSync(this.#normalizePath(key)) || key;
|
|
1729
1761
|
for (const base of Object.keys(this.#storage).filter(Boolean).sort().reverse()) {
|
|
1730
1762
|
if (isParentPath(path, base)) {
|
|
@@ -2272,7 +2304,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2272
2304
|
});
|
|
2273
2305
|
}
|
|
2274
2306
|
}
|
|
2275
|
-
const { relativeKey, adapter } = this.#getStorage(path);
|
|
2307
|
+
const { relativeKey, adapter } = this.#getStorage(options.storage || path);
|
|
2276
2308
|
this.#log(LogLevelLabel.TRACE, `Writing ${this.#normalizePath(relativeKey)} to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes(new Blob(toArray(code)).size)})`);
|
|
2277
2309
|
const id = options?.meta?.id || this.#normalizeId(relativeKey);
|
|
2278
2310
|
this.#metadata[id] = {
|
|
@@ -2292,7 +2324,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2292
2324
|
* @param options - Optional parameters for writing the file.
|
|
2293
2325
|
*/
|
|
2294
2326
|
writeSync(path, data = "", options = {}) {
|
|
2295
|
-
const { relativeKey, adapter } = this.#getStorage(path);
|
|
2327
|
+
const { relativeKey, adapter } = this.#getStorage(options.storage || path);
|
|
2296
2328
|
this.#log(LogLevelLabel.TRACE, `Writing ${this.#normalizePath(relativeKey)} file to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes(new Blob(toArray(data)).size)})`);
|
|
2297
2329
|
const id = options?.meta?.id || this.#normalizeId(relativeKey);
|
|
2298
2330
|
this.#metadata[id] = {
|
|
@@ -2334,6 +2366,44 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2334
2366
|
return void 0;
|
|
2335
2367
|
}
|
|
2336
2368
|
/**
|
|
2369
|
+
* Resolves a given module ID using the configured aliases.
|
|
2370
|
+
*
|
|
2371
|
+
* @remarks
|
|
2372
|
+
* This function can be used to map module IDs to different paths based on the alias configuration.
|
|
2373
|
+
*
|
|
2374
|
+
* @param id - The module ID to resolve.
|
|
2375
|
+
* @returns The resolved module ID - after applying any configured aliases (this will be the same as the input ID if no aliases match).
|
|
2376
|
+
*/
|
|
2377
|
+
resolveAlias(id) {
|
|
2378
|
+
let path = id;
|
|
2379
|
+
if (this.#context.config.build.alias) {
|
|
2380
|
+
if (Array.isArray(this.#context.config.build.alias) && this.#context.config.build.alias.length > 0) {
|
|
2381
|
+
const found = this.#context.config.build.alias.filter((alias) => isSetString(alias.find) && (alias.find === path || path.startsWith(`${alias.find}/`)) || isRegExp(alias.find) && alias.find.test(path));
|
|
2382
|
+
if (found.length > 0) {
|
|
2383
|
+
const alias = found.reduce((ret, current) => {
|
|
2384
|
+
const retLength = isSetString(ret.find) ? ret.find.length : isRegExp(ret.find) ? ret.find.source.length : 0;
|
|
2385
|
+
const currentLength = isSetString(current.find) ? current.find.length : isRegExp(current.find) ? current.find.source.length : 0;
|
|
2386
|
+
return retLength > currentLength ? ret : current;
|
|
2387
|
+
});
|
|
2388
|
+
if (isSetString(alias.find)) {
|
|
2389
|
+
path = path.replace(new RegExp(`^${alias.find}`), alias.replacement);
|
|
2390
|
+
} else if (isRegExp(alias.find)) {
|
|
2391
|
+
path = path.replace(alias.find, alias.replacement);
|
|
2392
|
+
}
|
|
2393
|
+
}
|
|
2394
|
+
} else if (isSetObject(this.#context.config.build.alias)) {
|
|
2395
|
+
const found = Object.keys(this.#context.config.build.alias).filter((key) => key === path || path.startsWith(`${key}/`));
|
|
2396
|
+
if (found.length > 0) {
|
|
2397
|
+
const alias = found.reduce((ret, current) => {
|
|
2398
|
+
return ret.length > current.length ? ret : current;
|
|
2399
|
+
});
|
|
2400
|
+
path = path.replace(new RegExp(`^${alias}`), this.#context.config.build.alias[alias]);
|
|
2401
|
+
}
|
|
2402
|
+
}
|
|
2403
|
+
}
|
|
2404
|
+
return path;
|
|
2405
|
+
}
|
|
2406
|
+
/**
|
|
2337
2407
|
* A helper function to resolve modules in the virtual file system (VFS).
|
|
2338
2408
|
*
|
|
2339
2409
|
* @remarks
|
|
@@ -2354,6 +2424,9 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2354
2424
|
if (path.includes("{") || path.includes("}")) {
|
|
2355
2425
|
path = replacePathTokens(this.#context, path);
|
|
2356
2426
|
}
|
|
2427
|
+
if (options.skipAlias !== true) {
|
|
2428
|
+
path = this.resolveAlias(path);
|
|
2429
|
+
}
|
|
2357
2430
|
if (isAbsolutePath(path)) {
|
|
2358
2431
|
return path;
|
|
2359
2432
|
}
|
|
@@ -2424,6 +2497,9 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2424
2497
|
if (path.includes("{") || path.includes("}")) {
|
|
2425
2498
|
path = replacePathTokens(this.#context, path);
|
|
2426
2499
|
}
|
|
2500
|
+
if (options.skipAlias !== true) {
|
|
2501
|
+
path = this.resolveAlias(path);
|
|
2502
|
+
}
|
|
2427
2503
|
if (isAbsolutePath(path)) {
|
|
2428
2504
|
return path;
|
|
2429
2505
|
}
|
|
@@ -3134,6 +3210,36 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3134
3210
|
}));
|
|
3135
3211
|
}
|
|
3136
3212
|
/**
|
|
3213
|
+
* Synchronously resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
3214
|
+
*
|
|
3215
|
+
* @param code - The source code of the entry file
|
|
3216
|
+
* @param path - A path to write the entry file to
|
|
3217
|
+
* @param options - Optional write file options
|
|
3218
|
+
*/
|
|
3219
|
+
emitEntrySync(code, path, options = {}) {
|
|
3220
|
+
const entryPath = isAbsolute(path) ? path : appendPath(path, this.entryPath);
|
|
3221
|
+
this.entry ??= [];
|
|
3222
|
+
this.entry.push({
|
|
3223
|
+
name: options?.name,
|
|
3224
|
+
file: entryPath,
|
|
3225
|
+
input: options?.input,
|
|
3226
|
+
output: options?.output
|
|
3227
|
+
});
|
|
3228
|
+
return this.fs.writeSync(entryPath, code, defu6(omit(options, [
|
|
3229
|
+
"name"
|
|
3230
|
+
]), {
|
|
3231
|
+
meta: {
|
|
3232
|
+
type: "entry",
|
|
3233
|
+
properties: {
|
|
3234
|
+
name: options?.name,
|
|
3235
|
+
output: options?.output,
|
|
3236
|
+
"input.file": options?.input?.file,
|
|
3237
|
+
"input.name": options?.input?.name
|
|
3238
|
+
}
|
|
3239
|
+
}
|
|
3240
|
+
}));
|
|
3241
|
+
}
|
|
3242
|
+
/**
|
|
3137
3243
|
* Resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
3138
3244
|
*
|
|
3139
3245
|
* @param code - The source code of the builtin file
|
|
@@ -3149,6 +3255,21 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3149
3255
|
}));
|
|
3150
3256
|
}
|
|
3151
3257
|
/**
|
|
3258
|
+
* Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
3259
|
+
*
|
|
3260
|
+
* @param code - The source code of the builtin file
|
|
3261
|
+
* @param id - The unique identifier of the builtin file
|
|
3262
|
+
* @param path - An optional path to write the builtin file to
|
|
3263
|
+
* @param options - Optional write file options
|
|
3264
|
+
*/
|
|
3265
|
+
emitBuiltinSync(code, id, path, options) {
|
|
3266
|
+
return this.fs.writeSync(path ? isAbsolute(path) ? path : joinPaths(this.builtinsPath, path) : appendPath(id, this.builtinsPath), code, defu6(options, {
|
|
3267
|
+
meta: {
|
|
3268
|
+
type: "builtin"
|
|
3269
|
+
}
|
|
3270
|
+
}));
|
|
3271
|
+
}
|
|
3272
|
+
/**
|
|
3152
3273
|
* Update the context using a new user configuration options
|
|
3153
3274
|
*
|
|
3154
3275
|
* @param userConfig - The new user configuration options.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTIWB6DZA_js = require('./chunk-TIWB6DZA.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 = chunkTIWB6DZA_js.withExecutor("clean", executorFn);
|
|
15
15
|
var executor_default = executor;
|
|
16
16
|
|
|
17
17
|
exports.executorFn = executorFn;
|
|
@@ -62,6 +62,7 @@ var isFile = require('@stryke/fs/is-file');
|
|
|
62
62
|
var $ = require('@stryke/capnp');
|
|
63
63
|
var buffer = require('@stryke/fs/buffer');
|
|
64
64
|
var prettyBytes = require('@stryke/string-format/pretty-bytes');
|
|
65
|
+
var isRegexp = require('@stryke/type-checks/is-regexp');
|
|
65
66
|
var buffer$1 = require('buffer');
|
|
66
67
|
var url = require('url');
|
|
67
68
|
var prettier = require('prettier');
|
|
@@ -107,8 +108,7 @@ function resolveModulePath(nodePath, state) {
|
|
|
107
108
|
if (!t__namespace.isStringLiteral(nodePath.node)) {
|
|
108
109
|
return;
|
|
109
110
|
}
|
|
110
|
-
const
|
|
111
|
-
const resolvedPath = state.context?.fs.resolveSync(sourcePath);
|
|
111
|
+
const resolvedPath = state.context?.fs.resolveSync(nodePath.node.value);
|
|
112
112
|
if (resolvedPath) {
|
|
113
113
|
nodePath.replaceWith(t__namespace.stringLiteral(
|
|
114
114
|
// Remove the file extension if it exists
|
|
@@ -1253,6 +1253,13 @@ var BaseStorageAdapter = class {
|
|
|
1253
1253
|
*/
|
|
1254
1254
|
options;
|
|
1255
1255
|
/**
|
|
1256
|
+
* The storage preset for the adapter.
|
|
1257
|
+
*
|
|
1258
|
+
* @remarks
|
|
1259
|
+
* This can be used as an alternate way to identify the type of storage being used.
|
|
1260
|
+
*/
|
|
1261
|
+
preset = null;
|
|
1262
|
+
/**
|
|
1256
1263
|
* Constructor for the BaseStorageAdapter.
|
|
1257
1264
|
*
|
|
1258
1265
|
* @param options - Configuration options for the storage adapter.
|
|
@@ -1443,6 +1450,13 @@ var FileSystemStorageAdapter = class extends BaseStorageAdapter {
|
|
|
1443
1450
|
*/
|
|
1444
1451
|
name = "file-system";
|
|
1445
1452
|
/**
|
|
1453
|
+
* The storage preset for the adapter.
|
|
1454
|
+
*
|
|
1455
|
+
* @remarks
|
|
1456
|
+
* This can be used as an alternate way to identify the type of storage being used.
|
|
1457
|
+
*/
|
|
1458
|
+
preset = "fs";
|
|
1459
|
+
/**
|
|
1446
1460
|
* Constructor for the FileSystemStorageAdapter.
|
|
1447
1461
|
*
|
|
1448
1462
|
* @param options - Configuration options for the storage adapter.
|
|
@@ -1602,6 +1616,13 @@ var VirtualStorageAdapter = class extends BaseStorageAdapter {
|
|
|
1602
1616
|
*/
|
|
1603
1617
|
name = "virtual";
|
|
1604
1618
|
/**
|
|
1619
|
+
* The storage preset for the adapter.
|
|
1620
|
+
*
|
|
1621
|
+
* @remarks
|
|
1622
|
+
* This can be used as an alternate way to identify the type of storage being used.
|
|
1623
|
+
*/
|
|
1624
|
+
preset = "virtual";
|
|
1625
|
+
/**
|
|
1605
1626
|
* In-memory data storage.
|
|
1606
1627
|
*/
|
|
1607
1628
|
data = /* @__PURE__ */ new Map();
|
|
@@ -1750,10 +1771,21 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
1750
1771
|
/**
|
|
1751
1772
|
* Gets the storage adapter and relative key for a given key.
|
|
1752
1773
|
*
|
|
1774
|
+
* @remarks
|
|
1775
|
+
* The `key` can be either a path or a storage adapter name.
|
|
1776
|
+
*
|
|
1753
1777
|
* @param key - The key to get the storage adapter for.
|
|
1754
1778
|
* @returns The storage adapter and relative key for the given key.
|
|
1755
1779
|
*/
|
|
1756
1780
|
#getStorage(key) {
|
|
1781
|
+
const found = Object.entries(this.#storage).find(([, adapter]) => adapter.name === key || adapter.preset && adapter.preset.toLowerCase() === key?.toLowerCase());
|
|
1782
|
+
if (found) {
|
|
1783
|
+
return {
|
|
1784
|
+
base: found[0],
|
|
1785
|
+
relativeKey: "",
|
|
1786
|
+
adapter: found[1]
|
|
1787
|
+
};
|
|
1788
|
+
}
|
|
1757
1789
|
const path = this.resolveSync(this.#normalizePath(key)) || key;
|
|
1758
1790
|
for (const base of Object.keys(this.#storage).filter(Boolean).sort().reverse()) {
|
|
1759
1791
|
if (isParentPath.isParentPath(path, base)) {
|
|
@@ -2301,7 +2333,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2301
2333
|
});
|
|
2302
2334
|
}
|
|
2303
2335
|
}
|
|
2304
|
-
const { relativeKey, adapter } = this.#getStorage(path);
|
|
2336
|
+
const { relativeKey, adapter } = this.#getStorage(options.storage || path);
|
|
2305
2337
|
this.#log(types.LogLevelLabel.TRACE, `Writing ${this.#normalizePath(relativeKey)} to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes.prettyBytes(new buffer$1.Blob(toArray.toArray(code)).size)})`);
|
|
2306
2338
|
const id = options?.meta?.id || this.#normalizeId(relativeKey);
|
|
2307
2339
|
this.#metadata[id] = {
|
|
@@ -2321,7 +2353,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2321
2353
|
* @param options - Optional parameters for writing the file.
|
|
2322
2354
|
*/
|
|
2323
2355
|
writeSync(path, data = "", options = {}) {
|
|
2324
|
-
const { relativeKey, adapter } = this.#getStorage(path);
|
|
2356
|
+
const { relativeKey, adapter } = this.#getStorage(options.storage || path);
|
|
2325
2357
|
this.#log(types.LogLevelLabel.TRACE, `Writing ${this.#normalizePath(relativeKey)} file to ${adapter.name === "virtual" ? "the virtual file system" : adapter.name === "file-system" ? "the local file system" : adapter.name} (size: ${prettyBytes.prettyBytes(new buffer$1.Blob(toArray.toArray(data)).size)})`);
|
|
2326
2358
|
const id = options?.meta?.id || this.#normalizeId(relativeKey);
|
|
2327
2359
|
this.#metadata[id] = {
|
|
@@ -2363,6 +2395,44 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2363
2395
|
return void 0;
|
|
2364
2396
|
}
|
|
2365
2397
|
/**
|
|
2398
|
+
* Resolves a given module ID using the configured aliases.
|
|
2399
|
+
*
|
|
2400
|
+
* @remarks
|
|
2401
|
+
* This function can be used to map module IDs to different paths based on the alias configuration.
|
|
2402
|
+
*
|
|
2403
|
+
* @param id - The module ID to resolve.
|
|
2404
|
+
* @returns The resolved module ID - after applying any configured aliases (this will be the same as the input ID if no aliases match).
|
|
2405
|
+
*/
|
|
2406
|
+
resolveAlias(id) {
|
|
2407
|
+
let path = id;
|
|
2408
|
+
if (this.#context.config.build.alias) {
|
|
2409
|
+
if (Array.isArray(this.#context.config.build.alias) && this.#context.config.build.alias.length > 0) {
|
|
2410
|
+
const found = this.#context.config.build.alias.filter((alias) => isSetString.isSetString(alias.find) && (alias.find === path || path.startsWith(`${alias.find}/`)) || isRegexp.isRegExp(alias.find) && alias.find.test(path));
|
|
2411
|
+
if (found.length > 0) {
|
|
2412
|
+
const alias = found.reduce((ret, current) => {
|
|
2413
|
+
const retLength = isSetString.isSetString(ret.find) ? ret.find.length : isRegexp.isRegExp(ret.find) ? ret.find.source.length : 0;
|
|
2414
|
+
const currentLength = isSetString.isSetString(current.find) ? current.find.length : isRegexp.isRegExp(current.find) ? current.find.source.length : 0;
|
|
2415
|
+
return retLength > currentLength ? ret : current;
|
|
2416
|
+
});
|
|
2417
|
+
if (isSetString.isSetString(alias.find)) {
|
|
2418
|
+
path = path.replace(new RegExp(`^${alias.find}`), alias.replacement);
|
|
2419
|
+
} else if (isRegexp.isRegExp(alias.find)) {
|
|
2420
|
+
path = path.replace(alias.find, alias.replacement);
|
|
2421
|
+
}
|
|
2422
|
+
}
|
|
2423
|
+
} else if (isSetObject.isSetObject(this.#context.config.build.alias)) {
|
|
2424
|
+
const found = Object.keys(this.#context.config.build.alias).filter((key) => key === path || path.startsWith(`${key}/`));
|
|
2425
|
+
if (found.length > 0) {
|
|
2426
|
+
const alias = found.reduce((ret, current) => {
|
|
2427
|
+
return ret.length > current.length ? ret : current;
|
|
2428
|
+
});
|
|
2429
|
+
path = path.replace(new RegExp(`^${alias}`), this.#context.config.build.alias[alias]);
|
|
2430
|
+
}
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
return path;
|
|
2434
|
+
}
|
|
2435
|
+
/**
|
|
2366
2436
|
* A helper function to resolve modules in the virtual file system (VFS).
|
|
2367
2437
|
*
|
|
2368
2438
|
* @remarks
|
|
@@ -2383,6 +2453,9 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2383
2453
|
if (path.includes("{") || path.includes("}")) {
|
|
2384
2454
|
path = replacePathTokens(this.#context, path);
|
|
2385
2455
|
}
|
|
2456
|
+
if (options.skipAlias !== true) {
|
|
2457
|
+
path = this.resolveAlias(path);
|
|
2458
|
+
}
|
|
2386
2459
|
if (isType.isAbsolutePath(path)) {
|
|
2387
2460
|
return path;
|
|
2388
2461
|
}
|
|
@@ -2453,6 +2526,9 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2453
2526
|
if (path.includes("{") || path.includes("}")) {
|
|
2454
2527
|
path = replacePathTokens(this.#context, path);
|
|
2455
2528
|
}
|
|
2529
|
+
if (options.skipAlias !== true) {
|
|
2530
|
+
path = this.resolveAlias(path);
|
|
2531
|
+
}
|
|
2456
2532
|
if (isType.isAbsolutePath(path)) {
|
|
2457
2533
|
return path;
|
|
2458
2534
|
}
|
|
@@ -3163,6 +3239,36 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3163
3239
|
}));
|
|
3164
3240
|
}
|
|
3165
3241
|
/**
|
|
3242
|
+
* Synchronously resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
3243
|
+
*
|
|
3244
|
+
* @param code - The source code of the entry file
|
|
3245
|
+
* @param path - A path to write the entry file to
|
|
3246
|
+
* @param options - Optional write file options
|
|
3247
|
+
*/
|
|
3248
|
+
emitEntrySync(code, path, options = {}) {
|
|
3249
|
+
const entryPath = isType.isAbsolute(path) ? path : append.appendPath(path, this.entryPath);
|
|
3250
|
+
this.entry ??= [];
|
|
3251
|
+
this.entry.push({
|
|
3252
|
+
name: options?.name,
|
|
3253
|
+
file: entryPath,
|
|
3254
|
+
input: options?.input,
|
|
3255
|
+
output: options?.output
|
|
3256
|
+
});
|
|
3257
|
+
return this.fs.writeSync(entryPath, code, defu6__default.default(omit.omit(options, [
|
|
3258
|
+
"name"
|
|
3259
|
+
]), {
|
|
3260
|
+
meta: {
|
|
3261
|
+
type: "entry",
|
|
3262
|
+
properties: {
|
|
3263
|
+
name: options?.name,
|
|
3264
|
+
output: options?.output,
|
|
3265
|
+
"input.file": options?.input?.file,
|
|
3266
|
+
"input.name": options?.input?.name
|
|
3267
|
+
}
|
|
3268
|
+
}
|
|
3269
|
+
}));
|
|
3270
|
+
}
|
|
3271
|
+
/**
|
|
3166
3272
|
* Resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
3167
3273
|
*
|
|
3168
3274
|
* @param code - The source code of the builtin file
|
|
@@ -3178,6 +3284,21 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3178
3284
|
}));
|
|
3179
3285
|
}
|
|
3180
3286
|
/**
|
|
3287
|
+
* Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
3288
|
+
*
|
|
3289
|
+
* @param code - The source code of the builtin file
|
|
3290
|
+
* @param id - The unique identifier of the builtin file
|
|
3291
|
+
* @param path - An optional path to write the builtin file to
|
|
3292
|
+
* @param options - Optional write file options
|
|
3293
|
+
*/
|
|
3294
|
+
emitBuiltinSync(code, id, path, options) {
|
|
3295
|
+
return this.fs.writeSync(path ? isType.isAbsolute(path) ? path : join.joinPaths(this.builtinsPath, path) : append.appendPath(id, this.builtinsPath), code, defu6__default.default(options, {
|
|
3296
|
+
meta: {
|
|
3297
|
+
type: "builtin"
|
|
3298
|
+
}
|
|
3299
|
+
}));
|
|
3300
|
+
}
|
|
3301
|
+
/**
|
|
3181
3302
|
* Update the context using a new user configuration options
|
|
3182
3303
|
*
|
|
3183
3304
|
* @param userConfig - The new user configuration options.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTIWB6DZA_js = require('./chunk-TIWB6DZA.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 = chunkTIWB6DZA_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 chunkJG7KNXFN_js = require('./chunk-JG7KNXFN.js');
|
|
5
|
+
var chunk6ANZV3Y6_js = require('./chunk-6ANZV3Y6.js');
|
|
6
|
+
var chunkIX7XVV5R_js = require('./chunk-IX7XVV5R.js');
|
|
7
|
+
var chunkTHPKMDZ5_js = require('./chunk-THPKMDZ5.js');
|
|
8
|
+
var chunkV2CBP5GX_js = require('./chunk-V2CBP5GX.js');
|
|
9
|
+
require('./chunk-TIWB6DZA.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 chunkJG7KNXFN_js.executor_default; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "prepare", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk6ANZV3Y6_js.executor_default; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "build", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkIX7XVV5R_js.executor_default; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "clean", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkTHPKMDZ5_js.executor_default; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "docs", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkV2CBP5GX_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-3PSMNWFO.mjs';
|
|
3
|
+
export { executor_default as prepare } from './chunk-MBNVVV7L.mjs';
|
|
4
|
+
export { executor_default as build } from './chunk-2PMXBYLJ.mjs';
|
|
5
|
+
export { executor_default as clean } from './chunk-PJAJW4YF.mjs';
|
|
6
|
+
export { executor_default as docs } from './chunk-EGK7VH3Q.mjs';
|
|
7
|
+
import './chunk-LEGYBSEN.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 chunkJG7KNXFN_js = require('./chunk-JG7KNXFN.js');
|
|
6
|
+
var chunk6ANZV3Y6_js = require('./chunk-6ANZV3Y6.js');
|
|
7
|
+
var chunkIX7XVV5R_js = require('./chunk-IX7XVV5R.js');
|
|
8
|
+
var chunkTHPKMDZ5_js = require('./chunk-THPKMDZ5.js');
|
|
9
|
+
var chunkV2CBP5GX_js = require('./chunk-V2CBP5GX.js');
|
|
10
10
|
require('./chunk-N2YKXZ5R.js');
|
|
11
11
|
var chunkWUJKJGEW_js = require('./chunk-WUJKJGEW.js');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-TIWB6DZA.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 chunkJG7KNXFN_js.executor_default; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "prepare", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk6ANZV3Y6_js.executor_default; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "build", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkIX7XVV5R_js.executor_default; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "clean", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkTHPKMDZ5_js.executor_default; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "docs", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkV2CBP5GX_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-3PSMNWFO.mjs';
|
|
4
|
+
export { executor_default as prepare } from './chunk-MBNVVV7L.mjs';
|
|
5
|
+
export { executor_default as build } from './chunk-2PMXBYLJ.mjs';
|
|
6
|
+
export { executor_default as clean } from './chunk-PJAJW4YF.mjs';
|
|
7
|
+
export { executor_default as docs } from './chunk-EGK7VH3Q.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-LEGYBSEN.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 chunkTIWB6DZA_js = require('../../chunk-TIWB6DZA.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 chunkTIWB6DZA_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 chunkIX7XVV5R_js = require('../../../chunk-IX7XVV5R.js');
|
|
6
|
+
require('../../../chunk-TIWB6DZA.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 chunkIX7XVV5R_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkIX7XVV5R_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-2PMXBYLJ.mjs';
|
|
2
|
+
import '../../../chunk-LEGYBSEN.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 chunkTHPKMDZ5_js = require('../../../chunk-THPKMDZ5.js');
|
|
6
|
+
require('../../../chunk-TIWB6DZA.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 chunkTHPKMDZ5_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkTHPKMDZ5_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-PJAJW4YF.mjs';
|
|
2
|
+
import '../../../chunk-LEGYBSEN.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 chunkV2CBP5GX_js = require('../../../chunk-V2CBP5GX.js');
|
|
6
|
+
require('../../../chunk-TIWB6DZA.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 chunkV2CBP5GX_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkV2CBP5GX_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-EGK7VH3Q.mjs';
|
|
2
|
+
import '../../../chunk-LEGYBSEN.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 chunkJG7KNXFN_js = require('../../../chunk-JG7KNXFN.js');
|
|
6
|
+
require('../../../chunk-TIWB6DZA.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 chunkJG7KNXFN_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkJG7KNXFN_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-3PSMNWFO.mjs';
|
|
2
|
+
import '../../../chunk-LEGYBSEN.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 chunk6ANZV3Y6_js = require('../../../chunk-6ANZV3Y6.js');
|
|
6
|
+
require('../../../chunk-TIWB6DZA.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 chunk6ANZV3Y6_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk6ANZV3Y6_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-MBNVVV7L.mjs';
|
|
2
|
+
import '../../../chunk-LEGYBSEN.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.48",
|
|
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.22"
|
|
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": "f88fe8eb30f96536b83fc9af884972d48e31e63a"
|
|
214
214
|
}
|