@storm-software/workspace-tools 1.63.1 → 1.63.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 +12 -0
- package/index.js +5 -3
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +4 -2
- package/src/executors/tsup/executor.js +2 -1
- package/src/executors/tsup-browser/executor.js +2 -1
- package/src/executors/tsup-neutral/executor.js +2 -1
- package/src/executors/tsup-node/executor.js +2 -1
- package/src/executors/typia/executor.js +1 -0
- package/src/generators/browser-library/generator.js +3 -2
- package/src/generators/config-schema/generator.js +3 -2
- package/src/generators/neutral-library/generator.js +3 -2
- package/src/generators/node-library/generator.js +3 -2
- package/src/generators/preset/generator.js +3 -2
- package/src/generators/release-version/generator.js +3 -2
- package/src/utils/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 1.63.2 (2024-03-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🩹 Fixes
|
|
5
|
+
|
|
6
|
+
- **workspace-tools:** Added back the correct basePath configuration ([61627951](https://github.com/storm-software/storm-ops/commit/61627951))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- Patrick Sullivan
|
|
12
|
+
|
|
1
13
|
## 1.63.1 (2024-03-03)
|
|
2
14
|
|
|
3
15
|
|
package/index.js
CHANGED
|
@@ -473872,6 +473872,7 @@ var withRunExecutor = (name, executorFn, executorOptions) => async (_options, co
|
|
|
473872
473872
|
const projectRoot = context.projectsConfigurations.projects[context.projectName]?.root ?? workspaceRoot;
|
|
473873
473873
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName]?.sourceRoot ?? workspaceRoot;
|
|
473874
473874
|
const projectName = context.projectsConfigurations.projects[context.projectName]?.name ?? context.projectName;
|
|
473875
|
+
process.chdir(workspaceRoot);
|
|
473875
473876
|
if (!executorOptions.skipReadingConfig) {
|
|
473876
473877
|
writeDebug(
|
|
473877
473878
|
config,
|
|
@@ -473975,7 +473976,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
473975
473976
|
writeInfo,
|
|
473976
473977
|
writeSuccess,
|
|
473977
473978
|
writeTrace,
|
|
473978
|
-
|
|
473979
|
+
findWorkspaceRoot,
|
|
473979
473980
|
loadStormConfig
|
|
473980
473981
|
} = await import("@storm-software/config-tools");
|
|
473981
473982
|
const stopwatch = getStopwatch(name);
|
|
@@ -473985,7 +473986,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
473985
473986
|
writeInfo(config, `\u26A1 Running the ${name} generator...
|
|
473986
473987
|
|
|
473987
473988
|
`);
|
|
473988
|
-
const workspaceRoot =
|
|
473989
|
+
const workspaceRoot = findWorkspaceRoot();
|
|
473989
473990
|
if (!generatorOptions.skipReadingConfig) {
|
|
473990
473991
|
writeDebug(
|
|
473991
473992
|
config,
|
|
@@ -473999,6 +474000,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
473999
474000
|
${Object.keys(process.env).map((key2) => ` - ${key2}=${JSON.stringify(process.env[key2])}`).join("\n")}`
|
|
474000
474001
|
);
|
|
474001
474002
|
}
|
|
474003
|
+
process.chdir(workspaceRoot);
|
|
474002
474004
|
if (generatorOptions?.hooks?.applyDefaultOptions) {
|
|
474003
474005
|
writeDebug(config, "Running the applyDefaultOptions hook...");
|
|
474004
474006
|
options8 = await Promise.resolve(
|
|
@@ -474787,7 +474789,7 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
474787
474789
|
}
|
|
474788
474790
|
},
|
|
474789
474791
|
import_typescript.sys,
|
|
474790
|
-
correctPaths(
|
|
474792
|
+
correctPaths((0, import_node_path2.dirname)(options8.tsConfig))
|
|
474791
474793
|
);
|
|
474792
474794
|
parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
|
|
474793
474795
|
if (parsedTsconfig.options.paths) {
|