@powerlines/nx 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/{chunk-K6XBJH2L.js → chunk-2KAWJURA.js} +2 -2
  3. package/dist/{chunk-KVN36KM4.js → chunk-5DSETHHW.js} +2 -2
  4. package/dist/{chunk-YPHW2GBQ.mjs → chunk-CNNNEVWJ.mjs} +1 -1
  5. package/dist/{chunk-Y7YQWWS2.mjs → chunk-E5KDMPYX.mjs} +1 -1
  6. package/dist/{chunk-VRETYARN.js → chunk-GPR4LRJV.js} +2 -2
  7. package/dist/{chunk-JIRHFIPP.js → chunk-J2XU6B3K.js} +2 -2
  8. package/dist/{chunk-PSSLJDP5.mjs → chunk-KO42I6KA.mjs} +1 -1
  9. package/dist/{chunk-SH2Y2OGJ.js → chunk-LRONVULK.js} +45 -43
  10. package/dist/{chunk-LRQS76FH.mjs → chunk-QAEGJGQS.mjs} +1 -1
  11. package/dist/{chunk-F3B56YER.js → chunk-RK2TJCMI.js} +2 -2
  12. package/dist/{chunk-U6AMKLJF.mjs → chunk-THDQE26D.mjs} +1 -1
  13. package/dist/{chunk-4QSGA5A4.mjs → chunk-UQ4OVGQQ.mjs} +46 -44
  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 +3 -3
package/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  # Changelog for Powerlines - Nx
4
4
 
5
+ ## [0.3.0](https://github.com/storm-software/powerlines/releases/tag/nx%400.3.0) (2025-10-21)
6
+
7
+ ### Features
8
+
9
+ - **plugin-deepkit:** Initial check-in of the `deepkit` plugin module
10
+ ([cf91fac](https://github.com/storm-software/powerlines/commit/cf91fac))
11
+
12
+ ### Updated Dependencies
13
+
14
+ - Updated powerlines to 0.3.0
15
+
16
+ ## [0.2.0](https://github.com/storm-software/powerlines/releases/tag/nx%400.2.0) (2025-10-21)
17
+
18
+ ### Features
19
+
20
+ - **nx:** Added `runtimeFolder` configuration option to plugin
21
+ ([ddfa6fc](https://github.com/storm-software/powerlines/commit/ddfa6fc))
22
+
23
+ ### Updated Dependencies
24
+
25
+ - Updated powerlines to 0.2.0
26
+
5
27
  ## [0.1.0](https://github.com/storm-software/powerlines/releases/tag/nx%400.1.0) (2025-10-20)
6
28
 
7
29
  ### Updated Dependencies
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkSH2Y2OGJ_js = require('./chunk-SH2Y2OGJ.js');
3
+ var chunkLRONVULK_js = require('./chunk-LRONVULK.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 = chunkSH2Y2OGJ_js.withExecutor("clean", executorFn);
14
+ var executor = chunkLRONVULK_js.withExecutor("clean", 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 chunkSH2Y2OGJ_js = require('./chunk-SH2Y2OGJ.js');
3
+ var chunkLRONVULK_js = require('./chunk-LRONVULK.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 = chunkSH2Y2OGJ_js.withExecutor("lint", executorFn);
14
+ var executor = chunkLRONVULK_js.withExecutor("lint", executorFn);
15
15
  var executor_default = executor;
16
16
 
17
17
  exports.executorFn = executorFn;
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-4QSGA5A4.mjs';
1
+ import { withExecutor } from './chunk-UQ4OVGQQ.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
  import defu from 'defu';
4
4
 
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-4QSGA5A4.mjs';
1
+ import { withExecutor } from './chunk-UQ4OVGQQ.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
 
4
4
  // src/executors/clean/executor.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkSH2Y2OGJ_js = require('./chunk-SH2Y2OGJ.js');
3
+ var chunkLRONVULK_js = require('./chunk-LRONVULK.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 = chunkSH2Y2OGJ_js.withExecutor("docs", executorFn);
14
+ var executor = chunkLRONVULK_js.withExecutor("docs", 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 chunkSH2Y2OGJ_js = require('./chunk-SH2Y2OGJ.js');
3
+ var chunkLRONVULK_js = require('./chunk-LRONVULK.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 = chunkSH2Y2OGJ_js.withExecutor("build", executorFn);
22
+ var executor = chunkLRONVULK_js.withExecutor("build", executorFn);
23
23
  var executor_default = executor;
24
24
 
25
25
  exports.executorFn = executorFn;
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-4QSGA5A4.mjs';
1
+ import { withExecutor } from './chunk-UQ4OVGQQ.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
 
4
4
  // src/executors/lint/executor.ts
@@ -29,11 +29,11 @@ var Handlebars = require('handlebars');
29
29
  var json = require('@stryke/fs/json');
30
30
  var append = require('@stryke/path/append');
31
31
  var ts3 = require('typescript');
32
+ var titleCase = require('@stryke/string-format/title-case');
32
33
  var isUndefined = require('@stryke/type-checks/is-undefined');
33
34
  var writeFile$1 = require('@stryke/fs/write-file');
34
35
  var prettier = require('prettier');
35
36
  var resolve = require('@stryke/fs/resolve');
36
- var titleCase = require('@stryke/string-format/title-case');
37
37
  var getEnvPaths = require('@stryke/env/get-env-paths');
38
38
  var getWorkspaceRoot = require('@stryke/fs/get-workspace-root');
39
39
  var murmurhash = require('@stryke/hash/murmurhash');
@@ -187,26 +187,22 @@ ${parsedCommandLine.errors.map((error) => `- ${(error.category !== void 0 && err
187
187
  };
188
188
  }
189
189
  chunkSHUYVCID_js.__name(getParsedTypeScriptConfig, "getParsedTypeScriptConfig");
190
-
191
- // ../powerlines/src/lib/utilities/file-header.ts
192
- function getBaseFileHeader() {
190
+ function getBaseFileHeader(context) {
193
191
  return `
194
- // Generated with Powerlines
192
+ // Generated with ${titleCase.titleCase(context.config.framework)}
195
193
  // Note: Do not edit this file manually - it will be overwritten automatically
196
194
  `;
197
195
  }
198
196
  chunkSHUYVCID_js.__name(getBaseFileHeader, "getBaseFileHeader");
199
- function getFileHeader(directive = "", prettierIgnore = false) {
200
- if (directive && process.env.POWERLINES_LOCAL) {
201
- directive = directive.replaceAll("powerlines/runtime-types", "../../dist/packages/types");
202
- }
197
+ function getFileHeader(context, options = {}) {
198
+ const { directive = null, prettierIgnore = false } = options;
203
199
  return `/* eslint-disable */
204
200
  // biome-ignore lint: disable
205
201
  ${prettierIgnore ? `// prettier-ignore` : ""}${directive ? `
206
202
 
207
203
  ${directive}
208
204
  ` : "\n"}
209
- ${getBaseFileHeader()}
205
+ ${getBaseFileHeader(context)}
210
206
 
211
207
  `;
212
208
  }
@@ -1579,7 +1575,8 @@ var PowerlinesContext = class _PowerlinesContext {
1579
1575
  lint: config.lint,
1580
1576
  transform: config.transform,
1581
1577
  build: config.build,
1582
- override: config.override
1578
+ override: config.override,
1579
+ framework: config.framework
1583
1580
  };
1584
1581
  }
1585
1582
  /**
@@ -1592,16 +1589,23 @@ var PowerlinesContext = class _PowerlinesContext {
1592
1589
  static async from(workspaceRoot, config) {
1593
1590
  const context = new _PowerlinesContext(await chunkHHPODCTP_js.loadWorkspaceConfig(workspaceRoot, config.root));
1594
1591
  await context.withUserConfig(config);
1595
- context.corePackagePath = process.env.POWERLINES_LOCAL ? join.joinPaths(context.workspaceConfig.workspaceRoot, "packages/core") : await resolve.resolvePackage("powerlines");
1596
- if (!context.corePackagePath) {
1597
- throw new Error("Could not resolve powerlines package location.");
1592
+ context.powerlinesPath = await resolve.resolvePackage("powerlines");
1593
+ if (!context.powerlinesPath) {
1594
+ throw new Error("Could not resolve `powerlines` package location.");
1598
1595
  }
1599
1596
  return context;
1600
1597
  }
1598
+ /**
1599
+ * An object containing the dependencies that should be installed for the project
1600
+ */
1601
1601
  dependencies = {};
1602
+ /**
1603
+ * An object containing the development dependencies that should be installed for the project
1604
+ */
1605
+ devDependencies = {};
1602
1606
  reflections = {};
1603
1607
  persistedMeta = void 0;
1604
- corePackagePath;
1608
+ powerlinesPath;
1605
1609
  packageJson;
1606
1610
  projectJson = void 0;
1607
1611
  resolver;
@@ -1691,7 +1695,7 @@ var PowerlinesContext = class _PowerlinesContext {
1691
1695
  * Get the path to the artifacts directory for the project
1692
1696
  */
1693
1697
  get artifactsPath() {
1694
- return join.joinPaths(this.workspaceConfig.workspaceRoot, this.config.projectRoot, ".storm");
1698
+ return join.joinPaths(this.workspaceConfig.workspaceRoot, this.config.projectRoot, this.config.output.artifactsFolder);
1695
1699
  }
1696
1700
  /**
1697
1701
  * Get the path to the builtin modules used by the project
@@ -1875,9 +1879,9 @@ var PowerlinesContext = class _PowerlinesContext {
1875
1879
  output: {
1876
1880
  outputPath: join.joinPaths("dist", cacheKey.projectRoot),
1877
1881
  mode: "virtual",
1878
- dts: join.joinPaths(cacheKey.projectRoot, "powerlines.d.ts"),
1879
- builtinPrefix: "powerlines",
1880
- runtimeFolder: join.joinPaths(cacheKey.projectRoot, ".powerlines"),
1882
+ dts: join.joinPaths(cacheKey.projectRoot, `${config.framework ?? "powerlines"}.d.ts`),
1883
+ builtinPrefix: config.framework ?? "powerlines",
1884
+ artifactsFolder: join.joinPaths(cacheKey.projectRoot, `.${config.framework ?? "powerlines"}`),
1881
1885
  assets: [
1882
1886
  {
1883
1887
  glob: "LICENSE"
@@ -1895,6 +1899,7 @@ var PowerlinesContext = class _PowerlinesContext {
1895
1899
  }, options.isHighPriority ? {} : this.#getConfigProps(config), {
1896
1900
  inlineConfig: {},
1897
1901
  userConfig: {},
1902
+ framework: "powerlines",
1898
1903
  platform: "neutral",
1899
1904
  mode: "production",
1900
1905
  projectType: "application",
@@ -2090,9 +2095,9 @@ var PowerlinesEnvironmentContext = class _PowerlinesEnvironmentContext extends P
2090
2095
  static async fromConfig(workspaceConfig, config) {
2091
2096
  const context = new _PowerlinesEnvironmentContext(config, workspaceConfig);
2092
2097
  await context.init();
2093
- context.corePackagePath = process.env.POWERLINES_LOCAL ? joinPaths.joinPaths(context.workspaceConfig.workspaceRoot, "packages/core") : await resolve.resolvePackage("powerlines");
2094
- if (!context.corePackagePath) {
2095
- throw new Error("Could not resolve powerlines package location.");
2098
+ context.powerlinesPath = await resolve.resolvePackage("powerlines");
2099
+ if (!context.powerlinesPath) {
2100
+ throw new Error("Could not resolve `powerlines` package location.");
2096
2101
  }
2097
2102
  return context;
2098
2103
  }
@@ -2210,9 +2215,9 @@ var PowerlinesAPIContext = class _PowerlinesAPIContext extends PowerlinesContext
2210
2215
  static async from(workspaceRoot, config) {
2211
2216
  const context = new _PowerlinesAPIContext(await chunkHHPODCTP_js.loadWorkspaceConfig(workspaceRoot, config.root));
2212
2217
  await context.withUserConfig(config);
2213
- context.corePackagePath = process.env.POWERLINES_LOCAL ? joinPaths.joinPaths(context.workspaceConfig.workspaceRoot, "packages/core") : await resolve.resolvePackage("powerlines");
2214
- if (!context.corePackagePath) {
2215
- throw new Error("Could not resolve powerlines package location.");
2218
+ context.powerlinesPath = await resolve.resolvePackage("powerlines");
2219
+ if (!context.powerlinesPath) {
2220
+ throw new Error("Could not resolve `powerlines` package location.");
2216
2221
  }
2217
2222
  return context;
2218
2223
  }
@@ -2318,7 +2323,7 @@ async function installPackage(context, packageName, dev = false) {
2318
2323
  } else {
2319
2324
  context.log(types.LogLevelLabel.WARN, `The package "${packageName}" is not installed. Since the "skipInstalls" option is set to true, it will not be installed automatically.`);
2320
2325
  }
2321
- } else if (_package.hasPackageVersion(packageName) && !process.env.STORM_STACK_SKIP_VERSION_CHECK) {
2326
+ } else if (_package.hasPackageVersion(packageName) && !process.env.POWERLINES_SKIP_VERSION_CHECK) {
2322
2327
  const isMatching = await packageFns.doesPackageMatch(_package.getPackageName(packageName), _package.getPackageVersion(packageName), context.config.projectRoot);
2323
2328
  if (!isMatching) {
2324
2329
  const packageListing = await packageFns.getPackageListing(_package.getPackageName(packageName), {
@@ -2912,7 +2917,10 @@ ${diagnosticMessage.length > 5e3 ? `${diagnosticMessage.slice(0, 5e3)}...` : dia
2912
2917
  const sourceFile = getSourceFile(String(context.config.output.dts), `/// <reference types="powerlines/shared" />${context.config.build.platform !== "neutral" ? `
2913
2918
  /// <reference types="powerlines/${context.config.build.platform}" />` : ""}
2914
2919
 
2915
- ${getFileHeader(null, false)}
2920
+ ${getFileHeader(context, {
2921
+ directive: null,
2922
+ prettierIgnore: false
2923
+ })}
2916
2924
 
2917
2925
  ${builtinModules}`.replace(
2918
2926
  // eslint-disable-next-line regexp/no-super-linear-backtracking
@@ -2925,20 +2933,14 @@ chunkSHUYVCID_js.__name(generateTypes, "generateTypes");
2925
2933
  async function installDependencies(context) {
2926
2934
  context.log(types.LogLevelLabel.TRACE, `Checking and installing missing project dependencies.`);
2927
2935
  context.dependencies ??= {};
2928
- context.dependencies["powerlines"] = {
2929
- type: "dependency"
2930
- };
2936
+ context.dependencies.powerlines = "latest";
2931
2937
  if (context.config.projectType === "application") {
2932
- context.dependencies.unstorage = {
2933
- type: "dependency"
2934
- };
2935
- }
2936
- context.log(types.LogLevelLabel.TRACE, `The following packages must be installed as dependencies:
2937
- ${Object.keys(context.dependencies).map((key) => ` - ${_package.getPackageName(key)}${_package.hasPackageVersion(key) || isSetObject.isSetObject(context.dependencies[key]) && isSetString.isSetString(context.dependencies[key].version) ? ` v${isSetObject.isSetObject(context.dependencies[key]) && isSetString.isSetString(context.dependencies[key].version) ? context.dependencies[key].version : _package.getPackageVersion(key)}` : ""} (${(isString.isString(context.dependencies[key]) ? context.dependencies[key] : context.dependencies[key]?.type) || "dependency"})`).join("\n")}`);
2938
- for (const [key, value] of Object.entries(context.dependencies)) {
2939
- const version = isSetObject.isSetObject(value) && semverFns.isValidRange(value.version) && value.version || _package.getPackageVersion(key);
2940
- await installPackage(context, version ? `${_package.getPackageName(key)}@${String(version)}` : _package.getPackageName(key), (isSetString.isSetString(value) ? value : value.type) === "devDependency");
2938
+ context.dependencies.unstorage = "latest";
2941
2939
  }
2940
+ await Promise.all([
2941
+ Promise.all(Object.entries(context.dependencies).map(async ([name, version]) => installPackage(context, `${_package.getPackageName(name)}@${String(version)}`, false))),
2942
+ Promise.all(Object.entries(context.devDependencies).map(async ([name, version]) => installPackage(context, `${_package.getPackageName(name)}@${String(version)}`, true)))
2943
+ ]);
2942
2944
  }
2943
2945
  chunkSHUYVCID_js.__name(installDependencies, "installDependencies");
2944
2946
  async function resolveTsconfigChanges(context) {
@@ -3313,7 +3315,7 @@ ${console$1.formatLogMessage(context.config)}`);
3313
3315
  if (context.config.projectType === "application") {
3314
3316
  context.log(types.LogLevelLabel.TRACE, "Generating built-in barrel file");
3315
3317
  await context.fs.writeBuiltinFile("index", joinPaths.joinPaths(context.builtinsPath, "index.ts"), `
3316
- ${getFileHeader()}
3318
+ ${getFileHeader(context)}
3317
3319
 
3318
3320
  ${(await context.fs.listBuiltinFiles()).filter((file) => !isParentPath.isParentPath(file.path, joinPaths.joinPaths(context.builtinsPath, "log")) && !isParentPath.isParentPath(file.path, joinPaths.joinPaths(context.builtinsPath, "storage"))).map((file) => `export * from "./${replace.replacePath(file.path, context.builtinsPath).replace(`.${filePathFns.findFileExtensionSafe(file.path)}`, "")}";`).join("\n")}
3319
3321
  `);
@@ -3347,7 +3349,7 @@ ${console$1.formatLogMessage(context.config)}`);
3347
3349
  await this.#executeEnvironments(async (context) => {
3348
3350
  context.log(types.LogLevelLabel.TRACE, `Initializing the processing options for the Powerlines project.`);
3349
3351
  await this.callPreHook(context, "new");
3350
- const files = await listFiles.listFiles(joinPaths.joinPaths(context.corePackagePath, "files/common/**/*.hbs"));
3352
+ const files = await listFiles.listFiles(joinPaths.joinPaths(context.powerlinesPath, "files/common/**/*.hbs"));
3351
3353
  for (const file of files) {
3352
3354
  context.log(types.LogLevelLabel.TRACE, `Adding template file: ${file}`);
3353
3355
  const template = Handlebars__default.default.compile(file);
@@ -3355,14 +3357,14 @@ ${console$1.formatLogMessage(context.config)}`);
3355
3357
  }
3356
3358
  await this.callNormalHook(context, "new");
3357
3359
  if (context.config.projectType === "application") {
3358
- const files2 = await listFiles.listFiles(joinPaths.joinPaths(context.corePackagePath, "files/application/**/*.hbs"));
3360
+ const files2 = await listFiles.listFiles(joinPaths.joinPaths(context.powerlinesPath, "files/application/**/*.hbs"));
3359
3361
  for (const file of files2) {
3360
3362
  context.log(types.LogLevelLabel.TRACE, `Adding application template file: ${file}`);
3361
3363
  const template = Handlebars__default.default.compile(file);
3362
3364
  await writeFile(context.log, joinPaths.joinPaths(context.config.projectRoot, file.replace(".hbs", "")), template(context));
3363
3365
  }
3364
3366
  } else {
3365
- const files2 = await listFiles.listFiles(joinPaths.joinPaths(context.corePackagePath, "files/library/**/*.hbs"));
3367
+ const files2 = await listFiles.listFiles(joinPaths.joinPaths(context.powerlinesPath, "files/library/**/*.hbs"));
3366
3368
  for (const file of files2) {
3367
3369
  context.log(types.LogLevelLabel.TRACE, `Adding library template file: ${file}`);
3368
3370
  const template = Handlebars__default.default.compile(file);
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-4QSGA5A4.mjs';
1
+ import { withExecutor } from './chunk-UQ4OVGQQ.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 chunkSH2Y2OGJ_js = require('./chunk-SH2Y2OGJ.js');
3
+ var chunkLRONVULK_js = require('./chunk-LRONVULK.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 = chunkSH2Y2OGJ_js.withExecutor("prepare", executorFn);
22
+ var executor = chunkLRONVULK_js.withExecutor("prepare", executorFn);
23
23
  var executor_default = executor;
24
24
 
25
25
  exports.executorFn = executorFn;
@@ -1,4 +1,4 @@
1
- import { withExecutor } from './chunk-4QSGA5A4.mjs';
1
+ import { withExecutor } from './chunk-UQ4OVGQQ.mjs';
2
2
  import { __name } from './chunk-O6YSETKJ.mjs';
3
3
 
4
4
  // src/executors/docs/executor.ts
@@ -27,11 +27,11 @@ import Handlebars from 'handlebars';
27
27
  import { readJsonFile, readJsonFileSync } from '@stryke/fs/json';
28
28
  import { appendPath } from '@stryke/path/append';
29
29
  import ts3, { createProgram, createCompilerHost, getPreEmitDiagnostics, getLineAndCharacterOfPosition, flattenDiagnosticMessageText } from 'typescript';
30
+ import { titleCase } from '@stryke/string-format/title-case';
30
31
  import { isUndefined } from '@stryke/type-checks/is-undefined';
31
32
  import { writeFile as writeFile$1 } from '@stryke/fs/write-file';
32
33
  import { format, resolveConfig } from 'prettier';
33
34
  import { resolvePackage } from '@stryke/fs/resolve';
34
- import { titleCase } from '@stryke/string-format/title-case';
35
35
  import { getEnvPaths } from '@stryke/env/get-env-paths';
36
36
  import { relativeToWorkspaceRoot, getWorkspaceRoot } from '@stryke/fs/get-workspace-root';
37
37
  import { murmurhash } from '@stryke/hash/murmurhash';
@@ -56,7 +56,7 @@ import { Union } from 'unionfs';
56
56
  import { isObject } from '@stryke/type-checks/is-object';
57
57
  import { isDirectory } from '@stryke/fs/is-file';
58
58
  import { readFile, readFileIfExistingSync } from '@stryke/fs/read-file';
59
- import { isValidRange, parseVersion } from '@stryke/fs/semver-fns';
59
+ import { parseVersion } from '@stryke/fs/semver-fns';
60
60
  import { getParentPath } from '@stryke/path/get-parent-path';
61
61
  import path from 'node:path';
62
62
  import { hasPackageVersion, getPackageName, getPackageVersion } from '@stryke/string-format/package';
@@ -156,26 +156,22 @@ ${parsedCommandLine.errors.map((error) => `- ${(error.category !== void 0 && err
156
156
  };
157
157
  }
158
158
  __name(getParsedTypeScriptConfig, "getParsedTypeScriptConfig");
159
-
160
- // ../powerlines/src/lib/utilities/file-header.ts
161
- function getBaseFileHeader() {
159
+ function getBaseFileHeader(context) {
162
160
  return `
163
- // Generated with Powerlines
161
+ // Generated with ${titleCase(context.config.framework)}
164
162
  // Note: Do not edit this file manually - it will be overwritten automatically
165
163
  `;
166
164
  }
167
165
  __name(getBaseFileHeader, "getBaseFileHeader");
168
- function getFileHeader(directive = "", prettierIgnore = false) {
169
- if (directive && process.env.POWERLINES_LOCAL) {
170
- directive = directive.replaceAll("powerlines/runtime-types", "../../dist/packages/types");
171
- }
166
+ function getFileHeader(context, options = {}) {
167
+ const { directive = null, prettierIgnore = false } = options;
172
168
  return `/* eslint-disable */
173
169
  // biome-ignore lint: disable
174
170
  ${prettierIgnore ? `// prettier-ignore` : ""}${directive ? `
175
171
 
176
172
  ${directive}
177
173
  ` : "\n"}
178
- ${getBaseFileHeader()}
174
+ ${getBaseFileHeader(context)}
179
175
 
180
176
  `;
181
177
  }
@@ -1548,7 +1544,8 @@ var PowerlinesContext = class _PowerlinesContext {
1548
1544
  lint: config.lint,
1549
1545
  transform: config.transform,
1550
1546
  build: config.build,
1551
- override: config.override
1547
+ override: config.override,
1548
+ framework: config.framework
1552
1549
  };
1553
1550
  }
1554
1551
  /**
@@ -1561,16 +1558,23 @@ var PowerlinesContext = class _PowerlinesContext {
1561
1558
  static async from(workspaceRoot, config) {
1562
1559
  const context = new _PowerlinesContext(await loadWorkspaceConfig(workspaceRoot, config.root));
1563
1560
  await context.withUserConfig(config);
1564
- context.corePackagePath = process.env.POWERLINES_LOCAL ? joinPaths$1(context.workspaceConfig.workspaceRoot, "packages/core") : await resolvePackage("powerlines");
1565
- if (!context.corePackagePath) {
1566
- throw new Error("Could not resolve powerlines package location.");
1561
+ context.powerlinesPath = await resolvePackage("powerlines");
1562
+ if (!context.powerlinesPath) {
1563
+ throw new Error("Could not resolve `powerlines` package location.");
1567
1564
  }
1568
1565
  return context;
1569
1566
  }
1567
+ /**
1568
+ * An object containing the dependencies that should be installed for the project
1569
+ */
1570
1570
  dependencies = {};
1571
+ /**
1572
+ * An object containing the development dependencies that should be installed for the project
1573
+ */
1574
+ devDependencies = {};
1571
1575
  reflections = {};
1572
1576
  persistedMeta = void 0;
1573
- corePackagePath;
1577
+ powerlinesPath;
1574
1578
  packageJson;
1575
1579
  projectJson = void 0;
1576
1580
  resolver;
@@ -1660,7 +1664,7 @@ var PowerlinesContext = class _PowerlinesContext {
1660
1664
  * Get the path to the artifacts directory for the project
1661
1665
  */
1662
1666
  get artifactsPath() {
1663
- return joinPaths$1(this.workspaceConfig.workspaceRoot, this.config.projectRoot, ".storm");
1667
+ return joinPaths$1(this.workspaceConfig.workspaceRoot, this.config.projectRoot, this.config.output.artifactsFolder);
1664
1668
  }
1665
1669
  /**
1666
1670
  * Get the path to the builtin modules used by the project
@@ -1844,9 +1848,9 @@ var PowerlinesContext = class _PowerlinesContext {
1844
1848
  output: {
1845
1849
  outputPath: joinPaths$1("dist", cacheKey.projectRoot),
1846
1850
  mode: "virtual",
1847
- dts: joinPaths$1(cacheKey.projectRoot, "powerlines.d.ts"),
1848
- builtinPrefix: "powerlines",
1849
- runtimeFolder: joinPaths$1(cacheKey.projectRoot, ".powerlines"),
1851
+ dts: joinPaths$1(cacheKey.projectRoot, `${config.framework ?? "powerlines"}.d.ts`),
1852
+ builtinPrefix: config.framework ?? "powerlines",
1853
+ artifactsFolder: joinPaths$1(cacheKey.projectRoot, `.${config.framework ?? "powerlines"}`),
1850
1854
  assets: [
1851
1855
  {
1852
1856
  glob: "LICENSE"
@@ -1864,6 +1868,7 @@ var PowerlinesContext = class _PowerlinesContext {
1864
1868
  }, options.isHighPriority ? {} : this.#getConfigProps(config), {
1865
1869
  inlineConfig: {},
1866
1870
  userConfig: {},
1871
+ framework: "powerlines",
1867
1872
  platform: "neutral",
1868
1873
  mode: "production",
1869
1874
  projectType: "application",
@@ -2059,9 +2064,9 @@ var PowerlinesEnvironmentContext = class _PowerlinesEnvironmentContext extends P
2059
2064
  static async fromConfig(workspaceConfig, config) {
2060
2065
  const context = new _PowerlinesEnvironmentContext(config, workspaceConfig);
2061
2066
  await context.init();
2062
- context.corePackagePath = process.env.POWERLINES_LOCAL ? joinPaths(context.workspaceConfig.workspaceRoot, "packages/core") : await resolvePackage("powerlines");
2063
- if (!context.corePackagePath) {
2064
- throw new Error("Could not resolve powerlines package location.");
2067
+ context.powerlinesPath = await resolvePackage("powerlines");
2068
+ if (!context.powerlinesPath) {
2069
+ throw new Error("Could not resolve `powerlines` package location.");
2065
2070
  }
2066
2071
  return context;
2067
2072
  }
@@ -2179,9 +2184,9 @@ var PowerlinesAPIContext = class _PowerlinesAPIContext extends PowerlinesContext
2179
2184
  static async from(workspaceRoot, config) {
2180
2185
  const context = new _PowerlinesAPIContext(await loadWorkspaceConfig(workspaceRoot, config.root));
2181
2186
  await context.withUserConfig(config);
2182
- context.corePackagePath = process.env.POWERLINES_LOCAL ? joinPaths(context.workspaceConfig.workspaceRoot, "packages/core") : await resolvePackage("powerlines");
2183
- if (!context.corePackagePath) {
2184
- throw new Error("Could not resolve powerlines package location.");
2187
+ context.powerlinesPath = await resolvePackage("powerlines");
2188
+ if (!context.powerlinesPath) {
2189
+ throw new Error("Could not resolve `powerlines` package location.");
2185
2190
  }
2186
2191
  return context;
2187
2192
  }
@@ -2287,7 +2292,7 @@ async function installPackage(context, packageName, dev = false) {
2287
2292
  } else {
2288
2293
  context.log(LogLevelLabel.WARN, `The package "${packageName}" is not installed. Since the "skipInstalls" option is set to true, it will not be installed automatically.`);
2289
2294
  }
2290
- } else if (hasPackageVersion(packageName) && !process.env.STORM_STACK_SKIP_VERSION_CHECK) {
2295
+ } else if (hasPackageVersion(packageName) && !process.env.POWERLINES_SKIP_VERSION_CHECK) {
2291
2296
  const isMatching = await doesPackageMatch(getPackageName(packageName), getPackageVersion(packageName), context.config.projectRoot);
2292
2297
  if (!isMatching) {
2293
2298
  const packageListing = await getPackageListing(getPackageName(packageName), {
@@ -2881,7 +2886,10 @@ ${diagnosticMessage.length > 5e3 ? `${diagnosticMessage.slice(0, 5e3)}...` : dia
2881
2886
  const sourceFile = getSourceFile(String(context.config.output.dts), `/// <reference types="powerlines/shared" />${context.config.build.platform !== "neutral" ? `
2882
2887
  /// <reference types="powerlines/${context.config.build.platform}" />` : ""}
2883
2888
 
2884
- ${getFileHeader(null, false)}
2889
+ ${getFileHeader(context, {
2890
+ directive: null,
2891
+ prettierIgnore: false
2892
+ })}
2885
2893
 
2886
2894
  ${builtinModules}`.replace(
2887
2895
  // eslint-disable-next-line regexp/no-super-linear-backtracking
@@ -2894,20 +2902,14 @@ __name(generateTypes, "generateTypes");
2894
2902
  async function installDependencies(context) {
2895
2903
  context.log(LogLevelLabel.TRACE, `Checking and installing missing project dependencies.`);
2896
2904
  context.dependencies ??= {};
2897
- context.dependencies["powerlines"] = {
2898
- type: "dependency"
2899
- };
2905
+ context.dependencies.powerlines = "latest";
2900
2906
  if (context.config.projectType === "application") {
2901
- context.dependencies.unstorage = {
2902
- type: "dependency"
2903
- };
2904
- }
2905
- context.log(LogLevelLabel.TRACE, `The following packages must be installed as dependencies:
2906
- ${Object.keys(context.dependencies).map((key) => ` - ${getPackageName(key)}${hasPackageVersion(key) || isSetObject(context.dependencies[key]) && isSetString(context.dependencies[key].version) ? ` v${isSetObject(context.dependencies[key]) && isSetString(context.dependencies[key].version) ? context.dependencies[key].version : getPackageVersion(key)}` : ""} (${(isString(context.dependencies[key]) ? context.dependencies[key] : context.dependencies[key]?.type) || "dependency"})`).join("\n")}`);
2907
- for (const [key, value] of Object.entries(context.dependencies)) {
2908
- const version = isSetObject(value) && isValidRange(value.version) && value.version || getPackageVersion(key);
2909
- await installPackage(context, version ? `${getPackageName(key)}@${String(version)}` : getPackageName(key), (isSetString(value) ? value : value.type) === "devDependency");
2907
+ context.dependencies.unstorage = "latest";
2910
2908
  }
2909
+ await Promise.all([
2910
+ Promise.all(Object.entries(context.dependencies).map(async ([name, version]) => installPackage(context, `${getPackageName(name)}@${String(version)}`, false))),
2911
+ Promise.all(Object.entries(context.devDependencies).map(async ([name, version]) => installPackage(context, `${getPackageName(name)}@${String(version)}`, true)))
2912
+ ]);
2911
2913
  }
2912
2914
  __name(installDependencies, "installDependencies");
2913
2915
  async function resolveTsconfigChanges(context) {
@@ -3282,7 +3284,7 @@ ${formatLogMessage(context.config)}`);
3282
3284
  if (context.config.projectType === "application") {
3283
3285
  context.log(LogLevelLabel.TRACE, "Generating built-in barrel file");
3284
3286
  await context.fs.writeBuiltinFile("index", joinPaths(context.builtinsPath, "index.ts"), `
3285
- ${getFileHeader()}
3287
+ ${getFileHeader(context)}
3286
3288
 
3287
3289
  ${(await context.fs.listBuiltinFiles()).filter((file) => !isParentPath(file.path, joinPaths(context.builtinsPath, "log")) && !isParentPath(file.path, joinPaths(context.builtinsPath, "storage"))).map((file) => `export * from "./${replacePath(file.path, context.builtinsPath).replace(`.${findFileExtensionSafe(file.path)}`, "")}";`).join("\n")}
3288
3290
  `);
@@ -3316,7 +3318,7 @@ ${formatLogMessage(context.config)}`);
3316
3318
  await this.#executeEnvironments(async (context) => {
3317
3319
  context.log(LogLevelLabel.TRACE, `Initializing the processing options for the Powerlines project.`);
3318
3320
  await this.callPreHook(context, "new");
3319
- const files = await listFiles(joinPaths(context.corePackagePath, "files/common/**/*.hbs"));
3321
+ const files = await listFiles(joinPaths(context.powerlinesPath, "files/common/**/*.hbs"));
3320
3322
  for (const file of files) {
3321
3323
  context.log(LogLevelLabel.TRACE, `Adding template file: ${file}`);
3322
3324
  const template = Handlebars.compile(file);
@@ -3324,14 +3326,14 @@ ${formatLogMessage(context.config)}`);
3324
3326
  }
3325
3327
  await this.callNormalHook(context, "new");
3326
3328
  if (context.config.projectType === "application") {
3327
- const files2 = await listFiles(joinPaths(context.corePackagePath, "files/application/**/*.hbs"));
3329
+ const files2 = await listFiles(joinPaths(context.powerlinesPath, "files/application/**/*.hbs"));
3328
3330
  for (const file of files2) {
3329
3331
  context.log(LogLevelLabel.TRACE, `Adding application template file: ${file}`);
3330
3332
  const template = Handlebars.compile(file);
3331
3333
  await writeFile(context.log, joinPaths(context.config.projectRoot, file.replace(".hbs", "")), template(context));
3332
3334
  }
3333
3335
  } else {
3334
- const files2 = await listFiles(joinPaths(context.corePackagePath, "files/library/**/*.hbs"));
3336
+ const files2 = await listFiles(joinPaths(context.powerlinesPath, "files/library/**/*.hbs"));
3335
3337
  for (const file of files2) {
3336
3338
  context.log(LogLevelLabel.TRACE, `Adding library template file: ${file}`);
3337
3339
  const template = Handlebars.compile(file);
package/dist/executors.js CHANGED
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  require('./chunk-XO62WWX4.js');
4
- var chunkK6XBJH2L_js = require('./chunk-K6XBJH2L.js');
5
- var chunkVRETYARN_js = require('./chunk-VRETYARN.js');
6
- var chunkKVN36KM4_js = require('./chunk-KVN36KM4.js');
7
- var chunkF3B56YER_js = require('./chunk-F3B56YER.js');
8
- var chunkJIRHFIPP_js = require('./chunk-JIRHFIPP.js');
9
- require('./chunk-SH2Y2OGJ.js');
4
+ var chunk2KAWJURA_js = require('./chunk-2KAWJURA.js');
5
+ var chunkGPR4LRJV_js = require('./chunk-GPR4LRJV.js');
6
+ var chunk5DSETHHW_js = require('./chunk-5DSETHHW.js');
7
+ var chunkRK2TJCMI_js = require('./chunk-RK2TJCMI.js');
8
+ var chunkJ2XU6B3K_js = require('./chunk-J2XU6B3K.js');
9
+ require('./chunk-LRONVULK.js');
10
10
  require('./chunk-HHPODCTP.js');
11
11
  require('./chunk-SHUYVCID.js');
12
12
 
@@ -14,21 +14,21 @@ require('./chunk-SHUYVCID.js');
14
14
 
15
15
  Object.defineProperty(exports, "clean", {
16
16
  enumerable: true,
17
- get: function () { return chunkK6XBJH2L_js.executor_default; }
17
+ get: function () { return chunk2KAWJURA_js.executor_default; }
18
18
  });
19
19
  Object.defineProperty(exports, "docs", {
20
20
  enumerable: true,
21
- get: function () { return chunkVRETYARN_js.executor_default; }
21
+ get: function () { return chunkGPR4LRJV_js.executor_default; }
22
22
  });
23
23
  Object.defineProperty(exports, "lint", {
24
24
  enumerable: true,
25
- get: function () { return chunkKVN36KM4_js.executor_default; }
25
+ get: function () { return chunk5DSETHHW_js.executor_default; }
26
26
  });
27
27
  Object.defineProperty(exports, "prepare", {
28
28
  enumerable: true,
29
- get: function () { return chunkF3B56YER_js.executor_default; }
29
+ get: function () { return chunkRK2TJCMI_js.executor_default; }
30
30
  });
31
31
  Object.defineProperty(exports, "build", {
32
32
  enumerable: true,
33
- get: function () { return chunkJIRHFIPP_js.executor_default; }
33
+ get: function () { return chunkJ2XU6B3K_js.executor_default; }
34
34
  });
@@ -1,9 +1,9 @@
1
1
  import './chunk-UV4HQO3Y.mjs';
2
- export { executor_default as clean } from './chunk-Y7YQWWS2.mjs';
3
- export { executor_default as docs } from './chunk-U6AMKLJF.mjs';
4
- export { executor_default as lint } from './chunk-PSSLJDP5.mjs';
5
- export { executor_default as prepare } from './chunk-YPHW2GBQ.mjs';
6
- export { executor_default as build } from './chunk-LRQS76FH.mjs';
7
- import './chunk-4QSGA5A4.mjs';
2
+ export { executor_default as clean } from './chunk-E5KDMPYX.mjs';
3
+ export { executor_default as docs } from './chunk-THDQE26D.mjs';
4
+ export { executor_default as lint } from './chunk-KO42I6KA.mjs';
5
+ export { executor_default as prepare } from './chunk-CNNNEVWJ.mjs';
6
+ export { executor_default as build } from './chunk-QAEGJGQS.mjs';
7
+ import './chunk-UQ4OVGQQ.mjs';
8
8
  import './chunk-CYWOTYVX.mjs';
9
9
  import './chunk-O6YSETKJ.mjs';
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
3
  require('./chunk-XO62WWX4.js');
4
- var chunkK6XBJH2L_js = require('./chunk-K6XBJH2L.js');
5
- var chunkVRETYARN_js = require('./chunk-VRETYARN.js');
6
- var chunkKVN36KM4_js = require('./chunk-KVN36KM4.js');
7
- var chunkF3B56YER_js = require('./chunk-F3B56YER.js');
4
+ var chunk2KAWJURA_js = require('./chunk-2KAWJURA.js');
5
+ var chunkGPR4LRJV_js = require('./chunk-GPR4LRJV.js');
6
+ var chunk5DSETHHW_js = require('./chunk-5DSETHHW.js');
7
+ var chunkRK2TJCMI_js = require('./chunk-RK2TJCMI.js');
8
8
  require('./chunk-N2YKXZ5R.js');
9
9
  var chunkWUJKJGEW_js = require('./chunk-WUJKJGEW.js');
10
10
  var chunkZ4BJ37JY_js = require('./chunk-Z4BJ37JY.js');
11
- var chunkJIRHFIPP_js = require('./chunk-JIRHFIPP.js');
12
- require('./chunk-SH2Y2OGJ.js');
11
+ var chunkJ2XU6B3K_js = require('./chunk-J2XU6B3K.js');
12
+ require('./chunk-LRONVULK.js');
13
13
  require('./chunk-HHPODCTP.js');
14
14
  require('./chunk-SHUYVCID.js');
15
15
 
@@ -17,19 +17,19 @@ require('./chunk-SHUYVCID.js');
17
17
 
18
18
  Object.defineProperty(exports, "clean", {
19
19
  enumerable: true,
20
- get: function () { return chunkK6XBJH2L_js.executor_default; }
20
+ get: function () { return chunk2KAWJURA_js.executor_default; }
21
21
  });
22
22
  Object.defineProperty(exports, "docs", {
23
23
  enumerable: true,
24
- get: function () { return chunkVRETYARN_js.executor_default; }
24
+ get: function () { return chunkGPR4LRJV_js.executor_default; }
25
25
  });
26
26
  Object.defineProperty(exports, "lint", {
27
27
  enumerable: true,
28
- get: function () { return chunkKVN36KM4_js.executor_default; }
28
+ get: function () { return chunk5DSETHHW_js.executor_default; }
29
29
  });
30
30
  Object.defineProperty(exports, "prepare", {
31
31
  enumerable: true,
32
- get: function () { return chunkF3B56YER_js.executor_default; }
32
+ get: function () { return chunkRK2TJCMI_js.executor_default; }
33
33
  });
34
34
  Object.defineProperty(exports, "sync", {
35
35
  enumerable: true,
@@ -49,5 +49,5 @@ Object.defineProperty(exports, "name", {
49
49
  });
50
50
  Object.defineProperty(exports, "build", {
51
51
  enumerable: true,
52
- get: function () { return chunkJIRHFIPP_js.executor_default; }
52
+ get: function () { return chunkJ2XU6B3K_js.executor_default; }
53
53
  });
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  import './chunk-UV4HQO3Y.mjs';
2
- export { executor_default as clean } from './chunk-Y7YQWWS2.mjs';
3
- export { executor_default as docs } from './chunk-U6AMKLJF.mjs';
4
- export { executor_default as lint } from './chunk-PSSLJDP5.mjs';
5
- export { executor_default as prepare } from './chunk-YPHW2GBQ.mjs';
2
+ export { executor_default as clean } from './chunk-E5KDMPYX.mjs';
3
+ export { executor_default as docs } from './chunk-THDQE26D.mjs';
4
+ export { executor_default as lint } from './chunk-KO42I6KA.mjs';
5
+ export { executor_default as prepare } from './chunk-CNNNEVWJ.mjs';
6
6
  import './chunk-23KFTIT2.mjs';
7
7
  export { generator_default as sync, generatorFn as syncGenerator } from './chunk-326QB2VK.mjs';
8
8
  export { createNodesV2, name } from './chunk-22QO45EK.mjs';
9
- export { executor_default as build } from './chunk-LRQS76FH.mjs';
10
- import './chunk-4QSGA5A4.mjs';
9
+ export { executor_default as build } from './chunk-QAEGJGQS.mjs';
10
+ import './chunk-UQ4OVGQQ.mjs';
11
11
  import './chunk-CYWOTYVX.mjs';
12
12
  import './chunk-O6YSETKJ.mjs';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkSH2Y2OGJ_js = require('../../chunk-SH2Y2OGJ.js');
3
+ var chunkLRONVULK_js = require('../../chunk-LRONVULK.js');
4
4
  require('../../chunk-HHPODCTP.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 chunkSH2Y2OGJ_js.withExecutor; }
11
+ get: function () { return chunkLRONVULK_js.withExecutor; }
12
12
  });
@@ -1,3 +1,3 @@
1
- export { withExecutor } from '../../chunk-4QSGA5A4.mjs';
1
+ export { withExecutor } from '../../chunk-UQ4OVGQQ.mjs';
2
2
  import '../../chunk-CYWOTYVX.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 chunkJIRHFIPP_js = require('../../../chunk-JIRHFIPP.js');
6
- require('../../../chunk-SH2Y2OGJ.js');
5
+ var chunkJ2XU6B3K_js = require('../../../chunk-J2XU6B3K.js');
6
+ require('../../../chunk-LRONVULK.js');
7
7
  require('../../../chunk-HHPODCTP.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 chunkJIRHFIPP_js.executor_default; }
14
+ get: function () { return chunkJ2XU6B3K_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkJIRHFIPP_js.executorFn; }
18
+ get: function () { return chunkJ2XU6B3K_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-LRQS76FH.mjs';
2
- import '../../../chunk-4QSGA5A4.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-QAEGJGQS.mjs';
2
+ import '../../../chunk-UQ4OVGQQ.mjs';
3
3
  import '../../../chunk-CYWOTYVX.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 chunkK6XBJH2L_js = require('../../../chunk-K6XBJH2L.js');
6
- require('../../../chunk-SH2Y2OGJ.js');
5
+ var chunk2KAWJURA_js = require('../../../chunk-2KAWJURA.js');
6
+ require('../../../chunk-LRONVULK.js');
7
7
  require('../../../chunk-HHPODCTP.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 chunkK6XBJH2L_js.executor_default; }
14
+ get: function () { return chunk2KAWJURA_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkK6XBJH2L_js.executorFn; }
18
+ get: function () { return chunk2KAWJURA_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-Y7YQWWS2.mjs';
2
- import '../../../chunk-4QSGA5A4.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-E5KDMPYX.mjs';
2
+ import '../../../chunk-UQ4OVGQQ.mjs';
3
3
  import '../../../chunk-CYWOTYVX.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 chunkVRETYARN_js = require('../../../chunk-VRETYARN.js');
6
- require('../../../chunk-SH2Y2OGJ.js');
5
+ var chunkGPR4LRJV_js = require('../../../chunk-GPR4LRJV.js');
6
+ require('../../../chunk-LRONVULK.js');
7
7
  require('../../../chunk-HHPODCTP.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 chunkVRETYARN_js.executor_default; }
14
+ get: function () { return chunkGPR4LRJV_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkVRETYARN_js.executorFn; }
18
+ get: function () { return chunkGPR4LRJV_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-U6AMKLJF.mjs';
2
- import '../../../chunk-4QSGA5A4.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-THDQE26D.mjs';
2
+ import '../../../chunk-UQ4OVGQQ.mjs';
3
3
  import '../../../chunk-CYWOTYVX.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 chunkKVN36KM4_js = require('../../../chunk-KVN36KM4.js');
6
- require('../../../chunk-SH2Y2OGJ.js');
5
+ var chunk5DSETHHW_js = require('../../../chunk-5DSETHHW.js');
6
+ require('../../../chunk-LRONVULK.js');
7
7
  require('../../../chunk-HHPODCTP.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 chunkKVN36KM4_js.executor_default; }
14
+ get: function () { return chunk5DSETHHW_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkKVN36KM4_js.executorFn; }
18
+ get: function () { return chunk5DSETHHW_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-PSSLJDP5.mjs';
2
- import '../../../chunk-4QSGA5A4.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-KO42I6KA.mjs';
2
+ import '../../../chunk-UQ4OVGQQ.mjs';
3
3
  import '../../../chunk-CYWOTYVX.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 chunkF3B56YER_js = require('../../../chunk-F3B56YER.js');
6
- require('../../../chunk-SH2Y2OGJ.js');
5
+ var chunkRK2TJCMI_js = require('../../../chunk-RK2TJCMI.js');
6
+ require('../../../chunk-LRONVULK.js');
7
7
  require('../../../chunk-HHPODCTP.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 chunkF3B56YER_js.executor_default; }
14
+ get: function () { return chunkRK2TJCMI_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkF3B56YER_js.executorFn; }
18
+ get: function () { return chunkRK2TJCMI_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-YPHW2GBQ.mjs';
2
- import '../../../chunk-4QSGA5A4.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-CNNNEVWJ.mjs';
2
+ import '../../../chunk-UQ4OVGQQ.mjs';
3
3
  import '../../../chunk-CYWOTYVX.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.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "A Nx plugin to support Powerlines development in Nx monorepos.",
5
5
  "repository": {
6
6
  "type": "github",
@@ -154,7 +154,7 @@
154
154
  "defu": "^6.1.4",
155
155
  "jiti": "^2.6.1",
156
156
  "nx": "21.5.3",
157
- "powerlines": "^0.2.0"
157
+ "powerlines": "^0.4.0"
158
158
  },
159
159
  "devDependencies": {
160
160
  "@nx/workspace": "21.5.3",
@@ -168,5 +168,5 @@
168
168
  "publishConfig": { "access": "public" },
169
169
  "executors": "./executors.json",
170
170
  "generators": "./generators.json",
171
- "gitHead": "319be4880b93666a6dafe38d60278a8cad920f0b"
171
+ "gitHead": "f4d0c8a8f0036ac8de46ac96afd9336a390a7268"
172
172
  }