@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,305 +0,0 @@
1
- import { ExecutorContext, PromiseExecutor } from '@nx/devkit';
2
- import { S as StormWorkspaceConfig } from './types-D-YNP2Zk.js';
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 };
@@ -1,144 +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 TSDownExecutorSchema {
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 ["cjs","esm"]
100
- */
101
- format?: Array<string>,
102
-
103
- /**
104
- * Platform
105
- *
106
- * The platform to build
107
- *
108
- * @default "neutral"
109
- *
110
- * @enum neutral,node,browser
111
- */
112
- platform?: string,
113
-
114
- /**
115
- * External
116
- *
117
- * The external dependencies
118
- *
119
- */
120
- external?: Array<any>,
121
-
122
- /**
123
- * Define
124
- *
125
- * The define values
126
- *
127
- */
128
- define?: Record<string, string>,
129
-
130
- /**
131
- * Environment Variables
132
- *
133
- * The environment variable values
134
- *
135
- */
136
- env?: Record<string, string>,
137
- }
138
-
139
- declare function tsdownExecutorFn(options: TSDownExecutorSchema, context: ExecutorContext, config?: StormWorkspaceConfig): Promise<{
140
- success: boolean;
141
- }>;
142
- declare const _default: _nx_devkit.PromiseExecutor<TSDownExecutorSchema>;
143
-
144
- export { type TSDownExecutorSchema as T, _default as _, tsdownExecutorFn as t };
@@ -1,57 +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 TypiaExecutorSchema {
9
- /**
10
- * Output Path
11
- *
12
- * The output path for the build
13
- *
14
- * @default "{sourceRoot}/__generated__/typia"
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
- * Clean
44
- *
45
- * Clean the output directory before building
46
- *
47
- * @default true
48
- */
49
- clean?: boolean,
50
- }
51
-
52
- declare function typiaExecutorFn(options: TypiaExecutorSchema, _: ExecutorContext, config: StormWorkspaceConfig): Promise<{
53
- success: boolean;
54
- }>;
55
- declare const _default: _nx_devkit.PromiseExecutor<TypiaExecutorSchema>;
56
-
57
- export { type TypiaExecutorSchema as T, _default as _, typiaExecutorFn as t };
@@ -1,144 +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 TSDownExecutorSchema {
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 ["cjs","esm"]
100
- */
101
- format?: Array<string>,
102
-
103
- /**
104
- * Platform
105
- *
106
- * The platform to build
107
- *
108
- * @default "neutral"
109
- *
110
- * @enum neutral,node,browser
111
- */
112
- platform?: string,
113
-
114
- /**
115
- * External
116
- *
117
- * The external dependencies
118
- *
119
- */
120
- external?: Array<any>,
121
-
122
- /**
123
- * Define
124
- *
125
- * The define values
126
- *
127
- */
128
- define?: Record<string, string>,
129
-
130
- /**
131
- * Environment Variables
132
- *
133
- * The environment variable values
134
- *
135
- */
136
- env?: Record<string, string>,
137
- }
138
-
139
- declare function tsdownExecutorFn(options: TSDownExecutorSchema, context: ExecutorContext, config?: StormWorkspaceConfig): Promise<{
140
- success: boolean;
141
- }>;
142
- declare const _default: _nx_devkit.PromiseExecutor<TSDownExecutorSchema>;
143
-
144
- export { type TSDownExecutorSchema as T, _default as _, tsdownExecutorFn as t };
@@ -1,38 +0,0 @@
1
- import { c as BaseGeneratorResult } from './types-BI64Uv6g.mjs';
2
- import * as _nx_devkit from '@nx/devkit';
3
- import { Tree } from '@nx/devkit';
4
- import { S as StormWorkspaceConfig } from './types-D-YNP2Zk.mjs';
5
- import * as z from 'zod';
6
-
7
- // Generated by @storm-software/untyped
8
- // Do not edit this file directly
9
-
10
- interface ConfigSchemaGeneratorSchema {
11
- /**
12
- * Directory
13
- *
14
- * The directory to create the library in
15
- *
16
- */
17
- directory?: string,
18
-
19
- /**
20
- * Output File
21
- *
22
- * The file to write the schema to
23
- *
24
- * @default "{workspaceRoot}/storm-workspace.schema.json"
25
- */
26
- outputFile?: string,
27
- }
28
-
29
- type ModuleSchema = {
30
- name: string;
31
- schema: z.ZodType;
32
- };
33
- declare function configSchemaGeneratorFn(tree: Tree, options: ConfigSchemaGeneratorSchema, config?: StormWorkspaceConfig): Promise<{
34
- success: boolean;
35
- }>;
36
- declare const _default: (tree: Tree, _options: ConfigSchemaGeneratorSchema) => Promise<_nx_devkit.GeneratorCallback | BaseGeneratorResult>;
37
-
38
- export { type ConfigSchemaGeneratorSchema as C, type ModuleSchema as M, _default as _, configSchemaGeneratorFn as c };