@storm-software/workspace-tools 1.229.0 → 1.229.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.
- package/CHANGELOG.md +6 -0
- package/dist/chunk-KBJ7IEXI.js +1 -0
- package/dist/chunk-P5P43FOZ.mjs +0 -0
- package/dist/executors.js +8 -8
- package/dist/executors.mjs +10 -10
- package/dist/{generator-CgdrKFcO.d.mts → generator-BLYdn00o.d.mts} +1 -1
- package/dist/{generator-CNiN6sul.d.mts → generator-BqzpDHpv.d.mts} +1 -1
- package/dist/{generator-Dc6RWp26.d.ts → generator-BufhnJev.d.ts} +1 -1
- package/dist/{generator-DmJcSdfk.d.mts → generator-CC8n6BWL.d.mts} +1 -1
- package/dist/{generator-WuasfjoA.d.ts → generator-CtpgcwxE.d.ts} +1 -1
- package/dist/{generator-VyYYXMy4.d.mts → generator-DeKyhxAj.d.mts} +1 -1
- package/dist/{generator-BOj8XBVt.d.mts → generator-Dyq3mgZU.d.mts} +1 -1
- package/dist/{generator-C392qNd1.d.ts → generator-OLytwpdD.d.ts} +1 -1
- package/dist/{generator-DX0frURz.d.ts → generator-T2p5gT0C.d.ts} +1 -1
- package/dist/{generator-CtMFNmXP.d.ts → generator-noL-xIjx.d.ts} +1 -1
- package/dist/generators.d.mts +6 -6
- package/dist/generators.d.ts +6 -6
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +3 -3
- package/dist/index.d.mts +16 -332
- package/dist/index.d.ts +16 -332
- package/dist/index.js +33 -12
- package/dist/index.mjs +34 -13
- package/dist/src/base/base-executor.d.mts +1 -1
- package/dist/src/base/base-executor.d.ts +1 -1
- package/dist/src/base/base-generator.d.mts +1 -1
- package/dist/src/base/base-generator.d.ts +1 -1
- package/dist/src/base/index.d.mts +337 -0
- package/dist/src/base/index.d.ts +337 -0
- package/dist/src/base/index.js +49 -0
- package/dist/src/base/index.mjs +49 -0
- package/dist/src/generators/browser-library/generator.d.mts +2 -2
- package/dist/src/generators/browser-library/generator.d.ts +2 -2
- package/dist/src/generators/config-schema/generator.d.mts +2 -2
- package/dist/src/generators/config-schema/generator.d.ts +2 -2
- package/dist/src/generators/neutral-library/generator.d.mts +2 -2
- package/dist/src/generators/neutral-library/generator.d.ts +2 -2
- package/dist/src/generators/node-library/generator.d.mts +2 -2
- package/dist/src/generators/node-library/generator.d.ts +2 -2
- package/dist/src/generators/preset/generator.d.mts +2 -2
- package/dist/src/generators/preset/generator.d.ts +2 -2
- package/dist/src/types.d.mts +1 -1
- package/dist/src/types.d.ts +1 -1
- package/dist/src/utils/index.d.mts +1 -1
- package/dist/src/utils/index.d.ts +1 -1
- package/dist/src/utils/project-tags.d.mts +1 -1
- package/dist/src/utils/project-tags.d.ts +1 -1
- package/dist/{types-Dbr7XMO3.d.ts → types-BmsLBqaq.d.ts} +1 -1
- package/dist/{types-CMFSY9ut.d.mts → types-CQzaS20Q.d.mts} +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
export { withRunExecutor } from './base-executor.mjs';
|
|
2
|
+
export { default as baseExecutorSchema } from './base-executor.untyped.mjs';
|
|
3
|
+
export { withRunGenerator } from './base-generator.mjs';
|
|
4
|
+
export { default as baseGeneratorSchema } from './base-generator.untyped.mjs';
|
|
5
|
+
export { default as cargoBaseExecutorSchema } from './cargo-base-executor.untyped.mjs';
|
|
6
|
+
export { default as typescriptBuildExecutorSchema } from './typescript-build-executor.untyped.mjs';
|
|
7
|
+
import { Tree } from '@nx/devkit';
|
|
8
|
+
import { NormalizedLibraryGeneratorOptions } from '@nx/js/src/generators/library/schema';
|
|
9
|
+
import { S as StormConfig } from '../../types-D9vU63tt.mjs';
|
|
10
|
+
export { default as typescriptLibraryGeneratorSchema } from './typescript-library-generator.untyped.mjs';
|
|
11
|
+
import '../../types-CQzaS20Q.mjs';
|
|
12
|
+
import 'tsup';
|
|
13
|
+
import 'zod';
|
|
14
|
+
import 'untyped';
|
|
15
|
+
|
|
16
|
+
// Generated by @storm-software/untyped
|
|
17
|
+
// Do not edit this file directly
|
|
18
|
+
|
|
19
|
+
interface TypeScriptLibraryGeneratorSchema {
|
|
20
|
+
/**
|
|
21
|
+
* Directory
|
|
22
|
+
*
|
|
23
|
+
* The directory to create the library in
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
directory: string,
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Name
|
|
30
|
+
*
|
|
31
|
+
* The name of the library
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
name: string,
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Description
|
|
38
|
+
*
|
|
39
|
+
* The description of the library
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
description?: string,
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Build Executor
|
|
46
|
+
*
|
|
47
|
+
* The executor to use for building the library
|
|
48
|
+
*
|
|
49
|
+
* @default "@storm-software/workspace-tools:unbuild"
|
|
50
|
+
*/
|
|
51
|
+
buildExecutor?: string,
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Platform
|
|
55
|
+
*
|
|
56
|
+
* The platform to target with the library
|
|
57
|
+
*
|
|
58
|
+
* @default "neutral"
|
|
59
|
+
*
|
|
60
|
+
* @enum neutral,node,browser
|
|
61
|
+
*/
|
|
62
|
+
platform?: string,
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Dev Dependencies
|
|
66
|
+
*
|
|
67
|
+
* The dev dependencies to install
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
devDependencies?: {
|
|
71
|
+
[key: string]: any
|
|
72
|
+
},
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Dependencies
|
|
76
|
+
*
|
|
77
|
+
* The dependencies to install
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
dependencies?: {
|
|
81
|
+
[key: string]: any
|
|
82
|
+
},
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Peer Dependencies
|
|
86
|
+
*
|
|
87
|
+
* The peer dependencies to install
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
peerDependencies?: {
|
|
91
|
+
[key: string]: any
|
|
92
|
+
},
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Peer Dependencies Meta
|
|
96
|
+
*
|
|
97
|
+
* The peer dependencies meta
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
peerDependenciesMeta?: {
|
|
101
|
+
[key: string]: any
|
|
102
|
+
},
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Tags
|
|
106
|
+
*
|
|
107
|
+
* The tags for the library
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
110
|
+
tags?: string,
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* TypeScript Config (tsconfig.json) Options
|
|
114
|
+
*
|
|
115
|
+
* The TypeScript configuration options
|
|
116
|
+
*
|
|
117
|
+
*/
|
|
118
|
+
tsconfigOptions?: {
|
|
119
|
+
[key: string]: any
|
|
120
|
+
},
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Skip Format
|
|
124
|
+
*
|
|
125
|
+
* Skip formatting
|
|
126
|
+
*
|
|
127
|
+
*/
|
|
128
|
+
skipFormat?: boolean,
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Skip TsConfig
|
|
132
|
+
*
|
|
133
|
+
* Skip TypeScript configuration
|
|
134
|
+
*
|
|
135
|
+
*/
|
|
136
|
+
skipTsConfig?: boolean,
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Skip Package Json
|
|
140
|
+
*
|
|
141
|
+
* Skip package.json
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
144
|
+
skipPackageJson?: boolean,
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Include Babel Rc
|
|
148
|
+
*
|
|
149
|
+
* Include Babel configuration
|
|
150
|
+
*
|
|
151
|
+
*/
|
|
152
|
+
includeBabelRc?: boolean,
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Unit Test Runner
|
|
156
|
+
*
|
|
157
|
+
* The unit test runner to use
|
|
158
|
+
*
|
|
159
|
+
*
|
|
160
|
+
* @enum jest,vitest,none
|
|
161
|
+
*/
|
|
162
|
+
unitTestRunner?: string,
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Linter
|
|
166
|
+
*
|
|
167
|
+
* The linter to use
|
|
168
|
+
*
|
|
169
|
+
*/
|
|
170
|
+
linter?: string,
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Test Environment
|
|
174
|
+
*
|
|
175
|
+
* The test environment to use
|
|
176
|
+
*
|
|
177
|
+
*
|
|
178
|
+
* @enum jsdom,node
|
|
179
|
+
*/
|
|
180
|
+
testEnvironment?: string,
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Import Path
|
|
184
|
+
*
|
|
185
|
+
* The import path for the library
|
|
186
|
+
*
|
|
187
|
+
*/
|
|
188
|
+
importPath?: string,
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* JavaScript
|
|
192
|
+
*
|
|
193
|
+
* Use JavaScript instead of TypeScript
|
|
194
|
+
*
|
|
195
|
+
*/
|
|
196
|
+
js?: boolean,
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Pascal Case Files
|
|
200
|
+
*
|
|
201
|
+
* Use PascalCase for file names
|
|
202
|
+
*
|
|
203
|
+
*/
|
|
204
|
+
pascalCaseFiles?: boolean,
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Strict
|
|
208
|
+
*
|
|
209
|
+
* Enable strict mode
|
|
210
|
+
*
|
|
211
|
+
*/
|
|
212
|
+
strict?: boolean,
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Publishable
|
|
216
|
+
*
|
|
217
|
+
* Make the library publishable
|
|
218
|
+
*
|
|
219
|
+
*/
|
|
220
|
+
publishable?: boolean,
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Buildable
|
|
224
|
+
*
|
|
225
|
+
* Make the library buildable
|
|
226
|
+
*
|
|
227
|
+
*/
|
|
228
|
+
buildable?: boolean,
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Set Parser Options Project
|
|
232
|
+
*
|
|
233
|
+
* Set parser options project
|
|
234
|
+
*
|
|
235
|
+
*/
|
|
236
|
+
setParserOptionsProject?: boolean,
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Config
|
|
240
|
+
*
|
|
241
|
+
* The configuration type
|
|
242
|
+
*
|
|
243
|
+
*
|
|
244
|
+
* @enum workspace,project,npm-scripts
|
|
245
|
+
*/
|
|
246
|
+
config?: string,
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Compiler
|
|
250
|
+
*
|
|
251
|
+
* The compiler to use
|
|
252
|
+
*
|
|
253
|
+
*/
|
|
254
|
+
compiler?: string,
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Bundler
|
|
258
|
+
*
|
|
259
|
+
* The bundler to use
|
|
260
|
+
*
|
|
261
|
+
*/
|
|
262
|
+
bundler?: string,
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Skip Type Check
|
|
266
|
+
*
|
|
267
|
+
* Skip type checking
|
|
268
|
+
*
|
|
269
|
+
*/
|
|
270
|
+
skipTypeCheck?: boolean,
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Minimal
|
|
274
|
+
*
|
|
275
|
+
* Create a minimal library
|
|
276
|
+
*
|
|
277
|
+
*/
|
|
278
|
+
minimal?: boolean,
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Root Project
|
|
282
|
+
*
|
|
283
|
+
* Create a root project
|
|
284
|
+
*
|
|
285
|
+
*/
|
|
286
|
+
rootProject?: boolean,
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Simple Name
|
|
290
|
+
*
|
|
291
|
+
* Use a simple name for the library
|
|
292
|
+
*
|
|
293
|
+
*/
|
|
294
|
+
simpleName?: boolean,
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Add Plugin
|
|
298
|
+
*
|
|
299
|
+
* Add a plugin to the library
|
|
300
|
+
*
|
|
301
|
+
*/
|
|
302
|
+
addPlugin?: boolean,
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Use Project Json
|
|
306
|
+
*
|
|
307
|
+
* Use project.json
|
|
308
|
+
*
|
|
309
|
+
*/
|
|
310
|
+
useProjectJson?: boolean,
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Skip Workspaces Warning
|
|
314
|
+
*
|
|
315
|
+
* Skip workspaces warning
|
|
316
|
+
*
|
|
317
|
+
*/
|
|
318
|
+
skipWorkspacesWarning?: boolean,
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Use Tsc Executor
|
|
322
|
+
*
|
|
323
|
+
* Use TSC executor
|
|
324
|
+
*
|
|
325
|
+
*/
|
|
326
|
+
useTscExecutor?: boolean,
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
type TypeScriptLibraryGeneratorNormalizedSchema = TypeScriptLibraryGeneratorSchema & NormalizedLibraryGeneratorOptions;
|
|
330
|
+
declare function typeScriptLibraryGeneratorFn(tree: Tree, schema: TypeScriptLibraryGeneratorSchema, config?: StormConfig): Promise<null>;
|
|
331
|
+
declare function getOutputPath(options: TypeScriptLibraryGeneratorNormalizedSchema): string;
|
|
332
|
+
declare function createProjectTsConfigJson(tree: Tree, options: TypeScriptLibraryGeneratorNormalizedSchema): void;
|
|
333
|
+
type UnitTestRunner = "jest" | "vitest" | "none" | undefined;
|
|
334
|
+
type TestEnvironment = "jsdom" | "node" | undefined;
|
|
335
|
+
declare function normalizeOptions(tree: Tree, options: TypeScriptLibraryGeneratorSchema): Promise<TypeScriptLibraryGeneratorNormalizedSchema>;
|
|
336
|
+
|
|
337
|
+
export { type TestEnvironment, type TypeScriptLibraryGeneratorNormalizedSchema, type UnitTestRunner, createProjectTsConfigJson, getOutputPath, normalizeOptions, typeScriptLibraryGeneratorFn };
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
export { withRunExecutor } from './base-executor.js';
|
|
2
|
+
export { default as baseExecutorSchema } from './base-executor.untyped.js';
|
|
3
|
+
export { withRunGenerator } from './base-generator.js';
|
|
4
|
+
export { default as baseGeneratorSchema } from './base-generator.untyped.js';
|
|
5
|
+
export { default as cargoBaseExecutorSchema } from './cargo-base-executor.untyped.js';
|
|
6
|
+
export { default as typescriptBuildExecutorSchema } from './typescript-build-executor.untyped.js';
|
|
7
|
+
import { Tree } from '@nx/devkit';
|
|
8
|
+
import { NormalizedLibraryGeneratorOptions } from '@nx/js/src/generators/library/schema';
|
|
9
|
+
import { S as StormConfig } from '../../types-D9vU63tt.js';
|
|
10
|
+
export { default as typescriptLibraryGeneratorSchema } from './typescript-library-generator.untyped.js';
|
|
11
|
+
import '../../types-BmsLBqaq.js';
|
|
12
|
+
import 'tsup';
|
|
13
|
+
import 'zod';
|
|
14
|
+
import 'untyped';
|
|
15
|
+
|
|
16
|
+
// Generated by @storm-software/untyped
|
|
17
|
+
// Do not edit this file directly
|
|
18
|
+
|
|
19
|
+
interface TypeScriptLibraryGeneratorSchema {
|
|
20
|
+
/**
|
|
21
|
+
* Directory
|
|
22
|
+
*
|
|
23
|
+
* The directory to create the library in
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
directory: string,
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Name
|
|
30
|
+
*
|
|
31
|
+
* The name of the library
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
name: string,
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Description
|
|
38
|
+
*
|
|
39
|
+
* The description of the library
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
description?: string,
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Build Executor
|
|
46
|
+
*
|
|
47
|
+
* The executor to use for building the library
|
|
48
|
+
*
|
|
49
|
+
* @default "@storm-software/workspace-tools:unbuild"
|
|
50
|
+
*/
|
|
51
|
+
buildExecutor?: string,
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Platform
|
|
55
|
+
*
|
|
56
|
+
* The platform to target with the library
|
|
57
|
+
*
|
|
58
|
+
* @default "neutral"
|
|
59
|
+
*
|
|
60
|
+
* @enum neutral,node,browser
|
|
61
|
+
*/
|
|
62
|
+
platform?: string,
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Dev Dependencies
|
|
66
|
+
*
|
|
67
|
+
* The dev dependencies to install
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
devDependencies?: {
|
|
71
|
+
[key: string]: any
|
|
72
|
+
},
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Dependencies
|
|
76
|
+
*
|
|
77
|
+
* The dependencies to install
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
dependencies?: {
|
|
81
|
+
[key: string]: any
|
|
82
|
+
},
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Peer Dependencies
|
|
86
|
+
*
|
|
87
|
+
* The peer dependencies to install
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
peerDependencies?: {
|
|
91
|
+
[key: string]: any
|
|
92
|
+
},
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Peer Dependencies Meta
|
|
96
|
+
*
|
|
97
|
+
* The peer dependencies meta
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
peerDependenciesMeta?: {
|
|
101
|
+
[key: string]: any
|
|
102
|
+
},
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Tags
|
|
106
|
+
*
|
|
107
|
+
* The tags for the library
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
110
|
+
tags?: string,
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* TypeScript Config (tsconfig.json) Options
|
|
114
|
+
*
|
|
115
|
+
* The TypeScript configuration options
|
|
116
|
+
*
|
|
117
|
+
*/
|
|
118
|
+
tsconfigOptions?: {
|
|
119
|
+
[key: string]: any
|
|
120
|
+
},
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Skip Format
|
|
124
|
+
*
|
|
125
|
+
* Skip formatting
|
|
126
|
+
*
|
|
127
|
+
*/
|
|
128
|
+
skipFormat?: boolean,
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Skip TsConfig
|
|
132
|
+
*
|
|
133
|
+
* Skip TypeScript configuration
|
|
134
|
+
*
|
|
135
|
+
*/
|
|
136
|
+
skipTsConfig?: boolean,
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Skip Package Json
|
|
140
|
+
*
|
|
141
|
+
* Skip package.json
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
144
|
+
skipPackageJson?: boolean,
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Include Babel Rc
|
|
148
|
+
*
|
|
149
|
+
* Include Babel configuration
|
|
150
|
+
*
|
|
151
|
+
*/
|
|
152
|
+
includeBabelRc?: boolean,
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Unit Test Runner
|
|
156
|
+
*
|
|
157
|
+
* The unit test runner to use
|
|
158
|
+
*
|
|
159
|
+
*
|
|
160
|
+
* @enum jest,vitest,none
|
|
161
|
+
*/
|
|
162
|
+
unitTestRunner?: string,
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Linter
|
|
166
|
+
*
|
|
167
|
+
* The linter to use
|
|
168
|
+
*
|
|
169
|
+
*/
|
|
170
|
+
linter?: string,
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Test Environment
|
|
174
|
+
*
|
|
175
|
+
* The test environment to use
|
|
176
|
+
*
|
|
177
|
+
*
|
|
178
|
+
* @enum jsdom,node
|
|
179
|
+
*/
|
|
180
|
+
testEnvironment?: string,
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Import Path
|
|
184
|
+
*
|
|
185
|
+
* The import path for the library
|
|
186
|
+
*
|
|
187
|
+
*/
|
|
188
|
+
importPath?: string,
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* JavaScript
|
|
192
|
+
*
|
|
193
|
+
* Use JavaScript instead of TypeScript
|
|
194
|
+
*
|
|
195
|
+
*/
|
|
196
|
+
js?: boolean,
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Pascal Case Files
|
|
200
|
+
*
|
|
201
|
+
* Use PascalCase for file names
|
|
202
|
+
*
|
|
203
|
+
*/
|
|
204
|
+
pascalCaseFiles?: boolean,
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Strict
|
|
208
|
+
*
|
|
209
|
+
* Enable strict mode
|
|
210
|
+
*
|
|
211
|
+
*/
|
|
212
|
+
strict?: boolean,
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Publishable
|
|
216
|
+
*
|
|
217
|
+
* Make the library publishable
|
|
218
|
+
*
|
|
219
|
+
*/
|
|
220
|
+
publishable?: boolean,
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Buildable
|
|
224
|
+
*
|
|
225
|
+
* Make the library buildable
|
|
226
|
+
*
|
|
227
|
+
*/
|
|
228
|
+
buildable?: boolean,
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Set Parser Options Project
|
|
232
|
+
*
|
|
233
|
+
* Set parser options project
|
|
234
|
+
*
|
|
235
|
+
*/
|
|
236
|
+
setParserOptionsProject?: boolean,
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Config
|
|
240
|
+
*
|
|
241
|
+
* The configuration type
|
|
242
|
+
*
|
|
243
|
+
*
|
|
244
|
+
* @enum workspace,project,npm-scripts
|
|
245
|
+
*/
|
|
246
|
+
config?: string,
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Compiler
|
|
250
|
+
*
|
|
251
|
+
* The compiler to use
|
|
252
|
+
*
|
|
253
|
+
*/
|
|
254
|
+
compiler?: string,
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Bundler
|
|
258
|
+
*
|
|
259
|
+
* The bundler to use
|
|
260
|
+
*
|
|
261
|
+
*/
|
|
262
|
+
bundler?: string,
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Skip Type Check
|
|
266
|
+
*
|
|
267
|
+
* Skip type checking
|
|
268
|
+
*
|
|
269
|
+
*/
|
|
270
|
+
skipTypeCheck?: boolean,
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Minimal
|
|
274
|
+
*
|
|
275
|
+
* Create a minimal library
|
|
276
|
+
*
|
|
277
|
+
*/
|
|
278
|
+
minimal?: boolean,
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Root Project
|
|
282
|
+
*
|
|
283
|
+
* Create a root project
|
|
284
|
+
*
|
|
285
|
+
*/
|
|
286
|
+
rootProject?: boolean,
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Simple Name
|
|
290
|
+
*
|
|
291
|
+
* Use a simple name for the library
|
|
292
|
+
*
|
|
293
|
+
*/
|
|
294
|
+
simpleName?: boolean,
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Add Plugin
|
|
298
|
+
*
|
|
299
|
+
* Add a plugin to the library
|
|
300
|
+
*
|
|
301
|
+
*/
|
|
302
|
+
addPlugin?: boolean,
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Use Project Json
|
|
306
|
+
*
|
|
307
|
+
* Use project.json
|
|
308
|
+
*
|
|
309
|
+
*/
|
|
310
|
+
useProjectJson?: boolean,
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Skip Workspaces Warning
|
|
314
|
+
*
|
|
315
|
+
* Skip workspaces warning
|
|
316
|
+
*
|
|
317
|
+
*/
|
|
318
|
+
skipWorkspacesWarning?: boolean,
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Use Tsc Executor
|
|
322
|
+
*
|
|
323
|
+
* Use TSC executor
|
|
324
|
+
*
|
|
325
|
+
*/
|
|
326
|
+
useTscExecutor?: boolean,
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
type TypeScriptLibraryGeneratorNormalizedSchema = TypeScriptLibraryGeneratorSchema & NormalizedLibraryGeneratorOptions;
|
|
330
|
+
declare function typeScriptLibraryGeneratorFn(tree: Tree, schema: TypeScriptLibraryGeneratorSchema, config?: StormConfig): Promise<null>;
|
|
331
|
+
declare function getOutputPath(options: TypeScriptLibraryGeneratorNormalizedSchema): string;
|
|
332
|
+
declare function createProjectTsConfigJson(tree: Tree, options: TypeScriptLibraryGeneratorNormalizedSchema): void;
|
|
333
|
+
type UnitTestRunner = "jest" | "vitest" | "none" | undefined;
|
|
334
|
+
type TestEnvironment = "jsdom" | "node" | undefined;
|
|
335
|
+
declare function normalizeOptions(tree: Tree, options: TypeScriptLibraryGeneratorSchema): Promise<TypeScriptLibraryGeneratorNormalizedSchema>;
|
|
336
|
+
|
|
337
|
+
export { type TestEnvironment, type TypeScriptLibraryGeneratorNormalizedSchema, type UnitTestRunner, createProjectTsConfigJson, getOutputPath, normalizeOptions, typeScriptLibraryGeneratorFn };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-KBJ7IEXI.js');
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunk6QO3KMZAjs = require('../../chunk-6QO3KMZA.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunk2EGD2QSNjs = require('../../chunk-2EGD2QSN.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkZFIZ5Q46js = require('../../chunk-ZFIZ5Q46.js');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _chunkFBLF4KJFjs = require('../../chunk-FBLF4KJF.js');
|
|
17
|
+
require('../../chunk-7YRW5HNX.js');
|
|
18
|
+
require('../../chunk-HI4G4OOG.js');
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
var _chunkMSENNRAYjs = require('../../chunk-MSENNRAY.js');
|
|
22
|
+
require('../../chunk-BWFTYFWM.js');
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
var _chunkI734UVDTjs = require('../../chunk-I734UVDT.js');
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
var _chunkNCVJPQSPjs = require('../../chunk-NCVJPQSP.js');
|
|
29
|
+
require('../../chunk-5CPYNJT2.js');
|
|
30
|
+
require('../../chunk-36FMHXUD.js');
|
|
31
|
+
require('../../chunk-5MKQX2FE.js');
|
|
32
|
+
require('../../chunk-XCSSYTCU.js');
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
var _chunk7CJRMBX3js = require('../../chunk-7CJRMBX3.js');
|
|
36
|
+
require('../../chunk-3GQAWCBQ.js');
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
exports.baseExecutorSchema = _chunkI734UVDTjs.base_executor_untyped_default; exports.baseGeneratorSchema = _chunk7CJRMBX3js.base_generator_untyped_default; exports.cargoBaseExecutorSchema = _chunk6QO3KMZAjs.cargo_base_executor_untyped_default; exports.createProjectTsConfigJson = _chunkFBLF4KJFjs.createProjectTsConfigJson; exports.getOutputPath = _chunkFBLF4KJFjs.getOutputPath; exports.normalizeOptions = _chunkFBLF4KJFjs.normalizeOptions; exports.typeScriptLibraryGeneratorFn = _chunkFBLF4KJFjs.typeScriptLibraryGeneratorFn; exports.typescriptBuildExecutorSchema = _chunk2EGD2QSNjs.typescript_build_executor_untyped_default; exports.typescriptLibraryGeneratorSchema = _chunkZFIZ5Q46js.typescript_library_generator_untyped_default; exports.withRunExecutor = _chunkMSENNRAYjs.withRunExecutor; exports.withRunGenerator = _chunkNCVJPQSPjs.withRunGenerator;
|