@storm-software/workspace-tools 1.63.1 → 1.63.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 CHANGED
@@ -1,3 +1,27 @@
1
+ ## 1.63.3 (2024-03-03)
2
+
3
+
4
+ ### 🩹 Fixes
5
+
6
+ - **workspace-tools:** Update workspace tools to change directory to workspace root ([c76a4782](https://github.com/storm-software/storm-ops/commit/c76a4782))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Patrick Sullivan
12
+
13
+ ## 1.63.2 (2024-03-03)
14
+
15
+
16
+ ### 🩹 Fixes
17
+
18
+ - **workspace-tools:** Added back the correct basePath configuration ([61627951](https://github.com/storm-software/storm-ops/commit/61627951))
19
+
20
+
21
+ ### ❤️ Thank You
22
+
23
+ - Patrick Sullivan
24
+
1
25
  ## 1.63.1 (2024-03-03)
2
26
 
3
27
 
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
- findWorkspaceRootSafe,
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 = findWorkspaceRootSafe();
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(
@@ -474779,6 +474781,8 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
474779
474781
  compilerOptions: {
474780
474782
  ...rawTsconfig.config?.compilerOptions,
474781
474783
  outDir: outputPath,
474784
+ rootDir: ".",
474785
+ baseUrl: correctPaths(workspaceRoot),
474782
474786
  noEmit: false,
474783
474787
  emitDeclarationOnly: true,
474784
474788
  declaration: true,
@@ -474787,7 +474791,7 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
474787
474791
  }
474788
474792
  },
474789
474793
  import_typescript.sys,
474790
- correctPaths(workspaceRoot)
474794
+ correctPaths((0, import_node_path2.dirname)(options8.tsConfig))
474791
474795
  );
474792
474796
  parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
474793
474797
  if (parsedTsconfig.options.paths) {