@storm-software/workspace-tools 1.61.0 → 1.62.1
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 +29 -0
- package/index.js +149 -147
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +109 -110
- package/src/executors/tsup/executor.js +123 -121
- package/src/executors/tsup-browser/executor.js +123 -121
- package/src/executors/tsup-neutral/executor.js +123 -121
- package/src/executors/tsup-node/executor.js +123 -121
- package/src/executors/typia/executor.js +19 -20
- package/src/generators/browser-library/generator.js +109 -110
- package/src/generators/config-schema/generator.js +19 -20
- package/src/generators/neutral-library/generator.js +109 -110
- package/src/generators/node-library/generator.js +109 -110
- package/src/generators/preset/generator.js +19 -20
- package/src/generators/release-version/generator.js +27 -28
- package/src/utils/index.js +36 -32
|
@@ -175812,7 +175812,7 @@ var init_find_workspace_root = __esm({
|
|
|
175812
175812
|
"packages/config-tools/src/utilities/find-workspace-root.ts"() {
|
|
175813
175813
|
init_find_up();
|
|
175814
175814
|
rootFiles = [
|
|
175815
|
-
"
|
|
175815
|
+
"storm.json",
|
|
175816
175816
|
"storm.config.js",
|
|
175817
175817
|
"storm.config.ts",
|
|
175818
175818
|
".storm.json",
|
|
@@ -175820,6 +175820,7 @@ var init_find_workspace_root = __esm({
|
|
|
175820
175820
|
".storm.yml",
|
|
175821
175821
|
".storm.js",
|
|
175822
175822
|
".storm.ts",
|
|
175823
|
+
"lerna.json",
|
|
175823
175824
|
"nx.json",
|
|
175824
175825
|
"turbo.json",
|
|
175825
175826
|
"npm-workspace.json",
|
|
@@ -385658,25 +385659,23 @@ var init_get_config_file = __esm({
|
|
|
385658
385659
|
} : { config: {}, filepath: jsonPath, isEmpty };
|
|
385659
385660
|
};
|
|
385660
385661
|
getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
385661
|
-
const workspacePath = filePath ? filePath :
|
|
385662
|
-
|
|
385663
|
-
|
|
385664
|
-
|
|
385665
|
-
|
|
385666
|
-
|
|
385667
|
-
|
|
385668
|
-
|
|
385669
|
-
|
|
385670
|
-
|
|
385671
|
-
|
|
385672
|
-
|
|
385673
|
-
|
|
385674
|
-
|
|
385675
|
-
|
|
385676
|
-
|
|
385677
|
-
|
|
385678
|
-
break;
|
|
385679
|
-
}
|
|
385662
|
+
const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
|
|
385663
|
+
if (!defaultExplorer) {
|
|
385664
|
+
defaultExplorer = await getConfigFileExplorer("storm");
|
|
385665
|
+
}
|
|
385666
|
+
let cosmiconfigResult = null;
|
|
385667
|
+
if (defaultExplorer) {
|
|
385668
|
+
cosmiconfigResult = await defaultExplorer.search(workspacePath);
|
|
385669
|
+
}
|
|
385670
|
+
if ((!cosmiconfigResult || cosmiconfigResult.isEmpty) && additionalFileNames.length > 0) {
|
|
385671
|
+
for (const additionalFileName of additionalFileNames) {
|
|
385672
|
+
cosmiconfigResult = await getJsonConfigFile(additionalFileName, workspacePath);
|
|
385673
|
+
if (cosmiconfigResult && !cosmiconfigResult.isEmpty) {
|
|
385674
|
+
break;
|
|
385675
|
+
}
|
|
385676
|
+
cosmiconfigResult = await getConfigFileByName(additionalFileName, workspacePath);
|
|
385677
|
+
if (cosmiconfigResult && !cosmiconfigResult.isEmpty) {
|
|
385678
|
+
break;
|
|
385680
385679
|
}
|
|
385681
385680
|
}
|
|
385682
385681
|
}
|