@storm-software/workspace-tools 1.295.19 → 1.295.21

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 (43) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-NU3RM6J3.js → chunk-TLQOFGV3.js} +1 -1
  4. package/dist/{chunk-R4N2WEQ2.mjs → chunk-YWURGVT5.mjs} +1 -1
  5. package/dist/executors.js +1 -1
  6. package/dist/executors.mjs +1 -1
  7. package/dist/index.js +15 -15
  8. package/dist/index.mjs +23 -23
  9. package/dist/src/plugins/rust/cargo-toml.js +2 -2
  10. package/dist/src/plugins/rust/cargo-toml.mjs +1 -1
  11. package/dist/src/plugins/rust/index.js +2 -2
  12. package/dist/src/plugins/rust/index.mjs +1 -1
  13. package/dist/src/plugins/typescript/index.js +1 -1
  14. package/dist/src/plugins/typescript/index.mjs +1 -1
  15. package/dist/src/utils/index.js +10 -10
  16. package/dist/src/utils/index.mjs +16 -16
  17. package/package.json +9 -9
  18. package/dist/executor-3xgqDuO8.d.mts +0 -267
  19. package/dist/executor-AWVjob7x.d.ts +0 -146
  20. package/dist/executor-Bg1ZMajZ.d.mts +0 -305
  21. package/dist/executor-C8CSiSYp.d.ts +0 -267
  22. package/dist/executor-CUSJtboU.d.mts +0 -146
  23. package/dist/executor-CazPhUHi.d.mts +0 -57
  24. package/dist/executor-CiMwf7XO.d.mts +0 -34
  25. package/dist/executor-CxVN6aHC.d.ts +0 -34
  26. package/dist/executor-D5cKqCTN.d.ts +0 -305
  27. package/dist/executor-D9Vr-za5.d.mts +0 -144
  28. package/dist/executor-DipEWUrL.d.ts +0 -57
  29. package/dist/executor-OgkQy9Fn.d.ts +0 -144
  30. package/dist/generator-B3TfYhfT.d.mts +0 -38
  31. package/dist/generator-BKf0zW9i.d.mts +0 -108
  32. package/dist/generator-BZ5KDaAo.d.ts +0 -38
  33. package/dist/generator-BrJ8Eldd.d.ts +0 -130
  34. package/dist/generator-BrOskKnM.d.mts +0 -130
  35. package/dist/generator-C7Xsn3y0.d.ts +0 -130
  36. package/dist/generator-CbsXFRS0.d.mts +0 -130
  37. package/dist/generator-Cuho4nz0.d.ts +0 -108
  38. package/dist/generator-cqX5AafO.d.mts +0 -130
  39. package/dist/generator-ru0ihHO5.d.ts +0 -130
  40. package/dist/types-B6F7nl01.d.ts +0 -116
  41. package/dist/types-BI64Uv6g.d.mts +0 -116
  42. package/dist/types-D-YNP2Zk.d.mts +0 -243
  43. package/dist/types-D-YNP2Zk.d.ts +0 -243
@@ -1,267 +0,0 @@
1
- import * as _nx_devkit from '@nx/devkit';
2
- import { ExecutorContext } from '@nx/devkit';
3
- import { S as StormWorkspaceConfig } from './types-D-YNP2Zk.mjs';
4
-
5
- // Generated by @storm-software/untyped
6
- // Do not edit this file directly
7
-
8
- interface UnbuildExecutorSchema {
9
- /**
10
- * Output Path
11
- *
12
- * The output path for the build
13
- *
14
- *
15
- * @format path
16
- */
17
- outputPath?: string,
18
-
19
- /**
20
- * Input Directory
21
- *
22
- * The directory to use as input for the build
23
- *
24
- * @default ["{sourceRoot}"]
25
- *
26
- * @format path
27
- */
28
- entry: Array<string>,
29
-
30
- /**
31
- * TSConfig Path
32
- *
33
- * The path to the tsconfig file
34
- *
35
- * @default "{projectRoot}/tsconfig.json"
36
- *
37
- * @format path
38
- */
39
- tsconfig?: string,
40
-
41
- /**
42
- * Bundle
43
- *
44
- * Bundle the output
45
- *
46
- */
47
- bundle?: boolean,
48
-
49
- /**
50
- * Minify
51
- *
52
- * Minify the output
53
- *
54
- */
55
- minify?: boolean,
56
-
57
- /**
58
- * Debug
59
- *
60
- * Debug the output
61
- *
62
- */
63
- debug?: boolean,
64
-
65
- /**
66
- * Sourcemap
67
- *
68
- * Generate a sourcemap
69
- *
70
- */
71
- sourcemap?: boolean,
72
-
73
- /**
74
- * Silent
75
- *
76
- * Should the build run silently - only report errors back to the user
77
- *
78
- * @default false
79
- */
80
- silent?: boolean,
81
-
82
- /**
83
- * Target
84
- *
85
- * The target to build
86
- *
87
- * @default "esnext"
88
- *
89
- * @enum es3,es5,es6,es2015,es2016,es2017,es2018,es2019,es2020,es2021,es2022,es2023,es2024,esnext,node12,node14,node16,node18,node20,node22,browser,chrome58,chrome59,chrome60
90
- */
91
- target?: string,
92
-
93
- /**
94
- * Format
95
- *
96
- * The format to build
97
- *
98
- * @default ["cjs","esm"]
99
- */
100
- format?: Array<string>,
101
-
102
- /**
103
- * Platform
104
- *
105
- * The platform to build
106
- *
107
- * @default "neutral"
108
- *
109
- * @enum neutral,node,browser
110
- */
111
- platform?: string,
112
-
113
- /**
114
- * External
115
- *
116
- * The external dependencies
117
- *
118
- */
119
- external?: Array<any>,
120
-
121
- /**
122
- * Define
123
- *
124
- * The define values
125
- *
126
- */
127
- define?: Record<string, string>,
128
-
129
- /**
130
- * Environment Variables
131
- *
132
- * The environment variable values
133
- *
134
- */
135
- env?: Record<string, string>,
136
-
137
- /**
138
- * Name
139
- *
140
- * The name of the project/build
141
- *
142
- * @default "{projectName}"
143
- */
144
- name: string,
145
-
146
- /**
147
- * Tree Shaking
148
- *
149
- * Enable tree shaking
150
- *
151
- * @default true
152
- */
153
- treeShaking?: boolean,
154
-
155
- /**
156
- * Watch
157
- *
158
- * Watch for changes
159
- *
160
- * @default false
161
- */
162
- watch?: boolean,
163
-
164
- /**
165
- * Clean
166
- *
167
- * Clean the output directory before building
168
- *
169
- * @default true
170
- */
171
- clean?: boolean,
172
-
173
- /**
174
- * Stub
175
- *
176
- * Stub the output
177
- *
178
- * @default false
179
- */
180
- stub?: boolean,
181
-
182
- /**
183
- * Build Only
184
- *
185
- * Should the build process skip generating a package.json and copying assets
186
- *
187
- * @default false
188
- */
189
- buildOnly?: boolean,
190
-
191
- /**
192
- * Watch Options
193
- *
194
- * Watch options
195
- *
196
- */
197
- watchOptions?: {
198
- [key: string]: any
199
- },
200
-
201
- /**
202
- * Stub Options
203
- *
204
- * Stub options
205
- *
206
- */
207
- stubOptions?: {
208
- [key: string]: any
209
- },
210
-
211
- /**
212
- * Dependencies
213
- *
214
- * The dependencies to install
215
- *
216
- */
217
- dependencies?: Array<string>,
218
-
219
- /**
220
- * Peer Dependencies
221
- *
222
- * The peer dependencies to install
223
- *
224
- */
225
- peerDependencies?: Array<string>,
226
-
227
- /**
228
- * Dev Dependencies
229
- *
230
- * The dev dependencies to install
231
- *
232
- */
233
- devDependencies?: Array<string>,
234
-
235
- /**
236
- * Alias
237
- *
238
- * The alias to use
239
- *
240
- */
241
- alias?: Record<string, string>,
242
-
243
- /**
244
- * Replace
245
- *
246
- * The replace to use
247
- *
248
- */
249
- replace?: Record<string, string>,
250
-
251
- /**
252
- * Rollup
253
- *
254
- * The rollup options
255
- *
256
- */
257
- rollup?: {
258
- [key: string]: any
259
- },
260
- }
261
-
262
- declare function unbuildExecutorFn(options: UnbuildExecutorSchema, context: ExecutorContext, config: StormWorkspaceConfig): Promise<{
263
- success: boolean;
264
- }>;
265
- declare const _default: _nx_devkit.PromiseExecutor<UnbuildExecutorSchema>;
266
-
267
- export { type UnbuildExecutorSchema as U, _default as _, unbuildExecutorFn as u };
@@ -1,146 +0,0 @@
1
- import * as _nx_devkit from '@nx/devkit';
2
- import { ExecutorContext } from '@nx/devkit';
3
- import { S as StormWorkspaceConfig } from './types-D-YNP2Zk.js';
4
-
5
- // Generated by @storm-software/untyped
6
- // Do not edit this file directly
7
-
8
- interface ESBuildExecutorSchema {
9
- /**
10
- * Output Path
11
- *
12
- * The output path for the build
13
- *
14
- * @default "dist/{projectRoot}"
15
- *
16
- * @format path
17
- */
18
- outputPath?: string,
19
-
20
- /**
21
- * Entry File(s)
22
- *
23
- * The entry file or files to build
24
- *
25
- * @default ["{sourceRoot}/index.ts"]
26
- *
27
- * @format path
28
- */
29
- entry?: Array<string>,
30
-
31
- /**
32
- * TSConfig Path
33
- *
34
- * The path to the tsconfig file
35
- *
36
- * @default "{projectRoot}/tsconfig.json"
37
- *
38
- * @format path
39
- */
40
- tsconfig?: string,
41
-
42
- /**
43
- * Bundle
44
- *
45
- * Bundle the output
46
- *
47
- */
48
- bundle?: boolean,
49
-
50
- /**
51
- * Minify
52
- *
53
- * Minify the output
54
- *
55
- */
56
- minify?: boolean,
57
-
58
- /**
59
- * Debug
60
- *
61
- * Debug the output
62
- *
63
- */
64
- debug?: boolean,
65
-
66
- /**
67
- * Sourcemap
68
- *
69
- * Generate a sourcemap
70
- *
71
- */
72
- sourcemap?: boolean,
73
-
74
- /**
75
- * Silent
76
- *
77
- * Should the build run silently - only report errors back to the user
78
- *
79
- * @default false
80
- */
81
- silent?: boolean,
82
-
83
- /**
84
- * Target
85
- *
86
- * The target to build
87
- *
88
- * @default "esnext"
89
- *
90
- * @enum es3,es5,es6,es2015,es2016,es2017,es2018,es2019,es2020,es2021,es2022,es2023,es2024,esnext,node12,node14,node16,node18,node20,node22,browser,chrome58,chrome59,chrome60
91
- */
92
- target?: string,
93
-
94
- /**
95
- * Format
96
- *
97
- * The format to build
98
- *
99
- * @default "esm"
100
- *
101
- * @enum cjs,esm,iife
102
- */
103
- format?: string,
104
-
105
- /**
106
- * Platform
107
- *
108
- * The platform to build
109
- *
110
- * @default "neutral"
111
- *
112
- * @enum neutral,node,browser
113
- */
114
- platform?: string,
115
-
116
- /**
117
- * External
118
- *
119
- * The external dependencies
120
- *
121
- */
122
- external?: Array<any>,
123
-
124
- /**
125
- * Define
126
- *
127
- * The define values
128
- *
129
- */
130
- define?: Record<string, string>,
131
-
132
- /**
133
- * Environment Variables
134
- *
135
- * The environment variable values
136
- *
137
- */
138
- env?: Record<string, string>,
139
- }
140
-
141
- declare function esbuildExecutorFn(options: ESBuildExecutorSchema, context: ExecutorContext, config?: StormWorkspaceConfig): Promise<{
142
- success: boolean;
143
- }>;
144
- declare const _default: _nx_devkit.PromiseExecutor<ESBuildExecutorSchema>;
145
-
146
- export { type ESBuildExecutorSchema as E, _default as _, esbuildExecutorFn as e };
@@ -1,305 +0,0 @@
1
- import { ExecutorContext, PromiseExecutor } from '@nx/devkit';
2
- import { S as StormWorkspaceConfig } from './types-D-YNP2Zk.mjs';
3
-
4
- // Generated by @storm-software/untyped
5
- // Do not edit this file directly
6
-
7
- interface NapiExecutorSchema {
8
- /**
9
- * Output Path
10
- *
11
- * The path to the output directory
12
- *
13
- * @default "{sourceRoot}"
14
- *
15
- * @format path
16
- */
17
- outputPath: string,
18
-
19
- /**
20
- * Package Name
21
- *
22
- * Build the specified library or the one at cwd
23
- *
24
- */
25
- package: string,
26
-
27
- /**
28
- * Toolchain
29
- *
30
- * The type of toolchain to use for the build
31
- *
32
- * @default "stable"
33
- *
34
- * @enum stable,beta,nightly
35
- */
36
- toolchain?: string,
37
-
38
- /**
39
- * Target Triple
40
- *
41
- * Build for the target triple, bypassed to `cargo build --target`
42
- *
43
- */
44
- target?: string,
45
-
46
- /**
47
- * All Targets
48
- *
49
- * Build all targets
50
- *
51
- */
52
- allTargets?: boolean,
53
-
54
- /**
55
- * Cargo Profile
56
- *
57
- * Build artifacts with the specified profile
58
- *
59
- */
60
- profile?: string,
61
-
62
- /**
63
- * Release Mode
64
- *
65
- * Build in release mode
66
- *
67
- */
68
- release?: boolean,
69
-
70
- /**
71
- * Cargo Features
72
- *
73
- * List of features to activate
74
- *
75
- */
76
- features?: Array<string>,
77
-
78
- /**
79
- * All Features
80
- *
81
- * Activate all available features
82
- *
83
- */
84
- allFeatures?: boolean,
85
-
86
- /**
87
- * JS Binding File
88
- *
89
- * The path to the output JavaScript file
90
- *
91
- * @default "binding.js"
92
- */
93
- jsBinding: string,
94
-
95
- /**
96
- * DTS Binding File
97
- *
98
- * The path to the output TypeScript declaration file
99
- *
100
- * @default "binding.d.ts"
101
- */
102
- dts: string,
103
-
104
- /**
105
- * Manifest Path
106
- *
107
- * The path to the Cargo.toml manifest file
108
- *
109
- *
110
- * @format path
111
- */
112
- manifestPath: string,
113
-
114
- /**
115
- * Working Directory
116
- *
117
- * Working directory where napi command will be executed; other paths are relative to this
118
- *
119
- *
120
- * @format path
121
- */
122
- cwd?: string,
123
-
124
- /**
125
- * NAPI Config Path
126
- *
127
- * Path to napi config JSON file
128
- *
129
- *
130
- * @format path
131
- */
132
- configPath?: string,
133
-
134
- /**
135
- * package.json Path
136
- *
137
- * Path to package.json
138
- *
139
- *
140
- * @format path
141
- */
142
- packageJsonPath?: string,
143
-
144
- /**
145
- * Cargo Target Dir
146
- *
147
- * Directory for all crate generated artifacts (cargo build --target-dir)
148
- *
149
- *
150
- * @format path
151
- */
152
- targetDir?: string,
153
-
154
- /**
155
- * Platform Suffix
156
- *
157
- * Add platform triple to generated Node.js binding file, e.g. [name].linux-x64-gnu.node
158
- *
159
- * @default true
160
- */
161
- platform?: boolean,
162
-
163
- /**
164
- * JS Package Name
165
- *
166
- * Package name in generated JS binding file. Works only with --platform
167
- *
168
- */
169
- jsPackageName?: string,
170
-
171
- /**
172
- * Const Enum
173
- *
174
- * Whether to generate const enum for TypeScript bindings
175
- *
176
- */
177
- constEnum?: boolean,
178
-
179
- /**
180
- * Disable JS Binding
181
- *
182
- * Disable generation of JS binding file. Works only with --platform
183
- *
184
- */
185
- noJsBinding?: boolean,
186
-
187
- /**
188
- * DTS Header
189
- *
190
- * Custom file header for generated type def file (requires typedef feature)
191
- *
192
- */
193
- dtsHeader?: string,
194
-
195
- /**
196
- * Disable Default DTS Header
197
- *
198
- * Disable default file header for generated type def file (requires typedef feature)
199
- *
200
- */
201
- noDtsHeader?: boolean,
202
-
203
- /**
204
- * Enable DTS Cache
205
- *
206
- * Enable the DTS cache
207
- *
208
- * @default true
209
- */
210
- dtsCache?: boolean,
211
-
212
- /**
213
- * ESM Output
214
- *
215
- * Emit an ESM JS binding file instead of CJS (works only with --platform)
216
- *
217
- */
218
- esm?: boolean,
219
-
220
- /**
221
- * Strip Binary
222
- *
223
- * Strip the library to minimize file size
224
- *
225
- */
226
- strip?: boolean,
227
-
228
- /**
229
- * Verbose
230
- *
231
- * Verbosely log build command trace
232
- *
233
- */
234
- verbose?: boolean,
235
-
236
- /**
237
- * Binary
238
- *
239
- * Build only the specified binary
240
- *
241
- */
242
- bin?: string,
243
-
244
- /**
245
- * Cross Compile
246
- *
247
- * [experimental] Cross-compile for the specified target with cargo-xwin on Windows and cargo-zigbuild on other platforms
248
- *
249
- */
250
- crossCompile?: boolean,
251
-
252
- /**
253
- * Use cross
254
- *
255
- * [experimental] Use cross (https://github.com/cross-rs/cross) instead of cargo
256
- *
257
- */
258
- useCross?: boolean,
259
-
260
- /**
261
- * Use @napi-rs/cross-toolchain
262
- *
263
- * [experimental] Use @napi-rs/cross-toolchain to cross-compile Linux arm/arm64/x64 gnu targets
264
- *
265
- */
266
- useNapiCross?: boolean,
267
-
268
- /**
269
- * Watch
270
- *
271
- * Watch crate changes and build continuously with cargo-watch
272
- *
273
- */
274
- watch?: boolean,
275
-
276
- /**
277
- * No Default Features
278
- *
279
- * Do not activate the default feature
280
- *
281
- */
282
- noDefaultFeatures?: boolean,
283
- }
284
-
285
- /**
286
- * Build N-API bindings using NAPI-RS
287
- *
288
- * @param options - Executor options
289
- * @param context - Executor context
290
- * @param config - Storm workspace config
291
- * @returns Executor result
292
- */
293
- declare function napiExecutor(options: NapiExecutorSchema, context: ExecutorContext, config: StormWorkspaceConfig): Promise<{
294
- success: boolean;
295
- terminalOutput?: undefined;
296
- } | {
297
- success: boolean;
298
- terminalOutput: {
299
- kind: "node" | "js" | "dts" | "exe" | "wasm";
300
- path: string;
301
- }[];
302
- }>;
303
- declare const _default: PromiseExecutor<NapiExecutorSchema>;
304
-
305
- export { type NapiExecutorSchema as N, _default as _, napiExecutor as n };