@storm-software/workspace-tools 1.66.18 → 1.66.19

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,15 @@
1
+ ## 1.66.19 (2024-03-29)
2
+
3
+
4
+ ### 🩹 Fixes
5
+
6
+ - **workspace-tools:** Update the package root during publish ([ec87434f](https://github.com/storm-software/storm-ops/commit/ec87434f))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Patrick Sullivan
12
+
1
13
  ## 1.66.18 (2024-03-28)
2
14
 
3
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.66.18",
3
+ "version": "1.66.19",
4
4
  "private": false,
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "keywords": [
@@ -22,7 +22,10 @@ export default async function npmPublishExecutorFn(
22
22
  if (!projectConfig) {
23
23
  throw new Error(`Could not find project configuration for ${context.projectName}`);
24
24
  }
25
- const packageRoot = joinPathFragments(context.root, options.packageRoot ?? projectConfig.root);
25
+ const packageRoot = joinPathFragments(
26
+ context.root,
27
+ options.packageRoot ? options.packageRoot : joinPathFragments("dist", projectConfig.root)
28
+ );
26
29
 
27
30
  const packageJsonPath = joinPathFragments(packageRoot, "package.json");
28
31
  const projectPackageJson = readJsonFile(packageJsonPath);
@@ -67,7 +67,6 @@ export const createNodes = [
67
67
  dependsOn: ["build", "^nx-release-publish"],
68
68
  executor: "@storm-software/workspace-tools:npm-publish",
69
69
  options: {
70
- packageRoot: `dist/${project.root}`,
71
70
  registry: "https://registry.npmjs.org/"
72
71
  }
73
72
  };