@storm-software/workspace-tools 1.241.0 → 1.242.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.
Files changed (77) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-EFPBJWHS.js → chunk-2OI6IGCD.js} +3 -3
  4. package/dist/chunk-7O34DHUG.js +127 -0
  5. package/dist/chunk-7TLYMNLD.mjs +127 -0
  6. package/dist/{chunk-U4K5KWKS.mjs → chunk-AZGF6LFT.mjs} +1 -1
  7. package/dist/{chunk-5AQJQ72E.mjs → chunk-C2REXPET.mjs} +54 -49
  8. package/dist/{chunk-3SP4ZXOA.mjs → chunk-DR65MBFB.mjs} +1 -1
  9. package/dist/{chunk-RTFFYOEY.js → chunk-P4NR5KOJ.js} +3 -3
  10. package/dist/{chunk-JOJ3CZQC.js → chunk-PVAQKHBQ.js} +3 -3
  11. package/dist/{chunk-XHH2IY66.js → chunk-RAVLTWJV.js} +54 -49
  12. package/dist/{chunk-LNDWWYO3.mjs → chunk-Y4FVIDJI.mjs} +1 -1
  13. package/dist/executors.js +2 -2
  14. package/dist/executors.mjs +3 -3
  15. package/dist/generator-AFivysTp.d.ts +130 -0
  16. package/dist/generator-BAbOohf7.d.mts +130 -0
  17. package/dist/generator-B_HN13az.d.mts +130 -0
  18. package/dist/generator-CrR9QK6B.d.mts +130 -0
  19. package/dist/generator-DNdirMec.d.ts +130 -0
  20. package/dist/generator-F6EuzmJD.d.ts +130 -0
  21. package/dist/generators.d.mts +3 -3
  22. package/dist/generators.d.ts +3 -3
  23. package/dist/generators.js +6 -6
  24. package/dist/generators.mjs +7 -7
  25. package/dist/index.d.mts +4 -4
  26. package/dist/index.d.ts +4 -4
  27. package/dist/index.js +9 -9
  28. package/dist/index.mjs +11 -11
  29. package/dist/src/base/index.d.mts +22 -206
  30. package/dist/src/base/index.d.ts +22 -206
  31. package/dist/src/base/index.js +3 -3
  32. package/dist/src/base/index.mjs +2 -2
  33. package/dist/src/base/typescript-library-generator.schema.d.ts +8 -200
  34. package/dist/src/base/typescript-library-generator.schema.json +18 -162
  35. package/dist/src/base/typescript-library-generator.schema.md +9 -177
  36. package/dist/src/base/typescript-library-generator.untyped.js +2 -2
  37. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  38. package/dist/src/generators/browser-library/generator.d.mts +1 -1
  39. package/dist/src/generators/browser-library/generator.d.ts +1 -1
  40. package/dist/src/generators/browser-library/generator.js +3 -3
  41. package/dist/src/generators/browser-library/generator.mjs +2 -2
  42. package/dist/src/generators/browser-library/schema.d.ts +7 -199
  43. package/dist/src/generators/browser-library/schema.json +17 -162
  44. package/dist/src/generators/browser-library/schema.md +9 -177
  45. package/dist/src/generators/browser-library/untyped.js +2 -2
  46. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  47. package/dist/src/generators/neutral-library/generator.d.mts +1 -1
  48. package/dist/src/generators/neutral-library/generator.d.ts +1 -1
  49. package/dist/src/generators/neutral-library/generator.js +3 -3
  50. package/dist/src/generators/neutral-library/generator.mjs +2 -2
  51. package/dist/src/generators/neutral-library/schema.d.ts +7 -199
  52. package/dist/src/generators/neutral-library/schema.json +17 -162
  53. package/dist/src/generators/neutral-library/schema.md +9 -177
  54. package/dist/src/generators/neutral-library/untyped.js +2 -2
  55. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  56. package/dist/src/generators/node-library/generator.d.mts +1 -1
  57. package/dist/src/generators/node-library/generator.d.ts +1 -1
  58. package/dist/src/generators/node-library/generator.js +3 -3
  59. package/dist/src/generators/node-library/generator.mjs +2 -2
  60. package/dist/src/generators/node-library/schema.d.ts +7 -199
  61. package/dist/src/generators/node-library/schema.json +17 -162
  62. package/dist/src/generators/node-library/schema.md +9 -177
  63. package/dist/src/generators/node-library/untyped.js +2 -2
  64. package/dist/src/generators/node-library/untyped.mjs +1 -1
  65. package/docs/api/base/typescript-library-generator.schema.md +9 -177
  66. package/docs/api/generators/browser-library/schema.md +9 -177
  67. package/docs/api/generators/neutral-library/schema.md +9 -177
  68. package/docs/api/generators/node-library/schema.md +9 -177
  69. package/package.json +1 -1
  70. package/dist/chunk-RPECQQG4.mjs +0 -288
  71. package/dist/chunk-ZFIZ5Q46.js +0 -288
  72. package/dist/generator-BQRJyq3B.d.mts +0 -322
  73. package/dist/generator-BrNmpinc.d.mts +0 -322
  74. package/dist/generator-CNu7WVP-.d.mts +0 -322
  75. package/dist/generator-CnbxQjWD.d.ts +0 -322
  76. package/dist/generator-GzlgTDGq.d.ts +0 -322
  77. package/dist/generator-pV0dN2TY.d.ts +0 -322
@@ -43,49 +43,17 @@ export interface TypeScriptLibraryGeneratorSchema {
43
43
  *
44
44
  * @default "neutral"
45
45
  *
46
- * @enum neutral,node,browser
46
+ * @enum neutral,node,worker,browser
47
47
  */
48
48
  platform?: string,
49
49
 
50
50
  /**
51
- * Dev Dependencies
52
- *
53
- * The dev dependencies to install
54
- *
55
- */
56
- devDependencies?: {
57
- [key: string]: any
58
- },
59
-
60
- /**
61
- * Dependencies
62
- *
63
- * The dependencies to install
64
- *
65
- */
66
- dependencies?: {
67
- [key: string]: any
68
- },
69
-
70
- /**
71
- * Peer Dependencies
72
- *
73
- * The peer dependencies to install
74
- *
75
- */
76
- peerDependencies?: {
77
- [key: string]: any
78
- },
79
-
80
- /**
81
- * Peer Dependencies Meta
51
+ * Import Path
82
52
  *
83
- * The peer dependencies meta
53
+ * The import path for the library
84
54
  *
85
55
  */
86
- peerDependenciesMeta?: {
87
- [key: string]: any
88
- },
56
+ importPath?: string,
89
57
 
90
58
  /**
91
59
  * Tags
@@ -95,48 +63,6 @@ export interface TypeScriptLibraryGeneratorSchema {
95
63
  */
96
64
  tags?: string,
97
65
 
98
- /**
99
- * TypeScript Config (tsconfig.json) Options
100
- *
101
- * The TypeScript configuration options
102
- *
103
- */
104
- tsconfigOptions?: {
105
- [key: string]: any
106
- },
107
-
108
- /**
109
- * Skip Format
110
- *
111
- * Skip formatting
112
- *
113
- */
114
- skipFormat?: boolean,
115
-
116
- /**
117
- * Skip TsConfig
118
- *
119
- * Skip TypeScript configuration
120
- *
121
- */
122
- skipTsConfig?: boolean,
123
-
124
- /**
125
- * Skip Package Json
126
- *
127
- * Skip package.json
128
- *
129
- */
130
- skipPackageJson?: boolean,
131
-
132
- /**
133
- * Include Babel Rc
134
- *
135
- * Include Babel configuration
136
- *
137
- */
138
- includeBabelRc?: boolean,
139
-
140
66
  /**
141
67
  * Unit Test Runner
142
68
  *
@@ -147,14 +73,6 @@ export interface TypeScriptLibraryGeneratorSchema {
147
73
  */
148
74
  unitTestRunner?: string,
149
75
 
150
- /**
151
- * Linter
152
- *
153
- * The linter to use
154
- *
155
- */
156
- linter?: string,
157
-
158
76
  /**
159
77
  * Test Environment
160
78
  *
@@ -165,27 +83,12 @@ export interface TypeScriptLibraryGeneratorSchema {
165
83
  */
166
84
  testEnvironment?: string,
167
85
 
168
- /**
169
- * Import Path
170
- *
171
- * The import path for the library
172
- *
173
- */
174
- importPath?: string,
175
-
176
- /**
177
- * JavaScript
178
- *
179
- * Use JavaScript instead of TypeScript
180
- *
181
- */
182
- js?: boolean,
183
-
184
86
  /**
185
87
  * Pascal Case Files
186
88
  *
187
89
  * Use PascalCase for file names
188
90
  *
91
+ * @default false
189
92
  */
190
93
  pascalCaseFiles?: boolean,
191
94
 
@@ -194,6 +97,7 @@ export interface TypeScriptLibraryGeneratorSchema {
194
97
  *
195
98
  * Enable strict mode
196
99
  *
100
+ * @default true
197
101
  */
198
102
  strict?: boolean,
199
103
 
@@ -202,6 +106,7 @@ export interface TypeScriptLibraryGeneratorSchema {
202
106
  *
203
107
  * Make the library publishable
204
108
  *
109
+ * @default false
205
110
  */
206
111
  publishable?: boolean,
207
112
 
@@ -210,105 +115,8 @@ export interface TypeScriptLibraryGeneratorSchema {
210
115
  *
211
116
  * Make the library buildable
212
117
  *
118
+ * @default true
213
119
  */
214
120
  buildable?: boolean,
215
-
216
- /**
217
- * Set Parser Options Project
218
- *
219
- * Set parser options project
220
- *
221
- */
222
- setParserOptionsProject?: boolean,
223
-
224
- /**
225
- * Config
226
- *
227
- * The configuration type
228
- *
229
- *
230
- * @enum workspace,project,npm-scripts
231
- */
232
- config?: string,
233
-
234
- /**
235
- * Compiler
236
- *
237
- * The compiler to use
238
- *
239
- */
240
- compiler?: string,
241
-
242
- /**
243
- * Bundler
244
- *
245
- * The bundler to use
246
- *
247
- */
248
- bundler?: string,
249
-
250
- /**
251
- * Skip Type Check
252
- *
253
- * Skip type checking
254
- *
255
- */
256
- skipTypeCheck?: boolean,
257
-
258
- /**
259
- * Minimal
260
- *
261
- * Create a minimal library
262
- *
263
- */
264
- minimal?: boolean,
265
-
266
- /**
267
- * Root Project
268
- *
269
- * Create a root project
270
- *
271
- */
272
- rootProject?: boolean,
273
-
274
- /**
275
- * Simple Name
276
- *
277
- * Use a simple name for the library
278
- *
279
- */
280
- simpleName?: boolean,
281
-
282
- /**
283
- * Add Plugin
284
- *
285
- * Add a plugin to the library
286
- *
287
- */
288
- addPlugin?: boolean,
289
-
290
- /**
291
- * Use Project Json
292
- *
293
- * Use project.json
294
- *
295
- */
296
- useProjectJson?: boolean,
297
-
298
- /**
299
- * Skip Workspaces Warning
300
- *
301
- * Skip workspaces warning
302
- *
303
- */
304
- skipWorkspacesWarning?: boolean,
305
-
306
- /**
307
- * Use Tsc Executor
308
- *
309
- * Use TSC executor
310
- *
311
- */
312
- useTscExecutor?: boolean,
313
121
  }
314
122
 
@@ -39,38 +39,17 @@
39
39
  "enum": [
40
40
  "neutral",
41
41
  "node",
42
+ "worker",
42
43
  "browser"
43
44
  ],
44
45
  "id": "#platform",
45
46
  "default": "neutral"
46
47
  },
47
- "devDependencies": {
48
- "title": "Dev Dependencies",
49
- "type": "object",
50
- "description": "The dev dependencies to install",
51
- "id": "#devDependencies",
52
- "default": {}
53
- },
54
- "dependencies": {
55
- "title": "Dependencies",
56
- "type": "object",
57
- "description": "The dependencies to install",
58
- "id": "#dependencies",
59
- "default": {}
60
- },
61
- "peerDependencies": {
62
- "title": "Peer Dependencies",
63
- "type": "object",
64
- "description": "The peer dependencies to install",
65
- "id": "#peerDependencies",
66
- "default": {}
67
- },
68
- "peerDependenciesMeta": {
69
- "title": "Peer Dependencies Meta",
70
- "type": "object",
71
- "description": "The peer dependencies meta",
72
- "id": "#peerDependenciesMeta",
73
- "default": {}
48
+ "importPath": {
49
+ "title": "Import Path",
50
+ "type": "string",
51
+ "description": "The import path for the library",
52
+ "id": "#importPath"
74
53
  },
75
54
  "tags": {
76
55
  "title": "Tags",
@@ -78,37 +57,6 @@
78
57
  "description": "The tags for the library",
79
58
  "id": "#tags"
80
59
  },
81
- "tsconfigOptions": {
82
- "title": "TypeScript Config (tsconfig.json) Options",
83
- "type": "object",
84
- "description": "The TypeScript configuration options",
85
- "id": "#tsconfigOptions",
86
- "default": {}
87
- },
88
- "skipFormat": {
89
- "title": "Skip Format",
90
- "type": "boolean",
91
- "description": "Skip formatting",
92
- "id": "#skipFormat"
93
- },
94
- "skipTsConfig": {
95
- "title": "Skip TsConfig",
96
- "type": "boolean",
97
- "description": "Skip TypeScript configuration",
98
- "id": "#skipTsConfig"
99
- },
100
- "skipPackageJson": {
101
- "title": "Skip Package Json",
102
- "type": "boolean",
103
- "description": "Skip package.json",
104
- "id": "#skipPackageJson"
105
- },
106
- "includeBabelRc": {
107
- "title": "Include Babel Rc",
108
- "type": "boolean",
109
- "description": "Include Babel configuration",
110
- "id": "#includeBabelRc"
111
- },
112
60
  "unitTestRunner": {
113
61
  "title": "Unit Test Runner",
114
62
  "type": "string",
@@ -120,12 +68,6 @@
120
68
  "description": "The unit test runner to use",
121
69
  "id": "#unitTestRunner"
122
70
  },
123
- "linter": {
124
- "title": "Linter",
125
- "type": "string",
126
- "description": "The linter to use",
127
- "id": "#linter"
128
- },
129
71
  "testEnvironment": {
130
72
  "title": "Test Environment",
131
73
  "type": "string",
@@ -136,128 +78,42 @@
136
78
  "description": "The test environment to use",
137
79
  "id": "#testEnvironment"
138
80
  },
139
- "importPath": {
140
- "title": "Import Path",
141
- "type": "string",
142
- "description": "The import path for the library",
143
- "id": "#importPath"
144
- },
145
- "js": {
146
- "title": "JavaScript",
147
- "type": "boolean",
148
- "description": "Use JavaScript instead of TypeScript",
149
- "id": "#js"
150
- },
151
81
  "pascalCaseFiles": {
152
82
  "title": "Pascal Case Files",
153
83
  "type": "boolean",
154
84
  "description": "Use PascalCase for file names",
155
- "id": "#pascalCaseFiles"
85
+ "id": "#pascalCaseFiles",
86
+ "default": false
156
87
  },
157
88
  "strict": {
158
89
  "title": "Strict",
159
90
  "type": "boolean",
160
91
  "description": "Enable strict mode",
161
- "id": "#strict"
92
+ "id": "#strict",
93
+ "default": true
162
94
  },
163
95
  "publishable": {
164
96
  "title": "Publishable",
165
97
  "type": "boolean",
166
98
  "description": "Make the library publishable",
167
- "id": "#publishable"
99
+ "id": "#publishable",
100
+ "default": false
168
101
  },
169
102
  "buildable": {
170
103
  "title": "Buildable",
171
104
  "type": "boolean",
172
105
  "description": "Make the library buildable",
173
- "id": "#buildable"
174
- },
175
- "setParserOptionsProject": {
176
- "title": "Set Parser Options Project",
177
- "type": "boolean",
178
- "description": "Set parser options project",
179
- "id": "#setParserOptionsProject"
180
- },
181
- "config": {
182
- "title": "Config",
183
- "type": "string",
184
- "enum": [
185
- "workspace",
186
- "project",
187
- "npm-scripts"
188
- ],
189
- "description": "The configuration type",
190
- "id": "#config"
191
- },
192
- "compiler": {
193
- "title": "Compiler",
194
- "type": "string",
195
- "description": "The compiler to use",
196
- "id": "#compiler"
197
- },
198
- "bundler": {
199
- "title": "Bundler",
200
- "type": "string",
201
- "description": "The bundler to use",
202
- "id": "#bundler"
203
- },
204
- "skipTypeCheck": {
205
- "title": "Skip Type Check",
206
- "type": "boolean",
207
- "description": "Skip type checking",
208
- "id": "#skipTypeCheck"
209
- },
210
- "minimal": {
211
- "title": "Minimal",
212
- "type": "boolean",
213
- "description": "Create a minimal library",
214
- "id": "#minimal"
215
- },
216
- "rootProject": {
217
- "title": "Root Project",
218
- "type": "boolean",
219
- "description": "Create a root project",
220
- "id": "#rootProject"
221
- },
222
- "simpleName": {
223
- "title": "Simple Name",
224
- "type": "boolean",
225
- "description": "Use a simple name for the library",
226
- "id": "#simpleName"
227
- },
228
- "addPlugin": {
229
- "title": "Add Plugin",
230
- "type": "boolean",
231
- "description": "Add a plugin to the library",
232
- "id": "#addPlugin"
233
- },
234
- "useProjectJson": {
235
- "title": "Use Project Json",
236
- "type": "boolean",
237
- "description": "Use project.json",
238
- "id": "#useProjectJson"
239
- },
240
- "skipWorkspacesWarning": {
241
- "title": "Skip Workspaces Warning",
242
- "type": "boolean",
243
- "description": "Skip workspaces warning",
244
- "id": "#skipWorkspacesWarning"
245
- },
246
- "useTscExecutor": {
247
- "title": "Use Tsc Executor",
248
- "type": "boolean",
249
- "description": "Use TSC executor",
250
- "id": "#useTscExecutor"
106
+ "id": "#buildable",
107
+ "default": true
251
108
  }
252
109
  },
253
110
  "type": "object",
254
111
  "default": {
255
112
  "buildExecutor": "@storm-software/workspace-tools:unbuild",
256
113
  "platform": "neutral",
257
- "devDependencies": {},
258
- "dependencies": {},
259
- "peerDependencies": {},
260
- "peerDependenciesMeta": {},
261
- "tsconfigOptions": {}
114
+ "pascalCaseFiles": false,
115
+ "strict": true,
116
+ "publishable": false,
117
+ "buildable": true
262
118
  }
263
119
  }