@powerlines/nx 0.11.101 → 0.11.103

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.
Files changed (30) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{chunk-35JLVWIZ.js → chunk-4SW2IWIA.js} +29 -39
  3. package/dist/{chunk-THDDJ3NL.js → chunk-6U5R7RVP.js} +2 -2
  4. package/dist/{chunk-JTWYYRUV.mjs → chunk-BAHSA4EG.mjs} +1 -1
  5. package/dist/{chunk-DRKP3UD3.mjs → chunk-GKVSB657.mjs} +1 -1
  6. package/dist/{chunk-FIEZPH2A.js → chunk-H7JWPVKF.js} +2 -2
  7. package/dist/{chunk-2LXOPRLZ.js → chunk-HNOGCZNT.js} +2 -2
  8. package/dist/{chunk-AUPT4VUQ.js → chunk-IKVBUX6C.js} +2 -2
  9. package/dist/{chunk-EZ43OZB7.mjs → chunk-JEHYYDVW.mjs} +1 -1
  10. package/dist/{chunk-D3XH4KHP.mjs → chunk-JXGFYCUC.mjs} +1 -1
  11. package/dist/{chunk-YEJUTECW.mjs → chunk-LRR57G4E.mjs} +29 -39
  12. package/dist/{chunk-AF65WUYC.mjs → chunk-SM5BOG2B.mjs} +1 -1
  13. package/dist/{chunk-7FVEIMFU.js → chunk-UUXX4OI4.js} +2 -2
  14. package/dist/executors.js +11 -11
  15. package/dist/executors.mjs +6 -6
  16. package/dist/index.js +11 -11
  17. package/dist/index.mjs +6 -6
  18. package/dist/src/base/base-executor.js +2 -2
  19. package/dist/src/base/base-executor.mjs +1 -1
  20. package/dist/src/executors/build/executor.js +4 -4
  21. package/dist/src/executors/build/executor.mjs +2 -2
  22. package/dist/src/executors/clean/executor.js +4 -4
  23. package/dist/src/executors/clean/executor.mjs +2 -2
  24. package/dist/src/executors/docs/executor.js +4 -4
  25. package/dist/src/executors/docs/executor.mjs +2 -2
  26. package/dist/src/executors/lint/executor.js +4 -4
  27. package/dist/src/executors/lint/executor.mjs +2 -2
  28. package/dist/src/executors/prepare/executor.js +4 -4
  29. package/dist/src/executors/prepare/executor.mjs +2 -2
  30. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  # Changelog for Powerlines - Nx
4
4
 
5
+ ## [0.11.102](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.102) (01/16/2026)
6
+
7
+ ### Updated Dependencies
8
+
9
+ - Updated **powerlines** to **v0.37.46**
10
+
11
+ ## [0.11.101](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.101) (01/16/2026)
12
+
13
+ ### Updated Dependencies
14
+
15
+ - Updated **powerlines** to **v0.37.45**
16
+
5
17
  ## [0.11.100](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.100) (01/16/2026)
6
18
 
7
19
  ### Updated Dependencies
@@ -61,6 +61,7 @@ var parseTypeDefinition = require('@stryke/convert/parse-type-definition');
61
61
  var $ = require('@stryke/capnp');
62
62
  var buffer = require('@stryke/fs/buffer');
63
63
  var correctPath = require('@stryke/path/correct-path');
64
+ var globToRegex = require('@stryke/path/glob-to-regex');
64
65
  var isType = require('@stryke/path/is-type');
65
66
  var isRegexp = require('@stryke/type-checks/is-regexp');
66
67
  var buffer$1 = require('buffer');
@@ -106,7 +107,7 @@ var $__namespace = /*#__PURE__*/_interopNamespace($);
106
107
 
107
108
  // ../powerlines/package.json
108
109
  var package_default = {
109
- version: "0.37.44"};
110
+ version: "0.37.46"};
110
111
  function resolveModulePath(nodePath, state) {
111
112
  if (!t__namespace.isStringLiteral(nodePath.node)) {
112
113
  return;
@@ -1824,16 +1825,6 @@ var VirtualFileSystem = class _VirtualFileSystem {
1824
1825
  return normalizePath(path.includes("{") || path.includes("}") ? replacePathTokens(this.#context, path) : path, this.#context.builtinsPath, this.#context.config.output.builtinPrefix);
1825
1826
  }
1826
1827
  /**
1827
- * Builds a regular expression from a string pattern for path matching.
1828
- *
1829
- * @param path - The string pattern to convert.
1830
- * @returns A regular expression for matching paths.
1831
- */
1832
- #buildRegex(path) {
1833
- const token = "::GLOBSTAR::";
1834
- return new RegExp(`^${this.#normalizePath(path).replace(/\*\*/g, token).replace(/[.+^${}()|[\]\\]/g, "\\$&").replace(/\*/g, "[^/]*").replace(/\?/g, "[^/]").replace(new RegExp(token, "g"), ".*")}$`);
1835
- }
1836
- /**
1837
1828
  * Gets the storage adapter and relative key for a given key.
1838
1829
  *
1839
1830
  * @remarks
@@ -1876,7 +1867,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
1876
1867
  */
1877
1868
  #getStorages(base = "", includeParent = false) {
1878
1869
  const baseKey = this.resolveSync(base) || base;
1879
- return Object.keys(this.#storage).sort().reverse().filter((key) => isParentPath.isParentPath(key, baseKey) || includeParent && isParentPath.isParentPath(baseKey, key) || baseKey.includes("*") && (isParentPath.isParentPath(correctPath.stripStars(baseKey), key) || this.#buildRegex(replace.replaceExtension(baseKey)).test(key))).map((key) => ({
1870
+ return Object.keys(this.#storage).sort().reverse().filter((key) => isParentPath.isParentPath(key, baseKey) || includeParent && isParentPath.isParentPath(baseKey, key) || baseKey.includes("*") && (isParentPath.isParentPath(correctPath.stripStars(baseKey), key) || globToRegex.globToRegex(replace.replaceExtension(baseKey)).test(key))).map((key) => ({
1880
1871
  relativeBase: baseKey.length > key.length ? baseKey.slice(key.length) : void 0,
1881
1872
  base: key,
1882
1873
  adapter: this.#storage[key]
@@ -2283,7 +2274,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
2283
2274
  const results = [];
2284
2275
  for (const pattern of normalizeGlobPatterns(this.#context.workspaceConfig.workspaceRoot, patterns)) {
2285
2276
  const normalized = this.#normalizePath(pattern);
2286
- if (!/[*?[\]{}]/.test(normalized) && !normalized.includes("**")) {
2277
+ if (!/[*?[\]{}]/.test(normalized) && !normalized.includes("*")) {
2287
2278
  if (this.isDirectorySync(normalized)) {
2288
2279
  results.push(...await this.list(normalized));
2289
2280
  } else {
@@ -2292,17 +2283,17 @@ var VirtualFileSystem = class _VirtualFileSystem {
2292
2283
  results.push(resolved);
2293
2284
  }
2294
2285
  }
2295
- continue;
2296
- }
2297
- const absPattern = isType.isAbsolutePath(normalized) ? normalized : this.#normalizePath(append.appendPath(normalized, this.#context.workspaceConfig.workspaceRoot));
2298
- await Promise.all((await this.list(correctPath.stripStars(absPattern))).map(async (file) => {
2299
- if (this.#buildRegex(absPattern).test(file)) {
2300
- const resolved = this.resolveSync(file);
2301
- if (resolved && !results.includes(resolved)) {
2302
- results.push(resolved);
2286
+ } else {
2287
+ const absPattern = isType.isAbsolutePath(normalized) ? normalized : this.#normalizePath(append.appendPath(normalized, this.#context.workspaceConfig.workspaceRoot));
2288
+ await Promise.all((await this.list(correctPath.stripStars(absPattern))).map(async (file) => {
2289
+ if (globToRegex.globToRegex(absPattern).test(file)) {
2290
+ const resolved = await this.resolve(file);
2291
+ if (resolved && !results.includes(resolved)) {
2292
+ results.push(resolved);
2293
+ }
2303
2294
  }
2304
- }
2305
- }));
2295
+ }));
2296
+ }
2306
2297
  }
2307
2298
  return results;
2308
2299
  }
@@ -2316,7 +2307,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
2316
2307
  const results = [];
2317
2308
  for (const pattern of normalizeGlobPatterns(this.#context.workspaceConfig.workspaceRoot, patterns)) {
2318
2309
  const normalized = this.#normalizePath(pattern);
2319
- if (!/[*?[\]{}]/.test(normalized) && !normalized.includes("**")) {
2310
+ if (!/[*?[\]{}]/.test(normalized) && !normalized.includes("*")) {
2320
2311
  if (this.isDirectorySync(normalized)) {
2321
2312
  results.push(...this.listSync(normalized));
2322
2313
  } else {
@@ -2325,15 +2316,16 @@ var VirtualFileSystem = class _VirtualFileSystem {
2325
2316
  results.push(resolved);
2326
2317
  }
2327
2318
  }
2328
- continue;
2329
- }
2330
- const absPattern = isType.isAbsolutePath(normalized) ? normalized : this.#normalizePath(append.appendPath(normalized, this.#context.workspaceConfig.workspaceRoot));
2331
- const files = this.listSync(correctPath.stripStars(absPattern));
2332
- for (const file of files) {
2333
- if (this.#buildRegex(absPattern).test(file)) {
2334
- const resolved = this.resolveSync(file);
2335
- if (resolved && !results.includes(resolved)) {
2336
- results.push(resolved);
2319
+ } else {
2320
+ const absPattern = isType.isAbsolutePath(normalized) ? normalized : this.#normalizePath(append.appendPath(normalized, this.#context.workspaceConfig.workspaceRoot));
2321
+ const files = this.listSync(correctPath.stripStars(absPattern));
2322
+ for (const file of files) {
2323
+ const regex = globToRegex.globToRegex(absPattern);
2324
+ if (regex.test(file)) {
2325
+ const resolved = this.resolveSync(file);
2326
+ if (resolved && !results.includes(resolved)) {
2327
+ results.push(resolved);
2328
+ }
2337
2329
  }
2338
2330
  }
2339
2331
  }
@@ -3433,12 +3425,11 @@ var PowerlinesContext = class _PowerlinesContext {
3433
3425
  * @param options - Optional write file options
3434
3426
  */
3435
3427
  async emitEntry(code, path, options = {}) {
3436
- const entryPath = append.appendPath(replace.replacePath(replace.replacePath(replace.replacePath(path, this.entryPath), this.config.projectRoot), this.workspaceConfig.workspaceRoot), this.entryPath);
3437
- return this.emit(code, entryPath, defu6__default.default({
3428
+ return this.emit(code, append.appendPath(path, this.entryPath), defu6__default.default({
3438
3429
  meta: {
3439
3430
  type: "entry",
3440
3431
  properties: {
3441
- file: entryPath,
3432
+ file: append.appendPath(path, this.entryPath),
3442
3433
  name: options?.name,
3443
3434
  output: options?.output,
3444
3435
  "input.file": options?.input?.file,
@@ -3457,12 +3448,11 @@ var PowerlinesContext = class _PowerlinesContext {
3457
3448
  * @param options - Optional write file options
3458
3449
  */
3459
3450
  emitEntrySync(code, path, options = {}) {
3460
- const entryPath = append.appendPath(replace.replacePath(replace.replacePath(replace.replacePath(path, this.entryPath), this.config.projectRoot), this.workspaceConfig.workspaceRoot), this.entryPath);
3461
- return this.emitSync(code, entryPath, defu6__default.default({
3451
+ return this.emitSync(code, append.appendPath(path, this.entryPath), defu6__default.default({
3462
3452
  meta: {
3463
3453
  type: "entry",
3464
3454
  properties: {
3465
- file: entryPath,
3455
+ file: append.appendPath(path, this.entryPath),
3466
3456
  name: options?.name,
3467
3457
  output: options?.output,
3468
3458
  "input.file": options?.input?.file,
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk35JLVWIZ_js = require('./chunk-35JLVWIZ.js');
3
+ var chunk4SW2IWIA_js = require('./chunk-4SW2IWIA.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 = chunk35JLVWIZ_js.withExecutor("clean", executorFn);
14
+ var executor = chunk4SW2IWIA_js.withExecutor("clean", executorFn);
15
15
  var executor_default = executor;
16
16
 
17
17
  exports.executorFn = executorFn;
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-YEJUTECW.mjs';
1
+ import { withExecutor } from './chunk-LRR57G4E.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
 
4
4
  // src/executors/clean/executor.ts
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-YEJUTECW.mjs';
1
+ import { withExecutor } from './chunk-LRR57G4E.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
  import defu from 'defu';
4
4
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk35JLVWIZ_js = require('./chunk-35JLVWIZ.js');
3
+ var chunk4SW2IWIA_js = require('./chunk-4SW2IWIA.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 = chunk35JLVWIZ_js.withExecutor("build", executorFn);
22
+ var executor = chunk4SW2IWIA_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 chunk35JLVWIZ_js = require('./chunk-35JLVWIZ.js');
3
+ var chunk4SW2IWIA_js = require('./chunk-4SW2IWIA.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 = chunk35JLVWIZ_js.withExecutor("lint", executorFn);
14
+ var executor = chunk4SW2IWIA_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 chunk35JLVWIZ_js = require('./chunk-35JLVWIZ.js');
3
+ var chunk4SW2IWIA_js = require('./chunk-4SW2IWIA.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 = chunk35JLVWIZ_js.withExecutor("docs", executorFn);
14
+ var executor = chunk4SW2IWIA_js.withExecutor("docs", executorFn);
15
15
  var executor_default = executor;
16
16
 
17
17
  exports.executorFn = executorFn;
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-YEJUTECW.mjs';
1
+ import { withExecutor } from './chunk-LRR57G4E.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
 
4
4
  // src/executors/docs/executor.ts
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-YEJUTECW.mjs';
1
+ import { withExecutor } from './chunk-LRR57G4E.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
 
4
4
  // src/executors/lint/executor.ts
@@ -59,6 +59,7 @@ import { parseTypeDefinition } from '@stryke/convert/parse-type-definition';
59
59
  import * as $ from '@stryke/capnp';
60
60
  import { readFileBuffer, readFileBufferSync, writeFileBuffer } from '@stryke/fs/buffer';
61
61
  import { correctPath, stripStars } from '@stryke/path/correct-path';
62
+ import { globToRegex } from '@stryke/path/glob-to-regex';
62
63
  import { isAbsolutePath } from '@stryke/path/is-type';
63
64
  import { isRegExp } from '@stryke/type-checks/is-regexp';
64
65
  import { Blob as Blob$1 } from 'node:buffer';
@@ -77,7 +78,7 @@ import { resolve } from 'node:path';
77
78
 
78
79
  // ../powerlines/package.json
79
80
  var package_default = {
80
- version: "0.37.44"};
81
+ version: "0.37.46"};
81
82
  function resolveModulePath(nodePath, state) {
82
83
  if (!t.isStringLiteral(nodePath.node)) {
83
84
  return;
@@ -1795,16 +1796,6 @@ var VirtualFileSystem = class _VirtualFileSystem {
1795
1796
  return normalizePath(path.includes("{") || path.includes("}") ? replacePathTokens(this.#context, path) : path, this.#context.builtinsPath, this.#context.config.output.builtinPrefix);
1796
1797
  }
1797
1798
  /**
1798
- * Builds a regular expression from a string pattern for path matching.
1799
- *
1800
- * @param path - The string pattern to convert.
1801
- * @returns A regular expression for matching paths.
1802
- */
1803
- #buildRegex(path) {
1804
- const token = "::GLOBSTAR::";
1805
- return new RegExp(`^${this.#normalizePath(path).replace(/\*\*/g, token).replace(/[.+^${}()|[\]\\]/g, "\\$&").replace(/\*/g, "[^/]*").replace(/\?/g, "[^/]").replace(new RegExp(token, "g"), ".*")}$`);
1806
- }
1807
- /**
1808
1799
  * Gets the storage adapter and relative key for a given key.
1809
1800
  *
1810
1801
  * @remarks
@@ -1847,7 +1838,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
1847
1838
  */
1848
1839
  #getStorages(base = "", includeParent = false) {
1849
1840
  const baseKey = this.resolveSync(base) || base;
1850
- return Object.keys(this.#storage).sort().reverse().filter((key) => isParentPath(key, baseKey) || includeParent && isParentPath(baseKey, key) || baseKey.includes("*") && (isParentPath(stripStars(baseKey), key) || this.#buildRegex(replaceExtension(baseKey)).test(key))).map((key) => ({
1841
+ return Object.keys(this.#storage).sort().reverse().filter((key) => isParentPath(key, baseKey) || includeParent && isParentPath(baseKey, key) || baseKey.includes("*") && (isParentPath(stripStars(baseKey), key) || globToRegex(replaceExtension(baseKey)).test(key))).map((key) => ({
1851
1842
  relativeBase: baseKey.length > key.length ? baseKey.slice(key.length) : void 0,
1852
1843
  base: key,
1853
1844
  adapter: this.#storage[key]
@@ -2254,7 +2245,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
2254
2245
  const results = [];
2255
2246
  for (const pattern of normalizeGlobPatterns(this.#context.workspaceConfig.workspaceRoot, patterns)) {
2256
2247
  const normalized = this.#normalizePath(pattern);
2257
- if (!/[*?[\]{}]/.test(normalized) && !normalized.includes("**")) {
2248
+ if (!/[*?[\]{}]/.test(normalized) && !normalized.includes("*")) {
2258
2249
  if (this.isDirectorySync(normalized)) {
2259
2250
  results.push(...await this.list(normalized));
2260
2251
  } else {
@@ -2263,17 +2254,17 @@ var VirtualFileSystem = class _VirtualFileSystem {
2263
2254
  results.push(resolved);
2264
2255
  }
2265
2256
  }
2266
- continue;
2267
- }
2268
- const absPattern = isAbsolutePath(normalized) ? normalized : this.#normalizePath(appendPath(normalized, this.#context.workspaceConfig.workspaceRoot));
2269
- await Promise.all((await this.list(stripStars(absPattern))).map(async (file) => {
2270
- if (this.#buildRegex(absPattern).test(file)) {
2271
- const resolved = this.resolveSync(file);
2272
- if (resolved && !results.includes(resolved)) {
2273
- results.push(resolved);
2257
+ } else {
2258
+ const absPattern = isAbsolutePath(normalized) ? normalized : this.#normalizePath(appendPath(normalized, this.#context.workspaceConfig.workspaceRoot));
2259
+ await Promise.all((await this.list(stripStars(absPattern))).map(async (file) => {
2260
+ if (globToRegex(absPattern).test(file)) {
2261
+ const resolved = await this.resolve(file);
2262
+ if (resolved && !results.includes(resolved)) {
2263
+ results.push(resolved);
2264
+ }
2274
2265
  }
2275
- }
2276
- }));
2266
+ }));
2267
+ }
2277
2268
  }
2278
2269
  return results;
2279
2270
  }
@@ -2287,7 +2278,7 @@ var VirtualFileSystem = class _VirtualFileSystem {
2287
2278
  const results = [];
2288
2279
  for (const pattern of normalizeGlobPatterns(this.#context.workspaceConfig.workspaceRoot, patterns)) {
2289
2280
  const normalized = this.#normalizePath(pattern);
2290
- if (!/[*?[\]{}]/.test(normalized) && !normalized.includes("**")) {
2281
+ if (!/[*?[\]{}]/.test(normalized) && !normalized.includes("*")) {
2291
2282
  if (this.isDirectorySync(normalized)) {
2292
2283
  results.push(...this.listSync(normalized));
2293
2284
  } else {
@@ -2296,15 +2287,16 @@ var VirtualFileSystem = class _VirtualFileSystem {
2296
2287
  results.push(resolved);
2297
2288
  }
2298
2289
  }
2299
- continue;
2300
- }
2301
- const absPattern = isAbsolutePath(normalized) ? normalized : this.#normalizePath(appendPath(normalized, this.#context.workspaceConfig.workspaceRoot));
2302
- const files = this.listSync(stripStars(absPattern));
2303
- for (const file of files) {
2304
- if (this.#buildRegex(absPattern).test(file)) {
2305
- const resolved = this.resolveSync(file);
2306
- if (resolved && !results.includes(resolved)) {
2307
- results.push(resolved);
2290
+ } else {
2291
+ const absPattern = isAbsolutePath(normalized) ? normalized : this.#normalizePath(appendPath(normalized, this.#context.workspaceConfig.workspaceRoot));
2292
+ const files = this.listSync(stripStars(absPattern));
2293
+ for (const file of files) {
2294
+ const regex = globToRegex(absPattern);
2295
+ if (regex.test(file)) {
2296
+ const resolved = this.resolveSync(file);
2297
+ if (resolved && !results.includes(resolved)) {
2298
+ results.push(resolved);
2299
+ }
2308
2300
  }
2309
2301
  }
2310
2302
  }
@@ -3404,12 +3396,11 @@ var PowerlinesContext = class _PowerlinesContext {
3404
3396
  * @param options - Optional write file options
3405
3397
  */
3406
3398
  async emitEntry(code, path, options = {}) {
3407
- const entryPath = appendPath(replacePath(replacePath(replacePath(path, this.entryPath), this.config.projectRoot), this.workspaceConfig.workspaceRoot), this.entryPath);
3408
- return this.emit(code, entryPath, defu6({
3399
+ return this.emit(code, appendPath(path, this.entryPath), defu6({
3409
3400
  meta: {
3410
3401
  type: "entry",
3411
3402
  properties: {
3412
- file: entryPath,
3403
+ file: appendPath(path, this.entryPath),
3413
3404
  name: options?.name,
3414
3405
  output: options?.output,
3415
3406
  "input.file": options?.input?.file,
@@ -3428,12 +3419,11 @@ var PowerlinesContext = class _PowerlinesContext {
3428
3419
  * @param options - Optional write file options
3429
3420
  */
3430
3421
  emitEntrySync(code, path, options = {}) {
3431
- const entryPath = appendPath(replacePath(replacePath(replacePath(path, this.entryPath), this.config.projectRoot), this.workspaceConfig.workspaceRoot), this.entryPath);
3432
- return this.emitSync(code, entryPath, defu6({
3422
+ return this.emitSync(code, appendPath(path, this.entryPath), defu6({
3433
3423
  meta: {
3434
3424
  type: "entry",
3435
3425
  properties: {
3436
- file: entryPath,
3426
+ file: appendPath(path, this.entryPath),
3437
3427
  name: options?.name,
3438
3428
  output: options?.output,
3439
3429
  "input.file": options?.input?.file,
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-YEJUTECW.mjs';
1
+ import { withExecutor } from './chunk-LRR57G4E.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
  import defu from 'defu';
4
4
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk35JLVWIZ_js = require('./chunk-35JLVWIZ.js');
3
+ var chunk4SW2IWIA_js = require('./chunk-4SW2IWIA.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 = chunk35JLVWIZ_js.withExecutor("prepare", executorFn);
22
+ var executor = chunk4SW2IWIA_js.withExecutor("prepare", executorFn);
23
23
  var executor_default = executor;
24
24
 
25
25
  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 chunk2LXOPRLZ_js = require('./chunk-2LXOPRLZ.js');
5
- var chunk7FVEIMFU_js = require('./chunk-7FVEIMFU.js');
6
- var chunkFIEZPH2A_js = require('./chunk-FIEZPH2A.js');
7
- var chunkTHDDJ3NL_js = require('./chunk-THDDJ3NL.js');
8
- var chunkAUPT4VUQ_js = require('./chunk-AUPT4VUQ.js');
9
- require('./chunk-35JLVWIZ.js');
4
+ var chunkHNOGCZNT_js = require('./chunk-HNOGCZNT.js');
5
+ var chunkUUXX4OI4_js = require('./chunk-UUXX4OI4.js');
6
+ var chunkH7JWPVKF_js = require('./chunk-H7JWPVKF.js');
7
+ var chunk6U5R7RVP_js = require('./chunk-6U5R7RVP.js');
8
+ var chunkIKVBUX6C_js = require('./chunk-IKVBUX6C.js');
9
+ require('./chunk-4SW2IWIA.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 chunk2LXOPRLZ_js.executor_default; }
17
+ get: function () { return chunkHNOGCZNT_js.executor_default; }
18
18
  });
19
19
  Object.defineProperty(exports, "prepare", {
20
20
  enumerable: true,
21
- get: function () { return chunk7FVEIMFU_js.executor_default; }
21
+ get: function () { return chunkUUXX4OI4_js.executor_default; }
22
22
  });
23
23
  Object.defineProperty(exports, "build", {
24
24
  enumerable: true,
25
- get: function () { return chunkFIEZPH2A_js.executor_default; }
25
+ get: function () { return chunkH7JWPVKF_js.executor_default; }
26
26
  });
27
27
  Object.defineProperty(exports, "clean", {
28
28
  enumerable: true,
29
- get: function () { return chunkTHDDJ3NL_js.executor_default; }
29
+ get: function () { return chunk6U5R7RVP_js.executor_default; }
30
30
  });
31
31
  Object.defineProperty(exports, "docs", {
32
32
  enumerable: true,
33
- get: function () { return chunkAUPT4VUQ_js.executor_default; }
33
+ get: function () { return chunkIKVBUX6C_js.executor_default; }
34
34
  });
@@ -1,9 +1,9 @@
1
1
  import './chunk-UV4HQO3Y.mjs';
2
- export { executor_default as lint } from './chunk-D3XH4KHP.mjs';
3
- export { executor_default as prepare } from './chunk-AF65WUYC.mjs';
4
- export { executor_default as build } from './chunk-DRKP3UD3.mjs';
5
- export { executor_default as clean } from './chunk-JTWYYRUV.mjs';
6
- export { executor_default as docs } from './chunk-EZ43OZB7.mjs';
7
- import './chunk-YEJUTECW.mjs';
2
+ export { executor_default as lint } from './chunk-JXGFYCUC.mjs';
3
+ export { executor_default as prepare } from './chunk-SM5BOG2B.mjs';
4
+ export { executor_default as build } from './chunk-GKVSB657.mjs';
5
+ export { executor_default as clean } from './chunk-BAHSA4EG.mjs';
6
+ export { executor_default as docs } from './chunk-JEHYYDVW.mjs';
7
+ import './chunk-LRR57G4E.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 chunkWA6S6OWI_js = require('./chunk-WA6S6OWI.js');
4
4
  require('./chunk-XO62WWX4.js');
5
- var chunk2LXOPRLZ_js = require('./chunk-2LXOPRLZ.js');
6
- var chunk7FVEIMFU_js = require('./chunk-7FVEIMFU.js');
7
- var chunkFIEZPH2A_js = require('./chunk-FIEZPH2A.js');
8
- var chunkTHDDJ3NL_js = require('./chunk-THDDJ3NL.js');
9
- var chunkAUPT4VUQ_js = require('./chunk-AUPT4VUQ.js');
5
+ var chunkHNOGCZNT_js = require('./chunk-HNOGCZNT.js');
6
+ var chunkUUXX4OI4_js = require('./chunk-UUXX4OI4.js');
7
+ var chunkH7JWPVKF_js = require('./chunk-H7JWPVKF.js');
8
+ var chunk6U5R7RVP_js = require('./chunk-6U5R7RVP.js');
9
+ var chunkIKVBUX6C_js = require('./chunk-IKVBUX6C.js');
10
10
  require('./chunk-N2YKXZ5R.js');
11
11
  var chunkWUJKJGEW_js = require('./chunk-WUJKJGEW.js');
12
- require('./chunk-35JLVWIZ.js');
12
+ require('./chunk-4SW2IWIA.js');
13
13
  require('./chunk-NOSBV75N.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 chunk2LXOPRLZ_js.executor_default; }
26
+ get: function () { return chunkHNOGCZNT_js.executor_default; }
27
27
  });
28
28
  Object.defineProperty(exports, "prepare", {
29
29
  enumerable: true,
30
- get: function () { return chunk7FVEIMFU_js.executor_default; }
30
+ get: function () { return chunkUUXX4OI4_js.executor_default; }
31
31
  });
32
32
  Object.defineProperty(exports, "build", {
33
33
  enumerable: true,
34
- get: function () { return chunkFIEZPH2A_js.executor_default; }
34
+ get: function () { return chunkH7JWPVKF_js.executor_default; }
35
35
  });
36
36
  Object.defineProperty(exports, "clean", {
37
37
  enumerable: true,
38
- get: function () { return chunkTHDDJ3NL_js.executor_default; }
38
+ get: function () { return chunk6U5R7RVP_js.executor_default; }
39
39
  });
40
40
  Object.defineProperty(exports, "docs", {
41
41
  enumerable: true,
42
- get: function () { return chunkAUPT4VUQ_js.executor_default; }
42
+ get: function () { return chunkIKVBUX6C_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-IWSYHFCU.mjs';
2
2
  import './chunk-UV4HQO3Y.mjs';
3
- export { executor_default as lint } from './chunk-D3XH4KHP.mjs';
4
- export { executor_default as prepare } from './chunk-AF65WUYC.mjs';
5
- export { executor_default as build } from './chunk-DRKP3UD3.mjs';
6
- export { executor_default as clean } from './chunk-JTWYYRUV.mjs';
7
- export { executor_default as docs } from './chunk-EZ43OZB7.mjs';
3
+ export { executor_default as lint } from './chunk-JXGFYCUC.mjs';
4
+ export { executor_default as prepare } from './chunk-SM5BOG2B.mjs';
5
+ export { executor_default as build } from './chunk-GKVSB657.mjs';
6
+ export { executor_default as clean } from './chunk-BAHSA4EG.mjs';
7
+ export { executor_default as docs } from './chunk-JEHYYDVW.mjs';
8
8
  import './chunk-23KFTIT2.mjs';
9
9
  export { generator_default as sync, generatorFn as syncGenerator } from './chunk-326QB2VK.mjs';
10
- import './chunk-YEJUTECW.mjs';
10
+ import './chunk-LRR57G4E.mjs';
11
11
  import './chunk-KXFIN2NL.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 chunk35JLVWIZ_js = require('../../chunk-35JLVWIZ.js');
3
+ var chunk4SW2IWIA_js = require('../../chunk-4SW2IWIA.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 chunk35JLVWIZ_js.withExecutor; }
11
+ get: function () { return chunk4SW2IWIA_js.withExecutor; }
12
12
  });
@@ -1,3 +1,3 @@
1
- export { withExecutor } from '../../chunk-YEJUTECW.mjs';
1
+ export { withExecutor } from '../../chunk-LRR57G4E.mjs';
2
2
  import '../../chunk-OVX2CEXQ.mjs';
3
3
  import '../../chunk-O6YSETKJ.mjs';
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkFIEZPH2A_js = require('../../../chunk-FIEZPH2A.js');
6
- require('../../../chunk-35JLVWIZ.js');
5
+ var chunkH7JWPVKF_js = require('../../../chunk-H7JWPVKF.js');
6
+ require('../../../chunk-4SW2IWIA.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 chunkFIEZPH2A_js.executor_default; }
14
+ get: function () { return chunkH7JWPVKF_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkFIEZPH2A_js.executorFn; }
18
+ get: function () { return chunkH7JWPVKF_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-DRKP3UD3.mjs';
2
- import '../../../chunk-YEJUTECW.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-GKVSB657.mjs';
2
+ import '../../../chunk-LRR57G4E.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 chunkTHDDJ3NL_js = require('../../../chunk-THDDJ3NL.js');
6
- require('../../../chunk-35JLVWIZ.js');
5
+ var chunk6U5R7RVP_js = require('../../../chunk-6U5R7RVP.js');
6
+ require('../../../chunk-4SW2IWIA.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 chunkTHDDJ3NL_js.executor_default; }
14
+ get: function () { return chunk6U5R7RVP_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkTHDDJ3NL_js.executorFn; }
18
+ get: function () { return chunk6U5R7RVP_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-JTWYYRUV.mjs';
2
- import '../../../chunk-YEJUTECW.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-BAHSA4EG.mjs';
2
+ import '../../../chunk-LRR57G4E.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 chunkAUPT4VUQ_js = require('../../../chunk-AUPT4VUQ.js');
6
- require('../../../chunk-35JLVWIZ.js');
5
+ var chunkIKVBUX6C_js = require('../../../chunk-IKVBUX6C.js');
6
+ require('../../../chunk-4SW2IWIA.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 chunkAUPT4VUQ_js.executor_default; }
14
+ get: function () { return chunkIKVBUX6C_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkAUPT4VUQ_js.executorFn; }
18
+ get: function () { return chunkIKVBUX6C_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-EZ43OZB7.mjs';
2
- import '../../../chunk-YEJUTECW.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-JEHYYDVW.mjs';
2
+ import '../../../chunk-LRR57G4E.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 chunk2LXOPRLZ_js = require('../../../chunk-2LXOPRLZ.js');
6
- require('../../../chunk-35JLVWIZ.js');
5
+ var chunkHNOGCZNT_js = require('../../../chunk-HNOGCZNT.js');
6
+ require('../../../chunk-4SW2IWIA.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 chunk2LXOPRLZ_js.executor_default; }
14
+ get: function () { return chunkHNOGCZNT_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunk2LXOPRLZ_js.executorFn; }
18
+ get: function () { return chunkHNOGCZNT_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-D3XH4KHP.mjs';
2
- import '../../../chunk-YEJUTECW.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-JXGFYCUC.mjs';
2
+ import '../../../chunk-LRR57G4E.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 chunk7FVEIMFU_js = require('../../../chunk-7FVEIMFU.js');
6
- require('../../../chunk-35JLVWIZ.js');
5
+ var chunkUUXX4OI4_js = require('../../../chunk-UUXX4OI4.js');
6
+ require('../../../chunk-4SW2IWIA.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 chunk7FVEIMFU_js.executor_default; }
14
+ get: function () { return chunkUUXX4OI4_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunk7FVEIMFU_js.executorFn; }
18
+ get: function () { return chunkUUXX4OI4_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-AF65WUYC.mjs';
2
- import '../../../chunk-YEJUTECW.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-SM5BOG2B.mjs';
2
+ import '../../../chunk-LRR57G4E.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.101",
3
+ "version": "0.11.103",
4
4
  "description": "A Nx plugin to support Powerlines development in Nx monorepos.",
5
5
  "repository": {
6
6
  "type": "github",
@@ -188,15 +188,15 @@
188
188
  "@storm-software/esbuild": "^0.53.80",
189
189
  "@storm-software/unbuild": "^0.57.80",
190
190
  "@storm-software/workspace-tools": "^1.294.26",
191
- "@stryke/fs": "^0.33.30",
192
- "@stryke/hash": "^0.12.36",
193
- "@stryke/path": "^0.24.3",
194
- "@stryke/string-format": "^0.13.1",
195
- "@stryke/type-checks": "^0.5.17",
191
+ "@stryke/fs": "^0.33.35",
192
+ "@stryke/hash": "^0.12.41",
193
+ "@stryke/path": "^0.25.3",
194
+ "@stryke/string-format": "^0.13.3",
195
+ "@stryke/type-checks": "^0.5.19",
196
196
  "defu": "^6.1.4",
197
197
  "jiti": "^2.6.1",
198
198
  "nx": "22.3.3",
199
- "powerlines": "^0.37.45"
199
+ "powerlines": "^0.37.47"
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": "98320250bde7e4d99e3bfbb71b01b64392686868"
213
+ "gitHead": "f1392e3dedb999a5b1b981beab54365e614bfb4e"
214
214
  }