@powerlines/nx 0.13.232 → 0.13.233

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 (155) hide show
  1. package/dist/src/base/base-executor.schema.d.ts +175 -164
  2. package/package.json +28 -18
  3. package/dist/src/_virtual/_rolldown/runtime.js +0 -28
  4. package/dist/src/base/base-executor.d.mts +0 -60
  5. package/dist/src/base/base-executor.d.mts.map +0 -1
  6. package/dist/src/base/base-executor.d.ts +0 -60
  7. package/dist/src/base/base-executor.d.ts.map +0 -1
  8. package/dist/src/base/base-executor.js +0 -118
  9. package/dist/src/base/base-executor.mjs +0 -116
  10. package/dist/src/base/base-executor.mjs.map +0 -1
  11. package/dist/src/base/base-executor.schema.d.js +0 -0
  12. package/dist/src/base/base-executor.schema.d.mts +0 -167
  13. package/dist/src/base/base-executor.schema.d.mts.map +0 -1
  14. package/dist/src/base/base-executor.schema.d.ts.map +0 -1
  15. package/dist/src/base/base-executor.untyped.d.mts +0 -5
  16. package/dist/src/base/base-executor.untyped.d.mts.map +0 -1
  17. package/dist/src/base/base-executor.untyped.d.ts +0 -4
  18. package/dist/src/base/base-executor.untyped.d.ts.map +0 -1
  19. package/dist/src/base/base-executor.untyped.js +0 -176
  20. package/dist/src/base/base-executor.untyped.mjs +0 -177
  21. package/dist/src/base/base-executor.untyped.mjs.map +0 -1
  22. package/dist/src/base/index.d.mts +0 -2
  23. package/dist/src/base/index.d.ts +0 -2
  24. package/dist/src/base/index.js +0 -5
  25. package/dist/src/base/index.mjs +0 -4
  26. package/dist/src/base-executor-BTwUZeOz.js +0 -122
  27. package/dist/src/base-executor-HCD7M10I.mjs +0 -116
  28. package/dist/src/base-executor-HCD7M10I.mjs.map +0 -1
  29. package/dist/src/base-executor.untyped-B9Vk-kJC.mjs +0 -177
  30. package/dist/src/base-executor.untyped-B9Vk-kJC.mjs.map +0 -1
  31. package/dist/src/base-executor.untyped-DZhWL1zT.js +0 -181
  32. package/dist/src/executors/build/executor.d.mts +0 -194
  33. package/dist/src/executors/build/executor.d.mts.map +0 -1
  34. package/dist/src/executors/build/executor.d.ts +0 -193
  35. package/dist/src/executors/build/executor.d.ts.map +0 -1
  36. package/dist/src/executors/build/executor.js +0 -11
  37. package/dist/src/executors/build/executor.mjs +0 -12
  38. package/dist/src/executors/build/executor.mjs.map +0 -1
  39. package/dist/src/executors/build/untyped.d.mts +0 -5
  40. package/dist/src/executors/build/untyped.d.mts.map +0 -1
  41. package/dist/src/executors/build/untyped.d.ts +0 -4
  42. package/dist/src/executors/build/untyped.d.ts.map +0 -1
  43. package/dist/src/executors/build/untyped.js +0 -24
  44. package/dist/src/executors/build/untyped.mjs +0 -25
  45. package/dist/src/executors/build/untyped.mjs.map +0 -1
  46. package/dist/src/executors/clean/executor.d.mts +0 -171
  47. package/dist/src/executors/clean/executor.d.mts.map +0 -1
  48. package/dist/src/executors/clean/executor.d.ts +0 -170
  49. package/dist/src/executors/clean/executor.d.ts.map +0 -1
  50. package/dist/src/executors/clean/executor.js +0 -11
  51. package/dist/src/executors/clean/executor.mjs +0 -12
  52. package/dist/src/executors/clean/executor.mjs.map +0 -1
  53. package/dist/src/executors/clean/untyped.d.mts +0 -5
  54. package/dist/src/executors/clean/untyped.d.mts.map +0 -1
  55. package/dist/src/executors/clean/untyped.d.ts +0 -4
  56. package/dist/src/executors/clean/untyped.d.ts.map +0 -1
  57. package/dist/src/executors/clean/untyped.js +0 -16
  58. package/dist/src/executors/clean/untyped.mjs +0 -17
  59. package/dist/src/executors/clean/untyped.mjs.map +0 -1
  60. package/dist/src/executors/docs/executor.d.mts +0 -185
  61. package/dist/src/executors/docs/executor.d.mts.map +0 -1
  62. package/dist/src/executors/docs/executor.d.ts +0 -184
  63. package/dist/src/executors/docs/executor.d.ts.map +0 -1
  64. package/dist/src/executors/docs/executor.js +0 -11
  65. package/dist/src/executors/docs/executor.mjs +0 -12
  66. package/dist/src/executors/docs/executor.mjs.map +0 -1
  67. package/dist/src/executors/docs/untyped.d.mts +0 -5
  68. package/dist/src/executors/docs/untyped.d.mts.map +0 -1
  69. package/dist/src/executors/docs/untyped.d.ts +0 -4
  70. package/dist/src/executors/docs/untyped.d.ts.map +0 -1
  71. package/dist/src/executors/docs/untyped.js +0 -16
  72. package/dist/src/executors/docs/untyped.mjs +0 -17
  73. package/dist/src/executors/docs/untyped.mjs.map +0 -1
  74. package/dist/src/executors/lint/executor.d.mts +0 -185
  75. package/dist/src/executors/lint/executor.d.mts.map +0 -1
  76. package/dist/src/executors/lint/executor.d.ts +0 -184
  77. package/dist/src/executors/lint/executor.d.ts.map +0 -1
  78. package/dist/src/executors/lint/executor.js +0 -11
  79. package/dist/src/executors/lint/executor.mjs +0 -12
  80. package/dist/src/executors/lint/executor.mjs.map +0 -1
  81. package/dist/src/executors/lint/untyped.d.mts +0 -5
  82. package/dist/src/executors/lint/untyped.d.mts.map +0 -1
  83. package/dist/src/executors/lint/untyped.d.ts +0 -4
  84. package/dist/src/executors/lint/untyped.d.ts.map +0 -1
  85. package/dist/src/executors/lint/untyped.js +0 -16
  86. package/dist/src/executors/lint/untyped.mjs +0 -17
  87. package/dist/src/executors/lint/untyped.mjs.map +0 -1
  88. package/dist/src/executors/prepare/executor.d.mts +0 -185
  89. package/dist/src/executors/prepare/executor.d.mts.map +0 -1
  90. package/dist/src/executors/prepare/executor.d.ts +0 -184
  91. package/dist/src/executors/prepare/executor.d.ts.map +0 -1
  92. package/dist/src/executors/prepare/executor.js +0 -11
  93. package/dist/src/executors/prepare/executor.mjs +0 -12
  94. package/dist/src/executors/prepare/executor.mjs.map +0 -1
  95. package/dist/src/executors/prepare/untyped.d.mts +0 -5
  96. package/dist/src/executors/prepare/untyped.d.mts.map +0 -1
  97. package/dist/src/executors/prepare/untyped.d.ts +0 -4
  98. package/dist/src/executors/prepare/untyped.d.ts.map +0 -1
  99. package/dist/src/executors/prepare/untyped.js +0 -26
  100. package/dist/src/executors/prepare/untyped.mjs +0 -27
  101. package/dist/src/executors/prepare/untyped.mjs.map +0 -1
  102. package/dist/src/generators/sync/generator.d.mts +0 -7
  103. package/dist/src/generators/sync/generator.d.mts.map +0 -1
  104. package/dist/src/generators/sync/generator.d.ts +0 -7
  105. package/dist/src/generators/sync/generator.d.ts.map +0 -1
  106. package/dist/src/generators/sync/generator.js +0 -11
  107. package/dist/src/generators/sync/generator.mjs +0 -10
  108. package/dist/src/generators/sync/generator.mjs.map +0 -1
  109. package/dist/src/generators/sync/untyped.d.mts +0 -5
  110. package/dist/src/generators/sync/untyped.d.mts.map +0 -1
  111. package/dist/src/generators/sync/untyped.d.ts +0 -4
  112. package/dist/src/generators/sync/untyped.d.ts.map +0 -1
  113. package/dist/src/generators/sync/untyped.js +0 -22
  114. package/dist/src/generators/sync/untyped.mjs +0 -23
  115. package/dist/src/generators/sync/untyped.mjs.map +0 -1
  116. package/dist/src/helpers/constants.d.mts +0 -8
  117. package/dist/src/helpers/constants.d.mts.map +0 -1
  118. package/dist/src/helpers/constants.d.ts +0 -8
  119. package/dist/src/helpers/constants.d.ts.map +0 -1
  120. package/dist/src/helpers/constants.js +0 -34
  121. package/dist/src/helpers/constants.mjs +0 -34
  122. package/dist/src/helpers/constants.mjs.map +0 -1
  123. package/dist/src/helpers/index.d.mts +0 -3
  124. package/dist/src/helpers/index.d.ts +0 -3
  125. package/dist/src/helpers/index.js +0 -8
  126. package/dist/src/helpers/index.mjs +0 -4
  127. package/dist/src/helpers/plugin-utilities.d.mts +0 -56
  128. package/dist/src/helpers/plugin-utilities.d.mts.map +0 -1
  129. package/dist/src/helpers/plugin-utilities.d.ts +0 -56
  130. package/dist/src/helpers/plugin-utilities.d.ts.map +0 -1
  131. package/dist/src/helpers/plugin-utilities.js +0 -255
  132. package/dist/src/helpers/plugin-utilities.mjs +0 -251
  133. package/dist/src/helpers/plugin-utilities.mjs.map +0 -1
  134. package/dist/src/index.d.mts +0 -7
  135. package/dist/src/index.d.ts +0 -7
  136. package/dist/src/index.js +0 -12
  137. package/dist/src/index.mjs +0 -7
  138. package/dist/src/plugin/index.d.mts +0 -291
  139. package/dist/src/plugin/index.d.mts.map +0 -1
  140. package/dist/src/plugin/index.d.ts +0 -291
  141. package/dist/src/plugin/index.d.ts.map +0 -1
  142. package/dist/src/plugin/index.js +0 -288
  143. package/dist/src/plugin/index.mjs +0 -286
  144. package/dist/src/plugin/index.mjs.map +0 -1
  145. package/dist/src/rolldown-runtime-C24Yb2bl.js +0 -33
  146. package/dist/src/types/index.d.mts +0 -2
  147. package/dist/src/types/index.d.ts +0 -2
  148. package/dist/src/types/index.js +0 -0
  149. package/dist/src/types/index.mjs +0 -1
  150. package/dist/src/types/plugin.d.mts +0 -288
  151. package/dist/src/types/plugin.d.mts.map +0 -1
  152. package/dist/src/types/plugin.d.ts +0 -288
  153. package/dist/src/types/plugin.d.ts.map +0 -1
  154. package/dist/src/types/plugin.js +0 -0
  155. package/dist/src/types/plugin.mjs +0 -1
@@ -1,167 +1,178 @@
1
- //#region src/base/base-executor.schema.d.ts
1
+
2
2
  // Generated by @storm-software/untyped
3
3
  // Do not edit this file directly
4
- interface BaseExecutorSchema {
5
- /**
6
- * Powerlines Configuration File
7
- *
8
- * The path to the Powerlines configuration file. Alias for `configFile`.
9
- *
10
- *
11
- * @format path
12
- */
13
- config?: string;
14
- /**
15
- * Powerlines Configuration File
16
- *
17
- * The path to the Powerlines configuration file. Alias for `config`.
18
- *
19
- *
20
- * @format path
21
- */
22
- configFile?: string;
23
- /**
24
- * Powerlines Configuration Index
25
- *
26
- * The index in the Powerlines configuration file to use (if an array of configurations are provided).
27
- *
28
- * @default 0
29
- */
30
- configIndex?: number;
31
- /**
32
- * Input Entry File(s)
33
- *
34
- * The entry file(s) that serve as the input for the project
35
- *
36
- *
37
- * @format path
38
- */
39
- input?: Array<string>;
40
- /**
41
- * TSConfig Path
42
- *
43
- * The path to the tsconfig file
44
- *
45
- *
46
- * @format path
47
- */
48
- tsconfig?: string;
49
- /**
50
- * Output Path
51
- *
52
- * The path to the output directory for the build artifacts
53
- *
54
- *
55
- * @format path
56
- */
57
- outputPath?: string;
58
- /**
59
- * Copy Path
60
- *
61
- * A directory path to copy the build artifacts into
62
- *
63
- *
64
- * @oneOf [object Object],[object Object]
65
- */
66
- copyPath?: any;
67
- /**
68
- * Sourcemap
69
- *
70
- * Generate a sourcemap
71
- *
72
- */
73
- sourceMap?: boolean;
74
- /**
75
- * Minify
76
- *
77
- * Minify the output
78
- *
79
- */
80
- minify?: boolean;
81
- /**
82
- * Format
83
- *
84
- * The format to build
85
- *
86
- * @default ["cjs","esm"]
87
- */
88
- format?: Array<string>;
89
- /**
90
- * Platform
91
- *
92
- * The platform to build
93
- *
94
- *
95
- * @enum neutral,node,browser
96
- */
97
- platform?: string;
98
- /**
99
- * External
100
- *
101
- * The external dependencies
102
- *
103
- */
104
- external?: Array<any>;
105
- /**
106
- * No External
107
- *
108
- * The dependencies that should not be treated as external
109
- *
110
- */
111
- noExternal?: Array<any>;
112
- /**
113
- * Skip Node Modules Bundle
114
- *
115
- * Skip bundling node_modules during the build process (if required)
116
- *
117
- */
118
- skipNodeModulesBundle?: boolean;
119
- /**
120
- * Mode
121
- *
122
- * The build mode
123
- *
124
- *
125
- * @enum development,test,production
126
- */
127
- mode?: string;
128
- /**
129
- * Log Level
130
- *
131
- * The log level to use for the build process
132
- *
133
- *
134
- * @enum fatal,error,warn,success,info,debug,trace,silent
135
- */
136
- logLevel?: string;
137
- /**
138
- * Define
139
- *
140
- * The `define` values
141
- *
142
- */
143
- define?: Record<string, string>;
144
- /**
145
- * Assets
146
- *
147
- * The `assets` values
148
- *
149
- */
150
- assets?: Array<{
151
- input?: string;
152
- output?: string;
153
- glob: string;
154
- ignore?: string[];
155
- dot?: boolean;
156
- }>;
157
- /**
158
- * Additional Arguments
159
- *
160
- * The additional arguments provided during execution of the command
161
- *
162
- */
163
- additionalArgs?: Record<string, string>;
4
+
5
+ export interface BaseExecutorSchema {
6
+ /**
7
+ * Powerlines Configuration File
8
+ *
9
+ * The path to the Powerlines configuration file. Alias for `configFile`.
10
+ *
11
+ *
12
+ * @format path
13
+ */
14
+ config?: string,
15
+
16
+ /**
17
+ * Powerlines Configuration File
18
+ *
19
+ * The path to the Powerlines configuration file. Alias for `config`.
20
+ *
21
+ *
22
+ * @format path
23
+ */
24
+ configFile?: string,
25
+
26
+ /**
27
+ * Powerlines Configuration Index
28
+ *
29
+ * The index in the Powerlines configuration file to use (if an array of configurations are provided).
30
+ *
31
+ * @default 0
32
+ */
33
+ configIndex?: number,
34
+
35
+ /**
36
+ * Input Entry File(s)
37
+ *
38
+ * The entry file(s) that serve as the input for the project
39
+ *
40
+ *
41
+ * @format path
42
+ */
43
+ input?: Array<string>,
44
+
45
+ /**
46
+ * TSConfig Path
47
+ *
48
+ * The path to the tsconfig file
49
+ *
50
+ *
51
+ * @format path
52
+ */
53
+ tsconfig?: string,
54
+
55
+ /**
56
+ * Output Path
57
+ *
58
+ * The path to the output directory for the build artifacts
59
+ *
60
+ *
61
+ * @format path
62
+ */
63
+ outputPath?: string,
64
+
65
+ /**
66
+ * Copy Path
67
+ *
68
+ * A directory path to copy the build artifacts into
69
+ *
70
+ *
71
+ * @oneOf [object Object],[object Object]
72
+ */
73
+ copyPath?: any,
74
+
75
+ /**
76
+ * Sourcemap
77
+ *
78
+ * Generate a sourcemap
79
+ *
80
+ */
81
+ sourceMap?: boolean,
82
+
83
+ /**
84
+ * Minify
85
+ *
86
+ * Minify the output
87
+ *
88
+ */
89
+ minify?: boolean,
90
+
91
+ /**
92
+ * Format
93
+ *
94
+ * The format to build
95
+ *
96
+ * @default ["cjs","esm"]
97
+ */
98
+ format?: Array<string>,
99
+
100
+ /**
101
+ * Platform
102
+ *
103
+ * The platform to build
104
+ *
105
+ *
106
+ * @enum neutral,node,browser
107
+ */
108
+ platform?: string,
109
+
110
+ /**
111
+ * External
112
+ *
113
+ * The external dependencies
114
+ *
115
+ */
116
+ external?: Array<any>,
117
+
118
+ /**
119
+ * No External
120
+ *
121
+ * The dependencies that should not be treated as external
122
+ *
123
+ */
124
+ noExternal?: Array<any>,
125
+
126
+ /**
127
+ * Skip Node Modules Bundle
128
+ *
129
+ * Skip bundling node_modules during the build process (if required)
130
+ *
131
+ */
132
+ skipNodeModulesBundle?: boolean,
133
+
134
+ /**
135
+ * Mode
136
+ *
137
+ * The build mode
138
+ *
139
+ *
140
+ * @enum development,test,production
141
+ */
142
+ mode?: string,
143
+
144
+ /**
145
+ * Log Level
146
+ *
147
+ * The log level to use for the build process
148
+ *
149
+ *
150
+ * @enum fatal,error,warn,success,info,debug,trace,silent
151
+ */
152
+ logLevel?: string,
153
+
154
+ /**
155
+ * Define
156
+ *
157
+ * The `define` values
158
+ *
159
+ */
160
+ define?: Record<string, string>,
161
+
162
+ /**
163
+ * Assets
164
+ *
165
+ * The `assets` values
166
+ *
167
+ */
168
+ assets?: Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>,
169
+
170
+ /**
171
+ * Additional Arguments
172
+ *
173
+ * The additional arguments provided during execution of the command
174
+ *
175
+ */
176
+ additionalArgs?: Record<string, string>,
164
177
  }
165
- //#endregion
166
- export { BaseExecutorSchema };
167
- //# sourceMappingURL=base-executor.schema.d.ts.map
178
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/nx",
3
- "version": "0.13.232",
3
+ "version": "0.13.233",
4
4
  "private": false,
5
5
  "description": "A Nx plugin to support Powerlines development in Nx monorepos.",
6
6
  "repository": {
@@ -18,6 +18,7 @@
18
18
  "./generators.json": "./generators.json",
19
19
  "./generators/*/schema.json": "./dist/src/generators/*/schema.json",
20
20
  ".": {
21
+ "types": "./src/index.ts",
21
22
  "import": {
22
23
  "types": "./dist/src/index.d.mts",
23
24
  "default": "./dist/src/index.mjs"
@@ -32,6 +33,7 @@
32
33
  }
33
34
  },
34
35
  "./index": {
36
+ "types": "./src/index.ts",
35
37
  "import": {
36
38
  "types": "./dist/src/index.d.mts",
37
39
  "default": "./dist/src/index.mjs"
@@ -46,6 +48,7 @@
46
48
  }
47
49
  },
48
50
  "./base/*": {
51
+ "types": "./src/base/*/index.ts",
49
52
  "import": {
50
53
  "types": "./dist/src/base/*.d.mts",
51
54
  "default": "./dist/src/base/*.mjs"
@@ -60,6 +63,7 @@
60
63
  }
61
64
  },
62
65
  "./types/*": {
66
+ "types": "./src/types/*/index.ts",
63
67
  "import": {
64
68
  "types": "./dist/src/types/*.d.mts",
65
69
  "default": "./dist/src/types/*.mjs"
@@ -74,6 +78,7 @@
74
78
  }
75
79
  },
76
80
  "./helpers/*": {
81
+ "types": "./src/helpers/*/index.ts",
77
82
  "import": {
78
83
  "types": "./dist/src/helpers/*.d.mts",
79
84
  "default": "./dist/src/helpers/*.mjs"
@@ -88,6 +93,7 @@
88
93
  }
89
94
  },
90
95
  "./plugin": {
96
+ "types": "./src/plugin/index.ts",
91
97
  "import": {
92
98
  "types": "./dist/src/plugin/index.d.mts",
93
99
  "default": "./dist/src/plugin/index.mjs"
@@ -102,6 +108,7 @@
102
108
  }
103
109
  },
104
110
  "./executors/*/untyped": {
111
+ "types": "./src/executors/*/untyped/index.ts",
105
112
  "import": {
106
113
  "types": "./dist/src/executors/*/untyped.d.mts",
107
114
  "default": "./dist/src/executors/*/untyped.mjs"
@@ -116,6 +123,7 @@
116
123
  }
117
124
  },
118
125
  "./generators/*/untyped": {
126
+ "types": "./src/generators/*/untyped/index.ts",
119
127
  "import": {
120
128
  "types": "./dist/src/generators/*/untyped.d.mts",
121
129
  "default": "./dist/src/generators/*/untyped.mjs"
@@ -130,6 +138,7 @@
130
138
  }
131
139
  },
132
140
  "./executors/*/executor": {
141
+ "types": "./src/executors/*/executor/index.ts",
133
142
  "import": {
134
143
  "types": "./dist/src/executors/*/executor.d.mts",
135
144
  "default": "./dist/src/executors/*/executor.mjs"
@@ -144,6 +153,7 @@
144
153
  }
145
154
  },
146
155
  "./generators/*/generator": {
156
+ "types": "./src/generators/*/generator/index.ts",
147
157
  "import": {
148
158
  "types": "./dist/src/generators/*/generator.d.mts",
149
159
  "default": "./dist/src/generators/*/generator.mjs"
@@ -174,27 +184,27 @@
174
184
  ],
175
185
  "dependencies": {
176
186
  "@nx/devkit": "^23.1.1",
177
- "@storm-software/build-tools": "^0.158.275",
178
- "@storm-software/config": "^1.138.52",
179
- "@storm-software/config-tools": "^1.190.115",
180
- "@storm-software/workspace-tools": "^1.296.95",
181
- "@stryke/env": "^0.20.120",
182
- "@stryke/fs": "^0.33.103",
183
- "@stryke/hash": "^0.13.56",
184
- "@stryke/helpers": "^0.10.42",
185
- "@stryke/path": "^0.29.29",
186
- "@stryke/string-format": "^0.17.44",
187
- "@stryke/type-checks": "^0.6.35",
187
+ "@storm-software/build-tools": "^0.158.290",
188
+ "@storm-software/config": "^1.138.66",
189
+ "@storm-software/config-tools": "^1.190.130",
190
+ "@storm-software/workspace-tools": "^1.296.115",
191
+ "@stryke/env": "^0.20.126",
192
+ "@stryke/fs": "^0.33.109",
193
+ "@stryke/hash": "^0.13.62",
194
+ "@stryke/helpers": "^0.10.47",
195
+ "@stryke/path": "^0.29.34",
196
+ "@stryke/string-format": "^0.17.49",
197
+ "@stryke/type-checks": "^0.6.40",
188
198
  "defu": "^6.1.7",
189
199
  "jiti": "^2.7.0",
190
- "powerlines": "^0.47.193"
200
+ "powerlines": "^0.47.194"
191
201
  },
192
202
  "devDependencies": {
193
203
  "@nx/workspace": "23.1.0",
194
- "@storm-software/testing-tools": "^1.119.268",
195
- "@storm-software/tsup": "^0.2.273",
196
- "@storm-software/untyped": "^0.24.257",
197
- "@stryke/types": "^0.12.30",
204
+ "@storm-software/testing-tools": "^1.119.282",
205
+ "@storm-software/tsup": "^0.2.288",
206
+ "@storm-software/untyped": "^0.24.272",
207
+ "@stryke/types": "^0.12.35",
198
208
  "@types/node": "^25.9.5",
199
209
  "eslint-flat-config-utils": "^2.1.4",
200
210
  "jsonc-eslint-parser": "^2.4.2",
@@ -207,5 +217,5 @@
207
217
  "publishConfig": { "access": "public" },
208
218
  "executors": "./executors.json",
209
219
  "generators": "./generators.json",
210
- "gitHead": "1589a2d83936bacf34aa90ffae4119df0b1b6bc6"
220
+ "gitHead": "ca37aa95827eddaaa3b5c8cb750249cc9045ac29"
211
221
  }
@@ -1,28 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from === "object" || typeof from === "function") {
10
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
- key = keys[i];
12
- if (!__hasOwnProp.call(to, key) && key !== except) {
13
- __defProp(to, key, {
14
- get: ((k) => from[k]).bind(null, key),
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- }
19
- }
20
- return to;
21
- };
22
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
23
- value: mod,
24
- enumerable: true
25
- }) : target, mod));
26
-
27
- //#endregion
28
- exports.__toESM = __toESM;
@@ -1,60 +0,0 @@
1
- import { BaseExecutorSchema } from "./base-executor.schema.mjs";
2
- import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
3
- import { StormWorkspaceConfig } from "@storm-software/config/types";
4
- import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
5
- import { DeepPartial } from "@stryke/types/base";
6
- import { ExecutionOptions, FrameworkOptions, InlineConfig } from "powerlines";
7
- //#region src/base/base-executor.d.ts
8
- type PowerlinesExecutorContext<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
9
- projectName: string;
10
- command: string;
11
- options: TExecutorSchema;
12
- inlineConfig: InlineConfig;
13
- workspaceConfig: StormWorkspaceConfig;
14
- };
15
- type PowerlinesExecutorApi = (inlineConfig: InlineConfig) => Promise<void>;
16
- interface WithExecutorOptions {
17
- /**
18
- * The import path for the executor API module, which is used to dynamically import the API function that will be called during execution. This value should be a string representing the module path, and it defaults to "powerlines/api" if not provided. The specified module should export a default function that matches the expected signature for the executor API, which will be invoked with the execution parameters when the executor is run.
19
- *
20
- * @defaultValue "powerlines/api"
21
- */
22
- importPath?: string;
23
- /**
24
- * Default options to be merged with the execution options, which can be used to provide default values for certain execution parameters or to override specific options for all executions of the executor. This value should be an object that matches the shape of the `ExecutionOptions` type, and it will be merged with the options provided during execution to create the final set of options that will be passed to the executor API function.
25
- *
26
- * @remarks
27
- * This can be useful for setting default values for options that are commonly used across multiple executions, or for providing a consistent set of options for all executions of the executor without requiring the caller to specify them each time.
28
- */
29
- defaultOptions?: DeepPartial<ExecutionOptions>;
30
- /**
31
- * Details about the framework being used in the current execution, which can be used by plugins and other parts of the system to customize behavior based on the framework.
32
- *
33
- * @remarks
34
- * This should only be used by framework plugins to ensure the correct framework name is applied
35
- *
36
- * @defaultValue
37
- * ```ts
38
- * {
39
- * name: "powerlines",
40
- * orgId: "storm-software"
41
- * }
42
- * ```
43
- */
44
- framework?: FrameworkOptions;
45
- }
46
- /**
47
- * A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.
48
- *
49
- * @remarks
50
- * This function is designed to simplify the creation of Powerlines executors by providing a consistent interface and error handling.
51
- *
52
- * @param command - The command that the executor will handle (e.g., "new", "prepare", "build", etc.).
53
- * @param executorFn - The function that will be executed when the command is run.
54
- * @param options - Additional options for configuring the executor, such as the import path for the API module and default execution options.
55
- * @returns A Promise that resolves to the result of the executor function.
56
- */
57
- declare function withExecutor<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: string, executorFn: (context: PowerlinesExecutorContext<TExecutorSchema>, api: PowerlinesExecutorApi) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined, options?: WithExecutorOptions): PromiseExecutor<TExecutorSchema>;
58
- //#endregion
59
- export { PowerlinesExecutorApi, PowerlinesExecutorContext, WithExecutorOptions, withExecutor };
60
- //# sourceMappingURL=base-executor.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-executor.d.mts","names":[],"sources":["../../../src/base/base-executor.ts"],"mappings":";;;;;;;KA4CY,0BACV,wBAAwB,qBAAqB,sBAC3C;EACF;EACA;EACA,SAAS;EACT,cAAc;EACd,iBAAiB;;KAGP,yBACV,cAAc,iBACX;UAEY;;;;;;EAMf;;;;;;;EAQA,iBAAiB,YAAY;;;;;;;;;;;;;;;EAgB7B,YAAY;;;;;;;;;;;;;iBAcE,aACd,wBAAwB,qBAAqB,oBAE7C,iBACA,aACE,SAAS,0BAA0B,kBACnC,KAAK,0BAEH,QAAQ,yCACR,uCAGJ,UAAS,sBACR,gBAAgB"}
@@ -1,60 +0,0 @@
1
- import { BaseExecutorSchema } from "./base-executor.schema.js";
2
- import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
3
- import { StormWorkspaceConfig } from "@storm-software/config/types";
4
- import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
5
- import { DeepPartial } from "@stryke/types/base";
6
- import { ExecutionOptions, FrameworkOptions, InlineConfig } from "powerlines";
7
- //#region src/base/base-executor.d.ts
8
- type PowerlinesExecutorContext<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
9
- projectName: string;
10
- command: string;
11
- options: TExecutorSchema;
12
- inlineConfig: InlineConfig;
13
- workspaceConfig: StormWorkspaceConfig;
14
- };
15
- type PowerlinesExecutorApi = (inlineConfig: InlineConfig) => Promise<void>;
16
- interface WithExecutorOptions {
17
- /**
18
- * The import path for the executor API module, which is used to dynamically import the API function that will be called during execution. This value should be a string representing the module path, and it defaults to "powerlines/api" if not provided. The specified module should export a default function that matches the expected signature for the executor API, which will be invoked with the execution parameters when the executor is run.
19
- *
20
- * @defaultValue "powerlines/api"
21
- */
22
- importPath?: string;
23
- /**
24
- * Default options to be merged with the execution options, which can be used to provide default values for certain execution parameters or to override specific options for all executions of the executor. This value should be an object that matches the shape of the `ExecutionOptions` type, and it will be merged with the options provided during execution to create the final set of options that will be passed to the executor API function.
25
- *
26
- * @remarks
27
- * This can be useful for setting default values for options that are commonly used across multiple executions, or for providing a consistent set of options for all executions of the executor without requiring the caller to specify them each time.
28
- */
29
- defaultOptions?: DeepPartial<ExecutionOptions>;
30
- /**
31
- * Details about the framework being used in the current execution, which can be used by plugins and other parts of the system to customize behavior based on the framework.
32
- *
33
- * @remarks
34
- * This should only be used by framework plugins to ensure the correct framework name is applied
35
- *
36
- * @defaultValue
37
- * ```ts
38
- * {
39
- * name: "powerlines",
40
- * orgId: "storm-software"
41
- * }
42
- * ```
43
- */
44
- framework?: FrameworkOptions;
45
- }
46
- /**
47
- * A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.
48
- *
49
- * @remarks
50
- * This function is designed to simplify the creation of Powerlines executors by providing a consistent interface and error handling.
51
- *
52
- * @param command - The command that the executor will handle (e.g., "new", "prepare", "build", etc.).
53
- * @param executorFn - The function that will be executed when the command is run.
54
- * @param options - Additional options for configuring the executor, such as the import path for the API module and default execution options.
55
- * @returns A Promise that resolves to the result of the executor function.
56
- */
57
- declare function withExecutor<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: string, executorFn: (context: PowerlinesExecutorContext<TExecutorSchema>, api: PowerlinesExecutorApi) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined, options?: WithExecutorOptions): PromiseExecutor<TExecutorSchema>;
58
- //#endregion
59
- export { PowerlinesExecutorApi, PowerlinesExecutorContext, WithExecutorOptions, withExecutor };
60
- //# sourceMappingURL=base-executor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-executor.d.ts","names":[],"sources":["../../../src/base/base-executor.ts"],"mappings":";;;;;;;KA4CY,0BACV,wBAAwB,qBAAqB,sBAC3C;EACF;EACA;EACA,SAAS;EACT,cAAc;EACd,iBAAiB;;KAGP,yBACV,cAAc,iBACX;UAEY;;;;;;EAMf;;;;;;;EAQA,iBAAiB,YAAY;;;;;;;;;;;;;;;EAgB7B,YAAY;;;;;;;;;;;;;iBAcE,aACd,wBAAwB,qBAAqB,oBAE7C,iBACA,aACE,SAAS,0BAA0B,kBACnC,KAAK,0BAEH,QAAQ,yCACR,uCAGJ,UAAS,sBACR,gBAAgB"}