@powerlines/nx 0.1.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 (128) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +490 -0
  3. package/dist/chunk-23KFTIT2.mjs +1 -0
  4. package/dist/chunk-2IKNOV7W.mjs +305 -0
  5. package/dist/chunk-326QB2VK.mjs +14 -0
  6. package/dist/chunk-3QPPK4K2.js +18 -0
  7. package/dist/chunk-5K7DMFAV.mjs +15 -0
  8. package/dist/chunk-6UG6SXHV.js +4307 -0
  9. package/dist/chunk-6ZABD5GY.js +18 -0
  10. package/dist/chunk-AKX3TTDA.js +18 -0
  11. package/dist/chunk-CQP2LCFV.mjs +19 -0
  12. package/dist/chunk-CYWOTYVX.mjs +108 -0
  13. package/dist/chunk-E6VIOC6R.mjs +19 -0
  14. package/dist/chunk-ED7GH5H4.js +30 -0
  15. package/dist/chunk-ESI25Y6Y.mjs +15 -0
  16. package/dist/chunk-FK3VJFET.mjs +28 -0
  17. package/dist/chunk-FXCIWWXO.mjs +15 -0
  18. package/dist/chunk-HHPODCTP.js +126 -0
  19. package/dist/chunk-N2YKXZ5R.js +2 -0
  20. package/dist/chunk-O6BSKBJP.js +26 -0
  21. package/dist/chunk-O6YSETKJ.mjs +4 -0
  22. package/dist/chunk-OOERKIVS.js +312 -0
  23. package/dist/chunk-OZMYXUES.mjs +4276 -0
  24. package/dist/chunk-SHUYVCID.js +6 -0
  25. package/dist/chunk-TCSCYVA7.mjs +76 -0
  26. package/dist/chunk-UV4HQO3Y.mjs +1 -0
  27. package/dist/chunk-WKH7IEJU.js +26 -0
  28. package/dist/chunk-WUJKJGEW.js +17 -0
  29. package/dist/chunk-XO62WWX4.js +2 -0
  30. package/dist/chunk-XPEFTYN7.js +82 -0
  31. package/dist/executor-B2Y0F4JC.d.ts +83 -0
  32. package/dist/executor-BAcpDLQu.d.ts +83 -0
  33. package/dist/executor-BHIUeaip.d.ts +93 -0
  34. package/dist/executor-BYGMOBlU.d.mts +83 -0
  35. package/dist/executor-Ba95I3EK.d.mts +93 -0
  36. package/dist/executor-CIEyQL42.d.mts +83 -0
  37. package/dist/executor-CkqLFUNx.d.ts +83 -0
  38. package/dist/executor-D055lNr2.d.ts +83 -0
  39. package/dist/executor-D0PJOQkn.d.mts +83 -0
  40. package/dist/executor-DsRaA9mk.d.mts +83 -0
  41. package/dist/executors.d.mts +12 -0
  42. package/dist/executors.d.ts +12 -0
  43. package/dist/executors.js +34 -0
  44. package/dist/executors.mjs +9 -0
  45. package/dist/generators.d.mts +19 -0
  46. package/dist/generators.d.ts +19 -0
  47. package/dist/generators.js +16 -0
  48. package/dist/generators.mjs +3 -0
  49. package/dist/index.d.mts +16 -0
  50. package/dist/index.d.ts +16 -0
  51. package/dist/index.js +53 -0
  52. package/dist/index.mjs +12 -0
  53. package/dist/src/base/base-executor.d.mts +27 -0
  54. package/dist/src/base/base-executor.d.ts +27 -0
  55. package/dist/src/base/base-executor.js +12 -0
  56. package/dist/src/base/base-executor.mjs +3 -0
  57. package/dist/src/base/base-executor.schema.d.d.mts +75 -0
  58. package/dist/src/base/base-executor.schema.d.d.ts +75 -0
  59. package/dist/src/base/base-executor.schema.d.js +2 -0
  60. package/dist/src/base/base-executor.schema.d.mjs +1 -0
  61. package/dist/src/base/base-executor.schema.d.ts +75 -0
  62. package/dist/src/base/base-executor.schema.json +77 -0
  63. package/dist/src/base/base-executor.untyped.d.mts +5 -0
  64. package/dist/src/base/base-executor.untyped.d.ts +5 -0
  65. package/dist/src/base/base-executor.untyped.js +10 -0
  66. package/dist/src/base/base-executor.untyped.mjs +2 -0
  67. package/dist/src/executors/build/executor.d.mts +8 -0
  68. package/dist/src/executors/build/executor.d.ts +8 -0
  69. package/dist/src/executors/build/executor.js +19 -0
  70. package/dist/src/executors/build/executor.mjs +4 -0
  71. package/dist/src/executors/build/untyped.d.mts +5 -0
  72. package/dist/src/executors/build/untyped.d.ts +5 -0
  73. package/dist/src/executors/build/untyped.js +37 -0
  74. package/dist/src/executors/build/untyped.mjs +33 -0
  75. package/dist/src/executors/clean/executor.d.mts +8 -0
  76. package/dist/src/executors/clean/executor.d.ts +8 -0
  77. package/dist/src/executors/clean/executor.js +19 -0
  78. package/dist/src/executors/clean/executor.mjs +4 -0
  79. package/dist/src/executors/clean/untyped.d.mts +5 -0
  80. package/dist/src/executors/clean/untyped.d.ts +5 -0
  81. package/dist/src/executors/clean/untyped.js +19 -0
  82. package/dist/src/executors/clean/untyped.mjs +15 -0
  83. package/dist/src/executors/docs/executor.d.mts +8 -0
  84. package/dist/src/executors/docs/executor.d.ts +8 -0
  85. package/dist/src/executors/docs/executor.js +19 -0
  86. package/dist/src/executors/docs/executor.mjs +4 -0
  87. package/dist/src/executors/docs/untyped.d.mts +5 -0
  88. package/dist/src/executors/docs/untyped.d.ts +5 -0
  89. package/dist/src/executors/docs/untyped.js +20 -0
  90. package/dist/src/executors/docs/untyped.mjs +16 -0
  91. package/dist/src/executors/lint/executor.d.mts +8 -0
  92. package/dist/src/executors/lint/executor.d.ts +8 -0
  93. package/dist/src/executors/lint/executor.js +19 -0
  94. package/dist/src/executors/lint/executor.mjs +4 -0
  95. package/dist/src/executors/lint/untyped.d.mts +5 -0
  96. package/dist/src/executors/lint/untyped.d.ts +5 -0
  97. package/dist/src/executors/lint/untyped.js +20 -0
  98. package/dist/src/executors/lint/untyped.mjs +16 -0
  99. package/dist/src/executors/prepare/executor.d.mts +8 -0
  100. package/dist/src/executors/prepare/executor.d.ts +8 -0
  101. package/dist/src/executors/prepare/executor.js +19 -0
  102. package/dist/src/executors/prepare/executor.mjs +4 -0
  103. package/dist/src/executors/prepare/untyped.d.mts +5 -0
  104. package/dist/src/executors/prepare/untyped.d.ts +5 -0
  105. package/dist/src/executors/prepare/untyped.js +11 -0
  106. package/dist/src/executors/prepare/untyped.mjs +3 -0
  107. package/dist/src/generators/sync/generator.d.mts +6 -0
  108. package/dist/src/generators/sync/generator.d.ts +6 -0
  109. package/dist/src/generators/sync/generator.js +17 -0
  110. package/dist/src/generators/sync/generator.mjs +2 -0
  111. package/dist/src/generators/sync/untyped.d.mts +5 -0
  112. package/dist/src/generators/sync/untyped.d.ts +5 -0
  113. package/dist/src/generators/sync/untyped.js +25 -0
  114. package/dist/src/generators/sync/untyped.mjs +21 -0
  115. package/dist/src/plugin/index.d.mts +8 -0
  116. package/dist/src/plugin/index.d.ts +8 -0
  117. package/dist/src/plugin/index.js +16 -0
  118. package/dist/src/plugin/index.mjs +3 -0
  119. package/docs/api/base-executor.schema.md +72 -0
  120. package/docs/api/build/schema.md +82 -0
  121. package/docs/api/clean/schema.md +72 -0
  122. package/docs/api/docs/schema.md +72 -0
  123. package/docs/api/lint/schema.md +72 -0
  124. package/docs/api/prepare/schema.md +72 -0
  125. package/docs/api/sync/schema.md +16 -0
  126. package/executors.json +30 -0
  127. package/generators.json +14 -0
  128. package/package.json +172 -0
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
5
+
6
+ exports.__name = __name;
@@ -0,0 +1,76 @@
1
+ import baseExecutorSchema from '@storm-software/workspace-tools/base/base-executor.untyped';
2
+ import { defineUntypedSchema } from 'untyped';
3
+
4
+ // src/base/base-executor.untyped.ts
5
+ var base_executor_untyped_default = defineUntypedSchema({
6
+ ...baseExecutorSchema,
7
+ $schema: {
8
+ id: "BaseExecutorSchema",
9
+ title: "Base Executor",
10
+ description: "A shared/base schema type definition for Powerlines executors",
11
+ required: []
12
+ },
13
+ tsconfig: {
14
+ $schema: {
15
+ title: "TypeScript Configuration File",
16
+ type: "string",
17
+ format: "path",
18
+ description: "The path to the tsconfig file"
19
+ },
20
+ $default: "{projectRoot}/tsconfig.json"
21
+ },
22
+ configFile: {
23
+ $schema: {
24
+ title: "Powerlines Configuration File",
25
+ type: "string",
26
+ format: "path",
27
+ description: "The path to the Powerlines configuration file"
28
+ },
29
+ $default: "{projectRoot}/powerlines.config.ts"
30
+ },
31
+ mode: {
32
+ $schema: {
33
+ title: "Mode",
34
+ type: "string",
35
+ description: "The build mode",
36
+ enum: [
37
+ "development",
38
+ "test",
39
+ "production"
40
+ ]
41
+ }
42
+ },
43
+ skipInstalls: {
44
+ $schema: {
45
+ title: "Skip Installs",
46
+ type: "boolean",
47
+ description: "Skip installing dependencies during prepare stage"
48
+ }
49
+ },
50
+ skipCache: {
51
+ $schema: {
52
+ title: "Skip Cache",
53
+ type: "boolean",
54
+ description: "Skip the caching mechanism during the build process (if required)"
55
+ }
56
+ },
57
+ logLevel: {
58
+ $schema: {
59
+ title: "Log Level",
60
+ type: "string",
61
+ description: "The log level to use for the build process",
62
+ enum: [
63
+ "fatal",
64
+ "error",
65
+ "warn",
66
+ "success",
67
+ "info",
68
+ "debug",
69
+ "trace",
70
+ "silent"
71
+ ]
72
+ }
73
+ }
74
+ });
75
+
76
+ export { base_executor_untyped_default };
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,26 @@
1
+ 'use strict';
2
+
3
+ var chunk6UG6SXHV_js = require('./chunk-6UG6SXHV.js');
4
+ var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
5
+ var defu = require('defu');
6
+
7
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
8
+
9
+ var defu__default = /*#__PURE__*/_interopDefault(defu);
10
+
11
+ async function executorFn(context, api) {
12
+ await api.prepare(defu__default.default({
13
+ command: "prepare",
14
+ skipCache: context.options.skipCache,
15
+ skipInstalls: context.options.skipInstalls
16
+ }, context.inlineConfig));
17
+ return {
18
+ success: true
19
+ };
20
+ }
21
+ chunkSHUYVCID_js.__name(executorFn, "executorFn");
22
+ var executor = chunk6UG6SXHV_js.withExecutor("prepare", executorFn);
23
+ var executor_default = executor;
24
+
25
+ exports.executorFn = executorFn;
26
+ exports.executor_default = executor_default;
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
4
+ var devkit = require('@nx/devkit');
5
+
6
+ async function generatorFn(tree) {
7
+ const nxJson = devkit.readNxJson(tree);
8
+ const userOptions = nxJson?.sync?.generatorOptions?.["@powerlines/nx:sync"];
9
+ return {
10
+ outOfSyncMessage: userOptions?.outOfSyncMessage || "The legal-message.txt file needs to be created"
11
+ };
12
+ }
13
+ chunkSHUYVCID_js.__name(generatorFn, "generatorFn");
14
+ var generator_default = generatorFn;
15
+
16
+ exports.generatorFn = generatorFn;
17
+ exports.generator_default = generator_default;
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -0,0 +1,82 @@
1
+ 'use strict';
2
+
3
+ var baseExecutorSchema = require('@storm-software/workspace-tools/base/base-executor.untyped');
4
+ var untyped = require('untyped');
5
+
6
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
7
+
8
+ var baseExecutorSchema__default = /*#__PURE__*/_interopDefault(baseExecutorSchema);
9
+
10
+ // src/base/base-executor.untyped.ts
11
+ var base_executor_untyped_default = untyped.defineUntypedSchema({
12
+ ...baseExecutorSchema__default.default,
13
+ $schema: {
14
+ id: "BaseExecutorSchema",
15
+ title: "Base Executor",
16
+ description: "A shared/base schema type definition for Powerlines executors",
17
+ required: []
18
+ },
19
+ tsconfig: {
20
+ $schema: {
21
+ title: "TypeScript Configuration File",
22
+ type: "string",
23
+ format: "path",
24
+ description: "The path to the tsconfig file"
25
+ },
26
+ $default: "{projectRoot}/tsconfig.json"
27
+ },
28
+ configFile: {
29
+ $schema: {
30
+ title: "Powerlines Configuration File",
31
+ type: "string",
32
+ format: "path",
33
+ description: "The path to the Powerlines configuration file"
34
+ },
35
+ $default: "{projectRoot}/powerlines.config.ts"
36
+ },
37
+ mode: {
38
+ $schema: {
39
+ title: "Mode",
40
+ type: "string",
41
+ description: "The build mode",
42
+ enum: [
43
+ "development",
44
+ "test",
45
+ "production"
46
+ ]
47
+ }
48
+ },
49
+ skipInstalls: {
50
+ $schema: {
51
+ title: "Skip Installs",
52
+ type: "boolean",
53
+ description: "Skip installing dependencies during prepare stage"
54
+ }
55
+ },
56
+ skipCache: {
57
+ $schema: {
58
+ title: "Skip Cache",
59
+ type: "boolean",
60
+ description: "Skip the caching mechanism during the build process (if required)"
61
+ }
62
+ },
63
+ logLevel: {
64
+ $schema: {
65
+ title: "Log Level",
66
+ type: "string",
67
+ description: "The log level to use for the build process",
68
+ enum: [
69
+ "fatal",
70
+ "error",
71
+ "warn",
72
+ "success",
73
+ "info",
74
+ "debug",
75
+ "trace",
76
+ "silent"
77
+ ]
78
+ }
79
+ }
80
+ });
81
+
82
+ exports.base_executor_untyped_default = base_executor_untyped_default;
@@ -0,0 +1,83 @@
1
+ import { PromiseExecutor } from '@nx/devkit';
2
+ import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
3
+ import PowerlinesAPI from 'powerlines';
4
+ import { PowerlinesExecutorContext } from './src/base/base-executor.js';
5
+
6
+ // Generated by @storm-software/untyped
7
+ // Do not edit this file directly
8
+
9
+ interface CleanExecutorSchema {
10
+ /**
11
+ * Output Path
12
+ *
13
+ * The output path for the build
14
+ *
15
+ * @default "dist/{projectRoot}"
16
+ *
17
+ * @format path
18
+ */
19
+ outputPath?: string,
20
+
21
+ /**
22
+ * TypeScript Configuration File
23
+ *
24
+ * The path to the tsconfig file
25
+ *
26
+ * @default "{projectRoot}/tsconfig.json"
27
+ *
28
+ * @format path
29
+ */
30
+ tsconfig?: string,
31
+
32
+ /**
33
+ * Powerlines Configuration File
34
+ *
35
+ * The path to the Powerlines configuration file
36
+ *
37
+ * @default "{projectRoot}/powerlines.config.ts"
38
+ *
39
+ * @format path
40
+ */
41
+ configFile?: string,
42
+
43
+ /**
44
+ * Mode
45
+ *
46
+ * The build mode
47
+ *
48
+ *
49
+ * @enum development,test,production
50
+ */
51
+ mode?: string,
52
+
53
+ /**
54
+ * Skip Installs
55
+ *
56
+ * Skip installing dependencies during prepare stage
57
+ *
58
+ */
59
+ skipInstalls?: boolean,
60
+
61
+ /**
62
+ * Skip Cache
63
+ *
64
+ * Skip the caching mechanism during the build process (if required)
65
+ *
66
+ */
67
+ skipCache?: boolean,
68
+
69
+ /**
70
+ * Log Level
71
+ *
72
+ * The log level to use for the build process
73
+ *
74
+ *
75
+ * @enum fatal,error,warn,success,info,debug,trace,silent
76
+ */
77
+ logLevel?: string,
78
+ }
79
+
80
+ declare function executorFn(context: PowerlinesExecutorContext<"clean", CleanExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
81
+ declare const executor: PromiseExecutor<CleanExecutorSchema>;
82
+
83
+ export { type CleanExecutorSchema as C, executorFn as a, executor as e };
@@ -0,0 +1,83 @@
1
+ import { PromiseExecutor } from '@nx/devkit';
2
+ import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
3
+ import PowerlinesAPI from 'powerlines';
4
+ import { PowerlinesExecutorContext } from './src/base/base-executor.js';
5
+
6
+ // Generated by @storm-software/untyped
7
+ // Do not edit this file directly
8
+
9
+ interface LintExecutorSchema {
10
+ /**
11
+ * Output Path
12
+ *
13
+ * The output path for the build
14
+ *
15
+ * @default "dist/{projectRoot}"
16
+ *
17
+ * @format path
18
+ */
19
+ outputPath?: string,
20
+
21
+ /**
22
+ * TypeScript Configuration File
23
+ *
24
+ * The path to the tsconfig file
25
+ *
26
+ * @default "{projectRoot}/tsconfig.json"
27
+ *
28
+ * @format path
29
+ */
30
+ tsconfig?: string,
31
+
32
+ /**
33
+ * Powerlines Configuration File
34
+ *
35
+ * The path to the Powerlines configuration file
36
+ *
37
+ * @default "{projectRoot}/powerlines.config.ts"
38
+ *
39
+ * @format path
40
+ */
41
+ configFile?: string,
42
+
43
+ /**
44
+ * Mode
45
+ *
46
+ * The build mode
47
+ *
48
+ *
49
+ * @enum development,test,production
50
+ */
51
+ mode?: string,
52
+
53
+ /**
54
+ * Skip Installs
55
+ *
56
+ * Skip installing dependencies before building
57
+ *
58
+ */
59
+ skipInstalls?: boolean,
60
+
61
+ /**
62
+ * Skip Cache
63
+ *
64
+ * Skip the cache when building
65
+ *
66
+ */
67
+ skipCache?: boolean,
68
+
69
+ /**
70
+ * Log Level
71
+ *
72
+ * The log level to use for the build process
73
+ *
74
+ *
75
+ * @enum fatal,error,warn,success,info,debug,trace,silent
76
+ */
77
+ logLevel?: string,
78
+ }
79
+
80
+ declare function executorFn(context: PowerlinesExecutorContext<"lint", LintExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
81
+ declare const executor: PromiseExecutor<LintExecutorSchema>;
82
+
83
+ export { type LintExecutorSchema as L, executorFn as a, executor as e };
@@ -0,0 +1,93 @@
1
+ import { PromiseExecutor } from '@nx/devkit';
2
+ import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
3
+ import PowerlinesAPI from 'powerlines';
4
+ import { PowerlinesExecutorContext } from './src/base/base-executor.js';
5
+
6
+ // Generated by @storm-software/untyped
7
+ // Do not edit this file directly
8
+
9
+ interface BuildExecutorSchema {
10
+ /**
11
+ * Output Path
12
+ *
13
+ * The output path for the build
14
+ *
15
+ * @default "dist/{projectRoot}"
16
+ *
17
+ * @format path
18
+ */
19
+ outputPath?: string,
20
+
21
+ /**
22
+ * TypeScript Configuration File
23
+ *
24
+ * The path to the tsconfig file
25
+ *
26
+ * @default "{projectRoot}/tsconfig.json"
27
+ *
28
+ * @format path
29
+ */
30
+ tsconfig?: string,
31
+
32
+ /**
33
+ * Powerlines Configuration File
34
+ *
35
+ * The path to the Powerlines configuration file
36
+ *
37
+ * @default "{projectRoot}/powerlines.config.ts"
38
+ *
39
+ * @format path
40
+ */
41
+ configFile?: string,
42
+
43
+ /**
44
+ * Mode
45
+ *
46
+ * The build mode
47
+ *
48
+ *
49
+ * @enum development,test,production
50
+ */
51
+ mode?: string,
52
+
53
+ /**
54
+ * Skip Installs
55
+ *
56
+ * Skip installing dependencies before building
57
+ *
58
+ */
59
+ skipInstalls?: boolean,
60
+
61
+ /**
62
+ * Skip Cache
63
+ *
64
+ * Skip the cache when building
65
+ *
66
+ */
67
+ skipCache?: boolean,
68
+
69
+ /**
70
+ * Log Level
71
+ *
72
+ * The log level to use for the build process
73
+ *
74
+ *
75
+ * @enum fatal,error,warn,success,info,debug,trace,silent
76
+ */
77
+ logLevel?: string,
78
+
79
+ /**
80
+ * Entry Path(s)
81
+ *
82
+ * The entry path(s) for the package
83
+ *
84
+ *
85
+ * @oneOf [object Object],[object Object]
86
+ */
87
+ entry?: any,
88
+ }
89
+
90
+ declare function executorFn(context: PowerlinesExecutorContext<"build", BuildExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
91
+ declare const executor: PromiseExecutor<BuildExecutorSchema>;
92
+
93
+ export { type BuildExecutorSchema as B, executorFn as a, executor as e };
@@ -0,0 +1,83 @@
1
+ import { PromiseExecutor } from '@nx/devkit';
2
+ import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
3
+ import PowerlinesAPI from 'powerlines';
4
+ import { PowerlinesExecutorContext } from './src/base/base-executor.mjs';
5
+
6
+ // Generated by @storm-software/untyped
7
+ // Do not edit this file directly
8
+
9
+ interface CleanExecutorSchema {
10
+ /**
11
+ * Output Path
12
+ *
13
+ * The output path for the build
14
+ *
15
+ * @default "dist/{projectRoot}"
16
+ *
17
+ * @format path
18
+ */
19
+ outputPath?: string,
20
+
21
+ /**
22
+ * TypeScript Configuration File
23
+ *
24
+ * The path to the tsconfig file
25
+ *
26
+ * @default "{projectRoot}/tsconfig.json"
27
+ *
28
+ * @format path
29
+ */
30
+ tsconfig?: string,
31
+
32
+ /**
33
+ * Powerlines Configuration File
34
+ *
35
+ * The path to the Powerlines configuration file
36
+ *
37
+ * @default "{projectRoot}/powerlines.config.ts"
38
+ *
39
+ * @format path
40
+ */
41
+ configFile?: string,
42
+
43
+ /**
44
+ * Mode
45
+ *
46
+ * The build mode
47
+ *
48
+ *
49
+ * @enum development,test,production
50
+ */
51
+ mode?: string,
52
+
53
+ /**
54
+ * Skip Installs
55
+ *
56
+ * Skip installing dependencies during prepare stage
57
+ *
58
+ */
59
+ skipInstalls?: boolean,
60
+
61
+ /**
62
+ * Skip Cache
63
+ *
64
+ * Skip the caching mechanism during the build process (if required)
65
+ *
66
+ */
67
+ skipCache?: boolean,
68
+
69
+ /**
70
+ * Log Level
71
+ *
72
+ * The log level to use for the build process
73
+ *
74
+ *
75
+ * @enum fatal,error,warn,success,info,debug,trace,silent
76
+ */
77
+ logLevel?: string,
78
+ }
79
+
80
+ declare function executorFn(context: PowerlinesExecutorContext<"clean", CleanExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
81
+ declare const executor: PromiseExecutor<CleanExecutorSchema>;
82
+
83
+ export { type CleanExecutorSchema as C, executorFn as a, executor as e };
@@ -0,0 +1,93 @@
1
+ import { PromiseExecutor } from '@nx/devkit';
2
+ import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
3
+ import PowerlinesAPI from 'powerlines';
4
+ import { PowerlinesExecutorContext } from './src/base/base-executor.mjs';
5
+
6
+ // Generated by @storm-software/untyped
7
+ // Do not edit this file directly
8
+
9
+ interface BuildExecutorSchema {
10
+ /**
11
+ * Output Path
12
+ *
13
+ * The output path for the build
14
+ *
15
+ * @default "dist/{projectRoot}"
16
+ *
17
+ * @format path
18
+ */
19
+ outputPath?: string,
20
+
21
+ /**
22
+ * TypeScript Configuration File
23
+ *
24
+ * The path to the tsconfig file
25
+ *
26
+ * @default "{projectRoot}/tsconfig.json"
27
+ *
28
+ * @format path
29
+ */
30
+ tsconfig?: string,
31
+
32
+ /**
33
+ * Powerlines Configuration File
34
+ *
35
+ * The path to the Powerlines configuration file
36
+ *
37
+ * @default "{projectRoot}/powerlines.config.ts"
38
+ *
39
+ * @format path
40
+ */
41
+ configFile?: string,
42
+
43
+ /**
44
+ * Mode
45
+ *
46
+ * The build mode
47
+ *
48
+ *
49
+ * @enum development,test,production
50
+ */
51
+ mode?: string,
52
+
53
+ /**
54
+ * Skip Installs
55
+ *
56
+ * Skip installing dependencies before building
57
+ *
58
+ */
59
+ skipInstalls?: boolean,
60
+
61
+ /**
62
+ * Skip Cache
63
+ *
64
+ * Skip the cache when building
65
+ *
66
+ */
67
+ skipCache?: boolean,
68
+
69
+ /**
70
+ * Log Level
71
+ *
72
+ * The log level to use for the build process
73
+ *
74
+ *
75
+ * @enum fatal,error,warn,success,info,debug,trace,silent
76
+ */
77
+ logLevel?: string,
78
+
79
+ /**
80
+ * Entry Path(s)
81
+ *
82
+ * The entry path(s) for the package
83
+ *
84
+ *
85
+ * @oneOf [object Object],[object Object]
86
+ */
87
+ entry?: any,
88
+ }
89
+
90
+ declare function executorFn(context: PowerlinesExecutorContext<"build", BuildExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
91
+ declare const executor: PromiseExecutor<BuildExecutorSchema>;
92
+
93
+ export { type BuildExecutorSchema as B, executorFn as a, executor as e };