@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
|
@@ -3905,9 +3905,13 @@ var init_find_up = __esm({
|
|
|
3905
3905
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
3906
3906
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
3907
3907
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
3908
|
-
return correctPaths(
|
|
3908
|
+
return correctPaths(
|
|
3909
|
+
process.env.STORM_WORKSPACE_ROOT ?? process.env.NX_WORKSPACE_ROOT_PATH
|
|
3910
|
+
);
|
|
3909
3911
|
}
|
|
3910
|
-
return correctPaths(
|
|
3912
|
+
return correctPaths(
|
|
3913
|
+
findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles)
|
|
3914
|
+
);
|
|
3911
3915
|
}
|
|
3912
3916
|
function findWorkspaceRoot(pathInsideMonorepo) {
|
|
3913
3917
|
const result = findWorkspaceRootSafe(pathInsideMonorepo);
|
|
@@ -3929,8 +3933,11 @@ var init_find_workspace_root = __esm({
|
|
|
3929
3933
|
init_find_up();
|
|
3930
3934
|
rootFiles = [
|
|
3931
3935
|
"storm.json",
|
|
3932
|
-
"storm.
|
|
3933
|
-
"storm.
|
|
3936
|
+
"storm.json",
|
|
3937
|
+
"storm.yaml",
|
|
3938
|
+
"storm.yml",
|
|
3939
|
+
"storm.js",
|
|
3940
|
+
"storm.ts",
|
|
3934
3941
|
".storm.json",
|
|
3935
3942
|
".storm.yaml",
|
|
3936
3943
|
".storm.yml",
|