@storm-software/pnpm-tools 0.6.11 → 0.6.13
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 +26 -0
- package/README.md +1 -1
- package/bin/pnpm.cjs +12 -14
- package/bin/pnpm.js +13 -15
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Pnpm Tools
|
|
4
4
|
|
|
5
|
+
## [0.6.12](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.6.12) (2025-10-28)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update `commander` CLI implementation across packages
|
|
10
|
+
([0aca28a67](https://github.com/storm-software/storm-ops/commit/0aca28a67))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated config-tools to 1.188.12
|
|
15
|
+
- Updated npm-tools to 0.5.12
|
|
16
|
+
- Updated config to 1.134.12
|
|
17
|
+
|
|
18
|
+
## [0.6.11](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.6.11) (2025-10-23)
|
|
19
|
+
|
|
20
|
+
### Miscellaneous
|
|
21
|
+
|
|
22
|
+
- **eslint:** Remove unused rule filters
|
|
23
|
+
([3d3392837](https://github.com/storm-software/storm-ops/commit/3d3392837))
|
|
24
|
+
|
|
25
|
+
### Updated Dependencies
|
|
26
|
+
|
|
27
|
+
- Updated config-tools to 1.188.11
|
|
28
|
+
- Updated npm-tools to 0.5.11
|
|
29
|
+
- Updated config to 1.134.11
|
|
30
|
+
|
|
5
31
|
## [0.6.10](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.6.10) (2025-10-22)
|
|
6
32
|
|
|
7
33
|
### 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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
159
|
-
|
|
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 {
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
174
|
-
|
|
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.
|
|
3
|
+
"version": "0.6.13",
|
|
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.
|
|
93
|
-
"@storm-software/config-tools": "^1.188.
|
|
94
|
-
"@storm-software/npm-tools": "^0.5.
|
|
92
|
+
"@storm-software/config": "^1.134.13",
|
|
93
|
+
"@storm-software/config-tools": "^1.188.13",
|
|
94
|
+
"@storm-software/npm-tools": "^0.5.13",
|
|
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": "
|
|
108
|
+
"gitHead": "029d9e5632710490198e9fac989e7aa85b9dd1b9"
|
|
109
109
|
}
|