@storm-software/workspace-tools 1.293.25 → 1.294.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.
- package/CHANGELOG.md +19 -0
- package/README.md +1 -1
- package/dist/{chunk-4HOZ3VJB.js → chunk-2EX3I4ZZ.js} +3 -3
- package/dist/{chunk-4NOLUAQN.js → chunk-2JANPL5K.js} +7 -1
- package/dist/{chunk-4RYLWWPW.mjs → chunk-2XWSOZUG.mjs} +1 -1
- package/dist/{chunk-XV6LATBE.mjs → chunk-3LZUGRMT.mjs} +1 -1
- package/dist/{chunk-XUZ34KHK.mjs → chunk-4E77ODGU.mjs} +1 -1
- package/dist/{chunk-AX3RSZT7.js → chunk-6MT6IAIJ.js} +13 -0
- package/dist/{chunk-YDBNZTAA.js → chunk-ABHRPVXT.js} +10 -10
- package/dist/{chunk-2TNMKOD2.js → chunk-AQUCMNIA.js} +7 -7
- package/dist/{chunk-37YI6LX5.js → chunk-B2WIAR6B.js} +3 -3
- package/dist/{chunk-G5ODIWT4.mjs → chunk-CLDNQJKP.mjs} +1 -1
- package/dist/{chunk-J6OUXJS5.js → chunk-F6URZIFS.js} +2 -2
- package/dist/{chunk-COIQ4U46.js → chunk-FKYMJ3KW.js} +4 -4
- package/dist/{chunk-3UGFRM4O.mjs → chunk-H723BL2Q.mjs} +1 -1
- package/dist/{chunk-WRXEPJDB.mjs → chunk-ITJ3EZU2.mjs} +2 -2
- package/dist/{chunk-F66XEAID.mjs → chunk-M3TJCESM.mjs} +13 -0
- package/dist/{chunk-BO44O7D2.mjs → chunk-OV6RS5V7.mjs} +6 -0
- package/dist/{chunk-VCFUZPZ7.mjs → chunk-TNGFWLBR.mjs} +1 -1
- package/dist/{chunk-J6F3WHRB.js → chunk-Y2EEM3ZZ.js} +6 -6
- package/dist/{chunk-SYAIPGKL.mjs → chunk-Z5GSN373.mjs} +1 -1
- package/dist/{chunk-VCL6C44A.js → chunk-ZK2RKIFU.js} +3 -3
- package/dist/executors.js +4 -4
- package/dist/executors.mjs +3 -3
- package/dist/{generator-BJtuQJjV.d.mts → generator-BRv8CovR.d.mts} +1 -1
- package/dist/{generator-BwkUk_k0.d.mts → generator-BhoO530L.d.mts} +1 -1
- package/dist/{generator-B8QUcZay.d.ts → generator-BmMXStvy.d.ts} +1 -1
- package/dist/{generator-DdBy_cLQ.d.ts → generator-C1LWbWaE.d.ts} +1 -1
- package/dist/{generator-yDsHDYJ6.d.ts → generator-C3oor1Tq.d.ts} +1 -1
- package/dist/{generator-ZeG7RiW9.d.ts → generator-C7IQBL1_.d.ts} +1 -1
- package/dist/{generator-BIQo0_hp.d.mts → generator-CG4Dq6d1.d.mts} +1 -1
- package/dist/{generator-BXP2GmDc.d.mts → generator-CcKJAkqz.d.mts} +1 -1
- package/dist/{generator-zLXInw7b.d.ts → generator-CvEnH1My.d.ts} +1 -1
- package/dist/{generator-BZkyEGDm.d.mts → generator-mgm-AEto.d.mts} +1 -1
- package/dist/generators.d.mts +6 -6
- package/dist/generators.d.ts +6 -6
- package/dist/generators.js +6 -6
- package/dist/generators.mjs +5 -5
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +12 -10
- package/dist/index.mjs +12 -10
- package/dist/src/base/base-executor.d.mts +1 -1
- package/dist/src/base/base-executor.d.ts +1 -1
- package/dist/src/base/base-generator.d.mts +1 -1
- package/dist/src/base/base-generator.d.ts +1 -1
- package/dist/src/base/index.d.mts +1 -1
- package/dist/src/base/index.d.ts +1 -1
- package/dist/src/base/index.js +3 -3
- package/dist/src/base/index.mjs +2 -2
- package/dist/src/executors/npm-publish/executor.js +4 -4
- package/dist/src/executors/npm-publish/executor.mjs +3 -3
- package/dist/src/generators/browser-library/generator.d.mts +2 -2
- package/dist/src/generators/browser-library/generator.d.ts +2 -2
- package/dist/src/generators/browser-library/generator.js +4 -4
- package/dist/src/generators/browser-library/generator.mjs +3 -3
- package/dist/src/generators/config-schema/generator.d.mts +2 -2
- package/dist/src/generators/config-schema/generator.d.ts +2 -2
- package/dist/src/generators/neutral-library/generator.d.mts +2 -2
- package/dist/src/generators/neutral-library/generator.d.ts +2 -2
- package/dist/src/generators/neutral-library/generator.js +4 -4
- package/dist/src/generators/neutral-library/generator.mjs +3 -3
- package/dist/src/generators/node-library/generator.d.mts +2 -2
- package/dist/src/generators/node-library/generator.d.ts +2 -2
- package/dist/src/generators/node-library/generator.js +4 -4
- package/dist/src/generators/node-library/generator.mjs +3 -3
- package/dist/src/generators/preset/generator.d.mts +2 -2
- package/dist/src/generators/preset/generator.d.ts +2 -2
- package/dist/src/plugins/rust/cargo-toml.js +4 -4
- package/dist/src/plugins/rust/cargo-toml.mjs +3 -3
- package/dist/src/plugins/rust/index.js +4 -4
- package/dist/src/plugins/rust/index.mjs +3 -3
- package/dist/src/plugins/typescript/index.d.mts +6 -1
- package/dist/src/plugins/typescript/index.d.ts +6 -1
- package/dist/src/plugins/typescript/index.js +36 -29
- package/dist/src/plugins/typescript/index.mjs +9 -2
- package/dist/src/plugins/typescript/tsdown.d.mts +6 -3
- package/dist/src/plugins/typescript/tsdown.d.ts +6 -3
- package/dist/src/plugins/typescript/tsdown.js +21 -12
- package/dist/src/plugins/typescript/tsdown.mjs +19 -10
- package/dist/src/plugins/typescript/tsup.d.mts +6 -3
- package/dist/src/plugins/typescript/tsup.d.ts +6 -3
- package/dist/src/plugins/typescript/tsup.js +21 -12
- package/dist/src/plugins/typescript/tsup.mjs +19 -10
- package/dist/src/plugins/typescript/untyped-schema.js +4 -4
- package/dist/src/plugins/typescript/untyped-schema.mjs +2 -2
- package/dist/src/types.d.mts +1 -1
- package/dist/src/types.d.ts +1 -1
- package/dist/src/types.js +4 -2
- package/dist/src/types.mjs +5 -3
- package/dist/src/utils/index.d.mts +1 -1
- package/dist/src/utils/index.d.ts +1 -1
- package/dist/src/utils/index.js +4 -4
- package/dist/src/utils/index.mjs +3 -3
- package/dist/src/utils/package-helpers.js +3 -3
- package/dist/src/utils/package-helpers.mjs +2 -2
- package/dist/src/utils/plugin-helpers.js +3 -3
- package/dist/src/utils/plugin-helpers.mjs +2 -2
- package/dist/src/utils/project-tags.d.mts +14 -1
- package/dist/src/utils/project-tags.d.ts +14 -1
- package/dist/src/utils/project-tags.js +2 -2
- package/dist/src/utils/project-tags.mjs +1 -1
- package/dist/{types-BQTn5wl0.d.mts → types-BJp_GqKO.d.mts} +16 -1
- package/dist/{types-HINpespO.d.ts → types-Dna6kjOz.d.ts} +16 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.293.25](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.293.25) (12/05/2025)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update the banner image used in markdown files
|
|
10
|
+
([fc48aee3c](https://github.com/storm-software/storm-ops/commit/fc48aee3c))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated **testing-tools** to **v1.119.55**
|
|
15
|
+
- Updated **config-tools** to **v1.188.55**
|
|
16
|
+
- Updated **pnpm-tools** to **v0.6.55**
|
|
17
|
+
- Updated **npm-tools** to **v0.6.11**
|
|
18
|
+
- Updated **prettier** to **v0.57.55**
|
|
19
|
+
- Updated **esbuild** to **v0.53.55**
|
|
20
|
+
- Updated **unbuild** to **v0.57.55**
|
|
21
|
+
- Updated **config** to **v1.134.55**
|
|
22
|
+
- Updated **tsdown** to **v0.45.55**
|
|
23
|
+
|
|
5
24
|
## [1.293.24](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.293.24) (12/05/2025)
|
|
6
25
|
|
|
7
26
|
### Miscellaneous
|
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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -1,7 +1,7 @@
|
|
|
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 _chunkFKYMJ3KWjs = require('./chunk-FKYMJ3KW.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
@@ -37,7 +37,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
|
37
37
|
directory: schema.directory,
|
|
38
38
|
description: schema.description
|
|
39
39
|
};
|
|
40
|
-
const options = await
|
|
40
|
+
const options = await _chunkFKYMJ3KWjs.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,7 +55,7 @@ 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 _chunkFKYMJ3KWjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
|
|
59
59
|
await _devkit.formatFiles.call(void 0, tree);
|
|
60
60
|
return null;
|
|
61
61
|
}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/types.ts
|
|
2
|
+
var TypescriptProjectLinkingType = /* @__PURE__ */ ((TypescriptProjectLinkingType2) => {
|
|
3
|
+
TypescriptProjectLinkingType2["ALIAS"] = "alias";
|
|
4
|
+
TypescriptProjectLinkingType2["REFERENCE"] = "reference";
|
|
5
|
+
return TypescriptProjectLinkingType2;
|
|
6
|
+
})(TypescriptProjectLinkingType || {});
|
|
2
7
|
var ProjectTagVariant = {
|
|
3
8
|
LANGUAGE: "language",
|
|
4
9
|
TYPE: "type",
|
|
@@ -40,4 +45,5 @@ var ProjectTagRegistryValue = {
|
|
|
40
45
|
|
|
41
46
|
|
|
42
47
|
|
|
43
|
-
|
|
48
|
+
|
|
49
|
+
exports.TypescriptProjectLinkingType = TypescriptProjectLinkingType; exports.ProjectTagVariant = ProjectTagVariant; exports.ProjectTagLanguageValue = ProjectTagLanguageValue; exports.ProjectTagTypeValue = ProjectTagTypeValue; exports.ProjectTagDistStyleValue = ProjectTagDistStyleValue; exports.ProjectTagPlatformValue = ProjectTagPlatformValue; exports.ProjectTagRegistryValue = ProjectTagRegistryValue;
|
|
@@ -10,6 +10,11 @@ var ProjectTagConstants = {
|
|
|
10
10
|
LIBRARY: "library",
|
|
11
11
|
APPLICATION: "application"
|
|
12
12
|
},
|
|
13
|
+
ProjectLinking: {
|
|
14
|
+
TAG_ID: "project-linking",
|
|
15
|
+
REFERENCE: "reference",
|
|
16
|
+
ALIAS: "alias"
|
|
17
|
+
},
|
|
13
18
|
DistStyle: {
|
|
14
19
|
TAG_ID: "dist-style",
|
|
15
20
|
NORMAL: "normal",
|
|
@@ -34,6 +39,14 @@ var ProjectTagConstants = {
|
|
|
34
39
|
},
|
|
35
40
|
Plugin: {
|
|
36
41
|
TAG_ID: "plugin"
|
|
42
|
+
},
|
|
43
|
+
Builder: {
|
|
44
|
+
TAG_ID: "builder",
|
|
45
|
+
TSC: "tsc",
|
|
46
|
+
TSUP: "tsup",
|
|
47
|
+
TSDOWN: "tsdown",
|
|
48
|
+
VITE: "vite",
|
|
49
|
+
ROLLDOWN: "rolldown"
|
|
37
50
|
}
|
|
38
51
|
};
|
|
39
52
|
var formatProjectTag = (variant, value) => {
|
|
@@ -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 _chunkY2EEM3ZZjs = require('./chunk-Y2EEM3ZZ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk6MT6IAIJjs = require('./chunk-6MT6IAIJ.js');
|
|
13
13
|
|
|
14
14
|
// src/plugins/rust/cargo-toml.ts
|
|
15
15
|
|
|
@@ -65,7 +65,7 @@ var createNodesV2 = [
|
|
|
65
65
|
}, /* @__PURE__ */ new Map());
|
|
66
66
|
for (const cargoPackage of cargoPackages) {
|
|
67
67
|
if (!_chunkD2PV33E5js.isExternal.call(void 0, cargoPackage, context2.workspaceRoot)) {
|
|
68
|
-
const root =
|
|
68
|
+
const root = _chunkY2EEM3ZZjs.getRoot.call(void 0, _path.dirname.call(void 0, configFile), context2);
|
|
69
69
|
const project = {
|
|
70
70
|
root,
|
|
71
71
|
name: cargoPackage.name
|
|
@@ -248,10 +248,10 @@ var createNodesV2 = [
|
|
|
248
248
|
};
|
|
249
249
|
}
|
|
250
250
|
if (cargoPackage.publish === null || cargoPackage.publish === void 0 || cargoPackage.publish === true || Array.isArray(cargoPackage.publish) && cargoPackage.publish.length > 0) {
|
|
251
|
-
|
|
251
|
+
_chunk6MT6IAIJjs.addProjectTag.call(void 0,
|
|
252
252
|
project,
|
|
253
|
-
|
|
254
|
-
|
|
253
|
+
_chunk6MT6IAIJjs.ProjectTagConstants.Registry.TAG_ID,
|
|
254
|
+
_chunk6MT6IAIJjs.ProjectTagConstants.Registry.CARGO,
|
|
255
255
|
{ overwrite: true }
|
|
256
256
|
);
|
|
257
257
|
targets["nx-release-publish"] = {
|
|
@@ -272,13 +272,13 @@ var createNodesV2 = [
|
|
|
272
272
|
configurations
|
|
273
273
|
};
|
|
274
274
|
}
|
|
275
|
-
|
|
275
|
+
_chunk6MT6IAIJjs.addProjectTag.call(void 0,
|
|
276
276
|
project,
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
_chunk6MT6IAIJjs.ProjectTagConstants.Language.TAG_ID,
|
|
278
|
+
_chunk6MT6IAIJjs.ProjectTagConstants.Language.RUST,
|
|
279
279
|
{ overwrite: true }
|
|
280
280
|
);
|
|
281
|
-
|
|
281
|
+
_chunk6MT6IAIJjs.setDefaultProjectTags.call(void 0, project, name);
|
|
282
282
|
projects[root] = _defu2.default.call(void 0,
|
|
283
283
|
{
|
|
284
284
|
targets,
|
|
@@ -4,7 +4,7 @@ var _chunkGXTFFUMLjs = require('./chunk-GXTFFUML.js');
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk6MT6IAIJjs = require('./chunk-6MT6IAIJ.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -24,19 +24,19 @@ var PackageManagerTypes = {
|
|
|
24
24
|
CargoToml: "Cargo.toml"
|
|
25
25
|
};
|
|
26
26
|
var getPackageInfo = (project) => {
|
|
27
|
-
if (
|
|
27
|
+
if (_chunk6MT6IAIJjs.isEqualProjectTag.call(void 0,
|
|
28
28
|
project,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
_chunk6MT6IAIJjs.ProjectTagConstants.Language.TAG_ID,
|
|
30
|
+
_chunk6MT6IAIJjs.ProjectTagConstants.Language.RUST
|
|
31
31
|
) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))) {
|
|
32
32
|
return {
|
|
33
33
|
type: "Cargo.toml",
|
|
34
34
|
content: _chunkGXTFFUMLjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
|
|
35
35
|
};
|
|
36
|
-
} else if (
|
|
36
|
+
} else if (_chunk6MT6IAIJjs.isEqualProjectTag.call(void 0,
|
|
37
37
|
project,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
_chunk6MT6IAIJjs.ProjectTagConstants.Language.TAG_ID,
|
|
39
|
+
_chunk6MT6IAIJjs.ProjectTagConstants.Language.TYPESCRIPT
|
|
40
40
|
) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "package.json"))) {
|
|
41
41
|
return {
|
|
42
42
|
type: "package.json",
|
|
@@ -1,7 +1,7 @@
|
|
|
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 _chunkFKYMJ3KWjs = require('./chunk-FKYMJ3KW.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkHYK7X5TYjs = require('./chunk-HYK7X5TY.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 _chunkFKYMJ3KWjs.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,7 +78,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
});
|
|
81
|
-
await
|
|
81
|
+
await _chunkFKYMJ3KWjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
|
|
82
82
|
await _devkit.formatFiles.call(void 0, tree);
|
|
83
83
|
return null;
|
|
84
84
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkAQUCMNIAjs = require('./chunk-AQUCMNIA.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk7OGVJELAjs = require('./chunk-7OGVJELA.js');
|
|
@@ -315,7 +315,7 @@ async function npmPublishExecutorFn(options, context) {
|
|
|
315
315
|
return { success: true };
|
|
316
316
|
}
|
|
317
317
|
await replaceDepsAliases(packageRoot, context.root);
|
|
318
|
-
await
|
|
318
|
+
await _chunkAQUCMNIAjs.addPackageJsonGitHead.call(void 0, packageRoot);
|
|
319
319
|
const npmPublishCommandSegments = [`npm publish --json`];
|
|
320
320
|
const npmViewCommandSegments = [
|
|
321
321
|
`npm view ${packageName} versions dist-tags --json`
|
|
@@ -4,7 +4,7 @@ var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk6MT6IAIJjs = require('./chunk-6MT6IAIJ.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -96,10 +96,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
96
96
|
if (options.platform) {
|
|
97
97
|
projectConfig.targets.build.options.platform = options.platform === "worker" ? "node" : options.platform;
|
|
98
98
|
}
|
|
99
|
-
|
|
99
|
+
_chunk6MT6IAIJjs.addProjectTag.call(void 0,
|
|
100
100
|
projectConfig,
|
|
101
|
-
|
|
102
|
-
options.platform === "node" ?
|
|
101
|
+
_chunk6MT6IAIJjs.ProjectTagConstants.Platform.TAG_ID,
|
|
102
|
+
options.platform === "node" ? _chunk6MT6IAIJjs.ProjectTagConstants.Platform.NODE : options.platform === "worker" ? _chunk6MT6IAIJjs.ProjectTagConstants.Platform.WORKER : options.platform === "browser" ? _chunk6MT6IAIJjs.ProjectTagConstants.Platform.BROWSER : _chunk6MT6IAIJjs.ProjectTagConstants.Platform.NEUTRAL,
|
|
103
103
|
{ overwrite: false }
|
|
104
104
|
);
|
|
105
105
|
createProjectTsConfigJson(tree, normalized);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRoot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2XWSOZUG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
cargoMetadata,
|
|
6
6
|
isExternal
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
ProjectTagConstants,
|
|
10
10
|
addProjectTag,
|
|
11
11
|
setDefaultProjectTags
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-M3TJCESM.mjs";
|
|
13
13
|
|
|
14
14
|
// src/plugins/rust/cargo-toml.ts
|
|
15
15
|
import {
|
|
@@ -10,6 +10,11 @@ var ProjectTagConstants = {
|
|
|
10
10
|
LIBRARY: "library",
|
|
11
11
|
APPLICATION: "application"
|
|
12
12
|
},
|
|
13
|
+
ProjectLinking: {
|
|
14
|
+
TAG_ID: "project-linking",
|
|
15
|
+
REFERENCE: "reference",
|
|
16
|
+
ALIAS: "alias"
|
|
17
|
+
},
|
|
13
18
|
DistStyle: {
|
|
14
19
|
TAG_ID: "dist-style",
|
|
15
20
|
NORMAL: "normal",
|
|
@@ -34,6 +39,14 @@ var ProjectTagConstants = {
|
|
|
34
39
|
},
|
|
35
40
|
Plugin: {
|
|
36
41
|
TAG_ID: "plugin"
|
|
42
|
+
},
|
|
43
|
+
Builder: {
|
|
44
|
+
TAG_ID: "builder",
|
|
45
|
+
TSC: "tsc",
|
|
46
|
+
TSUP: "tsup",
|
|
47
|
+
TSDOWN: "tsdown",
|
|
48
|
+
VITE: "vite",
|
|
49
|
+
ROLLDOWN: "rolldown"
|
|
37
50
|
}
|
|
38
51
|
};
|
|
39
52
|
var formatProjectTag = (variant, value) => {
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
// src/types.ts
|
|
2
|
+
var TypescriptProjectLinkingType = /* @__PURE__ */ ((TypescriptProjectLinkingType2) => {
|
|
3
|
+
TypescriptProjectLinkingType2["ALIAS"] = "alias";
|
|
4
|
+
TypescriptProjectLinkingType2["REFERENCE"] = "reference";
|
|
5
|
+
return TypescriptProjectLinkingType2;
|
|
6
|
+
})(TypescriptProjectLinkingType || {});
|
|
2
7
|
var ProjectTagVariant = {
|
|
3
8
|
LANGUAGE: "language",
|
|
4
9
|
TYPE: "type",
|
|
@@ -34,6 +39,7 @@ var ProjectTagRegistryValue = {
|
|
|
34
39
|
};
|
|
35
40
|
|
|
36
41
|
export {
|
|
42
|
+
TypescriptProjectLinkingType,
|
|
37
43
|
ProjectTagVariant,
|
|
38
44
|
ProjectTagLanguageValue,
|
|
39
45
|
ProjectTagTypeValue,
|
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk6MT6IAIJjs = require('./chunk-6MT6IAIJ.js');
|
|
5
5
|
|
|
6
6
|
// src/utils/plugin-helpers.ts
|
|
7
7
|
|
|
@@ -21,17 +21,17 @@ function getProjectPlatform(project, ignoreTags = false) {
|
|
|
21
21
|
}
|
|
22
22
|
let platformTag = void 0;
|
|
23
23
|
if (!ignoreTags) {
|
|
24
|
-
platformTag =
|
|
24
|
+
platformTag = _chunk6MT6IAIJjs.getProjectTag.call(void 0, project, _chunk6MT6IAIJjs.ProjectTagConstants.Platform.TAG_ID);
|
|
25
25
|
}
|
|
26
|
-
if (platformTag !==
|
|
26
|
+
if (platformTag !== _chunk6MT6IAIJjs.ProjectTagConstants.Platform.NEUTRAL) {
|
|
27
27
|
const types = Array.isArray(_optionalChain([tsconfigJson, 'access', _ => _.compilerOptions, 'optionalAccess', _2 => _2.types])) ? tsconfigJson.compilerOptions.types : [];
|
|
28
|
-
if (platformTag ===
|
|
28
|
+
if (platformTag === _chunk6MT6IAIJjs.ProjectTagConstants.Platform.WORKER || types.some((type) => type.toLowerCase() === "@cloudflare/workers-types") || _optionalChain([packageJson, 'access', _3 => _3.devDependencies, 'optionalAccess', _4 => _4["@cloudflare/workers-types"]]) || _optionalChain([packageJson, 'access', _5 => _5.devDependencies, 'optionalAccess', _6 => _6["wrangler"]])) {
|
|
29
29
|
return "worker";
|
|
30
30
|
}
|
|
31
|
-
if (platformTag ===
|
|
31
|
+
if (platformTag === _chunk6MT6IAIJjs.ProjectTagConstants.Platform.NODE || _optionalChain([types, 'optionalAccess', _7 => _7.some, 'call', _8 => _8((type) => type.toLowerCase() === "node")]) || _optionalChain([packageJson, 'access', _9 => _9.devDependencies, 'optionalAccess', _10 => _10["@types/node"]])) {
|
|
32
32
|
return "node";
|
|
33
33
|
}
|
|
34
|
-
if (platformTag ===
|
|
34
|
+
if (platformTag === _chunk6MT6IAIJjs.ProjectTagConstants.Platform.BROWSER || _optionalChain([types, 'optionalAccess', _11 => _11.some, 'call', _12 => _12((type) => type.toLowerCase() === "dom")]) || packageJson.dependencies && Object.keys(packageJson.dependencies).some(
|
|
35
35
|
(dependency) => dependency.includes("react")
|
|
36
36
|
) || packageJson.devDependencies && Object.keys(packageJson.devDependencies).some(
|
|
37
37
|
(devDependency) => devDependency.includes("react")
|
|
@@ -1,7 +1,7 @@
|
|
|
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 _chunkFKYMJ3KWjs = require('./chunk-FKYMJ3KW.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkHYK7X5TYjs = require('./chunk-HYK7X5TY.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 _chunkFKYMJ3KWjs.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,7 +50,7 @@ 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 _chunkFKYMJ3KWjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
|
|
54
54
|
await _devkit.formatFiles.call(void 0, tree);
|
|
55
55
|
return null;
|
|
56
56
|
}
|
package/dist/executors.js
CHANGED
|
@@ -20,7 +20,7 @@ require('./chunk-GE2RNRVQ.js');
|
|
|
20
20
|
var _chunkRMVPAFL5js = require('./chunk-RMVPAFL5.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkF6URZIFSjs = require('./chunk-F6URZIFS.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
var _chunkR2H2PZOYjs = require('./chunk-R2H2PZOY.js');
|
|
@@ -40,9 +40,9 @@ var _chunkHFXXGJRHjs = require('./chunk-HFXXGJRH.js');
|
|
|
40
40
|
|
|
41
41
|
var _chunkX3JM5ONCjs = require('./chunk-X3JM5ONC.js');
|
|
42
42
|
require('./chunk-D2PV33E5.js');
|
|
43
|
-
require('./chunk-
|
|
43
|
+
require('./chunk-AQUCMNIA.js');
|
|
44
44
|
require('./chunk-GXTFFUML.js');
|
|
45
|
-
require('./chunk-
|
|
45
|
+
require('./chunk-6MT6IAIJ.js');
|
|
46
46
|
require('./chunk-73YOO2B5.js');
|
|
47
47
|
require('./chunk-ML2VHRB6.js');
|
|
48
48
|
require('./chunk-7OGVJELA.js');
|
|
@@ -63,4 +63,4 @@ require('./chunk-CQDBLKPF.js');
|
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
exports.LARGE_BUFFER =
|
|
66
|
+
exports.LARGE_BUFFER = _chunkF6URZIFSjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkHFXXGJRHjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkX3JM5ONCjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkR2H2PZOYjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkUASDV4HBjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkC7TDCMF3js.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkRIWQVAMXjs.esbuildExecutorFn; exports.getRegistryVersion = _chunk66Q42VH2js.getRegistryVersion; exports.napiExecutor = _chunkRMVPAFL5js.napiExecutor; exports.sizeLimitExecutorFn = _chunkI6XZ4REQjs.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunk3L2TGJ7Pjs.tsdownExecutorFn; exports.typiaExecutorFn = _chunk46BG6NUYjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkEOQB5BBVjs.unbuildExecutorFn;
|
package/dist/executors.mjs
CHANGED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-LYJNZCO4.mjs";
|
|
21
21
|
import {
|
|
22
22
|
LARGE_BUFFER
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TNGFWLBR.mjs";
|
|
24
24
|
import {
|
|
25
25
|
cargoClippyExecutor
|
|
26
26
|
} from "./chunk-Z2GJI23Y.mjs";
|
|
@@ -40,9 +40,9 @@ import {
|
|
|
40
40
|
cargoCheckExecutor
|
|
41
41
|
} from "./chunk-3ZXQER7B.mjs";
|
|
42
42
|
import "./chunk-ZTN2676G.mjs";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-3LZUGRMT.mjs";
|
|
44
44
|
import "./chunk-FEYD5KMF.mjs";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-M3TJCESM.mjs";
|
|
46
46
|
import "./chunk-V4QXOWGL.mjs";
|
|
47
47
|
import "./chunk-QYHQD375.mjs";
|
|
48
48
|
import "./chunk-T5345GNL.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as BaseGeneratorResult } from './types-BJp_GqKO.mjs';
|
|
2
2
|
import * as _nx_devkit from '@nx/devkit';
|
|
3
3
|
import { Tree } from '@nx/devkit';
|
|
4
4
|
import { S as StormWorkspaceConfig } from './types-DeaeRt7S.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as BaseGeneratorResult } from './types-BJp_GqKO.mjs';
|
|
2
2
|
import * as _nx_devkit from '@nx/devkit';
|
|
3
3
|
import { Tree } from '@nx/devkit';
|
|
4
4
|
import { S as StormWorkspaceConfig } from './types-DeaeRt7S.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as BaseGeneratorResult } from './types-Dna6kjOz.js';
|
|
2
2
|
import * as _nx_devkit from '@nx/devkit';
|
|
3
3
|
import { Tree } from '@nx/devkit';
|
|
4
4
|
import { S as StormWorkspaceConfig } from './types-DeaeRt7S.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as BaseGeneratorResult } from './types-Dna6kjOz.js';
|
|
2
2
|
import * as _nx_devkit from '@nx/devkit';
|
|
3
3
|
import { Tree } from '@nx/devkit';
|
|
4
4
|
import { S as StormWorkspaceConfig } from './types-DeaeRt7S.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as BaseGeneratorResult } from './types-Dna6kjOz.js';
|
|
2
2
|
import * as _nx_devkit from '@nx/devkit';
|
|
3
3
|
import { Tree } from '@nx/devkit';
|
|
4
4
|
import { S as StormWorkspaceConfig } from './types-DeaeRt7S.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as BaseGeneratorResult } from './types-BJp_GqKO.mjs';
|
|
2
2
|
import * as _nx_devkit from '@nx/devkit';
|
|
3
3
|
import { Tree } from '@nx/devkit';
|
|
4
4
|
import { S as StormWorkspaceConfig } from './types-DeaeRt7S.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as BaseGeneratorResult } from './types-Dna6kjOz.js';
|
|
2
2
|
import * as _nx_devkit from '@nx/devkit';
|
|
3
3
|
import { Tree } from '@nx/devkit';
|
|
4
4
|
import { S as StormWorkspaceConfig } from './types-DeaeRt7S.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as BaseGeneratorResult } from './types-BJp_GqKO.mjs';
|
|
2
2
|
import * as _nx_devkit from '@nx/devkit';
|
|
3
3
|
import { Tree } from '@nx/devkit';
|
|
4
4
|
import { S as StormWorkspaceConfig } from './types-DeaeRt7S.mjs';
|
package/dist/generators.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { B as BrowserLibraryGeneratorSchema, b as browserLibraryGeneratorFn } from './generator-
|
|
2
|
-
export { C as ConfigSchemaGeneratorSchema, M as ModuleSchema, c as configSchemaGeneratorFn } from './generator-
|
|
1
|
+
export { B as BrowserLibraryGeneratorSchema, b as browserLibraryGeneratorFn } from './generator-CG4Dq6d1.mjs';
|
|
2
|
+
export { C as ConfigSchemaGeneratorSchema, M as ModuleSchema, c as configSchemaGeneratorFn } from './generator-BRv8CovR.mjs';
|
|
3
3
|
export { I as InitGeneratorSchema, i as initGenerator } from './init-6Nmtv8d5.mjs';
|
|
4
|
-
export { N as NeutralLibraryGeneratorSchema, n as neutralLibraryGeneratorFn } from './generator-
|
|
5
|
-
export { N as NodeLibraryGeneratorSchema, n as nodeLibraryGeneratorFn } from './generator-
|
|
6
|
-
export { P as PresetGeneratorSchema, p as presetGeneratorFn } from './generator-
|
|
7
|
-
import './types-
|
|
4
|
+
export { N as NeutralLibraryGeneratorSchema, n as neutralLibraryGeneratorFn } from './generator-mgm-AEto.mjs';
|
|
5
|
+
export { N as NodeLibraryGeneratorSchema, n as nodeLibraryGeneratorFn } from './generator-BhoO530L.mjs';
|
|
6
|
+
export { P as PresetGeneratorSchema, p as presetGeneratorFn } from './generator-CcKJAkqz.mjs';
|
|
7
|
+
import './types-BJp_GqKO.mjs';
|
|
8
8
|
import './types-DeaeRt7S.mjs';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import 'zod/mini';
|