@powerlines/nx 0.9.4 → 0.10.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 (55) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +34 -32
  3. package/dist/{chunk-RLV2BDHW.mjs → chunk-3E654WM2.mjs} +1 -1
  4. package/dist/{chunk-JMPM6JPD.js → chunk-5BPEG52U.js} +2 -2
  5. package/dist/chunk-67ALH5AX.js +327 -0
  6. package/dist/{chunk-Y2I6ZDWH.js → chunk-DODH7R3U.js} +2 -2
  7. package/dist/{chunk-SV7QXBCB.mjs → chunk-DVGRVHRD.mjs} +51 -52
  8. package/dist/{chunk-EVC3CWDX.mjs → chunk-H4ROBXJM.mjs} +1 -1
  9. package/dist/{chunk-P5UNWOB6.js → chunk-IS2MEDGI.js} +2 -2
  10. package/dist/chunk-KBRKYARM.mjs +320 -0
  11. package/dist/{chunk-IXFAMU7J.js → chunk-MI5C7LYS.js} +2 -2
  12. package/dist/{chunk-TEBG7V3S.mjs → chunk-MSR5HSGP.mjs} +513 -481
  13. package/dist/{chunk-GW5UQFFS.js → chunk-NFAKPYKX.js} +2 -2
  14. package/dist/{chunk-HTYRXIRM.mjs → chunk-QEHHWZYD.mjs} +1 -1
  15. package/dist/{chunk-F3XVH3HG.mjs → chunk-QY2HEZSZ.mjs} +1 -1
  16. package/dist/{chunk-OVUCSGTD.mjs → chunk-RPI3PNLJ.mjs} +1 -1
  17. package/dist/{chunk-JTW7QFIT.js → chunk-SXA7B3TE.js} +533 -502
  18. package/dist/{chunk-4UWZOCEA.js → chunk-UOTRU26N.js} +51 -52
  19. package/dist/executors.js +12 -12
  20. package/dist/executors.mjs +7 -7
  21. package/dist/index.d.mts +1 -1
  22. package/dist/index.d.ts +1 -1
  23. package/dist/index.js +15 -15
  24. package/dist/index.mjs +8 -8
  25. package/dist/src/base/base-executor.js +3 -3
  26. package/dist/src/base/base-executor.mjs +2 -2
  27. package/dist/src/executors/build/executor.js +5 -5
  28. package/dist/src/executors/build/executor.mjs +3 -3
  29. package/dist/src/executors/build/schema.d.ts +85 -0
  30. package/dist/src/executors/build/schema.json +96 -0
  31. package/dist/src/executors/clean/executor.js +5 -5
  32. package/dist/src/executors/clean/executor.mjs +3 -3
  33. package/dist/src/executors/clean/schema.d.ts +75 -0
  34. package/dist/src/executors/clean/schema.json +77 -0
  35. package/dist/src/executors/docs/executor.js +5 -5
  36. package/dist/src/executors/docs/executor.mjs +3 -3
  37. package/dist/src/executors/docs/schema.d.ts +75 -0
  38. package/dist/src/executors/docs/schema.json +77 -0
  39. package/dist/src/executors/lint/executor.js +5 -5
  40. package/dist/src/executors/lint/executor.mjs +3 -3
  41. package/dist/src/executors/lint/schema.d.ts +75 -0
  42. package/dist/src/executors/lint/schema.json +77 -0
  43. package/dist/src/executors/prepare/executor.js +5 -5
  44. package/dist/src/executors/prepare/executor.mjs +3 -3
  45. package/dist/src/executors/prepare/schema.d.ts +75 -0
  46. package/dist/src/executors/prepare/schema.json +77 -0
  47. package/dist/src/generators/sync/schema.d.ts +15 -0
  48. package/dist/src/generators/sync/schema.json +19 -0
  49. package/dist/src/plugin/index.d.mts +173 -11
  50. package/dist/src/plugin/index.d.ts +173 -11
  51. package/dist/src/plugin/index.js +4 -4
  52. package/dist/src/plugin/index.mjs +2 -2
  53. package/package.json +18 -18
  54. package/dist/chunk-FFBOHADM.mjs +0 -286
  55. package/dist/chunk-IFMXBBI7.js +0 -293
@@ -1,68 +1,26 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
4
- var types = require('@storm-software/config-tools/types');
4
+ var getConfig = require('@storm-software/config-tools/get-config');
5
5
  var exists = require('@stryke/fs/exists');
6
+ var joinPaths = require('@stryke/path/join-paths');
7
+ var isFunction = require('@stryke/type-checks/is-function');
8
+ var isSetObject = require('@stryke/type-checks/is-set-object');
9
+ var c12 = require('c12');
10
+ var defu = require('defu');
11
+ var types = require('@storm-software/config-tools/types');
6
12
  require('@stryke/fs/json');
7
13
  require('@stryke/fs/list-files');
8
14
  require('@stryke/fs/remove-file');
9
15
  var hashFiles = require('@stryke/hash/hash-files');
10
16
  require('@stryke/helpers/get-unique');
11
17
  require('@stryke/path/file-path-fns');
12
- var joinPaths = require('@stryke/path/join-paths');
13
18
  var kebabCase = require('@stryke/string-format/kebab-case');
14
- var getConfig = require('@storm-software/config-tools/get-config');
15
- var isFunction = require('@stryke/type-checks/is-function');
16
- var isSetObject = require('@stryke/type-checks/is-set-object');
17
- var c12 = require('c12');
18
- var defu = require('defu');
19
19
 
20
20
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
21
21
 
22
22
  var defu__default = /*#__PURE__*/_interopDefault(defu);
23
23
 
24
- // ../powerlines/src/types/vfs.ts
25
- var __VFS_INIT__ = "__VFS_INIT__";
26
- var __VFS_REVERT__ = "__VFS_REVERT__";
27
- var __VFS_CACHE__ = "__VFS_CACHE__";
28
- var __VFS_RESOLVER__ = "__VFS_RESOLVER__";
29
- var __VFS_VIRTUAL__ = "__VFS_VIRTUAL__";
30
- var __VFS_UNIFIED__ = "__VFS_UNIFIED__";
31
-
32
- // ../powerlines/src/lib/utilities/meta.ts
33
- var PROJECT_ROOT_HASH_LENGTH = 45;
34
- var CACHE_HASH_LENGTH = 62;
35
- function getPrefixedProjectRootHash(name, projectRootHash) {
36
- const combined = `${kebabCase.kebabCase(name)}_${projectRootHash}`;
37
- return combined.length > PROJECT_ROOT_HASH_LENGTH ? combined.slice(0, PROJECT_ROOT_HASH_LENGTH) : combined;
38
- }
39
- chunkSHUYVCID_js.__name(getPrefixedProjectRootHash, "getPrefixedProjectRootHash");
40
- async function getChecksum(path) {
41
- return hashFiles.hashDirectory(path, {
42
- ignore: [
43
- "node_modules",
44
- ".git",
45
- ".nx",
46
- ".cache",
47
- ".storm",
48
- "tmp",
49
- "dist"
50
- ]
51
- });
52
- }
53
- chunkSHUYVCID_js.__name(getChecksum, "getChecksum");
54
- async function writeMetaFile(context) {
55
- const metaFilePath = joinPaths.joinPaths(context.dataPath, "meta.json");
56
- context.log(types.LogLevelLabel.DEBUG, `Writing runtime metadata to ${metaFilePath}`);
57
- await context.fs.writeFile(metaFilePath, JSON.stringify({
58
- ...context.meta,
59
- virtualFiles: context.fs[__VFS_VIRTUAL__].toJSON(context.artifactsPath),
60
- virtualFilesMeta: context.fs.getPartialMeta()
61
- }, null, 2), {
62
- mode: "fs"
63
- });
64
- }
65
- chunkSHUYVCID_js.__name(writeMetaFile, "writeMetaFile");
66
24
  async function loadWorkspaceConfig(workspaceRoot, cwd) {
67
25
  return defu__default.default({
68
26
  workspaceRoot
@@ -73,9 +31,9 @@ async function loadWorkspaceConfig(workspaceRoot, cwd) {
73
31
  }));
74
32
  }
75
33
  chunkSHUYVCID_js.__name(loadWorkspaceConfig, "loadWorkspaceConfig");
76
- async function loadUserConfigFile(projectRoot, jiti, command, mode, configFile) {
34
+ async function loadUserConfigFile(projectRoot, jiti, command, mode, configFile, framework = "powerlines") {
77
35
  let resolvedUserConfig = {};
78
- const resolvedUserConfigFile = configFile && exists.existsSync(configFile) ? configFile : configFile && exists.existsSync(joinPaths.joinPaths(projectRoot, configFile)) ? joinPaths.joinPaths(projectRoot, configFile) : exists.existsSync(joinPaths.joinPaths(projectRoot, "powerlines.config.ts")) ? joinPaths.joinPaths(projectRoot, "powerlines.config.ts") : exists.existsSync(joinPaths.joinPaths(projectRoot, "powerlines.config.js")) ? joinPaths.joinPaths(projectRoot, "powerlines.config.js") : exists.existsSync(joinPaths.joinPaths(projectRoot, "powerlines.config.mts")) ? joinPaths.joinPaths(projectRoot, "powerlines.config.mts") : exists.existsSync(joinPaths.joinPaths(projectRoot, "powerlines.config.mjs")) ? joinPaths.joinPaths(projectRoot, "powerlines.config.mjs") : void 0;
36
+ const resolvedUserConfigFile = configFile && exists.existsSync(configFile) ? configFile : configFile && exists.existsSync(joinPaths.joinPaths(projectRoot, configFile)) ? joinPaths.joinPaths(projectRoot, configFile) : exists.existsSync(joinPaths.joinPaths(projectRoot, `${framework}.config.ts`)) ? joinPaths.joinPaths(projectRoot, `${framework}.config.ts`) : exists.existsSync(joinPaths.joinPaths(projectRoot, `${framework}.config.js`)) ? joinPaths.joinPaths(projectRoot, `${framework}.config.js`) : exists.existsSync(joinPaths.joinPaths(projectRoot, `${framework}.config.mts`)) ? joinPaths.joinPaths(projectRoot, `${framework}.config.mts`) : exists.existsSync(joinPaths.joinPaths(projectRoot, `${framework}.config.mjs`)) ? joinPaths.joinPaths(projectRoot, `${framework}.config.mjs`) : void 0;
79
37
  if (resolvedUserConfigFile) {
80
38
  const resolved = await jiti.import(jiti.esmResolve(resolvedUserConfigFile));
81
39
  if (resolved) {
@@ -99,7 +57,7 @@ async function loadUserConfigFile(projectRoot, jiti, command, mode, configFile)
99
57
  }
100
58
  const result = await c12.loadConfig({
101
59
  cwd: projectRoot,
102
- name: "powerlines",
60
+ name: framework,
103
61
  envName: mode,
104
62
  globalRc: true,
105
63
  packageJson: true,
@@ -113,6 +71,47 @@ async function loadUserConfigFile(projectRoot, jiti, command, mode, configFile)
113
71
  }
114
72
  chunkSHUYVCID_js.__name(loadUserConfigFile, "loadUserConfigFile");
115
73
 
74
+ // ../powerlines/src/types/vfs.ts
75
+ var __VFS_INIT__ = "__VFS_INIT__";
76
+ var __VFS_REVERT__ = "__VFS_REVERT__";
77
+ var __VFS_CACHE__ = "__VFS_CACHE__";
78
+ var __VFS_RESOLVER__ = "__VFS_RESOLVER__";
79
+ var __VFS_VIRTUAL__ = "__VFS_VIRTUAL__";
80
+ var __VFS_UNIFIED__ = "__VFS_UNIFIED__";
81
+ var PROJECT_ROOT_HASH_LENGTH = 45;
82
+ var CACHE_HASH_LENGTH = 62;
83
+ function getPrefixedProjectRootHash(name, projectRootHash) {
84
+ const combined = `${kebabCase.kebabCase(name)}_${projectRootHash}`;
85
+ return combined.length > PROJECT_ROOT_HASH_LENGTH ? combined.slice(0, PROJECT_ROOT_HASH_LENGTH) : combined;
86
+ }
87
+ chunkSHUYVCID_js.__name(getPrefixedProjectRootHash, "getPrefixedProjectRootHash");
88
+ async function getChecksum(path) {
89
+ return hashFiles.hashDirectory(path, {
90
+ ignore: [
91
+ "node_modules",
92
+ ".git",
93
+ ".nx",
94
+ ".cache",
95
+ ".storm",
96
+ "tmp",
97
+ "dist"
98
+ ]
99
+ });
100
+ }
101
+ chunkSHUYVCID_js.__name(getChecksum, "getChecksum");
102
+ async function writeMetaFile(context) {
103
+ const metaFilePath = joinPaths.joinPaths(context.dataPath, "meta.json");
104
+ context.log(types.LogLevelLabel.DEBUG, `Writing runtime metadata to ${metaFilePath}`);
105
+ await context.fs.writeFile(metaFilePath, JSON.stringify({
106
+ ...context.meta,
107
+ virtualFiles: context.fs[__VFS_VIRTUAL__].toJSON(context.artifactsPath),
108
+ virtualFilesMeta: context.fs.getPartialMeta()
109
+ }, null, 2), {
110
+ mode: "fs"
111
+ });
112
+ }
113
+ chunkSHUYVCID_js.__name(writeMetaFile, "writeMetaFile");
114
+
116
115
  exports.CACHE_HASH_LENGTH = CACHE_HASH_LENGTH;
117
116
  exports.PROJECT_ROOT_HASH_LENGTH = PROJECT_ROOT_HASH_LENGTH;
118
117
  exports.__VFS_CACHE__ = __VFS_CACHE__;
package/dist/executors.js CHANGED
@@ -1,34 +1,34 @@
1
1
  'use strict';
2
2
 
3
3
  require('./chunk-XO62WWX4.js');
4
- var chunkP5UNWOB6_js = require('./chunk-P5UNWOB6.js');
5
- var chunkJMPM6JPD_js = require('./chunk-JMPM6JPD.js');
6
- var chunkIXFAMU7J_js = require('./chunk-IXFAMU7J.js');
7
- var chunkGW5UQFFS_js = require('./chunk-GW5UQFFS.js');
8
- var chunkY2I6ZDWH_js = require('./chunk-Y2I6ZDWH.js');
9
- require('./chunk-JTW7QFIT.js');
10
- require('./chunk-4UWZOCEA.js');
4
+ var chunkIS2MEDGI_js = require('./chunk-IS2MEDGI.js');
5
+ var chunk5BPEG52U_js = require('./chunk-5BPEG52U.js');
6
+ var chunkMI5C7LYS_js = require('./chunk-MI5C7LYS.js');
7
+ var chunkNFAKPYKX_js = require('./chunk-NFAKPYKX.js');
8
+ var chunkDODH7R3U_js = require('./chunk-DODH7R3U.js');
9
+ require('./chunk-SXA7B3TE.js');
10
+ require('./chunk-UOTRU26N.js');
11
11
  require('./chunk-SHUYVCID.js');
12
12
 
13
13
 
14
14
 
15
15
  Object.defineProperty(exports, "clean", {
16
16
  enumerable: true,
17
- get: function () { return chunkP5UNWOB6_js.executor_default; }
17
+ get: function () { return chunkIS2MEDGI_js.executor_default; }
18
18
  });
19
19
  Object.defineProperty(exports, "docs", {
20
20
  enumerable: true,
21
- get: function () { return chunkJMPM6JPD_js.executor_default; }
21
+ get: function () { return chunk5BPEG52U_js.executor_default; }
22
22
  });
23
23
  Object.defineProperty(exports, "lint", {
24
24
  enumerable: true,
25
- get: function () { return chunkIXFAMU7J_js.executor_default; }
25
+ get: function () { return chunkMI5C7LYS_js.executor_default; }
26
26
  });
27
27
  Object.defineProperty(exports, "prepare", {
28
28
  enumerable: true,
29
- get: function () { return chunkGW5UQFFS_js.executor_default; }
29
+ get: function () { return chunkNFAKPYKX_js.executor_default; }
30
30
  });
31
31
  Object.defineProperty(exports, "build", {
32
32
  enumerable: true,
33
- get: function () { return chunkY2I6ZDWH_js.executor_default; }
33
+ get: function () { return chunkDODH7R3U_js.executor_default; }
34
34
  });
@@ -1,9 +1,9 @@
1
1
  import './chunk-UV4HQO3Y.mjs';
2
- export { executor_default as clean } from './chunk-HTYRXIRM.mjs';
3
- export { executor_default as docs } from './chunk-RLV2BDHW.mjs';
4
- export { executor_default as lint } from './chunk-OVUCSGTD.mjs';
5
- export { executor_default as prepare } from './chunk-F3XVH3HG.mjs';
6
- export { executor_default as build } from './chunk-EVC3CWDX.mjs';
7
- import './chunk-TEBG7V3S.mjs';
8
- import './chunk-SV7QXBCB.mjs';
2
+ export { executor_default as clean } from './chunk-QEHHWZYD.mjs';
3
+ export { executor_default as docs } from './chunk-3E654WM2.mjs';
4
+ export { executor_default as lint } from './chunk-RPI3PNLJ.mjs';
5
+ export { executor_default as prepare } from './chunk-QY2HEZSZ.mjs';
6
+ export { executor_default as build } from './chunk-H4ROBXJM.mjs';
7
+ import './chunk-MSR5HSGP.mjs';
8
+ import './chunk-DVGRVHRD.mjs';
9
9
  import './chunk-O6YSETKJ.mjs';
package/dist/index.d.mts CHANGED
@@ -5,7 +5,7 @@ export { L as LintExecutorSchema, e as lint } from './executor-CIEyQL42.mjs';
5
5
  export { P as PrepareExecutorSchema, e as prepare } from './executor-D0PJOQkn.mjs';
6
6
  export { default as sync, default as syncGenerator } from './src/generators/sync/generator.mjs';
7
7
  export { SyncGeneratorSchema } from './generators.mjs';
8
- export { NxPluginOptions, createNodesV2, name } from './src/plugin/index.mjs';
8
+ export { createNodesV2, name } from './src/plugin/index.mjs';
9
9
  import '@nx/devkit';
10
10
  import '@storm-software/workspace-tools/types';
11
11
  import 'powerlines';
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export { L as LintExecutorSchema, e as lint } from './executor-BAcpDLQu.js';
5
5
  export { P as PrepareExecutorSchema, e as prepare } from './executor-CkqLFUNx.js';
6
6
  export { default as sync, default as syncGenerator } from './src/generators/sync/generator.js';
7
7
  export { SyncGeneratorSchema } from './generators.js';
8
- export { NxPluginOptions, createNodesV2, name } from './src/plugin/index.js';
8
+ export { createNodesV2, name } from './src/plugin/index.js';
9
9
  import '@nx/devkit';
10
10
  import '@storm-software/workspace-tools/types';
11
11
  import 'powerlines';
package/dist/index.js CHANGED
@@ -1,35 +1,35 @@
1
1
  'use strict';
2
2
 
3
3
  require('./chunk-XO62WWX4.js');
4
- var chunkP5UNWOB6_js = require('./chunk-P5UNWOB6.js');
5
- var chunkJMPM6JPD_js = require('./chunk-JMPM6JPD.js');
6
- var chunkIXFAMU7J_js = require('./chunk-IXFAMU7J.js');
7
- var chunkGW5UQFFS_js = require('./chunk-GW5UQFFS.js');
4
+ var chunkIS2MEDGI_js = require('./chunk-IS2MEDGI.js');
5
+ var chunk5BPEG52U_js = require('./chunk-5BPEG52U.js');
6
+ var chunkMI5C7LYS_js = require('./chunk-MI5C7LYS.js');
7
+ var chunkNFAKPYKX_js = require('./chunk-NFAKPYKX.js');
8
8
  require('./chunk-N2YKXZ5R.js');
9
9
  var chunkWUJKJGEW_js = require('./chunk-WUJKJGEW.js');
10
- var chunkIFMXBBI7_js = require('./chunk-IFMXBBI7.js');
11
- var chunkY2I6ZDWH_js = require('./chunk-Y2I6ZDWH.js');
12
- require('./chunk-JTW7QFIT.js');
13
- require('./chunk-4UWZOCEA.js');
10
+ var chunk67ALH5AX_js = require('./chunk-67ALH5AX.js');
11
+ var chunkDODH7R3U_js = require('./chunk-DODH7R3U.js');
12
+ require('./chunk-SXA7B3TE.js');
13
+ require('./chunk-UOTRU26N.js');
14
14
  require('./chunk-SHUYVCID.js');
15
15
 
16
16
 
17
17
 
18
18
  Object.defineProperty(exports, "clean", {
19
19
  enumerable: true,
20
- get: function () { return chunkP5UNWOB6_js.executor_default; }
20
+ get: function () { return chunkIS2MEDGI_js.executor_default; }
21
21
  });
22
22
  Object.defineProperty(exports, "docs", {
23
23
  enumerable: true,
24
- get: function () { return chunkJMPM6JPD_js.executor_default; }
24
+ get: function () { return chunk5BPEG52U_js.executor_default; }
25
25
  });
26
26
  Object.defineProperty(exports, "lint", {
27
27
  enumerable: true,
28
- get: function () { return chunkIXFAMU7J_js.executor_default; }
28
+ get: function () { return chunkMI5C7LYS_js.executor_default; }
29
29
  });
30
30
  Object.defineProperty(exports, "prepare", {
31
31
  enumerable: true,
32
- get: function () { return chunkGW5UQFFS_js.executor_default; }
32
+ get: function () { return chunkNFAKPYKX_js.executor_default; }
33
33
  });
34
34
  Object.defineProperty(exports, "sync", {
35
35
  enumerable: true,
@@ -41,13 +41,13 @@ Object.defineProperty(exports, "syncGenerator", {
41
41
  });
42
42
  Object.defineProperty(exports, "createNodesV2", {
43
43
  enumerable: true,
44
- get: function () { return chunkIFMXBBI7_js.createNodesV2; }
44
+ get: function () { return chunk67ALH5AX_js.createNodesV2; }
45
45
  });
46
46
  Object.defineProperty(exports, "name", {
47
47
  enumerable: true,
48
- get: function () { return chunkIFMXBBI7_js.name; }
48
+ get: function () { return chunk67ALH5AX_js.name; }
49
49
  });
50
50
  Object.defineProperty(exports, "build", {
51
51
  enumerable: true,
52
- get: function () { return chunkY2I6ZDWH_js.executor_default; }
52
+ get: function () { return chunkDODH7R3U_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-HTYRXIRM.mjs';
3
- export { executor_default as docs } from './chunk-RLV2BDHW.mjs';
4
- export { executor_default as lint } from './chunk-OVUCSGTD.mjs';
5
- export { executor_default as prepare } from './chunk-F3XVH3HG.mjs';
2
+ export { executor_default as clean } from './chunk-QEHHWZYD.mjs';
3
+ export { executor_default as docs } from './chunk-3E654WM2.mjs';
4
+ export { executor_default as lint } from './chunk-RPI3PNLJ.mjs';
5
+ export { executor_default as prepare } from './chunk-QY2HEZSZ.mjs';
6
6
  import './chunk-23KFTIT2.mjs';
7
7
  export { generator_default as sync, generatorFn as syncGenerator } from './chunk-326QB2VK.mjs';
8
- export { createNodesV2, name } from './chunk-FFBOHADM.mjs';
9
- export { executor_default as build } from './chunk-EVC3CWDX.mjs';
10
- import './chunk-TEBG7V3S.mjs';
11
- import './chunk-SV7QXBCB.mjs';
8
+ export { createNodesV2, name } from './chunk-KBRKYARM.mjs';
9
+ export { executor_default as build } from './chunk-H4ROBXJM.mjs';
10
+ import './chunk-MSR5HSGP.mjs';
11
+ import './chunk-DVGRVHRD.mjs';
12
12
  import './chunk-O6YSETKJ.mjs';
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkJTW7QFIT_js = require('../../chunk-JTW7QFIT.js');
4
- require('../../chunk-4UWZOCEA.js');
3
+ var chunkSXA7B3TE_js = require('../../chunk-SXA7B3TE.js');
4
+ require('../../chunk-UOTRU26N.js');
5
5
  require('../../chunk-SHUYVCID.js');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "withExecutor", {
10
10
  enumerable: true,
11
- get: function () { return chunkJTW7QFIT_js.withExecutor; }
11
+ get: function () { return chunkSXA7B3TE_js.withExecutor; }
12
12
  });
@@ -1,3 +1,3 @@
1
- export { withExecutor } from '../../chunk-TEBG7V3S.mjs';
2
- import '../../chunk-SV7QXBCB.mjs';
1
+ export { withExecutor } from '../../chunk-MSR5HSGP.mjs';
2
+ import '../../chunk-DVGRVHRD.mjs';
3
3
  import '../../chunk-O6YSETKJ.mjs';
@@ -2,18 +2,18 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkY2I6ZDWH_js = require('../../../chunk-Y2I6ZDWH.js');
6
- require('../../../chunk-JTW7QFIT.js');
7
- require('../../../chunk-4UWZOCEA.js');
5
+ var chunkDODH7R3U_js = require('../../../chunk-DODH7R3U.js');
6
+ require('../../../chunk-SXA7B3TE.js');
7
+ require('../../../chunk-UOTRU26N.js');
8
8
  require('../../../chunk-SHUYVCID.js');
9
9
 
10
10
 
11
11
 
12
12
  Object.defineProperty(exports, "default", {
13
13
  enumerable: true,
14
- get: function () { return chunkY2I6ZDWH_js.executor_default; }
14
+ get: function () { return chunkDODH7R3U_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkY2I6ZDWH_js.executorFn; }
18
+ get: function () { return chunkDODH7R3U_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-EVC3CWDX.mjs';
2
- import '../../../chunk-TEBG7V3S.mjs';
3
- import '../../../chunk-SV7QXBCB.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-H4ROBXJM.mjs';
2
+ import '../../../chunk-MSR5HSGP.mjs';
3
+ import '../../../chunk-DVGRVHRD.mjs';
4
4
  import '../../../chunk-O6YSETKJ.mjs';
@@ -0,0 +1,85 @@
1
+
2
+ // Generated by @storm-software/untyped
3
+ // Do not edit this file directly
4
+
5
+ export interface BuildExecutorSchema {
6
+ /**
7
+ * Output Path
8
+ *
9
+ * The output path for the build
10
+ *
11
+ * @default "dist/{projectRoot}"
12
+ *
13
+ * @format path
14
+ */
15
+ outputPath?: string,
16
+
17
+ /**
18
+ * TypeScript Configuration File
19
+ *
20
+ * The path to the tsconfig file
21
+ *
22
+ * @default "{projectRoot}/tsconfig.json"
23
+ *
24
+ * @format path
25
+ */
26
+ tsconfig?: string,
27
+
28
+ /**
29
+ * Powerlines Configuration File
30
+ *
31
+ * The path to the Powerlines configuration file
32
+ *
33
+ * @default "{projectRoot}/powerlines.config.ts"
34
+ *
35
+ * @format path
36
+ */
37
+ configFile?: string,
38
+
39
+ /**
40
+ * Mode
41
+ *
42
+ * The build mode
43
+ *
44
+ *
45
+ * @enum development,test,production
46
+ */
47
+ mode?: string,
48
+
49
+ /**
50
+ * Skip Installs
51
+ *
52
+ * Skip installing dependencies before building
53
+ *
54
+ */
55
+ skipInstalls?: boolean,
56
+
57
+ /**
58
+ * Skip Cache
59
+ *
60
+ * Skip the cache when building
61
+ *
62
+ */
63
+ skipCache?: boolean,
64
+
65
+ /**
66
+ * Log Level
67
+ *
68
+ * The log level to use for the build process
69
+ *
70
+ *
71
+ * @enum fatal,error,warn,success,info,debug,trace,silent
72
+ */
73
+ logLevel?: string,
74
+
75
+ /**
76
+ * Entry Path(s)
77
+ *
78
+ * The entry path(s) for the package
79
+ *
80
+ *
81
+ * @oneOf [object Object],[object Object]
82
+ */
83
+ entry?: any,
84
+ }
85
+
@@ -0,0 +1,96 @@
1
+ {
2
+ "id": "#",
3
+ "title": "Build Executor",
4
+ "description": "A type definition for the Powerlines - Build executor schema",
5
+ "required": [],
6
+ "properties": {
7
+ "outputPath": {
8
+ "title": "Output Path",
9
+ "type": "string",
10
+ "format": "path",
11
+ "description": "The output path for the build",
12
+ "id": "#outputPath",
13
+ "default": "dist/{projectRoot}"
14
+ },
15
+ "tsconfig": {
16
+ "title": "TypeScript Configuration File",
17
+ "type": "string",
18
+ "format": "path",
19
+ "description": "The path to the tsconfig file",
20
+ "id": "#tsconfig",
21
+ "default": "{projectRoot}/tsconfig.json"
22
+ },
23
+ "configFile": {
24
+ "title": "Powerlines Configuration File",
25
+ "type": "string",
26
+ "format": "path",
27
+ "description": "The path to the Powerlines configuration file",
28
+ "id": "#configFile",
29
+ "default": "{projectRoot}/powerlines.config.ts"
30
+ },
31
+ "mode": {
32
+ "title": "Mode",
33
+ "type": "string",
34
+ "description": "The build mode",
35
+ "enum": [
36
+ "development",
37
+ "test",
38
+ "production"
39
+ ],
40
+ "id": "#mode"
41
+ },
42
+ "skipInstalls": {
43
+ "title": "Skip Installs",
44
+ "type": "boolean",
45
+ "description": "Skip installing dependencies before building",
46
+ "id": "#skipInstalls"
47
+ },
48
+ "skipCache": {
49
+ "title": "Skip Cache",
50
+ "type": "boolean",
51
+ "description": "Skip the cache when building",
52
+ "id": "#skipCache"
53
+ },
54
+ "logLevel": {
55
+ "title": "Log Level",
56
+ "type": "string",
57
+ "description": "The log level to use for the build process",
58
+ "enum": [
59
+ "fatal",
60
+ "error",
61
+ "warn",
62
+ "success",
63
+ "info",
64
+ "debug",
65
+ "trace",
66
+ "silent"
67
+ ],
68
+ "id": "#logLevel"
69
+ },
70
+ "entry": {
71
+ "title": "Entry Path(s)",
72
+ "description": "The entry path(s) for the package",
73
+ "oneOf": [
74
+ {
75
+ "type": "string"
76
+ },
77
+ {
78
+ "type": "array",
79
+ "items": {
80
+ "type": "string"
81
+ }
82
+ }
83
+ ],
84
+ "id": "#entry",
85
+ "type": "any",
86
+ "default": {}
87
+ }
88
+ },
89
+ "type": "object",
90
+ "default": {
91
+ "outputPath": "dist/{projectRoot}",
92
+ "tsconfig": "{projectRoot}/tsconfig.json",
93
+ "configFile": "{projectRoot}/powerlines.config.ts",
94
+ "entry": {}
95
+ }
96
+ }
@@ -2,18 +2,18 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkP5UNWOB6_js = require('../../../chunk-P5UNWOB6.js');
6
- require('../../../chunk-JTW7QFIT.js');
7
- require('../../../chunk-4UWZOCEA.js');
5
+ var chunkIS2MEDGI_js = require('../../../chunk-IS2MEDGI.js');
6
+ require('../../../chunk-SXA7B3TE.js');
7
+ require('../../../chunk-UOTRU26N.js');
8
8
  require('../../../chunk-SHUYVCID.js');
9
9
 
10
10
 
11
11
 
12
12
  Object.defineProperty(exports, "default", {
13
13
  enumerable: true,
14
- get: function () { return chunkP5UNWOB6_js.executor_default; }
14
+ get: function () { return chunkIS2MEDGI_js.executor_default; }
15
15
  });
16
16
  Object.defineProperty(exports, "executorFn", {
17
17
  enumerable: true,
18
- get: function () { return chunkP5UNWOB6_js.executorFn; }
18
+ get: function () { return chunkIS2MEDGI_js.executorFn; }
19
19
  });
@@ -1,4 +1,4 @@
1
- export { executor_default as default, executorFn } from '../../../chunk-HTYRXIRM.mjs';
2
- import '../../../chunk-TEBG7V3S.mjs';
3
- import '../../../chunk-SV7QXBCB.mjs';
1
+ export { executor_default as default, executorFn } from '../../../chunk-QEHHWZYD.mjs';
2
+ import '../../../chunk-MSR5HSGP.mjs';
3
+ import '../../../chunk-DVGRVHRD.mjs';
4
4
  import '../../../chunk-O6YSETKJ.mjs';
@@ -0,0 +1,75 @@
1
+
2
+ // Generated by @storm-software/untyped
3
+ // Do not edit this file directly
4
+
5
+ export interface CleanExecutorSchema {
6
+ /**
7
+ * Output Path
8
+ *
9
+ * The output path for the build
10
+ *
11
+ * @default "dist/{projectRoot}"
12
+ *
13
+ * @format path
14
+ */
15
+ outputPath?: string,
16
+
17
+ /**
18
+ * TypeScript Configuration File
19
+ *
20
+ * The path to the tsconfig file
21
+ *
22
+ * @default "{projectRoot}/tsconfig.json"
23
+ *
24
+ * @format path
25
+ */
26
+ tsconfig?: string,
27
+
28
+ /**
29
+ * Powerlines Configuration File
30
+ *
31
+ * The path to the Powerlines configuration file
32
+ *
33
+ * @default "{projectRoot}/powerlines.config.ts"
34
+ *
35
+ * @format path
36
+ */
37
+ configFile?: string,
38
+
39
+ /**
40
+ * Mode
41
+ *
42
+ * The build mode
43
+ *
44
+ *
45
+ * @enum development,test,production
46
+ */
47
+ mode?: string,
48
+
49
+ /**
50
+ * Skip Installs
51
+ *
52
+ * Skip installing dependencies during prepare stage
53
+ *
54
+ */
55
+ skipInstalls?: boolean,
56
+
57
+ /**
58
+ * Skip Cache
59
+ *
60
+ * Skip the caching mechanism during the build process (if required)
61
+ *
62
+ */
63
+ skipCache?: boolean,
64
+
65
+ /**
66
+ * Log Level
67
+ *
68
+ * The log level to use for the build process
69
+ *
70
+ *
71
+ * @enum fatal,error,warn,success,info,debug,trace,silent
72
+ */
73
+ logLevel?: string,
74
+ }
75
+