@storm-software/workspace-tools 1.72.2 → 1.72.3
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 +14 -13
- package/README.md +9 -3
- package/config/nx.json +19 -68
- package/declarations.d.ts +29 -7
- package/index.js +143 -139
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +135 -131
- package/src/executors/rolldown/executor.js +18 -5
- package/src/executors/tsup/executor.js +18 -5
- package/src/executors/tsup-browser/executor.js +18 -5
- package/src/executors/tsup-neutral/executor.js +18 -5
- package/src/executors/tsup-node/executor.js +18 -5
- package/src/executors/typia/executor.js +18 -5
- package/src/executors/unbuild/executor.js +18 -5
- package/src/generators/browser-library/generator.js +128 -130
- package/src/generators/config-schema/generator.js +11 -4
- package/src/generators/neutral-library/generator.js +128 -130
- package/src/generators/node-library/generator.js +128 -130
- package/src/generators/preset/generator.js +11 -4
- package/src/generators/release-version/generator.js +19 -12
- package/src/utils/index.js +11 -4
|
@@ -73,9 +73,13 @@ var init_find_up = __esm({
|
|
|
73
73
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
74
74
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
75
75
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
76
|
-
return correctPaths(
|
|
76
|
+
return correctPaths(
|
|
77
|
+
process.env.STORM_WORKSPACE_ROOT ?? process.env.NX_WORKSPACE_ROOT_PATH
|
|
78
|
+
);
|
|
77
79
|
}
|
|
78
|
-
return correctPaths(
|
|
80
|
+
return correctPaths(
|
|
81
|
+
findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles)
|
|
82
|
+
);
|
|
79
83
|
}
|
|
80
84
|
function findWorkspaceRoot(pathInsideMonorepo) {
|
|
81
85
|
const result = findWorkspaceRootSafe(pathInsideMonorepo);
|
|
@@ -97,8 +101,11 @@ var init_find_workspace_root = __esm({
|
|
|
97
101
|
init_find_up();
|
|
98
102
|
rootFiles = [
|
|
99
103
|
"storm.json",
|
|
100
|
-
"storm.
|
|
101
|
-
"storm.
|
|
104
|
+
"storm.json",
|
|
105
|
+
"storm.yaml",
|
|
106
|
+
"storm.yml",
|
|
107
|
+
"storm.js",
|
|
108
|
+
"storm.ts",
|
|
102
109
|
".storm.json",
|
|
103
110
|
".storm.yaml",
|
|
104
111
|
".storm.yml",
|
|
@@ -2473,9 +2473,9 @@ var require_semver2 = __commonJS({
|
|
|
2473
2473
|
}
|
|
2474
2474
|
});
|
|
2475
2475
|
|
|
2476
|
-
// node_modules/.pnpm/@nx+js@18.
|
|
2476
|
+
// node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.13_@swc+wasm@1.4.14_@types+node@20.12.7__djkm6pvgdlal6nacm3wh2i5iwa/node_modules/@nx/js/src/generators/release-version/utils/update-lock-file.js
|
|
2477
2477
|
var require_update_lock_file = __commonJS({
|
|
2478
|
-
"node_modules/.pnpm/@nx+js@18.
|
|
2478
|
+
"node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.13_@swc+wasm@1.4.14_@types+node@20.12.7__djkm6pvgdlal6nacm3wh2i5iwa/node_modules/@nx/js/src/generators/release-version/utils/update-lock-file.js"(exports2) {
|
|
2479
2479
|
"use strict";
|
|
2480
2480
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2481
2481
|
exports2.updateLockFile = void 0;
|
|
@@ -2616,9 +2616,13 @@ var init_find_up = __esm({
|
|
|
2616
2616
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
2617
2617
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
2618
2618
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
2619
|
-
return correctPaths(
|
|
2619
|
+
return correctPaths(
|
|
2620
|
+
process.env.STORM_WORKSPACE_ROOT ?? process.env.NX_WORKSPACE_ROOT_PATH
|
|
2621
|
+
);
|
|
2620
2622
|
}
|
|
2621
|
-
return correctPaths(
|
|
2623
|
+
return correctPaths(
|
|
2624
|
+
findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles)
|
|
2625
|
+
);
|
|
2622
2626
|
}
|
|
2623
2627
|
function findWorkspaceRoot(pathInsideMonorepo) {
|
|
2624
2628
|
const result = findWorkspaceRootSafe(pathInsideMonorepo);
|
|
@@ -2640,8 +2644,11 @@ var init_find_workspace_root = __esm({
|
|
|
2640
2644
|
init_find_up();
|
|
2641
2645
|
rootFiles = [
|
|
2642
2646
|
"storm.json",
|
|
2643
|
-
"storm.
|
|
2644
|
-
"storm.
|
|
2647
|
+
"storm.json",
|
|
2648
|
+
"storm.yaml",
|
|
2649
|
+
"storm.yml",
|
|
2650
|
+
"storm.js",
|
|
2651
|
+
"storm.ts",
|
|
2645
2652
|
".storm.json",
|
|
2646
2653
|
".storm.yaml",
|
|
2647
2654
|
".storm.yml",
|
|
@@ -75285,9 +75292,9 @@ var init_src2 = __esm({
|
|
|
75285
75292
|
}
|
|
75286
75293
|
});
|
|
75287
75294
|
|
|
75288
|
-
// node_modules/.pnpm/@nx+js@18.
|
|
75295
|
+
// node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.13_@swc+wasm@1.4.14_@types+node@20.12.7__djkm6pvgdlal6nacm3wh2i5iwa/node_modules/@nx/js/src/generators/release-version/utils/package.js
|
|
75289
75296
|
var require_package2 = __commonJS({
|
|
75290
|
-
"node_modules/.pnpm/@nx+js@18.
|
|
75297
|
+
"node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.13_@swc+wasm@1.4.14_@types+node@20.12.7__djkm6pvgdlal6nacm3wh2i5iwa/node_modules/@nx/js/src/generators/release-version/utils/package.js"(exports2) {
|
|
75291
75298
|
"use strict";
|
|
75292
75299
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
75293
75300
|
exports2.Package = void 0;
|
|
@@ -77597,9 +77604,9 @@ var require_npa = __commonJS({
|
|
|
77597
77604
|
}
|
|
77598
77605
|
});
|
|
77599
77606
|
|
|
77600
|
-
// node_modules/.pnpm/@nx+js@18.
|
|
77607
|
+
// node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.13_@swc+wasm@1.4.14_@types+node@20.12.7__djkm6pvgdlal6nacm3wh2i5iwa/node_modules/@nx/js/src/generators/release-version/utils/resolve-version-spec.js
|
|
77601
77608
|
var require_resolve_version_spec = __commonJS({
|
|
77602
|
-
"node_modules/.pnpm/@nx+js@18.
|
|
77609
|
+
"node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.13_@swc+wasm@1.4.14_@types+node@20.12.7__djkm6pvgdlal6nacm3wh2i5iwa/node_modules/@nx/js/src/generators/release-version/utils/resolve-version-spec.js"(exports2) {
|
|
77603
77610
|
"use strict";
|
|
77604
77611
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
77605
77612
|
exports2.resolveVersionSpec = void 0;
|
|
@@ -77626,9 +77633,9 @@ var require_resolve_version_spec = __commonJS({
|
|
|
77626
77633
|
}
|
|
77627
77634
|
});
|
|
77628
77635
|
|
|
77629
|
-
// node_modules/.pnpm/@nx+js@18.
|
|
77636
|
+
// node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.13_@swc+wasm@1.4.14_@types+node@20.12.7__djkm6pvgdlal6nacm3wh2i5iwa/node_modules/@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies.js
|
|
77630
77637
|
var require_resolve_local_package_dependencies = __commonJS({
|
|
77631
|
-
"node_modules/.pnpm/@nx+js@18.
|
|
77638
|
+
"node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.13_@swc+wasm@1.4.14_@types+node@20.12.7__djkm6pvgdlal6nacm3wh2i5iwa/node_modules/@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies.js"(exports2) {
|
|
77632
77639
|
"use strict";
|
|
77633
77640
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
77634
77641
|
exports2.resolveLocalPackageDependencies = void 0;
|
package/src/utils/index.js
CHANGED
|
@@ -73,9 +73,13 @@ var init_find_up = __esm({
|
|
|
73
73
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
74
74
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
75
75
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
76
|
-
return correctPaths(
|
|
76
|
+
return correctPaths(
|
|
77
|
+
process.env.STORM_WORKSPACE_ROOT ?? process.env.NX_WORKSPACE_ROOT_PATH
|
|
78
|
+
);
|
|
77
79
|
}
|
|
78
|
-
return correctPaths(
|
|
80
|
+
return correctPaths(
|
|
81
|
+
findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles)
|
|
82
|
+
);
|
|
79
83
|
}
|
|
80
84
|
function findWorkspaceRoot(pathInsideMonorepo) {
|
|
81
85
|
const result = findWorkspaceRootSafe(pathInsideMonorepo);
|
|
@@ -97,8 +101,11 @@ var init_find_workspace_root = __esm({
|
|
|
97
101
|
init_find_up();
|
|
98
102
|
rootFiles = [
|
|
99
103
|
"storm.json",
|
|
100
|
-
"storm.
|
|
101
|
-
"storm.
|
|
104
|
+
"storm.json",
|
|
105
|
+
"storm.yaml",
|
|
106
|
+
"storm.yml",
|
|
107
|
+
"storm.js",
|
|
108
|
+
"storm.ts",
|
|
102
109
|
".storm.json",
|
|
103
110
|
".storm.yaml",
|
|
104
111
|
".storm.yml",
|