@storm-software/workspace-tools 1.209.0 → 1.209.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 CHANGED
@@ -1,3 +1,17 @@
1
+ ## 1.209.2 (2024-12-23)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **workspace-tools:** Resolve issue with `inputs` path provided to plugin
6
+ ([2fbc92e0](https://github.com/storm-software/storm-ops/commit/2fbc92e0))
7
+
8
+ ## 1.209.1 (2024-12-23)
9
+
10
+ ### Bug Fixes
11
+
12
+ - **workspace-tools:** Resolved logging issue in `tsup` plugin
13
+ ([0b6bfc9e](https://github.com/storm-software/storm-ops/commit/0b6bfc9e))
14
+
1
15
  ## 1.209.0 (2024-12-23)
2
16
 
3
17
  ### Features
package/meta.json CHANGED
@@ -24797,7 +24797,7 @@
24797
24797
  "format": "esm"
24798
24798
  },
24799
24799
  "packages/workspace-tools/src/plugins/typescript/tsup.ts": {
24800
- "bytes": 5021,
24800
+ "bytes": 5309,
24801
24801
  "imports": [
24802
24802
  {
24803
24803
  "path": "@nx/devkit",
@@ -68548,13 +68548,13 @@
68548
68548
  "entryPoint": "packages/workspace-tools/src/plugins/typescript/tsup.ts",
68549
68549
  "inputs": {
68550
68550
  "packages/workspace-tools/src/plugins/typescript/tsup.ts": {
68551
- "bytesInOutput": 4757
68551
+ "bytesInOutput": 5044
68552
68552
  },
68553
68553
  "packages/workspace-tools/src/utils/project-tags.ts": {
68554
68554
  "bytesInOutput": 2559
68555
68555
  }
68556
68556
  },
68557
- "bytes": 8394
68557
+ "bytes": 8681
68558
68558
  },
68559
68559
  "dist/packages/workspace-tools/src/utils/index.js": {
68560
68560
  "imports": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.209.0",
3
+ "version": "1.209.2",
4
4
  "type": "commonjs",
5
5
  "description": "Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.",
6
6
  "repository": {
@@ -163,7 +163,11 @@ Please add it to your dependencies by running "pnpm add tsup -D --filter="${pack
163
163
  }
164
164
  targets["build-base"] ??= {
165
165
  cache: true,
166
- inputs: [configFile, "typescript", "^production"],
166
+ inputs: [
167
+ `{workspaceRoot}/${configFile}`,
168
+ "typescript",
169
+ "^production"
170
+ ],
167
171
  executor: "nx:run-commands",
168
172
  dependsOn: ["clean", "^build"],
169
173
  options: {
@@ -173,7 +177,7 @@ Please add it to your dependencies by running "pnpm add tsup -D --filter="${pack
173
177
  };
174
178
  targets.build ??= {
175
179
  cache: true,
176
- inputs: [configFile, "typescript", "^production"],
180
+ inputs: ["typescript", "^production"],
177
181
  executor: "nx:run-commands",
178
182
  dependsOn: ["build-base"],
179
183
  options: {
@@ -186,7 +190,11 @@ Please add it to your dependencies by running "pnpm add tsup -D --filter="${pack
186
190
  };
187
191
  targets.clean = {
188
192
  executor: "nx:run-commands",
189
- inputs: [configFile, "typescript", "^production"],
193
+ inputs: [
194
+ `{workspaceRoot}/${configFile}`,
195
+ "typescript",
196
+ "^production"
197
+ ],
190
198
  options: {
191
199
  commands: [
192
200
  `pnpm exec rimraf dist/${relativeRoot}`,
@@ -195,7 +203,7 @@ Please add it to your dependencies by running "pnpm add tsup -D --filter="${pack
195
203
  }
196
204
  };
197
205
  setDefaultProjectTags(project, name);
198
- return project?.name ? {
206
+ const result = project?.name ? {
199
207
  projects: {
200
208
  [project.name]: {
201
209
  ...project,
@@ -203,6 +211,9 @@ Please add it to your dependencies by running "pnpm add tsup -D --filter="${pack
203
211
  }
204
212
  }
205
213
  } : {};
214
+ console.log(`Writing Results for ${project?.name ?? "missing name"}`);
215
+ console.log(result);
216
+ return result;
206
217
  } catch (e) {
207
218
  console.error(e);
208
219
  return {};