@storm-software/workspace-tools 1.206.0 → 1.207.0

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,10 @@
1
+ ## 1.207.0 (2024-12-23)
2
+
3
+ ### Features
4
+
5
+ - **workspace-tools:** Added the `storm-software/typescript/tsup` plugin
6
+ ([8e74c512](https://github.com/storm-software/storm-ops/commit/8e74c512))
7
+
1
8
  ## 1.206.0 (2024-12-22)
2
9
 
3
10
  ### 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": 3897,
24800
+ "bytes": 3934,
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": 3884
68551
+ "bytesInOutput": 3921
68552
68552
  },
68553
68553
  "packages/workspace-tools/src/utils/project-tags.ts": {
68554
68554
  "bytesInOutput": 2559
68555
68555
  }
68556
68556
  },
68557
- "bytes": 7519
68557
+ "bytes": 7556
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.206.0",
3
+ "version": "1.207.0",
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": {
@@ -122,7 +122,7 @@ var setDefaultProjectTags = (project, plugin) => {
122
122
  // packages/workspace-tools/src/plugins/typescript/tsup.ts
123
123
  var name = "storm-software/typescript/tsup";
124
124
  var createNodes = [
125
- "**/tsup.config.{,c,m}{j,t}s",
125
+ "*/**/tsup.config.*",
126
126
  (file, opts, ctx) => {
127
127
  const projectRoot = createProjectRoot(file, ctx.workspaceRoot);
128
128
  if (!projectRoot) {
@@ -151,7 +151,7 @@ Please add it to your dependencies by running "pnpm add tsup -D --filter="${pack
151
151
  packageJson,
152
152
  nxJson
153
153
  );
154
- if (!targets.build) {
154
+ if (!targets["build-base"]) {
155
155
  targets["build-base"] = {
156
156
  cache: true,
157
157
  inputs: [file, "typescript", "^production"],
@@ -163,9 +163,11 @@ Please add it to your dependencies by running "pnpm add tsup -D --filter="${pack
163
163
  cwd: "{projectRoot}"
164
164
  }
165
165
  };
166
+ }
167
+ if (!targets.build) {
166
168
  targets.build = {
167
169
  cache: true,
168
- inputs: ["typescript", "^production"],
170
+ inputs: [file, "typescript", "^production"],
169
171
  outputs: ["{workspaceRoot}/dist/{projectRoot}"],
170
172
  executor: "nx:run-commands",
171
173
  dependsOn: ["build-base"],