@storm-software/workspace-tools 1.281.6 → 1.281.7
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 +15 -0
- package/dist/{chunk-LWUPEFOD.mjs → chunk-35VZO5YT.mjs} +2 -2
- package/dist/{chunk-MU7MWFQB.js → chunk-44654LXZ.js} +8 -123
- package/dist/{chunk-GGCU4XE6.js → chunk-4IEQFFRT.js} +2 -2
- package/dist/{chunk-QG4FXW4F.js → chunk-4TLZ35H7.js} +2 -2
- package/dist/{chunk-KT73YQ5O.js → chunk-53INDKGT.js} +2 -2
- package/dist/{chunk-HJFAPTJZ.js → chunk-5Y2AINYZ.js} +2 -2
- package/dist/chunk-6EFTJSBB.mjs +10 -0
- package/dist/{chunk-BNK3N63T.mjs → chunk-6NZ4G4UQ.mjs} +1 -1
- package/dist/{chunk-SUEQ5CUG.js → chunk-7XT46UWZ.js} +2 -2
- package/dist/{chunk-2SQHNW5B.mjs → chunk-ADPC4I6G.mjs} +1 -1
- package/dist/{chunk-JERKCZQU.mjs → chunk-AQVKQPMG.mjs} +1 -1
- package/dist/{chunk-YI5SCBUQ.js → chunk-AZ3WKJXU.js} +2 -2
- package/dist/{chunk-OHWNQITF.mjs → chunk-BSZKXTQ7.mjs} +1 -1
- package/dist/{chunk-OS3I2PUF.js → chunk-BYSCMSXF.js} +2 -2
- package/dist/{chunk-ET3V3YDM.mjs → chunk-BZ6SXWSL.mjs} +1 -1
- package/dist/{chunk-J5XLZNS4.mjs → chunk-DC7YYDNL.mjs} +1 -1
- package/dist/{chunk-MW2SMA7T.mjs → chunk-F6533P3T.mjs} +2 -2
- package/dist/{chunk-AYNYXQKJ.mjs → chunk-IGUS5OZZ.mjs} +1 -1
- package/dist/{chunk-DIIKED3B.js → chunk-IUIZ5OEC.js} +2 -2
- package/dist/{chunk-AOLPDXCV.mjs → chunk-JZ4MPWS7.mjs} +6 -4
- package/dist/{chunk-K5H3GB4W.mjs → chunk-KNCC6YOH.mjs} +2 -2
- package/dist/{chunk-BMJKUT3Q.mjs → chunk-N2E5NFDY.mjs} +2 -2
- package/dist/{chunk-TM4UIVIY.mjs → chunk-PNJEWCN4.mjs} +1 -1
- package/dist/{chunk-O3IFWFLE.mjs → chunk-QFFPUHUY.mjs} +5 -120
- package/dist/{chunk-DU23HG3F.mjs → chunk-QP65FHTY.mjs} +1 -1
- package/dist/{chunk-ZJD2B6C4.js → chunk-RKMDCVW7.js} +2 -2
- package/dist/{chunk-KLCKGDKI.js → chunk-RKYDIJ7F.js} +5 -5
- package/dist/{chunk-FDVRXJTB.mjs → chunk-RWAUNWSU.mjs} +1 -1
- package/dist/{chunk-YIIOX6QQ.mjs → chunk-RWHRAQNY.mjs} +2 -2
- package/dist/{chunk-35T5FJVW.js → chunk-TOLAZGZI.js} +2 -2
- package/dist/{chunk-XK5A4UF2.js → chunk-UIMN2SI7.js} +6 -4
- package/dist/{chunk-TA56OIIF.mjs → chunk-UYFX3RDH.mjs} +1 -1
- package/dist/{chunk-GPIYB3QS.js → chunk-W2ROT7VM.js} +2 -2
- package/dist/{chunk-MPOLUVMP.js → chunk-WPV7WV6W.js} +2 -2
- package/dist/{chunk-TKGENLP6.js → chunk-X2P642IM.js} +2 -2
- package/dist/{chunk-WBSWDEK6.js → chunk-ZA5YF7PU.js} +2 -2
- package/dist/{chunk-ME7I4NPF.js → chunk-ZXUANTZJ.js} +2 -2
- package/dist/executors.js +12 -13
- package/dist/executors.mjs +12 -12
- package/dist/generators.js +9 -10
- package/dist/generators.mjs +9 -9
- package/dist/index.js +19 -20
- package/dist/index.mjs +19 -19
- package/dist/src/base/base-executor.js +3 -4
- package/dist/src/base/base-executor.mjs +3 -3
- package/dist/src/base/base-executor.untyped.js +0 -1
- package/dist/src/base/base-executor.untyped.mjs +1 -1
- package/dist/src/base/base-generator.js +3 -4
- package/dist/src/base/base-generator.mjs +3 -3
- package/dist/src/base/base-generator.untyped.js +0 -1
- package/dist/src/base/base-generator.untyped.mjs +1 -1
- package/dist/src/base/cargo-base-executor.untyped.js +0 -1
- package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
- package/dist/src/base/index.js +4 -5
- package/dist/src/base/index.mjs +4 -4
- package/dist/src/base/typescript-build-executor.untyped.js +0 -1
- package/dist/src/base/typescript-build-executor.untyped.mjs +1 -1
- package/dist/src/base/typescript-library-generator.untyped.js +0 -1
- package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
- package/dist/src/executors/cargo-build/executor.js +4 -5
- package/dist/src/executors/cargo-build/executor.mjs +4 -4
- package/dist/src/executors/cargo-build/untyped.js +0 -1
- package/dist/src/executors/cargo-build/untyped.mjs +1 -1
- package/dist/src/executors/cargo-check/executor.js +4 -5
- package/dist/src/executors/cargo-check/executor.mjs +4 -4
- package/dist/src/executors/cargo-check/untyped.js +0 -1
- package/dist/src/executors/cargo-check/untyped.mjs +1 -1
- package/dist/src/executors/cargo-clippy/executor.js +4 -5
- package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
- package/dist/src/executors/cargo-clippy/untyped.js +0 -1
- package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
- package/dist/src/executors/cargo-doc/executor.js +4 -5
- package/dist/src/executors/cargo-doc/executor.mjs +4 -4
- package/dist/src/executors/cargo-doc/untyped.js +0 -1
- package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
- package/dist/src/executors/cargo-format/executor.js +4 -5
- package/dist/src/executors/cargo-format/executor.mjs +4 -4
- package/dist/src/executors/cargo-format/untyped.js +0 -1
- package/dist/src/executors/cargo-format/untyped.mjs +1 -1
- package/dist/src/executors/cargo-publish/executor.js +0 -1
- package/dist/src/executors/cargo-publish/executor.mjs +1 -1
- package/dist/src/executors/cargo-publish/untyped.js +0 -1
- package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
- package/dist/src/executors/clean-package/executor.js +3 -4
- package/dist/src/executors/clean-package/executor.mjs +3 -3
- package/dist/src/executors/clean-package/untyped.js +0 -1
- package/dist/src/executors/clean-package/untyped.mjs +1 -1
- package/dist/src/executors/esbuild/executor.js +4 -5
- package/dist/src/executors/esbuild/executor.mjs +4 -4
- package/dist/src/executors/esbuild/untyped.js +0 -1
- package/dist/src/executors/esbuild/untyped.mjs +1 -1
- package/dist/src/executors/npm-publish/executor.js +0 -1
- package/dist/src/executors/npm-publish/executor.mjs +1 -1
- package/dist/src/executors/npm-publish/untyped.js +1 -3
- package/dist/src/executors/npm-publish/untyped.mjs +1 -1
- package/dist/src/executors/size-limit/executor.js +4 -5
- package/dist/src/executors/size-limit/executor.mjs +4 -4
- package/dist/src/executors/size-limit/untyped.js +0 -1
- package/dist/src/executors/size-limit/untyped.mjs +1 -1
- package/dist/src/executors/typia/executor.js +4 -5
- package/dist/src/executors/typia/executor.mjs +4 -4
- package/dist/src/executors/typia/untyped.js +0 -1
- package/dist/src/executors/typia/untyped.mjs +1 -1
- package/dist/src/executors/unbuild/executor.js +4 -5
- package/dist/src/executors/unbuild/executor.mjs +4 -4
- package/dist/src/executors/unbuild/untyped.js +0 -1
- package/dist/src/executors/unbuild/untyped.mjs +1 -1
- package/dist/src/generators/browser-library/generator.js +4 -5
- package/dist/src/generators/browser-library/generator.mjs +4 -4
- package/dist/src/generators/browser-library/untyped.js +0 -1
- package/dist/src/generators/browser-library/untyped.mjs +1 -1
- package/dist/src/generators/config-schema/generator.js +4 -5
- package/dist/src/generators/config-schema/generator.mjs +4 -4
- package/dist/src/generators/config-schema/untyped.js +0 -1
- package/dist/src/generators/config-schema/untyped.mjs +1 -1
- package/dist/src/generators/init/init.js +0 -1
- package/dist/src/generators/init/init.mjs +1 -1
- package/dist/src/generators/init/untyped.js +1 -3
- package/dist/src/generators/init/untyped.mjs +1 -1
- package/dist/src/generators/neutral-library/generator.js +4 -5
- package/dist/src/generators/neutral-library/generator.mjs +4 -4
- package/dist/src/generators/neutral-library/untyped.js +0 -1
- package/dist/src/generators/neutral-library/untyped.mjs +1 -1
- package/dist/src/generators/node-library/generator.js +4 -5
- package/dist/src/generators/node-library/generator.mjs +4 -4
- package/dist/src/generators/node-library/untyped.js +0 -1
- package/dist/src/generators/node-library/untyped.mjs +1 -1
- package/dist/src/generators/preset/generator.js +4 -5
- package/dist/src/generators/preset/generator.mjs +4 -4
- package/dist/src/generators/preset/untyped.js +0 -1
- package/dist/src/generators/preset/untyped.mjs +1 -1
- package/dist/src/generators/release-version/generator.js +3 -4
- package/dist/src/generators/release-version/generator.mjs +3 -3
- package/dist/src/generators/release-version/untyped.js +1 -3
- package/dist/src/generators/release-version/untyped.mjs +1 -1
- package/dist/src/plugins/rust/cargo-toml.js +0 -1
- package/dist/src/plugins/rust/cargo-toml.mjs +1 -1
- package/dist/src/plugins/rust/index.js +0 -1
- package/dist/src/plugins/rust/index.mjs +1 -1
- package/dist/src/plugins/typescript/index.js +0 -1
- package/dist/src/plugins/typescript/index.mjs +1 -1
- package/dist/src/plugins/typescript/tsup.js +0 -1
- package/dist/src/plugins/typescript/tsup.mjs +1 -1
- package/dist/src/plugins/typescript/untyped-schema.js +0 -1
- package/dist/src/plugins/typescript/untyped-schema.mjs +1 -1
- package/dist/src/types.js +0 -1
- package/dist/src/types.mjs +1 -1
- package/dist/src/utils/apply-workspace-tokens.js +0 -1
- package/dist/src/utils/apply-workspace-tokens.mjs +1 -1
- package/dist/src/utils/cargo.js +0 -1
- package/dist/src/utils/cargo.mjs +1 -1
- package/dist/src/utils/create-cli-options.js +0 -1
- package/dist/src/utils/create-cli-options.mjs +1 -1
- package/dist/src/utils/get-project-configurations.js +0 -1
- package/dist/src/utils/get-project-configurations.mjs +1 -1
- package/dist/src/utils/index.js +0 -1
- package/dist/src/utils/index.mjs +1 -1
- package/dist/src/utils/lock-file.js +0 -1
- package/dist/src/utils/lock-file.mjs +1 -1
- package/dist/src/utils/nx-json.js +0 -1
- package/dist/src/utils/nx-json.mjs +1 -1
- package/dist/src/utils/package-helpers.js +0 -1
- package/dist/src/utils/package-helpers.mjs +1 -1
- package/dist/src/utils/plugin-helpers.js +0 -1
- package/dist/src/utils/plugin-helpers.mjs +1 -1
- package/dist/src/utils/pnpm-deps-update.js +0 -1
- package/dist/src/utils/pnpm-deps-update.mjs +1 -1
- package/dist/src/utils/project-tags.js +0 -1
- package/dist/src/utils/project-tags.mjs +1 -1
- package/dist/src/utils/typia-transform.js +0 -1
- package/dist/src/utils/typia-transform.mjs +1 -1
- package/dist/src/utils/versions.js +0 -1
- package/dist/src/utils/versions.mjs +1 -1
- package/package.json +4 -4
- package/dist/chunk-3RG5ZIWI.js +0 -10
- package/dist/chunk-IPJSQ4JM.mjs +0 -18
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.281.6](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.281.6) (2025-08-11)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update to TypeScript v5.9.2
|
|
10
|
+
([cf34d601f](https://github.com/storm-software/storm-ops/commit/cf34d601f))
|
|
11
|
+
- **monorepo:** Regenerate README markdown files
|
|
12
|
+
([5b9ffe718](https://github.com/storm-software/storm-ops/commit/5b9ffe718))
|
|
13
|
+
|
|
14
|
+
### Updated Dependencies
|
|
15
|
+
|
|
16
|
+
- Updated prettier to 0.53.6
|
|
17
|
+
- Updated esbuild to 0.47.6
|
|
18
|
+
- Updated unbuild to 0.51.6
|
|
19
|
+
|
|
5
20
|
## [1.281.5](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.281.5) (2025-08-09)
|
|
6
21
|
|
|
7
22
|
### Miscellaneous
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-QC5ON3X4.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunGenerator
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BSZKXTQ7.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__dirname
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6EFTJSBB.mjs";
|
|
11
11
|
|
|
12
12
|
// src/generators/preset/generator.ts
|
|
13
13
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function
|
|
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 _chunkZXUANTZJjs = require('./chunk-ZXUANTZJ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkUIMN2SI7js = require('./chunk-UIMN2SI7.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -22,13 +22,6 @@ var _chunkHNFKVXBVjs = require('./chunk-HNFKVXBV.js');
|
|
|
22
22
|
|
|
23
23
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
var _chunk3RG5ZIWIjs = require('./chunk-3RG5ZIWI.js');
|
|
27
|
-
|
|
28
|
-
// ../esbuild/src/build.ts
|
|
29
|
-
var _esbuild = require('esbuild'); var esbuild = _interopRequireWildcard(_esbuild);
|
|
30
|
-
var _globby = require('globby');
|
|
31
|
-
|
|
32
25
|
// ../build-tools/src/config.ts
|
|
33
26
|
var DEFAULT_COMPILED_BANNER = `/*****************************************
|
|
34
27
|
*
|
|
@@ -390,7 +383,7 @@ async function resolveContext(userOptions) {
|
|
|
390
383
|
if (!workspaceRoot) {
|
|
391
384
|
throw new Error("Cannot find Nx workspace root");
|
|
392
385
|
}
|
|
393
|
-
const workspaceConfig = await
|
|
386
|
+
const workspaceConfig = await _chunkUIMN2SI7js.getWorkspaceConfig.call(void 0, true, {
|
|
394
387
|
workspaceRoot: workspaceRoot.dir
|
|
395
388
|
});
|
|
396
389
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
@@ -604,88 +597,6 @@ async function generatePackageJson(context) {
|
|
|
604
597
|
return context;
|
|
605
598
|
}
|
|
606
599
|
|
|
607
|
-
// ../esbuild/src/plugins/deps-check.ts
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
var unusedIgnore = [
|
|
611
|
-
// these are our dev dependencies
|
|
612
|
-
/@types\/.*?/,
|
|
613
|
-
/@typescript-eslint.*?/,
|
|
614
|
-
/eslint.*?/,
|
|
615
|
-
"esbuild",
|
|
616
|
-
"husky",
|
|
617
|
-
"is-ci",
|
|
618
|
-
"lint-staged",
|
|
619
|
-
"prettier",
|
|
620
|
-
"typescript",
|
|
621
|
-
"ts-node",
|
|
622
|
-
"ts-jest",
|
|
623
|
-
"@swc/core",
|
|
624
|
-
"@swc/jest",
|
|
625
|
-
"jest",
|
|
626
|
-
// these are missing 3rd party deps
|
|
627
|
-
"spdx-exceptions",
|
|
628
|
-
"spdx-license-ids",
|
|
629
|
-
// type-only, so it is not detected
|
|
630
|
-
"ts-toolbelt",
|
|
631
|
-
// these are indirectly used by build
|
|
632
|
-
"buffer"
|
|
633
|
-
];
|
|
634
|
-
var missingIgnore = [".prisma", "@prisma/client", "ts-toolbelt"];
|
|
635
|
-
var depsCheckPlugin = (bundle) => ({
|
|
636
|
-
name: "storm:deps-check",
|
|
637
|
-
setup(build3) {
|
|
638
|
-
const pkgJsonPath = _path2.default.join(process.cwd(), "package.json");
|
|
639
|
-
const pkgContents = _chunk3RG5ZIWIjs.__require.call(void 0, pkgJsonPath);
|
|
640
|
-
const regDependencies = Object.keys(_nullishCoalesce(pkgContents["dependencies"], () => ( {})));
|
|
641
|
-
const devDependencies = Object.keys(_nullishCoalesce(pkgContents["devDependencies"], () => ( {})));
|
|
642
|
-
const peerDependencies = Object.keys(_nullishCoalesce(pkgContents["peerDependencies"], () => ( {})));
|
|
643
|
-
const dependencies = [
|
|
644
|
-
...regDependencies,
|
|
645
|
-
...bundle ? devDependencies : []
|
|
646
|
-
];
|
|
647
|
-
const collectedDependencies = /* @__PURE__ */ new Set();
|
|
648
|
-
const onlyPackages = /^[^./](?!:)|^\.[^./]|^\.\.[^/]/;
|
|
649
|
-
build3.onResolve({ filter: onlyPackages }, (args) => {
|
|
650
|
-
if (args.importer.includes(process.cwd())) {
|
|
651
|
-
if (args.path[0] === "@") {
|
|
652
|
-
const [org, pkg] = args.path.split("/");
|
|
653
|
-
collectedDependencies.add(`${org}/${pkg}`);
|
|
654
|
-
} else {
|
|
655
|
-
const [pkg] = args.path.split("/");
|
|
656
|
-
collectedDependencies.add(pkg);
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
return { external: true };
|
|
660
|
-
});
|
|
661
|
-
build3.onEnd(() => {
|
|
662
|
-
const unusedDependencies = [...dependencies].filter((dep) => {
|
|
663
|
-
return !collectedDependencies.has(dep) || _module.builtinModules.includes(dep);
|
|
664
|
-
});
|
|
665
|
-
const missingDependencies = [...collectedDependencies].filter((dep) => {
|
|
666
|
-
return !dependencies.includes(dep) && !_module.builtinModules.includes(dep);
|
|
667
|
-
});
|
|
668
|
-
const filteredUnusedDeps = unusedDependencies.filter((dep) => {
|
|
669
|
-
return !unusedIgnore.some((pattern) => dep.match(pattern));
|
|
670
|
-
});
|
|
671
|
-
const filteredMissingDeps = missingDependencies.filter((dep) => {
|
|
672
|
-
return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
|
|
673
|
-
});
|
|
674
|
-
_chunk2CDSXWFAjs.writeWarning.call(void 0,
|
|
675
|
-
`Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`
|
|
676
|
-
);
|
|
677
|
-
_chunk2CDSXWFAjs.writeError.call(void 0,
|
|
678
|
-
`Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`
|
|
679
|
-
);
|
|
680
|
-
if (filteredMissingDeps.length > 0) {
|
|
681
|
-
throw new Error(`Missing dependencies detected - please install them:
|
|
682
|
-
${JSON.stringify(filteredMissingDeps)}
|
|
683
|
-
`);
|
|
684
|
-
}
|
|
685
|
-
});
|
|
686
|
-
}
|
|
687
|
-
});
|
|
688
|
-
|
|
689
600
|
// ../esbuild/src/tsup.ts
|
|
690
601
|
var _tsup = require('tsup');
|
|
691
602
|
async function executeTsup(context) {
|
|
@@ -726,32 +637,6 @@ async function reportResults(context) {
|
|
|
726
637
|
);
|
|
727
638
|
}
|
|
728
639
|
}
|
|
729
|
-
async function dependencyCheck(options) {
|
|
730
|
-
if (process.env.DEV === "true") {
|
|
731
|
-
return void 0;
|
|
732
|
-
}
|
|
733
|
-
if (process.env.CI && !process.env.BUILDKITE) {
|
|
734
|
-
return void 0;
|
|
735
|
-
}
|
|
736
|
-
const buildPromise = esbuild.build({
|
|
737
|
-
entryPoints: _globby.globbySync.call(void 0, "**/*.{j,t}s", {
|
|
738
|
-
// We don't check dependencies in ecosystem tests because tests are isolated from the build.
|
|
739
|
-
ignore: ["./src/__tests__/**/*", "./tests/e2e/**/*", "./dist/**/*"],
|
|
740
|
-
gitignore: true
|
|
741
|
-
}),
|
|
742
|
-
logLevel: "silent",
|
|
743
|
-
// there will be errors
|
|
744
|
-
bundle: true,
|
|
745
|
-
// we bundle to get everything
|
|
746
|
-
write: false,
|
|
747
|
-
// no need to write for analysis
|
|
748
|
-
outdir: "out",
|
|
749
|
-
plugins: [depsCheckPlugin(options.bundle)]
|
|
750
|
-
});
|
|
751
|
-
await buildPromise.catch(() => {
|
|
752
|
-
});
|
|
753
|
-
return void 0;
|
|
754
|
-
}
|
|
755
640
|
async function cleanOutputPath(context) {
|
|
756
641
|
if (context.clean !== false && context.outputPath) {
|
|
757
642
|
_chunk2CDSXWFAjs.writeDebug.call(void 0,
|
|
@@ -764,7 +649,7 @@ async function cleanOutputPath(context) {
|
|
|
764
649
|
}
|
|
765
650
|
return context;
|
|
766
651
|
}
|
|
767
|
-
async function
|
|
652
|
+
async function build(options) {
|
|
768
653
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
|
|
769
654
|
const stopwatch = _chunk2CDSXWFAjs.getStopwatch.call(void 0, "ESBuild pipeline");
|
|
770
655
|
try {
|
|
@@ -775,7 +660,7 @@ async function build2(options) {
|
|
|
775
660
|
const context = await resolveContext(options);
|
|
776
661
|
await cleanOutputPath(context);
|
|
777
662
|
await Promise.all([
|
|
778
|
-
dependencyCheck(context.options),
|
|
663
|
+
// dependencyCheck(context.options),
|
|
779
664
|
generatePackageJson(context),
|
|
780
665
|
copyBuildAssets(context),
|
|
781
666
|
executeTsup(context)
|
|
@@ -800,7 +685,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
800
685
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
801
686
|
);
|
|
802
687
|
}
|
|
803
|
-
await
|
|
688
|
+
await build({
|
|
804
689
|
...options,
|
|
805
690
|
projectRoot: _optionalChain([context, 'access', _46 => _46.projectsConfigurations, 'access', _47 => _47.projects, 'optionalAccess', _48 => _48[context.projectName], 'access', _49 => _49.root]),
|
|
806
691
|
name: context.projectName,
|
|
@@ -812,7 +697,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
812
697
|
success: true
|
|
813
698
|
};
|
|
814
699
|
}
|
|
815
|
-
var executor_default =
|
|
700
|
+
var executor_default = _chunkZXUANTZJjs.withRunExecutor.call(void 0,
|
|
816
701
|
"Storm ESBuild build",
|
|
817
702
|
esbuildExecutorFn,
|
|
818
703
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkQKQRWKYXjs = require('./chunk-QKQRWKYX.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkWPV7WV6Wjs = require('./chunk-WPV7WV6W.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
|
|
@@ -54,7 +54,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
|
54
54
|
await _devkit.formatFiles.call(void 0, tree);
|
|
55
55
|
return null;
|
|
56
56
|
}
|
|
57
|
-
var generator_default =
|
|
57
|
+
var generator_default = _chunkWPV7WV6Wjs.withRunGenerator.call(void 0,
|
|
58
58
|
"TypeScript Library Creator (Neutral Platform)",
|
|
59
59
|
neutralLibraryGeneratorFn,
|
|
60
60
|
{
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkZXUANTZJjs = require('./chunk-ZXUANTZJ.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 = _chunkZXUANTZJjs.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 _chunkZXUANTZJjs = require('./chunk-ZXUANTZJ.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 = _chunkZXUANTZJjs.withRunExecutor.call(void 0,
|
|
37
37
|
"Size-Limit Performance Test Executor",
|
|
38
38
|
sizeLimitExecutorFn,
|
|
39
39
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkWPV7WV6Wjs = require('./chunk-WPV7WV6W.js');
|
|
8
8
|
|
|
9
9
|
// src/generators/preset/generator.ts
|
|
10
10
|
|
|
@@ -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 = _chunkWPV7WV6Wjs.withRunGenerator.call(void 0,
|
|
243
243
|
"Storm Workspace Preset Generator",
|
|
244
244
|
presetGeneratorFn
|
|
245
245
|
);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__48ad1a209c0ac06bb5327f595a5a1335/node_modules/tsup/assets/esm_shims.js
|
|
2
|
+
import { fileURLToPath } from "url";
|
|
3
|
+
import path from "path";
|
|
4
|
+
var getFilename = () => fileURLToPath(import.meta.url);
|
|
5
|
+
var getDirname = () => path.dirname(getFilename());
|
|
6
|
+
var __dirname = /* @__PURE__ */ getDirname();
|
|
7
|
+
|
|
8
|
+
export {
|
|
9
|
+
__dirname
|
|
10
|
+
};
|
|
@@ -7,7 +7,7 @@ var _chunkQKQRWKYXjs = require('./chunk-QKQRWKYX.js');
|
|
|
7
7
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkWPV7WV6Wjs = require('./chunk-WPV7WV6W.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
|
|
@@ -59,7 +59,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
|
59
59
|
await _devkit.formatFiles.call(void 0, tree);
|
|
60
60
|
return null;
|
|
61
61
|
}
|
|
62
|
-
var generator_default =
|
|
62
|
+
var generator_default = _chunkWPV7WV6Wjs.withRunGenerator.call(void 0,
|
|
63
63
|
"TypeScript Library Creator (NodeJs Platform)",
|
|
64
64
|
nodeLibraryGeneratorFn,
|
|
65
65
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkZXUANTZJjs = require('./chunk-ZXUANTZJ.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-doc/executor.ts
|
|
10
10
|
async function cargoDocExecutor(options, context) {
|
|
@@ -14,7 +14,7 @@ async function cargoDocExecutor(options, context) {
|
|
|
14
14
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "doc", options, context);
|
|
15
15
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
16
16
|
}
|
|
17
|
-
var executor_default =
|
|
17
|
+
var executor_default = _chunkZXUANTZJjs.withRunExecutor.call(void 0,
|
|
18
18
|
"Cargo - Doc",
|
|
19
19
|
cargoDocExecutor,
|
|
20
20
|
{
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkZXUANTZJjs = require('./chunk-ZXUANTZJ.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 = _chunkZXUANTZJjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Check",
|
|
16
16
|
cargoCheckExecutor,
|
|
17
17
|
{
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk-LNCNJLSB.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunGenerator
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BSZKXTQ7.mjs";
|
|
8
8
|
import {
|
|
9
9
|
joinPaths
|
|
10
10
|
} from "./chunk-U7JFVMCK.mjs";
|
|
11
11
|
import {
|
|
12
12
|
__dirname
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6EFTJSBB.mjs";
|
|
14
14
|
|
|
15
15
|
// src/generators/neutral-library/generator.ts
|
|
16
16
|
import {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
var _chunk452FQZ3Bjs = require('./chunk-452FQZ3B.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkUIMN2SI7js = require('./chunk-UIMN2SI7.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 _chunkUIMN2SI7js.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(
|
|
@@ -830,7 +830,7 @@ var getConfigEnv = () => {
|
|
|
830
830
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
831
831
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
832
832
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
833
|
-
configFile: process.env[`${prefix}
|
|
833
|
+
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ? correctPaths(process.env[`${prefix}WORKSPACE_CONFIG_FILE`]) : void 0,
|
|
834
834
|
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? correctPaths(process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
835
835
|
directories: {
|
|
836
836
|
cache: process.env[`${prefix}CACHE_DIR`] ? correctPaths(process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? correctPaths(process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
@@ -893,7 +893,7 @@ var getConfigEnv = () => {
|
|
|
893
893
|
config.licensing = `${config.homepage}/docs`;
|
|
894
894
|
}
|
|
895
895
|
}
|
|
896
|
-
const serializedConfig = process.env[`${prefix}
|
|
896
|
+
const serializedConfig = process.env[`${prefix}WORKSPACE_CONFIG`];
|
|
897
897
|
if (serializedConfig) {
|
|
898
898
|
const parsed = JSON.parse(serializedConfig);
|
|
899
899
|
config = {
|
|
@@ -1125,7 +1125,9 @@ var setConfigEnv = (config) => {
|
|
|
1125
1125
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
1126
1126
|
}
|
|
1127
1127
|
if (config.configFile) {
|
|
1128
|
-
process.env[`${prefix}
|
|
1128
|
+
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] = correctPaths(
|
|
1129
|
+
config.configFile
|
|
1130
|
+
);
|
|
1129
1131
|
}
|
|
1130
1132
|
if (config.workspaceRoot) {
|
|
1131
1133
|
process.env[`${prefix}WORKSPACE_ROOT`] = correctPaths(config.workspaceRoot);
|
|
@@ -1229,7 +1231,7 @@ var setConfigEnv = (config) => {
|
|
|
1229
1231
|
config.skipConfigLogging
|
|
1230
1232
|
);
|
|
1231
1233
|
}
|
|
1232
|
-
process.env[`${prefix}
|
|
1234
|
+
process.env[`${prefix}WORKSPACE_CONFIG`] = JSON.stringify(config);
|
|
1233
1235
|
for (const key of Object.keys(config.extensions ?? {})) {
|
|
1234
1236
|
if (config.extensions[key] && Object.keys(config.extensions[key])) {
|
|
1235
1237
|
setExtensionEnv(key, config.extensions[key]);
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk-QC5ON3X4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
withRunGenerator
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BSZKXTQ7.mjs";
|
|
11
11
|
import {
|
|
12
12
|
joinPaths
|
|
13
13
|
} from "./chunk-U7JFVMCK.mjs";
|
|
14
14
|
import {
|
|
15
15
|
__dirname
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6EFTJSBB.mjs";
|
|
17
17
|
|
|
18
18
|
// src/generators/node-library/generator.ts
|
|
19
19
|
import {
|