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