@storm-software/workspace-tools 1.292.28 → 1.293.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.
@@ -0,0 +1,16 @@
1
+ import {
2
+ executor_default,
3
+ napiExecutor
4
+ } from "../../../chunk-6CBCLVUS.mjs";
5
+ import "../../../chunk-ZTN2676G.mjs";
6
+ import "../../../chunk-ZTFZJPOM.mjs";
7
+ import "../../../chunk-76SRFTZ2.mjs";
8
+ import "../../../chunk-NOTQLVZP.mjs";
9
+ import "../../../chunk-V44DYGWX.mjs";
10
+ import "../../../chunk-VGJEUOUN.mjs";
11
+ import "../../../chunk-C26A6BXG.mjs";
12
+ import "../../../chunk-6TYMSSXV.mjs";
13
+ export {
14
+ executor_default as default,
15
+ napiExecutor
16
+ };
@@ -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
+ *
12
+ * @format path
13
+ */
14
+ outputPath: string,
15
+
16
+ /**
17
+ * Package Name
18
+ *
19
+ * Build the specified library or the one at cwd
20
+ *
21
+ */
22
+ package: string,
23
+
24
+ /**
25
+ * Toolchain
26
+ *
27
+ * The type of toolchain to use for the build
28
+ *
29
+ * @default "stable"
30
+ *
31
+ * @enum stable,beta,nightly
32
+ */
33
+ toolchain?: string,
34
+
35
+ /**
36
+ * Target Triple
37
+ *
38
+ * Build for the target triple, bypassed to `cargo build --target`
39
+ *
40
+ */
41
+ target?: string,
42
+
43
+ /**
44
+ * All Targets
45
+ *
46
+ * Build all targets
47
+ *
48
+ */
49
+ allTargets?: boolean,
50
+
51
+ /**
52
+ * Cargo Profile
53
+ *
54
+ * Build artifacts with the specified profile
55
+ *
56
+ */
57
+ profile?: string,
58
+
59
+ /**
60
+ * Release Mode
61
+ *
62
+ * Build in release mode
63
+ *
64
+ */
65
+ release?: boolean,
66
+
67
+ /**
68
+ * Cargo Features
69
+ *
70
+ * List of features to activate
71
+ *
72
+ */
73
+ features?: Array<string>,
74
+
75
+ /**
76
+ * All Features
77
+ *
78
+ * Activate all available features
79
+ *
80
+ */
81
+ allFeatures?: boolean,
82
+
83
+ /**
84
+ * JS Binding File
85
+ *
86
+ * The path to the output JavaScript file
87
+ *
88
+ * @default "binding.js"
89
+ */
90
+ jsBinding: string,
91
+
92
+ /**
93
+ * DTS Binding File
94
+ *
95
+ * The path to the output TypeScript declaration file
96
+ *
97
+ * @default "binding.d.ts"
98
+ */
99
+ dts: string,
100
+
101
+ /**
102
+ * Manifest Path
103
+ *
104
+ * The path to the Cargo.toml manifest file
105
+ *
106
+ *
107
+ * @format path
108
+ */
109
+ manifestPath: string,
110
+
111
+ /**
112
+ * Working Directory
113
+ *
114
+ * Working directory where napi command will be executed; other paths are relative to this
115
+ *
116
+ *
117
+ * @format path
118
+ */
119
+ cwd?: string,
120
+
121
+ /**
122
+ * NAPI Config Path
123
+ *
124
+ * Path to napi config JSON file
125
+ *
126
+ *
127
+ * @format path
128
+ */
129
+ configPath?: string,
130
+
131
+ /**
132
+ * package.json Path
133
+ *
134
+ * Path to package.json
135
+ *
136
+ *
137
+ * @format path
138
+ */
139
+ packageJsonPath?: string,
140
+
141
+ /**
142
+ * Cargo Target Dir
143
+ *
144
+ * Directory for all crate generated artifacts (cargo build --target-dir)
145
+ *
146
+ *
147
+ * @format path
148
+ */
149
+ targetDir?: string,
150
+
151
+ /**
152
+ * Platform Suffix
153
+ *
154
+ * Add platform triple to generated Node.js binding file, e.g. [name].linux-x64-gnu.node
155
+ *
156
+ * @default true
157
+ */
158
+ platform?: boolean,
159
+
160
+ /**
161
+ * JS Package Name
162
+ *
163
+ * Package name in generated JS binding file. Works only with --platform
164
+ *
165
+ */
166
+ jsPackageName?: string,
167
+
168
+ /**
169
+ * Const Enum
170
+ *
171
+ * Whether to generate const enum for TypeScript bindings
172
+ *
173
+ */
174
+ constEnum?: boolean,
175
+
176
+ /**
177
+ * Disable JS Binding
178
+ *
179
+ * Disable generation of JS binding file. Works only with --platform
180
+ *
181
+ */
182
+ noJsBinding?: boolean,
183
+
184
+ /**
185
+ * DTS Header
186
+ *
187
+ * Custom file header for generated type def file (requires typedef feature)
188
+ *
189
+ */
190
+ dtsHeader?: string,
191
+
192
+ /**
193
+ * Disable Default DTS Header
194
+ *
195
+ * Disable default file header for generated type def file (requires typedef feature)
196
+ *
197
+ */
198
+ noDtsHeader?: boolean,
199
+
200
+ /**
201
+ * Enable DTS Cache
202
+ *
203
+ * Enable the DTS cache
204
+ *
205
+ * @default true
206
+ */
207
+ dtsCache?: boolean,
208
+
209
+ /**
210
+ * ESM Output
211
+ *
212
+ * Emit an ESM JS binding file instead of CJS (works only with --platform)
213
+ *
214
+ */
215
+ esm?: boolean,
216
+
217
+ /**
218
+ * Strip Binary
219
+ *
220
+ * Strip the library to minimize file size
221
+ *
222
+ */
223
+ strip?: boolean,
224
+
225
+ /**
226
+ * Verbose
227
+ *
228
+ * Verbosely log build command trace
229
+ *
230
+ * @default false
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
+ },
20
+ "package": {
21
+ "title": "Package Name",
22
+ "type": "string",
23
+ "description": "Build the specified library or the one at cwd",
24
+ "id": "#package"
25
+ },
26
+ "toolchain": {
27
+ "title": "Toolchain",
28
+ "description": "The type of toolchain to use for the build",
29
+ "enum": [
30
+ "stable",
31
+ "beta",
32
+ "nightly"
33
+ ],
34
+ "default": "stable",
35
+ "id": "#toolchain",
36
+ "type": "string"
37
+ },
38
+ "target": {
39
+ "title": "Target Triple",
40
+ "type": "string",
41
+ "description": "Build for the target triple, bypassed to `cargo build --target`",
42
+ "id": "#target"
43
+ },
44
+ "allTargets": {
45
+ "title": "All Targets",
46
+ "type": "boolean",
47
+ "description": "Build all targets",
48
+ "id": "#allTargets"
49
+ },
50
+ "profile": {
51
+ "title": "Cargo Profile",
52
+ "type": "string",
53
+ "description": "Build artifacts with the specified profile",
54
+ "id": "#profile"
55
+ },
56
+ "release": {
57
+ "title": "Release Mode",
58
+ "type": "boolean",
59
+ "description": "Build in release mode",
60
+ "id": "#release"
61
+ },
62
+ "features": {
63
+ "title": "Cargo Features",
64
+ "type": "array",
65
+ "description": "List of features to activate",
66
+ "items": {
67
+ "type": "string"
68
+ },
69
+ "id": "#features"
70
+ },
71
+ "allFeatures": {
72
+ "title": "All Features",
73
+ "type": "boolean",
74
+ "description": "Activate all available features",
75
+ "id": "#allFeatures"
76
+ },
77
+ "jsBinding": {
78
+ "title": "JS Binding File",
79
+ "type": "string",
80
+ "description": "The path to the output JavaScript file",
81
+ "id": "#jsBinding",
82
+ "default": "binding.js"
83
+ },
84
+ "dts": {
85
+ "title": "DTS Binding File",
86
+ "type": "string",
87
+ "description": "The path to the output TypeScript declaration file",
88
+ "id": "#dts",
89
+ "default": "binding.d.ts"
90
+ },
91
+ "manifestPath": {
92
+ "title": "Manifest Path",
93
+ "type": "string",
94
+ "format": "path",
95
+ "description": "The path to the Cargo.toml manifest file",
96
+ "id": "#manifestPath"
97
+ },
98
+ "cwd": {
99
+ "title": "Working Directory",
100
+ "type": "string",
101
+ "format": "path",
102
+ "description": "Working directory where napi command will be executed; other paths are relative to this",
103
+ "id": "#cwd"
104
+ },
105
+ "configPath": {
106
+ "title": "NAPI Config Path",
107
+ "type": "string",
108
+ "format": "path",
109
+ "description": "Path to napi config JSON file",
110
+ "id": "#configPath"
111
+ },
112
+ "packageJsonPath": {
113
+ "title": "package.json Path",
114
+ "type": "string",
115
+ "format": "path",
116
+ "description": "Path to package.json",
117
+ "id": "#packageJsonPath"
118
+ },
119
+ "targetDir": {
120
+ "title": "Cargo Target Dir",
121
+ "type": "string",
122
+ "format": "path",
123
+ "description": "Directory for all crate generated artifacts (cargo build --target-dir)",
124
+ "id": "#targetDir"
125
+ },
126
+ "platform": {
127
+ "title": "Platform Suffix",
128
+ "type": "boolean",
129
+ "description": "Add platform triple to generated Node.js binding file, e.g. [name].linux-x64-gnu.node",
130
+ "id": "#platform",
131
+ "default": true
132
+ },
133
+ "jsPackageName": {
134
+ "title": "JS Package Name",
135
+ "type": "string",
136
+ "description": "Package name in generated JS binding file. Works only with --platform",
137
+ "id": "#jsPackageName"
138
+ },
139
+ "constEnum": {
140
+ "title": "Const Enum",
141
+ "type": "boolean",
142
+ "description": "Whether to generate const enum for TypeScript bindings",
143
+ "id": "#constEnum"
144
+ },
145
+ "noJsBinding": {
146
+ "title": "Disable JS Binding",
147
+ "type": "boolean",
148
+ "description": "Disable generation of JS binding file. Works only with --platform",
149
+ "id": "#noJsBinding"
150
+ },
151
+ "dtsHeader": {
152
+ "title": "DTS Header",
153
+ "type": "string",
154
+ "description": "Custom file header for generated type def file (requires typedef feature)",
155
+ "id": "#dtsHeader"
156
+ },
157
+ "noDtsHeader": {
158
+ "title": "Disable Default DTS Header",
159
+ "type": "boolean",
160
+ "description": "Disable default file header for generated type def file (requires typedef feature)",
161
+ "id": "#noDtsHeader"
162
+ },
163
+ "dtsCache": {
164
+ "title": "Enable DTS Cache",
165
+ "type": "boolean",
166
+ "description": "Enable the DTS cache",
167
+ "id": "#dtsCache",
168
+ "default": true
169
+ },
170
+ "esm": {
171
+ "title": "ESM Output",
172
+ "type": "boolean",
173
+ "description": "Emit an ESM JS binding file instead of CJS (works only with --platform)",
174
+ "id": "#esm"
175
+ },
176
+ "strip": {
177
+ "title": "Strip Binary",
178
+ "type": "boolean",
179
+ "description": "Strip the library to minimize file size",
180
+ "id": "#strip"
181
+ },
182
+ "verbose": {
183
+ "title": "Verbose",
184
+ "type": "boolean",
185
+ "description": "Verbosely log build command trace",
186
+ "id": "#verbose",
187
+ "default": false
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
+ "toolchain": "stable",
229
+ "jsBinding": "binding.js",
230
+ "dts": "binding.d.ts",
231
+ "platform": true,
232
+ "dtsCache": true,
233
+ "verbose": false
234
+ }
235
+ }
@@ -0,0 +1,5 @@
1
+ import * as untyped from 'untyped';
2
+
3
+ declare const _default: untyped.SchemaDefinition;
4
+
5
+ export { _default as default };
@@ -0,0 +1,5 @@
1
+ import * as untyped from 'untyped';
2
+
3
+ declare const _default: untyped.SchemaDefinition;
4
+
5
+ export { _default as default };