@storm-software/workspace-tools 1.296.57 → 1.296.59

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 (38) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-F5IA75ER.js → chunk-33X22YHZ.js} +4 -2
  3. package/dist/{chunk-UL6SVNDQ.mjs → chunk-PVNPMJZX.mjs} +3 -1
  4. package/dist/executor-BUtmgAjf.d.ts +145 -0
  5. package/dist/executor-BnyqeRMQ.d.ts +57 -0
  6. package/dist/executor-CF2P28x7.d.ts +267 -0
  7. package/dist/executor-CtQ0X9Pp.d.ts +305 -0
  8. package/dist/executor-CyDG2Xnx.d.mts +305 -0
  9. package/dist/executor-DMfDjEeE.d.mts +33 -0
  10. package/dist/executor-DnWsZ925.d.mts +145 -0
  11. package/dist/executor-DzcyLzwF.d.mts +143 -0
  12. package/dist/executor-DzhOBtUi.d.ts +143 -0
  13. package/dist/executor-HE1a47Xg.d.mts +57 -0
  14. package/dist/executor-boD9fICC.d.ts +33 -0
  15. package/dist/executor-x1NRvlct.d.mts +267 -0
  16. package/dist/executors.js +2 -2
  17. package/dist/executors.mjs +1 -1
  18. package/dist/generator-9dRx-biC.d.mts +38 -0
  19. package/dist/generator-B28ipdml.d.ts +38 -0
  20. package/dist/generator-BwfBbJTK.d.mts +130 -0
  21. package/dist/generator-C8CSrU1X.d.mts +108 -0
  22. package/dist/generator-CETtBRcF.d.ts +130 -0
  23. package/dist/generator-CYZiAInn.d.ts +130 -0
  24. package/dist/generator-Cj2dPxfL.d.ts +108 -0
  25. package/dist/generator-Cw56SbGO.d.mts +130 -0
  26. package/dist/generator-E2v2OQls.d.ts +130 -0
  27. package/dist/generator-Nz6bDiFl.d.mts +130 -0
  28. package/dist/generators.js +2 -2
  29. package/dist/generators.mjs +3 -3
  30. package/dist/index.js +4 -4
  31. package/dist/index.mjs +4 -4
  32. package/dist/src/executors/npm-publish/executor.js +2 -2
  33. package/dist/src/executors/npm-publish/executor.mjs +1 -1
  34. package/dist/types-BTQ7Xra1.d.ts +77 -0
  35. package/dist/types-CsrlUBxJ.d.mts +77 -0
  36. package/dist/types-DwFGBJr1.d.mts +243 -0
  37. package/dist/types-DwFGBJr1.d.ts +243 -0
  38. package/package.json +11 -11
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-1.296.55-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-1.296.57-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
  var _chunkMKJITWLNjs = require('./chunk-MKJITWLN.js');
4
4
 
@@ -56,9 +56,11 @@ var _prettier = require('prettier');
56
56
 
57
57
  // ../npm-tools/src/helpers/get-version.ts
58
58
 
59
+ var _semver = require('semver');
60
+ var _stripansi = require('strip-ansi'); var _stripansi2 = _interopRequireDefault(_stripansi);
59
61
 
60
62
  // ../pnpm-tools/src/helpers/catalog.ts
61
- var _semver = require('semver');
63
+
62
64
 
63
65
  // ../pnpm-tools/src/helpers/pnpm-workspace.ts
64
66
 
@@ -56,9 +56,11 @@ import { format } from "prettier";
56
56
 
57
57
  // ../npm-tools/src/helpers/get-version.ts
58
58
  import { exec as exec2 } from "node:child_process";
59
+ import { valid } from "semver";
60
+ import stripAnsi from "strip-ansi";
59
61
 
60
62
  // ../pnpm-tools/src/helpers/catalog.ts
61
- import { coerce, gt, valid } from "semver";
63
+ import { coerce, gt, valid as valid2 } from "semver";
62
64
 
63
65
  // ../pnpm-tools/src/helpers/pnpm-workspace.ts
64
66
  import { existsSync } from "node:fs";
@@ -0,0 +1,145 @@
1
+ import * as _nx_devkit from '@nx/devkit';
2
+ import { ExecutorContext } from '@nx/devkit';
3
+ import { S as StormWorkspaceConfig } from './types-DwFGBJr1.js';
4
+
5
+ // Generated by @storm-software/untyped
6
+ // Do not edit this file directly
7
+
8
+ interface ESBuildExecutorSchema {
9
+ /**
10
+ * Output Path
11
+ *
12
+ * The output path for the build
13
+ *
14
+ *
15
+ * @format path
16
+ */
17
+ outputPath?: string,
18
+
19
+ /**
20
+ * Entry File(s)
21
+ *
22
+ * The entry file or files to build
23
+ *
24
+ * @default ["{sourceRoot}/index.ts"]
25
+ *
26
+ * @format path
27
+ */
28
+ entry?: Array<string>,
29
+
30
+ /**
31
+ * TSConfig Path
32
+ *
33
+ * The path to the tsconfig file
34
+ *
35
+ * @default "{projectRoot}/tsconfig.json"
36
+ *
37
+ * @format path
38
+ */
39
+ tsconfig?: string,
40
+
41
+ /**
42
+ * Bundle
43
+ *
44
+ * Bundle the output
45
+ *
46
+ */
47
+ bundle?: boolean,
48
+
49
+ /**
50
+ * Minify
51
+ *
52
+ * Minify the output
53
+ *
54
+ */
55
+ minify?: boolean,
56
+
57
+ /**
58
+ * Debug
59
+ *
60
+ * Debug the output
61
+ *
62
+ */
63
+ debug?: boolean,
64
+
65
+ /**
66
+ * Sourcemap
67
+ *
68
+ * Generate a sourcemap
69
+ *
70
+ */
71
+ sourcemap?: boolean,
72
+
73
+ /**
74
+ * Silent
75
+ *
76
+ * Should the build run silently - only report errors back to the user
77
+ *
78
+ * @default false
79
+ */
80
+ silent?: boolean,
81
+
82
+ /**
83
+ * Target
84
+ *
85
+ * The target to build
86
+ *
87
+ * @default "esnext"
88
+ *
89
+ * @enum es3,es5,es6,es2015,es2016,es2017,es2018,es2019,es2020,es2021,es2022,es2023,es2024,esnext,node12,node14,node16,node18,node20,node22,browser,chrome58,chrome59,chrome60
90
+ */
91
+ target?: string,
92
+
93
+ /**
94
+ * Format
95
+ *
96
+ * The format to build
97
+ *
98
+ * @default "esm"
99
+ *
100
+ * @enum cjs,esm,iife
101
+ */
102
+ format?: string,
103
+
104
+ /**
105
+ * Platform
106
+ *
107
+ * The platform to build
108
+ *
109
+ * @default "neutral"
110
+ *
111
+ * @enum neutral,node,browser
112
+ */
113
+ platform?: string,
114
+
115
+ /**
116
+ * External
117
+ *
118
+ * The external dependencies
119
+ *
120
+ */
121
+ external?: Array<any>,
122
+
123
+ /**
124
+ * Define
125
+ *
126
+ * The define values
127
+ *
128
+ */
129
+ define?: Record<string, string>,
130
+
131
+ /**
132
+ * Environment Variables
133
+ *
134
+ * The environment variable values
135
+ *
136
+ */
137
+ env?: Record<string, string>,
138
+ }
139
+
140
+ declare function esbuildExecutorFn(options: ESBuildExecutorSchema, context: ExecutorContext, config?: StormWorkspaceConfig): Promise<{
141
+ success: boolean;
142
+ }>;
143
+ declare const _default: _nx_devkit.PromiseExecutor<ESBuildExecutorSchema>;
144
+
145
+ export { type ESBuildExecutorSchema as E, _default as _, esbuildExecutorFn as e };
@@ -0,0 +1,57 @@
1
+ import * as _nx_devkit from '@nx/devkit';
2
+ import { ExecutorContext } from '@nx/devkit';
3
+ import { S as StormWorkspaceConfig } from './types-DwFGBJr1.js';
4
+
5
+ // Generated by @storm-software/untyped
6
+ // Do not edit this file directly
7
+
8
+ interface TypiaExecutorSchema {
9
+ /**
10
+ * Output Path
11
+ *
12
+ * The output path for the build
13
+ *
14
+ * @default "{sourceRoot}/__generated__/typia"
15
+ *
16
+ * @format path
17
+ */
18
+ outputPath: string,
19
+
20
+ /**
21
+ * Entry File(s)
22
+ *
23
+ * The entry file or files to build
24
+ *
25
+ * @default ["{sourceRoot}/index.ts"]
26
+ *
27
+ * @format path
28
+ */
29
+ entry: Array<string>,
30
+
31
+ /**
32
+ * TSConfig Path
33
+ *
34
+ * The path to the tsconfig file
35
+ *
36
+ * @default "{projectRoot}/tsconfig.json"
37
+ *
38
+ * @format path
39
+ */
40
+ tsconfig: string,
41
+
42
+ /**
43
+ * Clean
44
+ *
45
+ * Clean the output directory before building
46
+ *
47
+ * @default true
48
+ */
49
+ clean?: boolean,
50
+ }
51
+
52
+ declare function typiaExecutorFn(options: TypiaExecutorSchema, _: ExecutorContext, config: StormWorkspaceConfig): Promise<{
53
+ success: boolean;
54
+ }>;
55
+ declare const _default: _nx_devkit.PromiseExecutor<TypiaExecutorSchema>;
56
+
57
+ export { type TypiaExecutorSchema as T, _default as _, typiaExecutorFn as t };
@@ -0,0 +1,267 @@
1
+ import * as _nx_devkit from '@nx/devkit';
2
+ import { ExecutorContext } from '@nx/devkit';
3
+ import { S as StormWorkspaceConfig } from './types-DwFGBJr1.js';
4
+
5
+ // Generated by @storm-software/untyped
6
+ // Do not edit this file directly
7
+
8
+ interface UnbuildExecutorSchema {
9
+ /**
10
+ * Output Path
11
+ *
12
+ * The output path for the build
13
+ *
14
+ *
15
+ * @format path
16
+ */
17
+ outputPath?: string,
18
+
19
+ /**
20
+ * Input Directory
21
+ *
22
+ * The directory to use as input for the build
23
+ *
24
+ * @default ["{sourceRoot}"]
25
+ *
26
+ * @format path
27
+ */
28
+ entry: Array<string>,
29
+
30
+ /**
31
+ * TSConfig Path
32
+ *
33
+ * The path to the tsconfig file
34
+ *
35
+ * @default "{projectRoot}/tsconfig.json"
36
+ *
37
+ * @format path
38
+ */
39
+ tsconfig?: string,
40
+
41
+ /**
42
+ * Bundle
43
+ *
44
+ * Bundle the output
45
+ *
46
+ */
47
+ bundle?: boolean,
48
+
49
+ /**
50
+ * Minify
51
+ *
52
+ * Minify the output
53
+ *
54
+ */
55
+ minify?: boolean,
56
+
57
+ /**
58
+ * Debug
59
+ *
60
+ * Debug the output
61
+ *
62
+ */
63
+ debug?: boolean,
64
+
65
+ /**
66
+ * Sourcemap
67
+ *
68
+ * Generate a sourcemap
69
+ *
70
+ */
71
+ sourcemap?: boolean,
72
+
73
+ /**
74
+ * Silent
75
+ *
76
+ * Should the build run silently - only report errors back to the user
77
+ *
78
+ * @default false
79
+ */
80
+ silent?: boolean,
81
+
82
+ /**
83
+ * Target
84
+ *
85
+ * The target to build
86
+ *
87
+ * @default "esnext"
88
+ *
89
+ * @enum es3,es5,es6,es2015,es2016,es2017,es2018,es2019,es2020,es2021,es2022,es2023,es2024,esnext,node12,node14,node16,node18,node20,node22,browser,chrome58,chrome59,chrome60
90
+ */
91
+ target?: string,
92
+
93
+ /**
94
+ * Format
95
+ *
96
+ * The format to build
97
+ *
98
+ * @default ["cjs","esm"]
99
+ */
100
+ format?: Array<string>,
101
+
102
+ /**
103
+ * Platform
104
+ *
105
+ * The platform to build
106
+ *
107
+ * @default "neutral"
108
+ *
109
+ * @enum neutral,node,browser
110
+ */
111
+ platform?: string,
112
+
113
+ /**
114
+ * External
115
+ *
116
+ * The external dependencies
117
+ *
118
+ */
119
+ external?: Array<any>,
120
+
121
+ /**
122
+ * Define
123
+ *
124
+ * The define values
125
+ *
126
+ */
127
+ define?: Record<string, string>,
128
+
129
+ /**
130
+ * Environment Variables
131
+ *
132
+ * The environment variable values
133
+ *
134
+ */
135
+ env?: Record<string, string>,
136
+
137
+ /**
138
+ * Name
139
+ *
140
+ * The name of the project/build
141
+ *
142
+ * @default "{projectName}"
143
+ */
144
+ name: string,
145
+
146
+ /**
147
+ * Tree Shaking
148
+ *
149
+ * Enable tree shaking
150
+ *
151
+ * @default true
152
+ */
153
+ treeShaking?: boolean,
154
+
155
+ /**
156
+ * Watch
157
+ *
158
+ * Watch for changes
159
+ *
160
+ * @default false
161
+ */
162
+ watch?: boolean,
163
+
164
+ /**
165
+ * Clean
166
+ *
167
+ * Clean the output directory before building
168
+ *
169
+ * @default true
170
+ */
171
+ clean?: boolean,
172
+
173
+ /**
174
+ * Stub
175
+ *
176
+ * Stub the output
177
+ *
178
+ * @default false
179
+ */
180
+ stub?: boolean,
181
+
182
+ /**
183
+ * Build Only
184
+ *
185
+ * Should the build process skip generating a package.json and copying assets
186
+ *
187
+ * @default false
188
+ */
189
+ buildOnly?: boolean,
190
+
191
+ /**
192
+ * Watch Options
193
+ *
194
+ * Watch options
195
+ *
196
+ */
197
+ watchOptions?: {
198
+ [key: string]: any
199
+ },
200
+
201
+ /**
202
+ * Stub Options
203
+ *
204
+ * Stub options
205
+ *
206
+ */
207
+ stubOptions?: {
208
+ [key: string]: any
209
+ },
210
+
211
+ /**
212
+ * Dependencies
213
+ *
214
+ * The dependencies to install
215
+ *
216
+ */
217
+ dependencies?: Array<string>,
218
+
219
+ /**
220
+ * Peer Dependencies
221
+ *
222
+ * The peer dependencies to install
223
+ *
224
+ */
225
+ peerDependencies?: Array<string>,
226
+
227
+ /**
228
+ * Dev Dependencies
229
+ *
230
+ * The dev dependencies to install
231
+ *
232
+ */
233
+ devDependencies?: Array<string>,
234
+
235
+ /**
236
+ * Alias
237
+ *
238
+ * The alias to use
239
+ *
240
+ */
241
+ alias?: Record<string, string>,
242
+
243
+ /**
244
+ * Replace
245
+ *
246
+ * The replace to use
247
+ *
248
+ */
249
+ replace?: Record<string, string>,
250
+
251
+ /**
252
+ * Rollup
253
+ *
254
+ * The rollup options
255
+ *
256
+ */
257
+ rollup?: {
258
+ [key: string]: any
259
+ },
260
+ }
261
+
262
+ declare function unbuildExecutorFn(options: UnbuildExecutorSchema, context: ExecutorContext, config: StormWorkspaceConfig): Promise<{
263
+ success: boolean;
264
+ }>;
265
+ declare const _default: _nx_devkit.PromiseExecutor<UnbuildExecutorSchema>;
266
+
267
+ export { type UnbuildExecutorSchema as U, _default as _, unbuildExecutorFn as u };