@storm-software/pnpm-tools 0.6.70 → 0.6.71
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 +6 -0
- package/bin/pnpm.cjs +24 -13
- package/bin/pnpm.js +26 -14
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Pnpm Tools
|
|
4
4
|
|
|
5
|
+
## [0.6.70](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.6.70) (12/17/2025)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **npm-tools** to **v0.6.26**
|
|
10
|
+
|
|
5
11
|
## [0.6.69](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.6.69) (12/17/2025)
|
|
6
12
|
|
|
7
13
|
### Updated Dependencies
|
package/bin/pnpm.cjs
CHANGED
|
@@ -184,29 +184,40 @@ async function updateAction(packageNames, {
|
|
|
184
184
|
"No catalog found in the pnpm-workspace.yaml file of the current workspace."
|
|
185
185
|
);
|
|
186
186
|
}
|
|
187
|
+
let packagesFound = false;
|
|
187
188
|
for (const pkg of packages) {
|
|
188
189
|
const matchedPackages = Object.keys(catalog).filter(
|
|
189
190
|
(p) => pkg.endsWith("/") ? p.startsWith(pkg) : p === pkg
|
|
190
191
|
);
|
|
191
192
|
if (matchedPackages.length === 0) {
|
|
192
|
-
|
|
193
|
-
`No packages found in the catalog matching the name/pattern "${pkg}"
|
|
193
|
+
(0, import_config_tools2.writeInfo)(
|
|
194
|
+
`No packages found in the catalog matching the name/pattern "${pkg}".`,
|
|
195
|
+
_config
|
|
194
196
|
);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
|
|
197
|
+
} else {
|
|
198
|
+
(0, import_config_tools2.writeTrace)(
|
|
199
|
+
`Found ${matchedPackages.length} matching packages in the catalog file:
|
|
198
200
|
|
|
199
201
|
- ${matchedPackages.map((p) => `${p} (${catalog[p] || "unknown"})`).join("\n- ")}`,
|
|
202
|
+
_config
|
|
203
|
+
);
|
|
204
|
+
packagesFound = true;
|
|
205
|
+
for (const matchedPackage of matchedPackages) {
|
|
206
|
+
(0, import_config_tools2.writeTrace)(`- Upgrading ${matchedPackage}...`, _config);
|
|
207
|
+
catalog = await upgradeCatalog(catalog, matchedPackage, {
|
|
208
|
+
tag,
|
|
209
|
+
prefix,
|
|
210
|
+
workspaceRoot: _config.workspaceRoot
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
if (!packagesFound) {
|
|
216
|
+
(0, import_config_tools2.writeWarning)(
|
|
217
|
+
`No packages were updated since no matching packages were found in the catalog.`,
|
|
200
218
|
_config
|
|
201
219
|
);
|
|
202
|
-
|
|
203
|
-
(0, import_config_tools2.writeTrace)(`- Upgrading ${matchedPackage}...`, _config);
|
|
204
|
-
catalog = await upgradeCatalog(catalog, matchedPackage, {
|
|
205
|
-
tag,
|
|
206
|
-
prefix,
|
|
207
|
-
workspaceRoot: _config.workspaceRoot
|
|
208
|
-
});
|
|
209
|
-
}
|
|
220
|
+
return;
|
|
210
221
|
}
|
|
211
222
|
(0, import_config_tools2.writeDebug)(
|
|
212
223
|
"Finalizing changes to the pnpm workspace's catalog dependencies",
|
package/bin/pnpm.js
CHANGED
|
@@ -16,7 +16,8 @@ import {
|
|
|
16
16
|
writeDebug as writeDebug2,
|
|
17
17
|
writeFatal,
|
|
18
18
|
writeInfo,
|
|
19
|
-
writeTrace as writeTrace3
|
|
19
|
+
writeTrace as writeTrace3,
|
|
20
|
+
writeWarning as writeWarning2
|
|
20
21
|
} from "@storm-software/config-tools";
|
|
21
22
|
import { Command } from "commander";
|
|
22
23
|
|
|
@@ -199,29 +200,40 @@ async function updateAction(packageNames, {
|
|
|
199
200
|
"No catalog found in the pnpm-workspace.yaml file of the current workspace."
|
|
200
201
|
);
|
|
201
202
|
}
|
|
203
|
+
let packagesFound = false;
|
|
202
204
|
for (const pkg of packages) {
|
|
203
205
|
const matchedPackages = Object.keys(catalog).filter(
|
|
204
206
|
(p) => pkg.endsWith("/") ? p.startsWith(pkg) : p === pkg
|
|
205
207
|
);
|
|
206
208
|
if (matchedPackages.length === 0) {
|
|
207
|
-
|
|
208
|
-
`No packages found in the catalog matching the name/pattern "${pkg}"
|
|
209
|
+
writeInfo(
|
|
210
|
+
`No packages found in the catalog matching the name/pattern "${pkg}".`,
|
|
211
|
+
_config
|
|
209
212
|
);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
+
} else {
|
|
214
|
+
writeTrace3(
|
|
215
|
+
`Found ${matchedPackages.length} matching packages in the catalog file:
|
|
213
216
|
|
|
214
217
|
- ${matchedPackages.map((p) => `${p} (${catalog[p] || "unknown"})`).join("\n- ")}`,
|
|
218
|
+
_config
|
|
219
|
+
);
|
|
220
|
+
packagesFound = true;
|
|
221
|
+
for (const matchedPackage of matchedPackages) {
|
|
222
|
+
writeTrace3(`- Upgrading ${matchedPackage}...`, _config);
|
|
223
|
+
catalog = await upgradeCatalog(catalog, matchedPackage, {
|
|
224
|
+
tag,
|
|
225
|
+
prefix,
|
|
226
|
+
workspaceRoot: _config.workspaceRoot
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
if (!packagesFound) {
|
|
232
|
+
writeWarning2(
|
|
233
|
+
`No packages were updated since no matching packages were found in the catalog.`,
|
|
215
234
|
_config
|
|
216
235
|
);
|
|
217
|
-
|
|
218
|
-
writeTrace3(`- Upgrading ${matchedPackage}...`, _config);
|
|
219
|
-
catalog = await upgradeCatalog(catalog, matchedPackage, {
|
|
220
|
-
tag,
|
|
221
|
-
prefix,
|
|
222
|
-
workspaceRoot: _config.workspaceRoot
|
|
223
|
-
});
|
|
224
|
-
}
|
|
236
|
+
return;
|
|
225
237
|
}
|
|
226
238
|
writeDebug2(
|
|
227
239
|
"Finalizing changes to the pnpm workspace's catalog dependencies",
|
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.71",
|
|
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,5 +89,5 @@
|
|
|
89
89
|
"tsup": "8.4.0"
|
|
90
90
|
},
|
|
91
91
|
"publishConfig": { "access": "public" },
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "60e42272b8da0b1b1cdf5c6660389215a54a07bd"
|
|
93
93
|
}
|