@storm-software/workspace-tools 1.292.29 → 1.293.1

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