@storm-software/pnpm-tools 0.6.11 → 0.6.12

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
@@ -2,6 +2,19 @@
2
2
 
3
3
  # Changelog for Storm Ops - Pnpm Tools
4
4
 
5
+ ## [0.6.11](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.6.11) (2025-10-23)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **eslint:** Remove unused rule filters
10
+ ([3d3392837](https://github.com/storm-software/storm-ops/commit/3d3392837))
11
+
12
+ ### Updated Dependencies
13
+
14
+ - Updated config-tools to 1.188.11
15
+ - Updated npm-tools to 0.5.11
16
+ - Updated config to 1.134.11
17
+
5
18
  ## [0.6.10](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.6.10) (2025-10-22)
6
19
 
7
20
  ### Miscellaneous
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-0.6.9-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.6.10-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/bin/pnpm.cjs CHANGED
@@ -143,28 +143,26 @@ function createProgram(config) {
143
143
  }
144
144
  const program = new import_commander.Command("storm-pnpm");
145
145
  program.version("1.0.0", "-v --version", "display CLI version");
146
- const packageNames = new import_commander.Argument(
146
+ program.command("update").description("Update pnpm catalog dependency package version.").argument(
147
147
  "<package-names...>",
148
148
  "The package name/pattern to update the version for (e.g., @storm-software/config or @storm-software/ for all Storm packages)."
149
- );
150
- const prefix = new import_commander.Option(
149
+ ).option(
150
+ "-t, --tag <string>",
151
+ `The npm tag to use when fetching the latest version of the package (e.g., "latest", "next", etc.). Defaults to "latest".`,
152
+ "latest"
153
+ ).option(
154
+ "-i, --install",
155
+ "Whether to install the package after updating the version."
156
+ ).option(
151
157
  "-p, --prefix <string>",
152
158
  `The version prefix to use when updating the package (e.g., "^", "~", or "1.2.3"). Defaults to "^".
153
159
  - Caret (^): The default prefix. It allows updates to the latest minor or patch version while staying within the same major version. Example: \u201C^1.2.3" allows updates to 1.3.0 or 1.2.4, but not 2.0.0.
154
160
  - Tilde (~): Allows updates to the latest patch version while staying within the same minor version. Example: \u201C~1.2.3" allows updates to 1.2.4 but not 1.3.0.
155
161
  - Exact (no prefix): Locks the dependency to a specific version. No updates are allowed. Example: 1.2.3 will only use 1.2.3.
156
162
  - Greater/Less Than (>, <, >=, <=): Specifies a range of acceptable versions. Example: \u201C>=1.2.3 <2.0.0" allows any version from 1.2.3 to 1.9.x.
157
- - Wildcard (*): Allows the most flexibility by accepting any version. Example: \u201C*2.4.6" allows any version.`
158
- ).choices(["^", "~", ">", "<", ">=", "<=", "*"]).default("^");
159
- const tag = new import_commander.Option(
160
- "-t, --tag <string>",
161
- `The npm tag to use when fetching the latest version of the package (e.g., "latest", "next", etc.). Defaults to "latest".`
162
- ).default("latest");
163
- const install = new import_commander.Option(
164
- "-i, --install",
165
- "Whether to install the package after updating the version."
166
- ).default(false);
167
- program.command("update").description("Update pnpm catalog dependency package version.").addArgument(packageNames).addOption(tag).addOption(install).addOption(prefix).action(updateAction);
163
+ - Wildcard (*): Allows the most flexibility by accepting any version. Example: \u201C*2.4.6" allows any version.`,
164
+ "^"
165
+ ).action(updateAction);
168
166
  return program;
169
167
  }
170
168
  async function updateAction(packageNames, {
package/bin/pnpm.js CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  writeInfo,
19
19
  writeTrace as writeTrace3
20
20
  } from "@storm-software/config-tools";
21
- import { Argument, Command, Option } from "commander";
21
+ import { Command } from "commander";
22
22
 
23
23
  // src/helpers/catalog.ts
24
24
  import { getWorkspaceConfig as getWorkspaceConfig2 } from "@storm-software/config-tools/get-config";
@@ -158,28 +158,26 @@ function createProgram(config) {
158
158
  }
159
159
  const program = new Command("storm-pnpm");
160
160
  program.version("1.0.0", "-v --version", "display CLI version");
161
- const packageNames = new Argument(
161
+ program.command("update").description("Update pnpm catalog dependency package version.").argument(
162
162
  "<package-names...>",
163
163
  "The package name/pattern to update the version for (e.g., @storm-software/config or @storm-software/ for all Storm packages)."
164
- );
165
- const prefix = new Option(
164
+ ).option(
165
+ "-t, --tag <string>",
166
+ `The npm tag to use when fetching the latest version of the package (e.g., "latest", "next", etc.). Defaults to "latest".`,
167
+ "latest"
168
+ ).option(
169
+ "-i, --install",
170
+ "Whether to install the package after updating the version."
171
+ ).option(
166
172
  "-p, --prefix <string>",
167
173
  `The version prefix to use when updating the package (e.g., "^", "~", or "1.2.3"). Defaults to "^".
168
174
  - Caret (^): The default prefix. It allows updates to the latest minor or patch version while staying within the same major version. Example: \u201C^1.2.3" allows updates to 1.3.0 or 1.2.4, but not 2.0.0.
169
175
  - Tilde (~): Allows updates to the latest patch version while staying within the same minor version. Example: \u201C~1.2.3" allows updates to 1.2.4 but not 1.3.0.
170
176
  - Exact (no prefix): Locks the dependency to a specific version. No updates are allowed. Example: 1.2.3 will only use 1.2.3.
171
177
  - Greater/Less Than (>, <, >=, <=): Specifies a range of acceptable versions. Example: \u201C>=1.2.3 <2.0.0" allows any version from 1.2.3 to 1.9.x.
172
- - Wildcard (*): Allows the most flexibility by accepting any version. Example: \u201C*2.4.6" allows any version.`
173
- ).choices(["^", "~", ">", "<", ">=", "<=", "*"]).default("^");
174
- const tag = new Option(
175
- "-t, --tag <string>",
176
- `The npm tag to use when fetching the latest version of the package (e.g., "latest", "next", etc.). Defaults to "latest".`
177
- ).default("latest");
178
- const install = new Option(
179
- "-i, --install",
180
- "Whether to install the package after updating the version."
181
- ).default(false);
182
- program.command("update").description("Update pnpm catalog dependency package version.").addArgument(packageNames).addOption(tag).addOption(install).addOption(prefix).action(updateAction);
178
+ - Wildcard (*): Allows the most flexibility by accepting any version. Example: \u201C*2.4.6" allows any version.`,
179
+ "^"
180
+ ).action(updateAction);
183
181
  return program;
184
182
  }
185
183
  async function updateAction(packageNames, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/pnpm-tools",
3
- "version": "0.6.11",
3
+ "version": "0.6.12",
4
4
  "type": "module",
5
5
  "description": "A set of [pnpm](https://pnpm.io/) plugins and utilities for managing workspace packages/dependencies.",
6
6
  "repository": {
@@ -89,9 +89,9 @@
89
89
  "dependencies": {
90
90
  "@pnpm/plugin-better-defaults": "^0.2.1",
91
91
  "@pnpm/plugin-esm-node-path": "^0.1.2",
92
- "@storm-software/config": "^1.134.11",
93
- "@storm-software/config-tools": "^1.188.11",
94
- "@storm-software/npm-tools": "^0.5.11",
92
+ "@storm-software/config": "^1.134.12",
93
+ "@storm-software/config-tools": "^1.188.12",
94
+ "@storm-software/npm-tools": "^0.5.12",
95
95
  "commander": "^12.1.0",
96
96
  "defu": "6.1.4",
97
97
  "prettier": "^3.5.1",
@@ -105,5 +105,5 @@
105
105
  "tsup": "8.4.0"
106
106
  },
107
107
  "publishConfig": { "access": "public" },
108
- "gitHead": "2badf6f22c49c7b246ef5d25c0bbdbd31c93f885"
108
+ "gitHead": "f8f8eb9bb43ef672370e0dfcba1cf80f7e009934"
109
109
  }