@storm-software/workspace-tools 1.281.4 → 1.281.6
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 +26 -0
- package/README.md +2 -1
- package/dist/{chunk-Z6PFI3J5.mjs → chunk-2SQHNW5B.mjs} +1 -1
- package/dist/{chunk-ZPKT334B.js → chunk-35T5FJVW.js} +2 -2
- package/dist/{chunk-BVSY5RGQ.mjs → chunk-AOLPDXCV.mjs} +2 -5
- package/dist/{chunk-BPG3OMCI.mjs → chunk-AYNYXQKJ.mjs} +1 -1
- package/dist/{chunk-3ZRR5MT7.mjs → chunk-BMJKUT3Q.mjs} +3 -3
- package/dist/{chunk-JXUTCXYW.mjs → chunk-BNK3N63T.mjs} +1 -1
- package/dist/{chunk-2FLQWXE5.js → chunk-DIIKED3B.js} +2 -2
- package/dist/{chunk-MNHMPN5N.mjs → chunk-DU23HG3F.mjs} +1 -1
- package/dist/{chunk-HJHJTEFF.mjs → chunk-ET3V3YDM.mjs} +1 -1
- package/dist/{chunk-KNFTKCYF.mjs → chunk-FDVRXJTB.mjs} +1 -1
- package/dist/{chunk-TARBFSCL.js → chunk-GGCU4XE6.js} +5 -5
- package/dist/{chunk-CH5FES5E.js → chunk-GPIYB3QS.js} +5 -5
- package/dist/{chunk-RBIKWDFC.js → chunk-HJFAPTJZ.js} +8 -8
- package/dist/{chunk-75U5BCHL.mjs → chunk-J5XLZNS4.mjs} +1 -1
- package/dist/{chunk-VLRI6BBL.mjs → chunk-JERKCZQU.mjs} +1 -1
- package/dist/{chunk-CKTQUYMO.mjs → chunk-K5H3GB4W.mjs} +2 -2
- package/dist/{chunk-7ZX63ESB.js → chunk-KLCKGDKI.js} +5 -5
- package/dist/{chunk-N35Q2KYG.js → chunk-KT73YQ5O.js} +2 -2
- package/dist/{chunk-CNBBZVVG.mjs → chunk-LNCNJLSB.mjs} +1 -1
- package/dist/{chunk-HOCWBZG4.mjs → chunk-LWUPEFOD.mjs} +2 -2
- package/dist/{chunk-G7Q436PD.js → chunk-ME7I4NPF.js} +2 -2
- package/dist/{chunk-Y7EP2VC4.js → chunk-MPOLUVMP.js} +2 -2
- package/dist/{chunk-WMO5LTRB.js → chunk-MU7MWFQB.js} +4 -4
- package/dist/{chunk-HQD7CMHA.mjs → chunk-MW2SMA7T.mjs} +2 -2
- package/dist/{chunk-S6I7KEIX.mjs → chunk-O3IFWFLE.mjs} +2 -2
- package/dist/{chunk-JJKB5LJY.mjs → chunk-OHWNQITF.mjs} +1 -1
- package/dist/{chunk-2NF3YUV5.js → chunk-OS3I2PUF.js} +2 -2
- package/dist/{chunk-EK75QNMS.mjs → chunk-QC5ON3X4.mjs} +1 -1
- package/dist/{chunk-4S36VQAW.js → chunk-QG4FXW4F.js} +2 -2
- package/dist/{chunk-GYLUTELW.js → chunk-QKQRWKYX.js} +2 -2
- package/dist/{chunk-SZGFK6EV.js → chunk-SUEQ5CUG.js} +7 -7
- package/dist/{chunk-HI4G4OOG.js → chunk-SZWM7COV.js} +1 -1
- package/dist/{chunk-VYBW3BAP.mjs → chunk-TA56OIIF.mjs} +1 -1
- package/dist/{chunk-G7XAPBVN.js → chunk-TKGENLP6.js} +2 -2
- package/dist/{chunk-EIG2GLLA.mjs → chunk-TM4UIVIY.mjs} +1 -1
- package/dist/{chunk-BWORIUPC.js → chunk-WBSWDEK6.js} +2 -2
- package/dist/{chunk-3NGWW4TI.js → chunk-XK5A4UF2.js} +2 -5
- package/dist/{chunk-Z7GL7LZ5.js → chunk-YI5SCBUQ.js} +2 -2
- package/dist/{chunk-7IJVTV2B.mjs → chunk-YIIOX6QQ.mjs} +2 -2
- package/dist/{chunk-XMZ6TDUE.js → chunk-ZJD2B6C4.js} +2 -2
- package/dist/executors.js +13 -13
- package/dist/executors.mjs +14 -14
- package/dist/generators.js +11 -11
- package/dist/generators.mjs +10 -10
- package/dist/index.js +22 -22
- package/dist/index.mjs +23 -23
- package/dist/src/base/base-executor.js +3 -3
- package/dist/src/base/base-executor.mjs +2 -2
- package/dist/src/base/base-generator.js +3 -3
- package/dist/src/base/base-generator.mjs +2 -2
- package/dist/src/base/index.js +6 -6
- package/dist/src/base/index.mjs +5 -5
- package/dist/src/executors/cargo-build/executor.js +4 -4
- package/dist/src/executors/cargo-build/executor.mjs +3 -3
- package/dist/src/executors/cargo-check/executor.js +4 -4
- package/dist/src/executors/cargo-check/executor.mjs +3 -3
- package/dist/src/executors/cargo-clippy/executor.js +4 -4
- package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
- package/dist/src/executors/cargo-doc/executor.js +4 -4
- package/dist/src/executors/cargo-doc/executor.mjs +3 -3
- package/dist/src/executors/cargo-format/executor.js +4 -4
- package/dist/src/executors/cargo-format/executor.mjs +3 -3
- package/dist/src/executors/clean-package/executor.js +3 -3
- package/dist/src/executors/clean-package/executor.mjs +2 -2
- package/dist/src/executors/esbuild/executor.js +4 -4
- package/dist/src/executors/esbuild/executor.mjs +3 -3
- package/dist/src/executors/size-limit/executor.js +4 -4
- package/dist/src/executors/size-limit/executor.mjs +3 -3
- package/dist/src/executors/typia/executor.js +4 -4
- package/dist/src/executors/typia/executor.mjs +3 -3
- package/dist/src/executors/unbuild/executor.js +4 -4
- package/dist/src/executors/unbuild/executor.mjs +3 -3
- package/dist/src/generators/browser-library/generator.js +6 -6
- package/dist/src/generators/browser-library/generator.mjs +5 -5
- package/dist/src/generators/browser-library/schema.d.ts +122 -0
- package/dist/src/generators/config-schema/generator.js +4 -4
- package/dist/src/generators/config-schema/generator.mjs +3 -3
- package/dist/src/generators/config-schema/schema.d.ts +23 -0
- package/dist/src/generators/init/schema.d.ts +14 -0
- package/dist/src/generators/neutral-library/generator.js +6 -6
- package/dist/src/generators/neutral-library/generator.mjs +5 -5
- package/dist/src/generators/neutral-library/schema.d.ts +122 -0
- package/dist/src/generators/node-library/generator.js +6 -6
- package/dist/src/generators/node-library/generator.mjs +5 -5
- package/dist/src/generators/node-library/schema.d.ts +122 -0
- package/dist/src/generators/preset/generator.js +5 -5
- package/dist/src/generators/preset/generator.mjs +4 -4
- package/dist/src/generators/preset/schema.d.ts +101 -0
- package/dist/src/generators/preset/schema.json +96 -0
- package/dist/src/generators/release-version/generator.js +3 -3
- package/dist/src/generators/release-version/generator.mjs +2 -2
- package/dist/src/generators/release-version/schema.d.ts +180 -0
- package/dist/src/generators/release-version/schema.json +158 -0
- package/dist/src/utils/index.js +2 -2
- package/dist/src/utils/index.mjs +1 -1
- package/dist/src/utils/versions.d.mts +1 -1
- package/dist/src/utils/versions.d.ts +1 -1
- package/dist/src/utils/versions.js +2 -2
- package/dist/src/utils/versions.mjs +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.281.5](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.281.5) (2025-08-09)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Updated the workspace package dependencies
|
|
10
|
+
([fff0b6534](https://github.com/storm-software/storm-ops/commit/fff0b6534))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated prettier to 0.53.5
|
|
15
|
+
- Updated esbuild to 0.47.5
|
|
16
|
+
- Updated unbuild to 0.51.5
|
|
17
|
+
|
|
18
|
+
## [1.281.4](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.281.4) (2025-08-08)
|
|
19
|
+
|
|
20
|
+
### Miscellaneous
|
|
21
|
+
|
|
22
|
+
- **monorepo:** Update workspace dependencies and README markdown
|
|
23
|
+
([67e119b05](https://github.com/storm-software/storm-ops/commit/67e119b05))
|
|
24
|
+
|
|
25
|
+
### Updated Dependencies
|
|
26
|
+
|
|
27
|
+
- Updated prettier to 0.53.4
|
|
28
|
+
- Updated esbuild to 0.47.4
|
|
29
|
+
- Updated unbuild to 0.51.4
|
|
30
|
+
|
|
5
31
|
## [1.281.3](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.281.3) (2025-08-07)
|
|
6
32
|
|
|
7
33
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -40,6 +40,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
40
|
|
|
41
41
|
<!-- START doctoc -->
|
|
42
42
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
43
|
+
|
|
43
44
|
## Table of Contents
|
|
44
45
|
|
|
45
46
|
- [Storm Workspace Tools](#storm-workspace-tools)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkME7I4NPFjs = require('./chunk-ME7I4NPF.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
|
|
@@ -27,7 +27,7 @@ async function typiaExecutorFn(options, _, config) {
|
|
|
27
27
|
success: true
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
var executor_default =
|
|
30
|
+
var executor_default = _chunkME7I4NPFjs.withRunExecutor.call(void 0,
|
|
31
31
|
"Typia runtime validation generator",
|
|
32
32
|
typiaExecutorFn,
|
|
33
33
|
{
|
|
@@ -499,16 +499,13 @@ schemaRegistry.add(packageManagerSchema, {
|
|
|
499
499
|
description: "The JavaScript/TypeScript package manager used by the repository"
|
|
500
500
|
});
|
|
501
501
|
var timezoneSchema = z._default(
|
|
502
|
-
z.string().check(z.trim()
|
|
502
|
+
z.string().check(z.trim()),
|
|
503
503
|
"America/New_York"
|
|
504
504
|
);
|
|
505
505
|
schemaRegistry.add(timezoneSchema, {
|
|
506
506
|
description: "The default timezone of the workspace"
|
|
507
507
|
});
|
|
508
|
-
var localeSchema = z._default(
|
|
509
|
-
z.string().check(z.trim(), z.toLowerCase()),
|
|
510
|
-
"en-US"
|
|
511
|
-
);
|
|
508
|
+
var localeSchema = z._default(z.string().check(z.trim()), "en-US");
|
|
512
509
|
schemaRegistry.add(localeSchema, {
|
|
513
510
|
description: "The default locale of the workspace"
|
|
514
511
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeOptions,
|
|
3
3
|
typeScriptLibraryGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LNCNJLSB.mjs";
|
|
5
5
|
import {
|
|
6
6
|
typesNodeVersion
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QC5ON3X4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
withRunGenerator
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OHWNQITF.mjs";
|
|
11
11
|
import {
|
|
12
12
|
joinPaths
|
|
13
13
|
} from "./chunk-U7JFVMCK.mjs";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
var _chunk452FQZ3Bjs = require('./chunk-452FQZ3B.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkXK5A4UF2js = require('./chunk-XK5A4UF2.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -266,7 +266,7 @@ async function releaseVersionGeneratorFn(tree, options, config) {
|
|
|
266
266
|
- workspaceRoot: ${workspaceRoot}`,
|
|
267
267
|
config
|
|
268
268
|
);
|
|
269
|
-
config = await
|
|
269
|
+
config = await _chunkXK5A4UF2js.getConfig.call(void 0, workspaceRoot);
|
|
270
270
|
_chunk2CDSXWFAjs.writeTrace.call(void 0,
|
|
271
271
|
`Generator schema options \u2699\uFE0F
|
|
272
272
|
${Object.keys(_nullishCoalesce(options, () => ( {}))).filter(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkQKQRWKYXjs = require('./chunk-QKQRWKYX.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkMPOLUVMPjs = require('./chunk-MPOLUVMP.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
|
|
@@ -30,7 +30,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
|
30
30
|
devDependencies: {},
|
|
31
31
|
buildExecutor: "@storm-software/workspace-tools:unbuild"
|
|
32
32
|
};
|
|
33
|
-
const options = await
|
|
33
|
+
const options = await _chunkQKQRWKYXjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
|
|
34
34
|
const { className, name, propertyName } = _devkit.names.call(void 0,
|
|
35
35
|
options.projectNames.projectFileName
|
|
36
36
|
);
|
|
@@ -50,11 +50,11 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
|
50
50
|
buildable: options.bundler && options.bundler !== "none",
|
|
51
51
|
hasUnitTestRunner: options.unitTestRunner !== "none"
|
|
52
52
|
});
|
|
53
|
-
await
|
|
53
|
+
await _chunkQKQRWKYXjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
|
|
54
54
|
await _devkit.formatFiles.call(void 0, tree);
|
|
55
55
|
return null;
|
|
56
56
|
}
|
|
57
|
-
var generator_default =
|
|
57
|
+
var generator_default = _chunkMPOLUVMPjs.withRunGenerator.call(void 0,
|
|
58
58
|
"TypeScript Library Creator (Neutral Platform)",
|
|
59
59
|
neutralLibraryGeneratorFn,
|
|
60
60
|
{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkQKQRWKYXjs = require('./chunk-QKQRWKYX.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkMPOLUVMPjs = require('./chunk-MPOLUVMP.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
|
|
@@ -48,7 +48,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
|
48
48
|
description: schema.description,
|
|
49
49
|
directory: schema.directory
|
|
50
50
|
};
|
|
51
|
-
const options = await
|
|
51
|
+
const options = await _chunkQKQRWKYXjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
|
|
52
52
|
const { className, name, propertyName } = _devkit.names.call(void 0,
|
|
53
53
|
options.projectNames.projectFileName
|
|
54
54
|
);
|
|
@@ -78,11 +78,11 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
});
|
|
81
|
-
await
|
|
81
|
+
await _chunkQKQRWKYXjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
|
|
82
82
|
await _devkit.formatFiles.call(void 0, tree);
|
|
83
83
|
return null;
|
|
84
84
|
}
|
|
85
|
-
var generator_default =
|
|
85
|
+
var generator_default = _chunkMPOLUVMPjs.withRunGenerator.call(void 0,
|
|
86
86
|
"TypeScript Library Creator (Browser Platform)",
|
|
87
87
|
browserLibraryGeneratorFn,
|
|
88
88
|
{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkMPOLUVMPjs = require('./chunk-MPOLUVMP.js');
|
|
8
8
|
|
|
9
9
|
// src/generators/preset/generator.ts
|
|
10
10
|
|
|
@@ -156,17 +156,17 @@ async function presetGeneratorFn(tree, options) {
|
|
|
156
156
|
json.scripts["lint-knip"] = "pnpm exec knip";
|
|
157
157
|
json.scripts["lint-sherif"] = "pnpm exec sherif -i typescript -i react -i react-dom";
|
|
158
158
|
json.scripts["lint-ls"] = 'pnpm exec ls-lint --config="./node_modules/@storm-software/linting-tools/ls-lint/ls-lint.yml"';
|
|
159
|
-
json.packageManager ??= `pnpm@${
|
|
159
|
+
json.packageManager ??= `pnpm@${_chunkSZWM7COVjs.pnpmVersion}`;
|
|
160
160
|
json.engines = {
|
|
161
|
-
node: `>=${
|
|
162
|
-
pnpm: `>=${
|
|
161
|
+
node: `>=${_chunkSZWM7COVjs.nodeVersion}`,
|
|
162
|
+
pnpm: `>=${_chunkSZWM7COVjs.pnpmVersion}`
|
|
163
163
|
};
|
|
164
164
|
return json;
|
|
165
165
|
});
|
|
166
166
|
_devkit.generateFiles.call(void 0, tree, path.join(__dirname, "files"), projectRoot, {
|
|
167
167
|
...options,
|
|
168
|
-
pnpmVersion:
|
|
169
|
-
nodeVersion:
|
|
168
|
+
pnpmVersion: _chunkSZWM7COVjs.pnpmVersion,
|
|
169
|
+
nodeVersion: _chunkSZWM7COVjs.nodeVersion
|
|
170
170
|
});
|
|
171
171
|
await _devkit.formatFiles.call(void 0, tree);
|
|
172
172
|
let dependencies = {
|
|
@@ -239,7 +239,7 @@ async function presetGeneratorFn(tree, options) {
|
|
|
239
239
|
);
|
|
240
240
|
return null;
|
|
241
241
|
}
|
|
242
|
-
var generator_default =
|
|
242
|
+
var generator_default = _chunkMPOLUVMPjs.withRunGenerator.call(void 0,
|
|
243
243
|
"Storm Workspace Preset Generator",
|
|
244
244
|
presetGeneratorFn
|
|
245
245
|
);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return 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
|
-
var
|
|
3
|
+
var _chunkMPOLUVMPjs = require('./chunk-MPOLUVMP.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXK5A4UF2js = require('./chunk-XK5A4UF2.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -26,9 +26,9 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
26
26
|
`Determining the Storm Workspace Configuration JSON Schema...`,
|
|
27
27
|
config
|
|
28
28
|
);
|
|
29
|
-
const jsonSchema = z.toJSONSchema(
|
|
29
|
+
const jsonSchema = z.toJSONSchema(_chunkXK5A4UF2js.workspaceConfigSchema, {
|
|
30
30
|
target: "draft-7",
|
|
31
|
-
metadata:
|
|
31
|
+
metadata: _chunkXK5A4UF2js.schemaRegistry
|
|
32
32
|
});
|
|
33
33
|
jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
|
|
34
34
|
jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
|
|
@@ -57,7 +57,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
57
57
|
success: true
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
var generator_default =
|
|
60
|
+
var generator_default = _chunkMPOLUVMPjs.withRunGenerator.call(void 0,
|
|
61
61
|
"Configuration Schema Creator",
|
|
62
62
|
configSchemaGeneratorFn,
|
|
63
63
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return 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
|
-
var
|
|
3
|
+
var _chunkME7I4NPFjs = require('./chunk-ME7I4NPF.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
|
|
@@ -33,7 +33,7 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
33
33
|
success: true
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
var executor_default =
|
|
36
|
+
var executor_default = _chunkME7I4NPFjs.withRunExecutor.call(void 0,
|
|
37
37
|
"Size-Limit Performance Test Executor",
|
|
38
38
|
sizeLimitExecutorFn,
|
|
39
39
|
{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
nodeVersion,
|
|
3
3
|
pnpmVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QC5ON3X4.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunGenerator
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OHWNQITF.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__dirname
|
|
10
10
|
} from "./chunk-IPJSQ4JM.mjs";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkA77PFJ72js = require('./chunk-A77PFJ72.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXK5A4UF2js = require('./chunk-XK5A4UF2.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -47,7 +47,7 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
47
47
|
`,
|
|
48
48
|
config
|
|
49
49
|
);
|
|
50
|
-
config = await
|
|
50
|
+
config = await _chunkXK5A4UF2js.getConfig.call(void 0, workspaceRoot);
|
|
51
51
|
}
|
|
52
52
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
53
53
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkA77PFJ72js = require('./chunk-A77PFJ72.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXK5A4UF2js = require('./chunk-XK5A4UF2.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -36,7 +36,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
36
36
|
- workspaceRoot: ${workspaceRoot}`,
|
|
37
37
|
config
|
|
38
38
|
);
|
|
39
|
-
config = await
|
|
39
|
+
config = await _chunkXK5A4UF2js.getConfig.call(void 0, workspaceRoot);
|
|
40
40
|
}
|
|
41
41
|
if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
|
|
42
42
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return 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
|
-
var
|
|
3
|
+
var _chunkME7I4NPFjs = require('./chunk-ME7I4NPF.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkXK5A4UF2js = require('./chunk-XK5A4UF2.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -390,7 +390,7 @@ async function resolveContext(userOptions) {
|
|
|
390
390
|
if (!workspaceRoot) {
|
|
391
391
|
throw new Error("Cannot find Nx workspace root");
|
|
392
392
|
}
|
|
393
|
-
const workspaceConfig = await
|
|
393
|
+
const workspaceConfig = await _chunkXK5A4UF2js.getWorkspaceConfig.call(void 0, true, {
|
|
394
394
|
workspaceRoot: workspaceRoot.dir
|
|
395
395
|
});
|
|
396
396
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
@@ -812,7 +812,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
812
812
|
success: true
|
|
813
813
|
};
|
|
814
814
|
}
|
|
815
|
-
var executor_default =
|
|
815
|
+
var executor_default = _chunkME7I4NPFjs.withRunExecutor.call(void 0,
|
|
816
816
|
"Storm ESBuild build",
|
|
817
817
|
esbuildExecutorFn,
|
|
818
818
|
{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeOptions,
|
|
3
3
|
typeScriptLibraryGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LNCNJLSB.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunGenerator
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OHWNQITF.mjs";
|
|
8
8
|
import {
|
|
9
9
|
joinPaths
|
|
10
10
|
} from "./chunk-U7JFVMCK.mjs";
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkME7I4NPFjs = require('./chunk-ME7I4NPF.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-check/executor.ts
|
|
10
10
|
async function cargoCheckExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "check", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkME7I4NPFjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Check",
|
|
16
16
|
cargoCheckExecutor,
|
|
17
17
|
{
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkME7I4NPFjs = require('./chunk-ME7I4NPF.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-format/executor.ts
|
|
10
10
|
async function cargoFormatExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "fmt", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkME7I4NPFjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Format",
|
|
16
16
|
cargoFormatExecutor,
|
|
17
17
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return 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
|
-
var
|
|
3
|
+
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -268,7 +268,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
268
268
|
if (options.publishable === false && options.buildable === false) {
|
|
269
269
|
bundler = "none";
|
|
270
270
|
}
|
|
271
|
-
const { Linter } = _devkit.ensurePackage.call(void 0, "@nx/eslint",
|
|
271
|
+
const { Linter } = _devkit.ensurePackage.call(void 0, "@nx/eslint", _chunkSZWM7COVjs.nxVersion);
|
|
272
272
|
const rootProject = false;
|
|
273
273
|
const {
|
|
274
274
|
projectName,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkQKQRWKYXjs = require('./chunk-QKQRWKYX.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkMPOLUVMPjs = require('./chunk-MPOLUVMP.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
|
|
@@ -30,14 +30,14 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
|
30
30
|
const tsLibraryGeneratorOptions = {
|
|
31
31
|
platform: "node",
|
|
32
32
|
devDependencies: {
|
|
33
|
-
"@types/node":
|
|
33
|
+
"@types/node": _chunkSZWM7COVjs.typesNodeVersion
|
|
34
34
|
},
|
|
35
35
|
buildExecutor: "@storm-software/workspace-tools:unbuild",
|
|
36
36
|
...schema,
|
|
37
37
|
directory: schema.directory,
|
|
38
38
|
description: schema.description
|
|
39
39
|
};
|
|
40
|
-
const options = await
|
|
40
|
+
const options = await _chunkQKQRWKYXjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
|
|
41
41
|
const { className, name, propertyName } = _devkit.names.call(void 0, options.name);
|
|
42
42
|
_devkit.generateFiles.call(void 0, tree, filesDir, options.projectRoot, {
|
|
43
43
|
...schema,
|
|
@@ -55,11 +55,11 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
|
55
55
|
buildable: options.bundler && options.bundler !== "none",
|
|
56
56
|
hasUnitTestRunner: options.unitTestRunner !== "none"
|
|
57
57
|
});
|
|
58
|
-
await
|
|
58
|
+
await _chunkQKQRWKYXjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
|
|
59
59
|
await _devkit.formatFiles.call(void 0, tree);
|
|
60
60
|
return null;
|
|
61
61
|
}
|
|
62
|
-
var generator_default =
|
|
62
|
+
var generator_default = _chunkMPOLUVMPjs.withRunGenerator.call(void 0,
|
|
63
63
|
"TypeScript Library Creator (NodeJs Platform)",
|
|
64
64
|
nodeLibraryGeneratorFn,
|
|
65
65
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/utils/versions.ts
|
|
2
|
-
var tsupVersion = "
|
|
2
|
+
var tsupVersion = "8.4.0";
|
|
3
3
|
var prettierPackageJsonVersion = "2.4.6";
|
|
4
4
|
var prettierPrismaVersion = "5.0.0";
|
|
5
5
|
var prettierVersion = "^3.0.3";
|