@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
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZFIZ5Q46js = require('../../../chunk-ZFIZ5Q46.js');
3
+ var _chunk7O34DHUGjs = require('../../../chunk-7O34DHUG.js');
4
4
  require('../../../chunk-7CJRMBX3.js');
5
5
  require('../../../chunk-3GQAWCBQ.js');
6
6
 
7
7
  // src/generators/neutral-library/untyped.ts
8
8
  var _untyped = require('untyped');
9
9
  var untyped_default = _untyped.defineUntypedSchema.call(void 0, {
10
- ..._chunkZFIZ5Q46js.typescript_library_generator_untyped_default,
10
+ ..._chunk7O34DHUGjs.typescript_library_generator_untyped_default,
11
11
  $schema: {
12
12
  id: "NeutralLibrarySchema",
13
13
  title: "Neutral Library Generator",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  typescript_library_generator_untyped_default
3
- } from "../../../chunk-RPECQQG4.mjs";
3
+ } from "../../../chunk-7TLYMNLD.mjs";
4
4
  import "../../../chunk-34LSWMWV.mjs";
5
5
  import "../../../chunk-XUV4U54K.mjs";
6
6
 
@@ -1,6 +1,6 @@
1
1
  import '../../../types-44XkV3HO.mjs';
2
2
  import '@nx/devkit';
3
3
  import '../../../types-B5IG4iSJ.mjs';
4
- export { _ as default, n as nodeLibraryGeneratorFn } from '../../../generator-BQRJyq3B.mjs';
4
+ export { _ as default, n as nodeLibraryGeneratorFn } from '../../../generator-BAbOohf7.mjs';
5
5
  import 'tsup';
6
6
  import 'zod';
@@ -1,6 +1,6 @@
1
1
  import '../../../types-DpaECebR.js';
2
2
  import '@nx/devkit';
3
3
  import '../../../types-B5IG4iSJ.js';
4
- export { _ as default, n as nodeLibraryGeneratorFn } from '../../../generator-GzlgTDGq.js';
4
+ export { _ as default, n as nodeLibraryGeneratorFn } from '../../../generator-DNdirMec.js';
5
5
  import 'tsup';
6
6
  import 'zod';
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEFPBJWHSjs = require('../../../chunk-EFPBJWHS.js');
5
- require('../../../chunk-XHH2IY66.js');
4
+ var _chunk2OI6IGCDjs = require('../../../chunk-2OI6IGCD.js');
5
+ require('../../../chunk-RAVLTWJV.js');
6
6
  require('../../../chunk-HI4G4OOG.js');
7
7
  require('../../../chunk-7YRW5HNX.js');
8
8
  require('../../../chunk-KLHTXAIU.js');
@@ -14,4 +14,4 @@ require('../../../chunk-3GQAWCBQ.js');
14
14
 
15
15
 
16
16
 
17
- exports.default = _chunkEFPBJWHSjs.generator_default; exports.nodeLibraryGeneratorFn = _chunkEFPBJWHSjs.nodeLibraryGeneratorFn;
17
+ exports.default = _chunk2OI6IGCDjs.generator_default; exports.nodeLibraryGeneratorFn = _chunk2OI6IGCDjs.nodeLibraryGeneratorFn;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  generator_default,
3
3
  nodeLibraryGeneratorFn
4
- } from "../../../chunk-U4K5KWKS.mjs";
5
- import "../../../chunk-5AQJQ72E.mjs";
4
+ } from "../../../chunk-AZGF6LFT.mjs";
5
+ import "../../../chunk-C2REXPET.mjs";
6
6
  import "../../../chunk-EK75QNMS.mjs";
7
7
  import "../../../chunk-66TYTM73.mjs";
8
8
  import "../../../chunk-SNFZL5BN.mjs";
@@ -48,44 +48,12 @@ export interface NodeLibraryGeneratorSchema {
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 NodeLibraryGeneratorSchema {
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 NodeLibraryGeneratorSchema {
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 NodeLibraryGeneratorSchema {
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 NodeLibraryGeneratorSchema {
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 NodeLibraryGeneratorSchema {
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 NodeLibraryGeneratorSchema {
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": "node"
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": "node",
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
  }