@storm-software/workspace-tools 1.295.82 → 1.295.83

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 (49) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +1 -1
  3. package/dist/executors.js +4 -4
  4. package/dist/executors.mjs +7 -7
  5. package/dist/generators.js +6 -6
  6. package/dist/generators.mjs +6 -6
  7. package/dist/index.js +10 -10
  8. package/dist/index.mjs +13 -13
  9. package/dist/src/executors/cargo-build/schema.d.ts +86 -0
  10. package/dist/src/executors/cargo-build/schema.json +85 -0
  11. package/dist/src/executors/cargo-check/schema.d.ts +88 -0
  12. package/dist/src/executors/cargo-check/schema.json +86 -0
  13. package/dist/src/executors/cargo-clippy/schema.d.ts +96 -0
  14. package/dist/src/executors/cargo-clippy/schema.json +92 -0
  15. package/dist/src/executors/cargo-doc/schema.d.ts +124 -0
  16. package/dist/src/executors/cargo-doc/schema.json +162 -0
  17. package/dist/src/executors/cargo-format/schema.d.ts +88 -0
  18. package/dist/src/executors/cargo-format/schema.json +86 -0
  19. package/dist/src/executors/cargo-publish/schema.d.ts +114 -0
  20. package/dist/src/executors/cargo-publish/schema.json +105 -0
  21. package/dist/src/executors/clean-package/schema.d.ts +59 -0
  22. package/dist/src/executors/clean-package/schema.json +55 -0
  23. package/dist/src/executors/esbuild/schema.d.ts +136 -0
  24. package/dist/src/executors/esbuild/schema.json +163 -0
  25. package/dist/src/executors/napi/schema.d.ts +282 -0
  26. package/dist/src/executors/napi/schema.json +235 -0
  27. package/dist/src/executors/npm-publish/schema.d.ts +68 -0
  28. package/dist/src/executors/npm-publish/schema.json +61 -0
  29. package/dist/src/executors/size-limit/schema.d.ts +24 -0
  30. package/dist/src/executors/size-limit/schema.json +26 -0
  31. package/dist/src/executors/tsdown/schema.d.ts +134 -0
  32. package/dist/src/executors/tsdown/schema.json +172 -0
  33. package/dist/src/executors/typia/schema.d.ts +48 -0
  34. package/dist/src/executors/typia/schema.json +57 -0
  35. package/dist/src/executors/unbuild/schema.d.ts +258 -0
  36. package/dist/src/executors/unbuild/schema.json +301 -0
  37. package/dist/src/generators/browser-library/schema.d.ts +122 -0
  38. package/dist/src/generators/browser-library/schema.json +117 -0
  39. package/dist/src/generators/config-schema/schema.d.ts +23 -0
  40. package/dist/src/generators/config-schema/schema.json +24 -0
  41. package/dist/src/generators/init/schema.d.ts +14 -0
  42. package/dist/src/generators/init/schema.json +15 -0
  43. package/dist/src/generators/neutral-library/schema.d.ts +122 -0
  44. package/dist/src/generators/neutral-library/schema.json +116 -0
  45. package/dist/src/generators/node-library/schema.d.ts +122 -0
  46. package/dist/src/generators/node-library/schema.json +117 -0
  47. package/dist/src/generators/preset/schema.d.ts +101 -0
  48. package/dist/src/generators/preset/schema.json +96 -0
  49. package/package.json +10 -10
@@ -0,0 +1,282 @@
1
+
2
+ // Generated by @storm-software/untyped
3
+ // Do not edit this file directly
4
+
5
+ export interface NapiExecutorSchema {
6
+ /**
7
+ * Output Path
8
+ *
9
+ * The path to the output directory
10
+ *
11
+ * @default "{sourceRoot}"
12
+ *
13
+ * @format path
14
+ */
15
+ outputPath: string,
16
+
17
+ /**
18
+ * Package Name
19
+ *
20
+ * Build the specified library or the one at cwd
21
+ *
22
+ */
23
+ package: string,
24
+
25
+ /**
26
+ * Toolchain
27
+ *
28
+ * The type of toolchain to use for the build
29
+ *
30
+ * @default "stable"
31
+ *
32
+ * @enum stable,beta,nightly
33
+ */
34
+ toolchain?: string,
35
+
36
+ /**
37
+ * Target Triple
38
+ *
39
+ * Build for the target triple, bypassed to `cargo build --target`
40
+ *
41
+ */
42
+ target?: string,
43
+
44
+ /**
45
+ * All Targets
46
+ *
47
+ * Build all targets
48
+ *
49
+ */
50
+ allTargets?: boolean,
51
+
52
+ /**
53
+ * Cargo Profile
54
+ *
55
+ * Build artifacts with the specified profile
56
+ *
57
+ */
58
+ profile?: string,
59
+
60
+ /**
61
+ * Release Mode
62
+ *
63
+ * Build in release mode
64
+ *
65
+ */
66
+ release?: boolean,
67
+
68
+ /**
69
+ * Cargo Features
70
+ *
71
+ * List of features to activate
72
+ *
73
+ */
74
+ features?: Array<string>,
75
+
76
+ /**
77
+ * All Features
78
+ *
79
+ * Activate all available features
80
+ *
81
+ */
82
+ allFeatures?: boolean,
83
+
84
+ /**
85
+ * JS Binding File
86
+ *
87
+ * The path to the output JavaScript file
88
+ *
89
+ * @default "binding.js"
90
+ */
91
+ jsBinding: string,
92
+
93
+ /**
94
+ * DTS Binding File
95
+ *
96
+ * The path to the output TypeScript declaration file
97
+ *
98
+ * @default "binding.d.ts"
99
+ */
100
+ dts: string,
101
+
102
+ /**
103
+ * Manifest Path
104
+ *
105
+ * The path to the Cargo.toml manifest file
106
+ *
107
+ *
108
+ * @format path
109
+ */
110
+ manifestPath: string,
111
+
112
+ /**
113
+ * Working Directory
114
+ *
115
+ * Working directory where napi command will be executed; other paths are relative to this
116
+ *
117
+ *
118
+ * @format path
119
+ */
120
+ cwd?: string,
121
+
122
+ /**
123
+ * NAPI Config Path
124
+ *
125
+ * Path to napi config JSON file
126
+ *
127
+ *
128
+ * @format path
129
+ */
130
+ configPath?: string,
131
+
132
+ /**
133
+ * package.json Path
134
+ *
135
+ * Path to package.json
136
+ *
137
+ *
138
+ * @format path
139
+ */
140
+ packageJsonPath?: string,
141
+
142
+ /**
143
+ * Cargo Target Dir
144
+ *
145
+ * Directory for all crate generated artifacts (cargo build --target-dir)
146
+ *
147
+ *
148
+ * @format path
149
+ */
150
+ targetDir?: string,
151
+
152
+ /**
153
+ * Platform Suffix
154
+ *
155
+ * Add platform triple to generated Node.js binding file, e.g. [name].linux-x64-gnu.node
156
+ *
157
+ * @default true
158
+ */
159
+ platform?: boolean,
160
+
161
+ /**
162
+ * JS Package Name
163
+ *
164
+ * Package name in generated JS binding file. Works only with --platform
165
+ *
166
+ */
167
+ jsPackageName?: string,
168
+
169
+ /**
170
+ * Const Enum
171
+ *
172
+ * Whether to generate const enum for TypeScript bindings
173
+ *
174
+ */
175
+ constEnum?: boolean,
176
+
177
+ /**
178
+ * Disable JS Binding
179
+ *
180
+ * Disable generation of JS binding file. Works only with --platform
181
+ *
182
+ */
183
+ noJsBinding?: boolean,
184
+
185
+ /**
186
+ * DTS Header
187
+ *
188
+ * Custom file header for generated type def file (requires typedef feature)
189
+ *
190
+ */
191
+ dtsHeader?: string,
192
+
193
+ /**
194
+ * Disable Default DTS Header
195
+ *
196
+ * Disable default file header for generated type def file (requires typedef feature)
197
+ *
198
+ */
199
+ noDtsHeader?: boolean,
200
+
201
+ /**
202
+ * Enable DTS Cache
203
+ *
204
+ * Enable the DTS cache
205
+ *
206
+ * @default true
207
+ */
208
+ dtsCache?: boolean,
209
+
210
+ /**
211
+ * ESM Output
212
+ *
213
+ * Emit an ESM JS binding file instead of CJS (works only with --platform)
214
+ *
215
+ */
216
+ esm?: boolean,
217
+
218
+ /**
219
+ * Strip Binary
220
+ *
221
+ * Strip the library to minimize file size
222
+ *
223
+ */
224
+ strip?: boolean,
225
+
226
+ /**
227
+ * Verbose
228
+ *
229
+ * Verbosely log build command trace
230
+ *
231
+ */
232
+ verbose?: boolean,
233
+
234
+ /**
235
+ * Binary
236
+ *
237
+ * Build only the specified binary
238
+ *
239
+ */
240
+ bin?: string,
241
+
242
+ /**
243
+ * Cross Compile
244
+ *
245
+ * [experimental] Cross-compile for the specified target with cargo-xwin on Windows and cargo-zigbuild on other platforms
246
+ *
247
+ */
248
+ crossCompile?: boolean,
249
+
250
+ /**
251
+ * Use cross
252
+ *
253
+ * [experimental] Use cross (https://github.com/cross-rs/cross) instead of cargo
254
+ *
255
+ */
256
+ useCross?: boolean,
257
+
258
+ /**
259
+ * Use @napi-rs/cross-toolchain
260
+ *
261
+ * [experimental] Use @napi-rs/cross-toolchain to cross-compile Linux arm/arm64/x64 gnu targets
262
+ *
263
+ */
264
+ useNapiCross?: boolean,
265
+
266
+ /**
267
+ * Watch
268
+ *
269
+ * Watch crate changes and build continuously with cargo-watch
270
+ *
271
+ */
272
+ watch?: boolean,
273
+
274
+ /**
275
+ * No Default Features
276
+ *
277
+ * Do not activate the default feature
278
+ *
279
+ */
280
+ noDefaultFeatures?: boolean,
281
+ }
282
+
@@ -0,0 +1,235 @@
1
+ {
2
+ "id": "#",
3
+ "title": "Napi Executor",
4
+ "description": "A type definition for the Napi - Bindings Build executor schema",
5
+ "required": [
6
+ "outputPath",
7
+ "jsBinding",
8
+ "dts",
9
+ "manifestPath",
10
+ "package"
11
+ ],
12
+ "properties": {
13
+ "outputPath": {
14
+ "title": "Output Path",
15
+ "type": "string",
16
+ "format": "path",
17
+ "description": "The path to the output directory",
18
+ "id": "#outputPath",
19
+ "default": "{sourceRoot}"
20
+ },
21
+ "package": {
22
+ "title": "Package Name",
23
+ "type": "string",
24
+ "description": "Build the specified library or the one at cwd",
25
+ "id": "#package"
26
+ },
27
+ "toolchain": {
28
+ "title": "Toolchain",
29
+ "description": "The type of toolchain to use for the build",
30
+ "enum": [
31
+ "stable",
32
+ "beta",
33
+ "nightly"
34
+ ],
35
+ "default": "stable",
36
+ "id": "#toolchain",
37
+ "type": "string"
38
+ },
39
+ "target": {
40
+ "title": "Target Triple",
41
+ "type": "string",
42
+ "description": "Build for the target triple, bypassed to `cargo build --target`",
43
+ "id": "#target"
44
+ },
45
+ "allTargets": {
46
+ "title": "All Targets",
47
+ "type": "boolean",
48
+ "description": "Build all targets",
49
+ "id": "#allTargets"
50
+ },
51
+ "profile": {
52
+ "title": "Cargo Profile",
53
+ "type": "string",
54
+ "description": "Build artifacts with the specified profile",
55
+ "id": "#profile"
56
+ },
57
+ "release": {
58
+ "title": "Release Mode",
59
+ "type": "boolean",
60
+ "description": "Build in release mode",
61
+ "id": "#release"
62
+ },
63
+ "features": {
64
+ "title": "Cargo Features",
65
+ "type": "array",
66
+ "description": "List of features to activate",
67
+ "items": {
68
+ "type": "string"
69
+ },
70
+ "id": "#features"
71
+ },
72
+ "allFeatures": {
73
+ "title": "All Features",
74
+ "type": "boolean",
75
+ "description": "Activate all available features",
76
+ "id": "#allFeatures"
77
+ },
78
+ "jsBinding": {
79
+ "title": "JS Binding File",
80
+ "type": "string",
81
+ "description": "The path to the output JavaScript file",
82
+ "id": "#jsBinding",
83
+ "default": "binding.js"
84
+ },
85
+ "dts": {
86
+ "title": "DTS Binding File",
87
+ "type": "string",
88
+ "description": "The path to the output TypeScript declaration file",
89
+ "id": "#dts",
90
+ "default": "binding.d.ts"
91
+ },
92
+ "manifestPath": {
93
+ "title": "Manifest Path",
94
+ "type": "string",
95
+ "format": "path",
96
+ "description": "The path to the Cargo.toml manifest file",
97
+ "id": "#manifestPath"
98
+ },
99
+ "cwd": {
100
+ "title": "Working Directory",
101
+ "type": "string",
102
+ "format": "path",
103
+ "description": "Working directory where napi command will be executed; other paths are relative to this",
104
+ "id": "#cwd"
105
+ },
106
+ "configPath": {
107
+ "title": "NAPI Config Path",
108
+ "type": "string",
109
+ "format": "path",
110
+ "description": "Path to napi config JSON file",
111
+ "id": "#configPath"
112
+ },
113
+ "packageJsonPath": {
114
+ "title": "package.json Path",
115
+ "type": "string",
116
+ "format": "path",
117
+ "description": "Path to package.json",
118
+ "id": "#packageJsonPath"
119
+ },
120
+ "targetDir": {
121
+ "title": "Cargo Target Dir",
122
+ "type": "string",
123
+ "format": "path",
124
+ "description": "Directory for all crate generated artifacts (cargo build --target-dir)",
125
+ "id": "#targetDir"
126
+ },
127
+ "platform": {
128
+ "title": "Platform Suffix",
129
+ "type": "boolean",
130
+ "description": "Add platform triple to generated Node.js binding file, e.g. [name].linux-x64-gnu.node",
131
+ "id": "#platform",
132
+ "default": true
133
+ },
134
+ "jsPackageName": {
135
+ "title": "JS Package Name",
136
+ "type": "string",
137
+ "description": "Package name in generated JS binding file. Works only with --platform",
138
+ "id": "#jsPackageName"
139
+ },
140
+ "constEnum": {
141
+ "title": "Const Enum",
142
+ "type": "boolean",
143
+ "description": "Whether to generate const enum for TypeScript bindings",
144
+ "id": "#constEnum"
145
+ },
146
+ "noJsBinding": {
147
+ "title": "Disable JS Binding",
148
+ "type": "boolean",
149
+ "description": "Disable generation of JS binding file. Works only with --platform",
150
+ "id": "#noJsBinding"
151
+ },
152
+ "dtsHeader": {
153
+ "title": "DTS Header",
154
+ "type": "string",
155
+ "description": "Custom file header for generated type def file (requires typedef feature)",
156
+ "id": "#dtsHeader"
157
+ },
158
+ "noDtsHeader": {
159
+ "title": "Disable Default DTS Header",
160
+ "type": "boolean",
161
+ "description": "Disable default file header for generated type def file (requires typedef feature)",
162
+ "id": "#noDtsHeader"
163
+ },
164
+ "dtsCache": {
165
+ "title": "Enable DTS Cache",
166
+ "type": "boolean",
167
+ "description": "Enable the DTS cache",
168
+ "id": "#dtsCache",
169
+ "default": true
170
+ },
171
+ "esm": {
172
+ "title": "ESM Output",
173
+ "type": "boolean",
174
+ "description": "Emit an ESM JS binding file instead of CJS (works only with --platform)",
175
+ "id": "#esm"
176
+ },
177
+ "strip": {
178
+ "title": "Strip Binary",
179
+ "type": "boolean",
180
+ "description": "Strip the library to minimize file size",
181
+ "id": "#strip"
182
+ },
183
+ "verbose": {
184
+ "title": "Verbose",
185
+ "type": "boolean",
186
+ "description": "Verbosely log build command trace",
187
+ "id": "#verbose"
188
+ },
189
+ "bin": {
190
+ "title": "Binary",
191
+ "type": "string",
192
+ "description": "Build only the specified binary",
193
+ "id": "#bin"
194
+ },
195
+ "crossCompile": {
196
+ "title": "Cross Compile",
197
+ "type": "boolean",
198
+ "description": "[experimental] Cross-compile for the specified target with cargo-xwin on Windows and cargo-zigbuild on other platforms",
199
+ "id": "#crossCompile"
200
+ },
201
+ "useCross": {
202
+ "title": "Use cross",
203
+ "type": "boolean",
204
+ "description": "[experimental] Use cross (https://github.com/cross-rs/cross) instead of cargo",
205
+ "id": "#useCross"
206
+ },
207
+ "useNapiCross": {
208
+ "title": "Use @napi-rs/cross-toolchain",
209
+ "type": "boolean",
210
+ "description": "[experimental] Use @napi-rs/cross-toolchain to cross-compile Linux arm/arm64/x64 gnu targets",
211
+ "id": "#useNapiCross"
212
+ },
213
+ "watch": {
214
+ "title": "Watch",
215
+ "type": "boolean",
216
+ "description": "Watch crate changes and build continuously with cargo-watch",
217
+ "id": "#watch"
218
+ },
219
+ "noDefaultFeatures": {
220
+ "title": "No Default Features",
221
+ "type": "boolean",
222
+ "description": "Do not activate the default feature",
223
+ "id": "#noDefaultFeatures"
224
+ }
225
+ },
226
+ "type": "object",
227
+ "default": {
228
+ "outputPath": "{sourceRoot}",
229
+ "toolchain": "stable",
230
+ "jsBinding": "binding.js",
231
+ "dts": "binding.d.ts",
232
+ "platform": true,
233
+ "dtsCache": true
234
+ }
235
+ }
@@ -0,0 +1,68 @@
1
+
2
+ // Generated by @storm-software/untyped
3
+ // Do not edit this file directly
4
+
5
+ export interface NpmPublishExecutorSchema {
6
+ /**
7
+ * Package Root
8
+ *
9
+ * The path to the package root
10
+ *
11
+ *
12
+ * @format path
13
+ */
14
+ packageRoot?: string,
15
+
16
+ /**
17
+ * Registry
18
+ *
19
+ * The registry to publish to
20
+ *
21
+ * @default "https://registry.npmjs.org/"
22
+ */
23
+ registry?: string,
24
+
25
+ /**
26
+ * Tag
27
+ *
28
+ * The tag to publish with
29
+ *
30
+ * @default "latest"
31
+ */
32
+ tag?: string,
33
+
34
+ /**
35
+ * Version
36
+ *
37
+ * The version to publish. If not provided, the version from package.json will be used
38
+ *
39
+ */
40
+ version?: string,
41
+
42
+ /**
43
+ * One Time Password
44
+ *
45
+ * The one time password
46
+ *
47
+ */
48
+ otp?: number,
49
+
50
+ /**
51
+ * Dry Run
52
+ *
53
+ * Perform a dry run
54
+ *
55
+ * @default false
56
+ */
57
+ dryRun?: boolean,
58
+
59
+ /**
60
+ * First Release
61
+ *
62
+ * Publish the first release
63
+ *
64
+ * @default false
65
+ */
66
+ firstRelease?: boolean,
67
+ }
68
+
@@ -0,0 +1,61 @@
1
+ {
2
+ "id": "#",
3
+ "title": "Npm Publish Executor",
4
+ "description": "A type definition for a Npm Publish executor schema",
5
+ "properties": {
6
+ "packageRoot": {
7
+ "title": "Package Root",
8
+ "type": "string",
9
+ "format": "path",
10
+ "description": "The path to the package root",
11
+ "id": "#packageRoot"
12
+ },
13
+ "registry": {
14
+ "title": "Registry",
15
+ "type": "string",
16
+ "description": "The registry to publish to",
17
+ "id": "#registry",
18
+ "default": "https://registry.npmjs.org/"
19
+ },
20
+ "tag": {
21
+ "title": "Tag",
22
+ "type": "string",
23
+ "description": "The tag to publish with",
24
+ "id": "#tag",
25
+ "default": "latest"
26
+ },
27
+ "version": {
28
+ "title": "Version",
29
+ "type": "string",
30
+ "description": "The version to publish. If not provided, the version from package.json will be used",
31
+ "id": "#version"
32
+ },
33
+ "otp": {
34
+ "title": "One Time Password",
35
+ "type": "number",
36
+ "description": "The one time password",
37
+ "id": "#otp"
38
+ },
39
+ "dryRun": {
40
+ "title": "Dry Run",
41
+ "type": "boolean",
42
+ "description": "Perform a dry run",
43
+ "id": "#dryRun",
44
+ "default": false
45
+ },
46
+ "firstRelease": {
47
+ "title": "First Release",
48
+ "type": "boolean",
49
+ "description": "Publish the first release",
50
+ "id": "#firstRelease",
51
+ "default": false
52
+ }
53
+ },
54
+ "type": "object",
55
+ "default": {
56
+ "registry": "https://registry.npmjs.org/",
57
+ "tag": "latest",
58
+ "dryRun": false,
59
+ "firstRelease": false
60
+ }
61
+ }
@@ -0,0 +1,24 @@
1
+
2
+ // Generated by @storm-software/untyped
3
+ // Do not edit this file directly
4
+
5
+ export interface SizeLimitExecutorSchema {
6
+ /**
7
+ * Output Path
8
+ *
9
+ * The output path for the build
10
+ *
11
+ *
12
+ * @format path
13
+ */
14
+ outputPath?: string,
15
+
16
+ /**
17
+ * Entry
18
+ *
19
+ * The path to the entry file
20
+ *
21
+ */
22
+ entry?: Array<string>,
23
+ }
24
+
@@ -0,0 +1,26 @@
1
+ {
2
+ "id": "#",
3
+ "title": "Size Limit Executor",
4
+ "description": "A type definition for a Size Limit executor schema",
5
+ "properties": {
6
+ "outputPath": {
7
+ "title": "Output Path",
8
+ "type": "string",
9
+ "format": "path",
10
+ "description": "The output path for the build",
11
+ "id": "#outputPath"
12
+ },
13
+ "entry": {
14
+ "title": "Entry",
15
+ "type": "array",
16
+ "description": "The path to the entry file",
17
+ "items": {
18
+ "type": "string",
19
+ "format": "path"
20
+ },
21
+ "id": "#entry"
22
+ }
23
+ },
24
+ "type": "object",
25
+ "default": {}
26
+ }