@storm-software/workspace-tools 1.294.0 → 1.294.2
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 +38 -0
- package/dist/{chunk-F6URZIFS.js → chunk-3GKMFXQ6.js} +2 -2
- package/dist/{chunk-TNGFWLBR.mjs → chunk-44IQ5DGO.mjs} +1 -1
- package/dist/{chunk-B2WIAR6B.js → chunk-4KWCRJ42.js} +3 -3
- package/dist/{chunk-3LZUGRMT.mjs → chunk-5BONSUJM.mjs} +1 -1
- package/dist/{chunk-Z5GSN373.mjs → chunk-73A7IONK.mjs} +2 -2
- package/dist/{chunk-M3TJCESM.mjs → chunk-AQ7B26V3.mjs} +1 -1
- package/dist/{chunk-ZPLXDRD4.mjs → chunk-AWEZ7UJ3.mjs} +1 -1
- package/dist/{chunk-FKYMJ3KW.js → chunk-BZMYB75M.js} +4 -4
- package/dist/{chunk-WICWDWS6.mjs → chunk-CXY6VDX7.mjs} +1 -1
- package/dist/{chunk-2XWSOZUG.mjs → chunk-FKPWMB63.mjs} +1 -1
- package/dist/{chunk-2EX3I4ZZ.js → chunk-L7PM76XK.js} +3 -3
- package/dist/{chunk-AQUCMNIA.js → chunk-LZC7BM3D.js} +7 -7
- package/dist/{chunk-H723BL2Q.mjs → chunk-M3YWCYUX.mjs} +1 -1
- package/dist/{chunk-CLDNQJKP.mjs → chunk-MILWDGNH.mjs} +2 -2
- package/dist/{chunk-ABHRPVXT.js → chunk-NU3RM6J3.js} +10 -10
- package/dist/{chunk-ITJ3EZU2.mjs → chunk-R4N2WEQ2.mjs} +2 -2
- package/dist/{chunk-6MT6IAIJ.js → chunk-UHTWNVEZ.js} +1 -1
- package/dist/{chunk-4E77ODGU.mjs → chunk-WBPHMZKE.mjs} +2 -2
- package/dist/{chunk-ZK2RKIFU.js → chunk-WI26APPF.js} +3 -3
- package/dist/{chunk-Y2EEM3ZZ.js → chunk-XZ6L6OXJ.js} +6 -6
- package/dist/executors.js +4 -4
- package/dist/executors.mjs +4 -4
- package/dist/generators.js +6 -6
- package/dist/generators.mjs +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +10 -10
- package/dist/src/base/base-executor.mjs +1 -1
- package/dist/src/base/base-executor.untyped.mjs +1 -1
- package/dist/src/base/base-generator.mjs +1 -1
- package/dist/src/base/base-generator.untyped.mjs +1 -1
- package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
- package/dist/src/base/index.js +3 -3
- package/dist/src/base/index.mjs +3 -3
- package/dist/src/base/typescript-build-executor.untyped.mjs +1 -1
- package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
- package/dist/src/executors/cargo-build/executor.mjs +1 -1
- package/dist/src/executors/cargo-build/untyped.mjs +1 -1
- package/dist/src/executors/cargo-check/executor.mjs +1 -1
- package/dist/src/executors/cargo-check/untyped.mjs +1 -1
- package/dist/src/executors/cargo-clippy/executor.mjs +1 -1
- package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
- package/dist/src/executors/cargo-doc/executor.mjs +1 -1
- package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
- package/dist/src/executors/cargo-format/executor.mjs +1 -1
- package/dist/src/executors/cargo-format/untyped.mjs +1 -1
- package/dist/src/executors/cargo-publish/executor.mjs +1 -1
- package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
- package/dist/src/executors/clean-package/executor.mjs +1 -1
- package/dist/src/executors/clean-package/untyped.mjs +1 -1
- package/dist/src/executors/esbuild/executor.mjs +1 -1
- package/dist/src/executors/esbuild/untyped.mjs +1 -1
- package/dist/src/executors/napi/executor.mjs +1 -1
- package/dist/src/executors/napi/untyped.mjs +1 -1
- package/dist/src/executors/npm-publish/executor.js +4 -4
- package/dist/src/executors/npm-publish/executor.mjs +4 -4
- package/dist/src/executors/npm-publish/untyped.mjs +1 -1
- package/dist/src/executors/size-limit/executor.mjs +1 -1
- package/dist/src/executors/size-limit/untyped.mjs +1 -1
- package/dist/src/executors/tsdown/executor.mjs +1 -1
- package/dist/src/executors/tsdown/untyped.mjs +1 -1
- package/dist/src/executors/typia/executor.mjs +1 -1
- package/dist/src/executors/typia/untyped.mjs +1 -1
- package/dist/src/executors/unbuild/executor.mjs +1 -1
- package/dist/src/executors/unbuild/untyped.mjs +1 -1
- package/dist/src/generators/browser-library/generator.js +4 -4
- package/dist/src/generators/browser-library/generator.mjs +4 -4
- package/dist/src/generators/browser-library/untyped.mjs +1 -1
- package/dist/src/generators/config-schema/generator.mjs +1 -1
- package/dist/src/generators/config-schema/untyped.mjs +1 -1
- package/dist/src/generators/init/init.mjs +1 -1
- package/dist/src/generators/init/untyped.mjs +1 -1
- package/dist/src/generators/neutral-library/generator.js +4 -4
- package/dist/src/generators/neutral-library/generator.mjs +4 -4
- package/dist/src/generators/neutral-library/untyped.mjs +1 -1
- package/dist/src/generators/node-library/generator.js +4 -4
- package/dist/src/generators/node-library/generator.mjs +4 -4
- package/dist/src/generators/node-library/untyped.mjs +1 -1
- package/dist/src/generators/preset/generator.mjs +2 -2
- package/dist/src/generators/preset/untyped.mjs +1 -1
- package/dist/src/plugins/rust/cargo-toml.js +4 -4
- package/dist/src/plugins/rust/cargo-toml.mjs +4 -4
- package/dist/src/plugins/rust/index.js +4 -4
- package/dist/src/plugins/rust/index.mjs +4 -4
- package/dist/src/plugins/typescript/index.js +32 -32
- package/dist/src/plugins/typescript/index.mjs +3 -3
- package/dist/src/plugins/typescript/tsdown.js +12 -12
- package/dist/src/plugins/typescript/tsdown.mjs +5 -5
- package/dist/src/plugins/typescript/tsup.js +10 -10
- package/dist/src/plugins/typescript/tsup.mjs +3 -3
- package/dist/src/plugins/typescript/untyped-schema.js +4 -4
- package/dist/src/plugins/typescript/untyped-schema.mjs +3 -3
- package/dist/src/release/index.mjs +1 -1
- package/dist/src/release/js-version-actions.mjs +1 -1
- package/dist/src/release/rust-version-actions.mjs +1 -1
- package/dist/src/types.mjs +1 -1
- package/dist/src/utils/apply-workspace-tokens.mjs +1 -1
- package/dist/src/utils/cargo.mjs +1 -1
- package/dist/src/utils/create-cli-options.mjs +1 -1
- package/dist/src/utils/get-project-configurations.mjs +1 -1
- package/dist/src/utils/index.js +4 -4
- package/dist/src/utils/index.mjs +4 -4
- package/dist/src/utils/lock-file.mjs +1 -1
- package/dist/src/utils/nx-json.mjs +1 -1
- package/dist/src/utils/package-helpers.js +3 -3
- package/dist/src/utils/package-helpers.mjs +3 -3
- package/dist/src/utils/plugin-helpers.js +3 -3
- package/dist/src/utils/plugin-helpers.mjs +3 -3
- package/dist/src/utils/project-tags.js +2 -2
- package/dist/src/utils/project-tags.mjs +2 -2
- package/dist/src/utils/registry-helpers.mjs +1 -1
- package/dist/src/utils/typia-transform.mjs +1 -1
- package/dist/src/utils/versions.mjs +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.294.1](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.1) (12/06/2025)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **testing-tools** to **v1.119.57**
|
|
10
|
+
- Updated **config-tools** to **v1.188.57**
|
|
11
|
+
- Updated **pnpm-tools** to **v0.6.57**
|
|
12
|
+
- Updated **npm-tools** to **v0.6.13**
|
|
13
|
+
- Updated **prettier** to **v0.57.57**
|
|
14
|
+
- Updated **esbuild** to **v0.53.57**
|
|
15
|
+
- Updated **unbuild** to **v0.57.57**
|
|
16
|
+
- Updated **config** to **v1.134.57**
|
|
17
|
+
- Updated **tsdown** to **v0.45.57**
|
|
18
|
+
|
|
19
|
+
## [1.294.0](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.0) (12/05/2025)
|
|
20
|
+
|
|
21
|
+
### Miscellaneous
|
|
22
|
+
|
|
23
|
+
- **monorepo:** Reformat README markdown files
|
|
24
|
+
([67f5cb4ca](https://github.com/storm-software/storm-ops/commit/67f5cb4ca))
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
- **workspace-tools:** Added `projectLinks` option to Typescript plugins
|
|
29
|
+
([bb99b8531](https://github.com/storm-software/storm-ops/commit/bb99b8531))
|
|
30
|
+
|
|
31
|
+
### Updated Dependencies
|
|
32
|
+
|
|
33
|
+
- Updated **testing-tools** to **v1.119.56**
|
|
34
|
+
- Updated **config-tools** to **v1.188.56**
|
|
35
|
+
- Updated **pnpm-tools** to **v0.6.56**
|
|
36
|
+
- Updated **npm-tools** to **v0.6.12**
|
|
37
|
+
- Updated **prettier** to **v0.57.56**
|
|
38
|
+
- Updated **esbuild** to **v0.53.56**
|
|
39
|
+
- Updated **unbuild** to **v0.57.56**
|
|
40
|
+
- Updated **config** to **v1.134.56**
|
|
41
|
+
- Updated **tsdown** to **v0.45.56**
|
|
42
|
+
|
|
5
43
|
## [1.293.25](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.293.25) (12/05/2025)
|
|
6
44
|
|
|
7
45
|
### Miscellaneous
|
|
@@ -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 _chunkLZC7BM3Djs = require('./chunk-LZC7BM3D.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 _chunkLZC7BM3Djs.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`
|
|
@@ -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 _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.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 _chunkBZMYB75Mjs.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 _chunkBZMYB75Mjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
|
|
82
82
|
await _devkit.formatFiles.call(void 0, tree);
|
|
83
83
|
return null;
|
|
84
84
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeOptions,
|
|
3
3
|
typeScriptLibraryGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M3YWCYUX.mjs";
|
|
5
5
|
import {
|
|
6
6
|
typesNodeVersion
|
|
7
7
|
} from "./chunk-QC5ON3X4.mjs";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-TBW5MCN6.mjs";
|
|
14
14
|
import {
|
|
15
15
|
__dirname
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CXY6VDX7.mjs";
|
|
17
17
|
|
|
18
18
|
// src/generators/node-library/generator.ts
|
|
19
19
|
import {
|
|
@@ -106,7 +106,7 @@ var setDefaultProjectTags = (project, plugin) => {
|
|
|
106
106
|
addProjectTag(
|
|
107
107
|
project,
|
|
108
108
|
ProjectTagConstants.Platform.TAG_ID,
|
|
109
|
-
project.targets?.build?.options
|
|
109
|
+
project.targets?.build?.options?.platform === "node" ? ProjectTagConstants.Platform.NODE : project.targets?.build?.options?.platform === "worker" ? ProjectTagConstants.Platform.WORKER : project.targets?.build?.options?.platform === "browser" ? ProjectTagConstants.Platform.BROWSER : ProjectTagConstants.Platform.NEUTRAL,
|
|
110
110
|
{ overwrite: false }
|
|
111
111
|
);
|
|
112
112
|
if (plugin) {
|
|
@@ -4,7 +4,7 @@ var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkUHTWNVEZjs = require('./chunk-UHTWNVEZ.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
|
+
_chunkUHTWNVEZjs.addProjectTag.call(void 0,
|
|
100
100
|
projectConfig,
|
|
101
|
-
|
|
102
|
-
options.platform === "node" ?
|
|
101
|
+
_chunkUHTWNVEZjs.ProjectTagConstants.Platform.TAG_ID,
|
|
102
|
+
options.platform === "node" ? _chunkUHTWNVEZjs.ProjectTagConstants.Platform.NODE : options.platform === "worker" ? _chunkUHTWNVEZjs.ProjectTagConstants.Platform.WORKER : options.platform === "browser" ? _chunkUHTWNVEZjs.ProjectTagConstants.Platform.BROWSER : _chunkUHTWNVEZjs.ProjectTagConstants.Platform.NEUTRAL,
|
|
103
103
|
{ overwrite: false }
|
|
104
104
|
);
|
|
105
105
|
createProjectTsConfigJson(tree, normalized);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
1
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__4cdf697b344ad11b74e428cc75b0b6fc/node_modules/tsup/assets/esm_shims.js
|
|
2
2
|
import { fileURLToPath } from "url";
|
|
3
3
|
import path from "path";
|
|
4
4
|
var getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -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 _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.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 _chunkBZMYB75Mjs.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 _chunkBZMYB75Mjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
|
|
59
59
|
await _devkit.formatFiles.call(void 0, tree);
|
|
60
60
|
return null;
|
|
61
61
|
}
|
|
@@ -4,7 +4,7 @@ var _chunkGXTFFUMLjs = require('./chunk-GXTFFUML.js');
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkUHTWNVEZjs = require('./chunk-UHTWNVEZ.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 (_chunkUHTWNVEZjs.isEqualProjectTag.call(void 0,
|
|
28
28
|
project,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
_chunkUHTWNVEZjs.ProjectTagConstants.Language.TAG_ID,
|
|
30
|
+
_chunkUHTWNVEZjs.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 (_chunkUHTWNVEZjs.isEqualProjectTag.call(void 0,
|
|
37
37
|
project,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
_chunkUHTWNVEZjs.ProjectTagConstants.Language.TAG_ID,
|
|
39
|
+
_chunkUHTWNVEZjs.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
|
import {
|
|
2
2
|
normalizeOptions,
|
|
3
3
|
typeScriptLibraryGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M3YWCYUX.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunGenerator
|
|
7
7
|
} from "./chunk-2ZQ423JU.mjs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-TBW5MCN6.mjs";
|
|
11
11
|
import {
|
|
12
12
|
__dirname
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CXY6VDX7.mjs";
|
|
14
14
|
|
|
15
15
|
// src/generators/browser-library/generator.ts
|
|
16
16
|
import {
|
|
@@ -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 _chunkXZ6L6OXJjs = require('./chunk-XZ6L6OXJ.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 _chunkUHTWNVEZjs = require('./chunk-UHTWNVEZ.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 = _chunkXZ6L6OXJjs.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
|
+
_chunkUHTWNVEZjs.addProjectTag.call(void 0,
|
|
252
252
|
project,
|
|
253
|
-
|
|
254
|
-
|
|
253
|
+
_chunkUHTWNVEZjs.ProjectTagConstants.Registry.TAG_ID,
|
|
254
|
+
_chunkUHTWNVEZjs.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
|
+
_chunkUHTWNVEZjs.addProjectTag.call(void 0,
|
|
276
276
|
project,
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
_chunkUHTWNVEZjs.ProjectTagConstants.Language.TAG_ID,
|
|
278
|
+
_chunkUHTWNVEZjs.ProjectTagConstants.Language.RUST,
|
|
279
279
|
{ overwrite: true }
|
|
280
280
|
);
|
|
281
|
-
|
|
281
|
+
_chunkUHTWNVEZjs.setDefaultProjectTags.call(void 0, project, name);
|
|
282
282
|
projects[root] = _defu2.default.call(void 0,
|
|
283
283
|
{
|
|
284
284
|
targets,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRoot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FKPWMB63.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-AQ7B26V3.mjs";
|
|
13
13
|
|
|
14
14
|
// src/plugins/rust/cargo-toml.ts
|
|
15
15
|
import {
|
|
@@ -106,7 +106,7 @@ var setDefaultProjectTags = (project, plugin) => {
|
|
|
106
106
|
addProjectTag(
|
|
107
107
|
project,
|
|
108
108
|
ProjectTagConstants.Platform.TAG_ID,
|
|
109
|
-
_optionalChain([project, 'access', _5 => _5.targets, 'optionalAccess', _6 => _6.build, 'optionalAccess', _7 => _7.options, '
|
|
109
|
+
_optionalChain([project, 'access', _5 => _5.targets, 'optionalAccess', _6 => _6.build, 'optionalAccess', _7 => _7.options, 'optionalAccess', _8 => _8.platform]) === "node" ? ProjectTagConstants.Platform.NODE : _optionalChain([project, 'access', _9 => _9.targets, 'optionalAccess', _10 => _10.build, 'optionalAccess', _11 => _11.options, 'optionalAccess', _12 => _12.platform]) === "worker" ? ProjectTagConstants.Platform.WORKER : _optionalChain([project, 'access', _13 => _13.targets, 'optionalAccess', _14 => _14.build, 'optionalAccess', _15 => _15.options, 'optionalAccess', _16 => _16.platform]) === "browser" ? ProjectTagConstants.Platform.BROWSER : ProjectTagConstants.Platform.NEUTRAL,
|
|
110
110
|
{ overwrite: false }
|
|
111
111
|
);
|
|
112
112
|
if (plugin) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeOptions,
|
|
3
3
|
typeScriptLibraryGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M3YWCYUX.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunGenerator
|
|
7
7
|
} from "./chunk-2ZQ423JU.mjs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-TBW5MCN6.mjs";
|
|
11
11
|
import {
|
|
12
12
|
__dirname
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CXY6VDX7.mjs";
|
|
14
14
|
|
|
15
15
|
// src/generators/neutral-library/generator.ts
|
|
16
16
|
import {
|
|
@@ -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 _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.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 _chunkBZMYB75Mjs.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 _chunkBZMYB75Mjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
|
|
54
54
|
await _devkit.formatFiles.call(void 0, tree);
|
|
55
55
|
return null;
|
|
56
56
|
}
|
|
@@ -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 _chunkUHTWNVEZjs = require('./chunk-UHTWNVEZ.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 = _chunkUHTWNVEZjs.getProjectTag.call(void 0, project, _chunkUHTWNVEZjs.ProjectTagConstants.Platform.TAG_ID);
|
|
25
25
|
}
|
|
26
|
-
if (platformTag !==
|
|
26
|
+
if (platformTag !== _chunkUHTWNVEZjs.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 === _chunkUHTWNVEZjs.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 === _chunkUHTWNVEZjs.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 === _chunkUHTWNVEZjs.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")
|
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 _chunk3GKMFXQ6js = require('./chunk-3GKMFXQ6.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-LZC7BM3D.js');
|
|
44
44
|
require('./chunk-GXTFFUML.js');
|
|
45
|
-
require('./chunk-
|
|
45
|
+
require('./chunk-UHTWNVEZ.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 = _chunk3GKMFXQ6js.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-44IQ5DGO.mjs";
|
|
24
24
|
import {
|
|
25
25
|
cargoClippyExecutor
|
|
26
26
|
} from "./chunk-Z2GJI23Y.mjs";
|
|
@@ -40,16 +40,16 @@ import {
|
|
|
40
40
|
cargoCheckExecutor
|
|
41
41
|
} from "./chunk-3ZXQER7B.mjs";
|
|
42
42
|
import "./chunk-ZTN2676G.mjs";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-5BONSUJM.mjs";
|
|
44
44
|
import "./chunk-FEYD5KMF.mjs";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-AQ7B26V3.mjs";
|
|
46
46
|
import "./chunk-V4QXOWGL.mjs";
|
|
47
47
|
import "./chunk-QYHQD375.mjs";
|
|
48
48
|
import "./chunk-T5345GNL.mjs";
|
|
49
49
|
import "./chunk-6MATO2MJ.mjs";
|
|
50
50
|
import "./chunk-GSZ2BO7G.mjs";
|
|
51
51
|
import "./chunk-TBW5MCN6.mjs";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-CXY6VDX7.mjs";
|
|
53
53
|
export {
|
|
54
54
|
LARGE_BUFFER,
|
|
55
55
|
cargoBuildExecutor,
|
package/dist/generators.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-C3TC7AUW.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkL7PM76XKjs = require('./chunk-L7PM76XK.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkQKCIIWYLjs = require('./chunk-QKCIIWYL.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk4KWCRJ42js = require('./chunk-4KWCRJ42.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkKXLPRYBLjs = require('./chunk-KXLPRYBL.js');
|
|
@@ -16,10 +16,10 @@ var _chunkKXLPRYBLjs = require('./chunk-KXLPRYBL.js');
|
|
|
16
16
|
var _chunkOKSECMVKjs = require('./chunk-OKSECMVK.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
20
|
-
require('./chunk-
|
|
19
|
+
var _chunkWI26APPFjs = require('./chunk-WI26APPF.js');
|
|
20
|
+
require('./chunk-BZMYB75M.js');
|
|
21
21
|
require('./chunk-SZWM7COV.js');
|
|
22
|
-
require('./chunk-
|
|
22
|
+
require('./chunk-UHTWNVEZ.js');
|
|
23
23
|
require('./chunk-HYK7X5TY.js');
|
|
24
24
|
require('./chunk-ML2VHRB6.js');
|
|
25
25
|
require('./chunk-7OGVJELA.js');
|
|
@@ -33,4 +33,4 @@ require('./chunk-CQDBLKPF.js');
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
exports.browserLibraryGeneratorFn =
|
|
36
|
+
exports.browserLibraryGeneratorFn = _chunk4KWCRJ42js.browserLibraryGeneratorFn; exports.configSchemaGeneratorFn = _chunkKXLPRYBLjs.configSchemaGeneratorFn; exports.initGenerator = _chunkOKSECMVKjs.initGenerator; exports.neutralLibraryGeneratorFn = _chunkWI26APPFjs.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkL7PM76XKjs.nodeLibraryGeneratorFn; exports.presetGeneratorFn = _chunkQKCIIWYLjs.presetGeneratorFn;
|
package/dist/generators.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./chunk-SAIDGUHG.mjs";
|
|
2
2
|
import {
|
|
3
3
|
nodeLibraryGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-73A7IONK.mjs";
|
|
5
5
|
import {
|
|
6
6
|
presetGeneratorFn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AWEZ7UJ3.mjs";
|
|
8
8
|
import {
|
|
9
9
|
browserLibraryGeneratorFn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MILWDGNH.mjs";
|
|
11
11
|
import {
|
|
12
12
|
configSchemaGeneratorFn
|
|
13
13
|
} from "./chunk-YHHWYI4X.mjs";
|
|
@@ -16,17 +16,17 @@ import {
|
|
|
16
16
|
} from "./chunk-437WGH2M.mjs";
|
|
17
17
|
import {
|
|
18
18
|
neutralLibraryGeneratorFn
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-WBPHMZKE.mjs";
|
|
20
|
+
import "./chunk-M3YWCYUX.mjs";
|
|
21
21
|
import "./chunk-QC5ON3X4.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-AQ7B26V3.mjs";
|
|
23
23
|
import "./chunk-2ZQ423JU.mjs";
|
|
24
24
|
import "./chunk-QYHQD375.mjs";
|
|
25
25
|
import "./chunk-T5345GNL.mjs";
|
|
26
26
|
import "./chunk-6MATO2MJ.mjs";
|
|
27
27
|
import "./chunk-GSZ2BO7G.mjs";
|
|
28
28
|
import "./chunk-TBW5MCN6.mjs";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-CXY6VDX7.mjs";
|
|
30
30
|
export {
|
|
31
31
|
browserLibraryGeneratorFn,
|
|
32
32
|
configSchemaGeneratorFn,
|