@storm-software/workspace-tools 1.60.23 → 1.62.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.
- package/CHANGELOG.md +29 -0
- package/README.md +2 -2
- package/index.js +475 -575
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +136 -128
- package/src/executors/npm-publish/executor.js +6 -0
- package/src/executors/tsup/executor.js +158 -157
- package/src/executors/tsup/schema.d.ts +2 -2
- package/src/executors/tsup/schema.json +7 -23
- package/src/executors/tsup-browser/executor.js +158 -155
- package/src/executors/tsup-neutral/executor.js +158 -155
- package/src/executors/tsup-node/executor.js +158 -155
- package/src/executors/typia/executor.js +33 -31
- package/src/generators/browser-library/generator.js +125 -120
- package/src/generators/config-schema/generator.js +29 -28
- package/src/generators/neutral-library/generator.js +125 -120
- package/src/generators/node-library/generator.js +125 -120
- package/src/generators/preset/generator.js +24 -25
- package/src/generators/release-version/generator.js +59 -47
- package/src/utils/index.js +299 -403
|
@@ -26,8 +26,8 @@ export type TsupExecutorSchema = Omit<
|
|
|
26
26
|
debug?: boolean;
|
|
27
27
|
banner?: string;
|
|
28
28
|
verbose?: boolean;
|
|
29
|
-
define?: Record<string, string>;
|
|
30
|
-
env?: Record<string, string>;
|
|
29
|
+
define?: Record<string, string | undefined | null>;
|
|
30
|
+
env?: Record<string, string | undefined | null>;
|
|
31
31
|
apiReport?: boolean;
|
|
32
32
|
docModel?: boolean;
|
|
33
33
|
tsdocMetadata?: boolean;
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"type": "string",
|
|
24
24
|
"description": "The path to the `tsconfig.json` file.",
|
|
25
25
|
"x-completion-type": "file",
|
|
26
|
-
"x-completion-glob": "tsconfig
|
|
26
|
+
"x-completion-glob": "tsconfig*.json",
|
|
27
27
|
"x-priority": "important",
|
|
28
|
-
"default": "tsconfig.json"
|
|
28
|
+
"default": "{projectRoot}/tsconfig.json"
|
|
29
29
|
},
|
|
30
30
|
"additionalEntryPoints": {
|
|
31
31
|
"type": "array",
|
|
@@ -99,10 +99,7 @@
|
|
|
99
99
|
"format": {
|
|
100
100
|
"type": "array",
|
|
101
101
|
"description": "The output format for the generated JavaScript files. There are currently three possible values that can be configured: iife, cjs, and esm.",
|
|
102
|
-
"default": [
|
|
103
|
-
"cjs",
|
|
104
|
-
"esm"
|
|
105
|
-
],
|
|
102
|
+
"default": ["cjs", "esm"],
|
|
106
103
|
"items": {
|
|
107
104
|
"type": "string"
|
|
108
105
|
}
|
|
@@ -115,12 +112,7 @@
|
|
|
115
112
|
"platform": {
|
|
116
113
|
"type": "string",
|
|
117
114
|
"description": "Platform target for outputs.",
|
|
118
|
-
"enum": [
|
|
119
|
-
"browser",
|
|
120
|
-
"neutral",
|
|
121
|
-
"node",
|
|
122
|
-
"worker"
|
|
123
|
-
],
|
|
115
|
+
"enum": ["browser", "neutral", "node", "worker"],
|
|
124
116
|
"default": "neutral"
|
|
125
117
|
},
|
|
126
118
|
"banner": {
|
|
@@ -192,11 +184,7 @@
|
|
|
192
184
|
}
|
|
193
185
|
}
|
|
194
186
|
},
|
|
195
|
-
"required": [
|
|
196
|
-
"tsConfig",
|
|
197
|
-
"platform",
|
|
198
|
-
"banner"
|
|
199
|
-
],
|
|
187
|
+
"required": ["tsConfig", "platform", "banner"],
|
|
200
188
|
"definitions": {
|
|
201
189
|
"assetPattern": {
|
|
202
190
|
"oneOf": [
|
|
@@ -224,11 +212,7 @@
|
|
|
224
212
|
}
|
|
225
213
|
},
|
|
226
214
|
"additionalProperties": false,
|
|
227
|
-
"required": [
|
|
228
|
-
"glob",
|
|
229
|
-
"input",
|
|
230
|
-
"output"
|
|
231
|
-
]
|
|
215
|
+
"required": ["glob", "input", "output"]
|
|
232
216
|
},
|
|
233
217
|
{
|
|
234
218
|
"type": "string"
|
|
@@ -236,4 +220,4 @@
|
|
|
236
220
|
]
|
|
237
221
|
}
|
|
238
222
|
}
|
|
239
|
-
}
|
|
223
|
+
}
|