@storm-software/pnpm-tools 0.7.42 → 0.7.43

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,12 @@
2
2
 
3
3
  # Changelog for Storm Ops - Pnpm Tools
4
4
 
5
+ ## [0.7.43](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.7.43) (05/26/2026)
6
+
7
+ ### Updated Dependencies
8
+
9
+ - Updated **npm-tools** to **v0.6.150**
10
+
5
11
  ## [0.7.42](https://github.com/storm-software/storm-ops/releases/tag/pnpm-tools%400.7.42) (05/26/2026)
6
12
 
7
13
  ### Miscellaneous
package/bin/pnpm.cjs CHANGED
@@ -2184,120 +2184,7 @@ var import_chalk3 = __toESM(require("chalk"), 1);
2184
2184
  var import_commander = require("commander");
2185
2185
 
2186
2186
  // package.json
2187
- var package_default = {
2188
- name: "@storm-software/pnpm-tools",
2189
- version: "0.7.42",
2190
- private: false,
2191
- description: "A set of [pnpm](https://pnpm.io/) plugins and utilities for managing workspace packages/dependencies.",
2192
- repository: {
2193
- type: "github",
2194
- url: "https://github.com/storm-software/storm-ops",
2195
- directory: "packages/pnpm-tools"
2196
- },
2197
- type: "module",
2198
- exports: {
2199
- "./package.json": "./package.json",
2200
- "./index": {
2201
- import: {
2202
- types: "./dist/index.d.ts",
2203
- default: "./dist/index.js"
2204
- },
2205
- require: {
2206
- types: "./dist/index.d.cts",
2207
- default: "./dist/index.cjs"
2208
- },
2209
- default: {
2210
- types: "./dist/index.d.ts",
2211
- default: "./dist/index.js"
2212
- }
2213
- },
2214
- ".": {
2215
- import: {
2216
- types: "./dist/index.d.ts",
2217
- default: "./dist/index.js"
2218
- },
2219
- require: {
2220
- types: "./dist/index.d.cts",
2221
- default: "./dist/index.cjs"
2222
- },
2223
- default: {
2224
- types: "./dist/index.d.ts",
2225
- default: "./dist/index.js"
2226
- }
2227
- },
2228
- "./types": {
2229
- import: {
2230
- types: "./dist/types.d.ts",
2231
- default: "./dist/types.js"
2232
- },
2233
- require: {
2234
- types: "./dist/types.d.cts",
2235
- default: "./dist/types.cjs"
2236
- },
2237
- default: {
2238
- types: "./dist/types.d.ts",
2239
- default: "./dist/types.js"
2240
- }
2241
- },
2242
- "./helpers": {
2243
- import: {
2244
- types: "./dist/helpers/index.d.ts",
2245
- default: "./dist/helpers/index.js"
2246
- },
2247
- require: {
2248
- types: "./dist/helpers/index.d.cts",
2249
- default: "./dist/helpers/index.cjs"
2250
- },
2251
- default: {
2252
- types: "./dist/helpers/index.d.ts",
2253
- default: "./dist/helpers/index.js"
2254
- }
2255
- },
2256
- "./helpers/*": {
2257
- import: {
2258
- types: "./dist/helpers/*.d.ts",
2259
- default: "./dist/helpers/*.js"
2260
- },
2261
- require: {
2262
- types: "./dist/helpers/*.d.cts",
2263
- default: "./dist/helpers/*.cjs"
2264
- },
2265
- default: {
2266
- types: "./dist/helpers/*.d.ts",
2267
- default: "./dist/helpers/*.js"
2268
- }
2269
- }
2270
- },
2271
- main: "./dist/index.cjs",
2272
- module: "./dist/index.js",
2273
- types: "./dist/index.d.ts",
2274
- bin: {
2275
- "storm-pnpm": "./bin/pnpm.js",
2276
- "storm-pnpm-cjs": "./bin/pnpm.cjs",
2277
- "storm-pnpm-esm": "./bin/pnpm.js"
2278
- },
2279
- dependencies: {
2280
- "@storm-software/config": "workspace:*",
2281
- "@storm-software/config-tools": "workspace:*",
2282
- "@storm-software/npm-tools": "workspace:*",
2283
- "@storm-software/package-constants": "workspace:*",
2284
- chalk: "catalog:",
2285
- commander: "catalog:",
2286
- defu: "catalog:",
2287
- prettier: "catalog:",
2288
- "prettier-plugin-packagejson": "catalog:",
2289
- semver: "catalog:",
2290
- yaml: "catalog:"
2291
- },
2292
- devDependencies: {
2293
- "@pnpm/types": "catalog:",
2294
- "@types/node": "catalog:",
2295
- tsup: "catalog:"
2296
- },
2297
- publishConfig: {
2298
- access: "public"
2299
- }
2300
- };
2187
+ var package_default = { name: "@storm-software/pnpm-tools", version: "0.7.43", private: false, description: "A set of [pnpm](https://pnpm.io/) plugins and utilities for managing workspace packages/dependencies.", repository: { type: "github", url: "https://github.com/storm-software/storm-ops", directory: "packages/pnpm-tools" }, type: "module", exports: { "./package.json": "./package.json", "./index": { import: { types: "./dist/index.d.ts", default: "./dist/index.js" }, require: { types: "./dist/index.d.cts", default: "./dist/index.cjs" }, default: { types: "./dist/index.d.ts", default: "./dist/index.js" } }, ".": { import: { types: "./dist/index.d.ts", default: "./dist/index.js" }, require: { types: "./dist/index.d.cts", default: "./dist/index.cjs" }, default: { types: "./dist/index.d.ts", default: "./dist/index.js" } }, "./types": { import: { types: "./dist/types.d.ts", default: "./dist/types.js" }, require: { types: "./dist/types.d.cts", default: "./dist/types.cjs" }, default: { types: "./dist/types.d.ts", default: "./dist/types.js" } }, "./helpers": { import: { types: "./dist/helpers/index.d.ts", default: "./dist/helpers/index.js" }, require: { types: "./dist/helpers/index.d.cts", default: "./dist/helpers/index.cjs" }, default: { types: "./dist/helpers/index.d.ts", default: "./dist/helpers/index.js" } }, "./helpers/*": { import: { types: "./dist/helpers/*.d.ts", default: "./dist/helpers/*.js" }, require: { types: "./dist/helpers/*.d.cts", default: "./dist/helpers/*.cjs" }, default: { types: "./dist/helpers/*.d.ts", default: "./dist/helpers/*.js" } } }, main: "./dist/index.cjs", module: "./dist/index.js", types: "./dist/index.d.ts", bin: { "storm-pnpm": "./bin/pnpm.js", "storm-pnpm-cjs": "./bin/pnpm.cjs", "storm-pnpm-esm": "./bin/pnpm.js" }, dependencies: { "@storm-software/config": "workspace:*", "@storm-software/config-tools": "workspace:*", "@storm-software/npm-tools": "workspace:*", "@storm-software/package-constants": "workspace:*", chalk: "catalog:", commander: "catalog:", defu: "catalog:", prettier: "catalog:", "prettier-plugin-packagejson": "catalog:", semver: "catalog:", yaml: "catalog:" }, devDependencies: { "@pnpm/types": "catalog:", "@types/node": "catalog:", tsup: "catalog:" }, publishConfig: { access: "public" } };
2301
2188
 
2302
2189
  // ../npm-tools/src/constants.ts
2303
2190
  var LATEST_NPM_TAG = "latest";
@@ -2328,7 +2215,7 @@ async function getVersion(packageName, tag = DEFAULT_NPM_TAG, options = {}) {
2328
2215
  const registry2 = options.registry || await getRegistry(executable);
2329
2216
  return new Promise((resolve, reject) => {
2330
2217
  (0, import_node_child_process3.exec)(
2331
- `${executable} view ${packageName} version --registry=${registry2} --tag=${tag}`,
2218
+ `${executable} view ${packageName} version --registry=${registry2}`,
2332
2219
  (error, stdout, stderr) => {
2333
2220
  if (error && !error.message.toLowerCase().trim().startsWith("npm warn")) {
2334
2221
  return reject(error);
package/bin/pnpm.js CHANGED
@@ -2162,120 +2162,7 @@ import chalk2 from "chalk";
2162
2162
  import { Command } from "commander";
2163
2163
 
2164
2164
  // package.json
2165
- var package_default = {
2166
- name: "@storm-software/pnpm-tools",
2167
- version: "0.7.42",
2168
- private: false,
2169
- description: "A set of [pnpm](https://pnpm.io/) plugins and utilities for managing workspace packages/dependencies.",
2170
- repository: {
2171
- type: "github",
2172
- url: "https://github.com/storm-software/storm-ops",
2173
- directory: "packages/pnpm-tools"
2174
- },
2175
- type: "module",
2176
- exports: {
2177
- "./package.json": "./package.json",
2178
- "./index": {
2179
- import: {
2180
- types: "./dist/index.d.ts",
2181
- default: "./dist/index.js"
2182
- },
2183
- require: {
2184
- types: "./dist/index.d.cts",
2185
- default: "./dist/index.cjs"
2186
- },
2187
- default: {
2188
- types: "./dist/index.d.ts",
2189
- default: "./dist/index.js"
2190
- }
2191
- },
2192
- ".": {
2193
- import: {
2194
- types: "./dist/index.d.ts",
2195
- default: "./dist/index.js"
2196
- },
2197
- require: {
2198
- types: "./dist/index.d.cts",
2199
- default: "./dist/index.cjs"
2200
- },
2201
- default: {
2202
- types: "./dist/index.d.ts",
2203
- default: "./dist/index.js"
2204
- }
2205
- },
2206
- "./types": {
2207
- import: {
2208
- types: "./dist/types.d.ts",
2209
- default: "./dist/types.js"
2210
- },
2211
- require: {
2212
- types: "./dist/types.d.cts",
2213
- default: "./dist/types.cjs"
2214
- },
2215
- default: {
2216
- types: "./dist/types.d.ts",
2217
- default: "./dist/types.js"
2218
- }
2219
- },
2220
- "./helpers": {
2221
- import: {
2222
- types: "./dist/helpers/index.d.ts",
2223
- default: "./dist/helpers/index.js"
2224
- },
2225
- require: {
2226
- types: "./dist/helpers/index.d.cts",
2227
- default: "./dist/helpers/index.cjs"
2228
- },
2229
- default: {
2230
- types: "./dist/helpers/index.d.ts",
2231
- default: "./dist/helpers/index.js"
2232
- }
2233
- },
2234
- "./helpers/*": {
2235
- import: {
2236
- types: "./dist/helpers/*.d.ts",
2237
- default: "./dist/helpers/*.js"
2238
- },
2239
- require: {
2240
- types: "./dist/helpers/*.d.cts",
2241
- default: "./dist/helpers/*.cjs"
2242
- },
2243
- default: {
2244
- types: "./dist/helpers/*.d.ts",
2245
- default: "./dist/helpers/*.js"
2246
- }
2247
- }
2248
- },
2249
- main: "./dist/index.cjs",
2250
- module: "./dist/index.js",
2251
- types: "./dist/index.d.ts",
2252
- bin: {
2253
- "storm-pnpm": "./bin/pnpm.js",
2254
- "storm-pnpm-cjs": "./bin/pnpm.cjs",
2255
- "storm-pnpm-esm": "./bin/pnpm.js"
2256
- },
2257
- dependencies: {
2258
- "@storm-software/config": "workspace:*",
2259
- "@storm-software/config-tools": "workspace:*",
2260
- "@storm-software/npm-tools": "workspace:*",
2261
- "@storm-software/package-constants": "workspace:*",
2262
- chalk: "catalog:",
2263
- commander: "catalog:",
2264
- defu: "catalog:",
2265
- prettier: "catalog:",
2266
- "prettier-plugin-packagejson": "catalog:",
2267
- semver: "catalog:",
2268
- yaml: "catalog:"
2269
- },
2270
- devDependencies: {
2271
- "@pnpm/types": "catalog:",
2272
- "@types/node": "catalog:",
2273
- tsup: "catalog:"
2274
- },
2275
- publishConfig: {
2276
- access: "public"
2277
- }
2278
- };
2165
+ var package_default = { name: "@storm-software/pnpm-tools", version: "0.7.43", private: false, description: "A set of [pnpm](https://pnpm.io/) plugins and utilities for managing workspace packages/dependencies.", repository: { type: "github", url: "https://github.com/storm-software/storm-ops", directory: "packages/pnpm-tools" }, type: "module", exports: { "./package.json": "./package.json", "./index": { import: { types: "./dist/index.d.ts", default: "./dist/index.js" }, require: { types: "./dist/index.d.cts", default: "./dist/index.cjs" }, default: { types: "./dist/index.d.ts", default: "./dist/index.js" } }, ".": { import: { types: "./dist/index.d.ts", default: "./dist/index.js" }, require: { types: "./dist/index.d.cts", default: "./dist/index.cjs" }, default: { types: "./dist/index.d.ts", default: "./dist/index.js" } }, "./types": { import: { types: "./dist/types.d.ts", default: "./dist/types.js" }, require: { types: "./dist/types.d.cts", default: "./dist/types.cjs" }, default: { types: "./dist/types.d.ts", default: "./dist/types.js" } }, "./helpers": { import: { types: "./dist/helpers/index.d.ts", default: "./dist/helpers/index.js" }, require: { types: "./dist/helpers/index.d.cts", default: "./dist/helpers/index.cjs" }, default: { types: "./dist/helpers/index.d.ts", default: "./dist/helpers/index.js" } }, "./helpers/*": { import: { types: "./dist/helpers/*.d.ts", default: "./dist/helpers/*.js" }, require: { types: "./dist/helpers/*.d.cts", default: "./dist/helpers/*.cjs" }, default: { types: "./dist/helpers/*.d.ts", default: "./dist/helpers/*.js" } } }, main: "./dist/index.cjs", module: "./dist/index.js", types: "./dist/index.d.ts", bin: { "storm-pnpm": "./bin/pnpm.js", "storm-pnpm-cjs": "./bin/pnpm.cjs", "storm-pnpm-esm": "./bin/pnpm.js" }, dependencies: { "@storm-software/config": "workspace:*", "@storm-software/config-tools": "workspace:*", "@storm-software/npm-tools": "workspace:*", "@storm-software/package-constants": "workspace:*", chalk: "catalog:", commander: "catalog:", defu: "catalog:", prettier: "catalog:", "prettier-plugin-packagejson": "catalog:", semver: "catalog:", yaml: "catalog:" }, devDependencies: { "@pnpm/types": "catalog:", "@types/node": "catalog:", tsup: "catalog:" }, publishConfig: { access: "public" } };
2279
2166
 
2280
2167
  // ../npm-tools/src/constants.ts
2281
2168
  var LATEST_NPM_TAG = "latest";
@@ -2306,7 +2193,7 @@ async function getVersion(packageName, tag = DEFAULT_NPM_TAG, options = {}) {
2306
2193
  const registry2 = options.registry || await getRegistry(executable);
2307
2194
  return new Promise((resolve, reject) => {
2308
2195
  exec3(
2309
- `${executable} view ${packageName} version --registry=${registry2} --tag=${tag}`,
2196
+ `${executable} view ${packageName} version --registry=${registry2}`,
2310
2197
  (error, stdout, stderr) => {
2311
2198
  if (error && !error.message.toLowerCase().trim().startsWith("npm warn")) {
2312
2199
  return reject(error);
@@ -1,2 +1,2 @@
1
- import {h as h$1,e,i,f,c,b,a}from'./chunk-X6Z2J5WF.js';import {exec}from'node:child_process';import {valid,coerce,gt}from'semver';var _="latest";var l=_;async function h(t="npm"){return new Promise((r,e)=>{exec(`${t} config get registry`,(o,g,s)=>o&&!o.message.toLowerCase().trim().startsWith("npm warn")?e(o):s&&!s.toLowerCase().trim().startsWith("npm warn")?e(s):r(g.trim()));})}async function R(t,r=l,e={}){let o=e.executable||"npm",g=e.registry||await h(o);return new Promise((s,a)=>{exec(`${o} view ${t} version --registry=${g} --tag=${r}`,(n,c,i)=>n&&!n.message.toLowerCase().trim().startsWith("npm warn")?a(n):i&&!i.toLowerCase().trim().startsWith("npm warn")?a(i):s(c.trim()));})}async function C(t=e(process.cwd())){let r=await h$1(t);if(!r)throw new Error("No pnpm-workspace.yaml file found");if(r?.catalog)return Object.fromEntries(Object.entries(r.catalog).map(([e,o])=>[e,o.replaceAll('"',"").replaceAll("'","")]));console.warn(`No catalog found in pnpm-workspace.yaml file located in workspace root: ${t}
1
+ import {h as h$1,e,i,f,c,b,a}from'./chunk-X6Z2J5WF.js';import {exec}from'node:child_process';import {valid,coerce,gt}from'semver';var $="latest";var l=$;async function h(t="npm"){return new Promise((r,e)=>{exec(`${t} config get registry`,(o,g,s)=>o&&!o.message.toLowerCase().trim().startsWith("npm warn")?e(o):s&&!s.toLowerCase().trim().startsWith("npm warn")?e(s):r(g.trim()));})}async function R(t,r=l,e={}){let o=e.executable||"npm",g=e.registry||await h(o);return new Promise((s,a)=>{exec(`${o} view ${t} version --registry=${g}`,(n,c,i)=>n&&!n.message.toLowerCase().trim().startsWith("npm warn")?a(n):i&&!i.toLowerCase().trim().startsWith("npm warn")?a(i):s(c.trim()));})}async function C(t=e(process.cwd())){let r=await h$1(t);if(!r)throw new Error("No pnpm-workspace.yaml file found");if(r?.catalog)return Object.fromEntries(Object.entries(r.catalog).map(([e,o])=>[e,o.replaceAll('"',"").replaceAll("'","")]));console.warn(`No catalog found in pnpm-workspace.yaml file located in workspace root: ${t}
2
2
  File content: ${JSON.stringify(r,null,2)}`);}async function M(t=e(process.cwd())){let r=await C(t);if(!r)throw new Error("No catalog entries found in pnpm-workspace.yaml file");return r}async function I(t,r=e(process.cwd())){let e=await h$1(r);if(!e)throw new Error("No pnpm-workspace.yaml file found");e.catalog=Object.fromEntries(Object.entries(t).map(([o,g])=>[o,g.replaceAll('"',"").replaceAll("'","")])),await i(e,r);}async function Z(t,r,e$1={}){let{tag:o=l,prefix:g="^",workspaceRoot:s=e()}=e$1,a=await f(true,{workspaceRoot:s});c(`Upgrading catalog entry for package "${r}" with tag "${o}"`,a);let n=await R(r,o,{executable:"pnpm"}),c$1=`${g||""}${n.replace(/^[\^~><=*]+/g,"")}`,i=false;return !valid(coerce(t[r]))||coerce(t[r])&&coerce(c$1)&&gt(coerce(c$1),coerce(t[r]))?(t[r]=`${g||""}${c$1.replace(/^[\^~><=*]+/g,"")}`,b(`Writing version ${t[r]} to catalog for "${r}" package`,a),i=true):b(`The current version ${t[r]} for package "${r}" is greater than or equal to the version ${c$1} fetched from the npm registry with tag "${o}". No update performed.`,a),{catalog:t,updated:i}}async function tt(t,r={}){let{tag:e$1=l,prefix:o="^",throwIfMissingInCatalog:g=false,workspaceRoot:s=e()}=r,a$1=await f(true,{workspaceRoot:s}),n=await M(s);if(!n)throw new Error("No catalog found");if(g===true&&!n[t])throw new Error(`Package "${t}" not found in catalog: ${JSON.stringify(n,null,2)}`);c(`Upgrading catalog entry for package "${t}" with tag "${e$1}"`,a$1);let c$1=await R(t,e$1,{executable:"pnpm"}),i=`${o||""}${c$1.replace(/^[\^~><=*]+/g,"")}`;i===n[t]?c(`The version for package "${t}" is already up to date in the catalog: ${i}`,a$1):!valid(coerce(n[t]))||coerce(n[t])&&coerce(i)&&gt(coerce(i),coerce(n[t]))?(n[t]=`${o||""}${i.replace(/^[\^~><=*]+/g,"")}`,b(`Writing version ${n[t]} to catalog for "${t}" package`,a$1),await I(n,s)):a(`The current version "${n[t]}" for package "${t}" is greater than or equal to the version "${i}" fetched from the npm registry with tag "${e$1}". No update performed.`,a$1);}export{C as a,M as b,I as c,Z as d,tt as e};
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkS3A75EM5_cjs=require('./chunk-S3A75EM5.cjs'),child_process=require('child_process'),semver=require('semver');var x="latest";var l=x;async function _(t="npm"){return new Promise((r,e)=>{child_process.exec(`${t} config get registry`,(o,g,s)=>o&&!o.message.toLowerCase().trim().startsWith("npm warn")?e(o):s&&!s.toLowerCase().trim().startsWith("npm warn")?e(s):r(g.trim()));})}async function y(t,r=l,e={}){let o=e.executable||"npm",g=e.registry||await _(o);return new Promise((s,a)=>{child_process.exec(`${o} view ${t} version --registry=${g} --tag=${r}`,(n,c,i)=>n&&!n.message.toLowerCase().trim().startsWith("npm warn")?a(n):i&&!i.toLowerCase().trim().startsWith("npm warn")?a(i):s(c.trim()));})}async function G(t=chunkS3A75EM5_cjs.e(process.cwd())){let r=await chunkS3A75EM5_cjs.h(t);if(!r)throw new Error("No pnpm-workspace.yaml file found");if(r?.catalog)return Object.fromEntries(Object.entries(r.catalog).map(([e,o])=>[e,o.replaceAll('"',"").replaceAll("'","")]));console.warn(`No catalog found in pnpm-workspace.yaml file located in workspace root: ${t}
1
+ 'use strict';var chunkS3A75EM5_cjs=require('./chunk-S3A75EM5.cjs'),child_process=require('child_process'),semver=require('semver');var _="latest";var l=_;async function $(t="npm"){return new Promise((r,e)=>{child_process.exec(`${t} config get registry`,(o,g,s)=>o&&!o.message.toLowerCase().trim().startsWith("npm warn")?e(o):s&&!s.toLowerCase().trim().startsWith("npm warn")?e(s):r(g.trim()));})}async function y(t,r=l,e={}){let o=e.executable||"npm",g=e.registry||await $(o);return new Promise((s,a)=>{child_process.exec(`${o} view ${t} version --registry=${g}`,(n,c,i)=>n&&!n.message.toLowerCase().trim().startsWith("npm warn")?a(n):i&&!i.toLowerCase().trim().startsWith("npm warn")?a(i):s(c.trim()));})}async function G(t=chunkS3A75EM5_cjs.e(process.cwd())){let r=await chunkS3A75EM5_cjs.h(t);if(!r)throw new Error("No pnpm-workspace.yaml file found");if(r?.catalog)return Object.fromEntries(Object.entries(r.catalog).map(([e,o])=>[e,o.replaceAll('"',"").replaceAll("'","")]));console.warn(`No catalog found in pnpm-workspace.yaml file located in workspace root: ${t}
2
2
  File content: ${JSON.stringify(r,null,2)}`);}async function C(t=chunkS3A75EM5_cjs.e(process.cwd())){let r=await G(t);if(!r)throw new Error("No catalog entries found in pnpm-workspace.yaml file");return r}async function M(t,r=chunkS3A75EM5_cjs.e(process.cwd())){let e=await chunkS3A75EM5_cjs.h(r);if(!e)throw new Error("No pnpm-workspace.yaml file found");e.catalog=Object.fromEntries(Object.entries(t).map(([o,g])=>[o,g.replaceAll('"',"").replaceAll("'","")])),await chunkS3A75EM5_cjs.i(e,r);}async function Q(t,r,e={}){let{tag:o=l,prefix:g="^",workspaceRoot:s=chunkS3A75EM5_cjs.e()}=e,a=await chunkS3A75EM5_cjs.f(true,{workspaceRoot:s});chunkS3A75EM5_cjs.c(`Upgrading catalog entry for package "${r}" with tag "${o}"`,a);let n=await y(r,o,{executable:"pnpm"}),c=`${g||""}${n.replace(/^[\^~><=*]+/g,"")}`,i=false;return !semver.valid(semver.coerce(t[r]))||semver.coerce(t[r])&&semver.coerce(c)&&semver.gt(semver.coerce(c),semver.coerce(t[r]))?(t[r]=`${g||""}${c.replace(/^[\^~><=*]+/g,"")}`,chunkS3A75EM5_cjs.b(`Writing version ${t[r]} to catalog for "${r}" package`,a),i=true):chunkS3A75EM5_cjs.b(`The current version ${t[r]} for package "${r}" is greater than or equal to the version ${c} fetched from the npm registry with tag "${o}". No update performed.`,a),{catalog:t,updated:i}}async function Z(t,r={}){let{tag:e=l,prefix:o="^",throwIfMissingInCatalog:g=false,workspaceRoot:s=chunkS3A75EM5_cjs.e()}=r,a=await chunkS3A75EM5_cjs.f(true,{workspaceRoot:s}),n=await C(s);if(!n)throw new Error("No catalog found");if(g===true&&!n[t])throw new Error(`Package "${t}" not found in catalog: ${JSON.stringify(n,null,2)}`);chunkS3A75EM5_cjs.c(`Upgrading catalog entry for package "${t}" with tag "${e}"`,a);let c=await y(t,e,{executable:"pnpm"}),i=`${o||""}${c.replace(/^[\^~><=*]+/g,"")}`;i===n[t]?chunkS3A75EM5_cjs.c(`The version for package "${t}" is already up to date in the catalog: ${i}`,a):!semver.valid(semver.coerce(n[t]))||semver.coerce(n[t])&&semver.coerce(i)&&semver.gt(semver.coerce(i),semver.coerce(n[t]))?(n[t]=`${o||""}${i.replace(/^[\^~><=*]+/g,"")}`,chunkS3A75EM5_cjs.b(`Writing version ${n[t]} to catalog for "${t}" package`,a),await M(n,s)):chunkS3A75EM5_cjs.a(`The current version "${n[t]}" for package "${t}" is greater than or equal to the version "${i}" fetched from the npm registry with tag "${e}". No update performed.`,a);}exports.a=G;exports.b=C;exports.c=M;exports.d=Q;exports.e=Z;
@@ -1 +1 @@
1
- 'use strict';var chunk32NPTONF_cjs=require('./chunk-32NPTONF.cjs'),chunkS3A75EM5_cjs=require('./chunk-S3A75EM5.cjs'),devkit=require('@nx/devkit'),fs=require('fs'),promises=require('fs/promises'),prettier=require('prettier');async function C(c=process.cwd(),i=chunkS3A75EM5_cjs.e(c)){let l=chunkS3A75EM5_cjs.d(c,"package.json"),m=await promises.readFile(l,"utf8");if(!m)throw new Error("No package.json file found in package root: "+c);let p=await chunk32NPTONF_cjs.b(i),a=JSON.parse(m),g=chunkS3A75EM5_cjs.d(i,"pnpm-workspace.yaml");if(!fs.existsSync(g))return console.warn(`No \`pnpm-workspace.yaml\` file found in workspace root (searching in: ${g}). Skipping pnpm catalog read for now.`),a;if(!p){console.warn("No pnpm catalog found. Skipping dependencies replacement for now.");return}for(let r of ["dependencies","devDependencies","peerDependencies"]){let o=a[r];if(o){for(let e of Object.keys(o))if(o[e]==="catalog:"){if(!p)throw new Error(`Dependency ${e} is marked as \`catalog:\`, but no catalog exists in the workspace root's \`pnpm-workspace.yaml\` file.`);let t=p[e];if(!t)throw new Error("Missing pnpm catalog version for "+e);o[e]=t;}else if(o[e].startsWith("catalog:"))throw new Error("multiple named catalogs not supported")}}let n;try{n=devkit.readCachedProjectGraph();}catch{await devkit.createProjectGraphAsync(),n=devkit.readCachedProjectGraph();}let d={};n&&await Promise.all(Object.keys(n.nodes).map(async r=>{let o=n.nodes[r];if(o?.data.root){let e=chunkS3A75EM5_cjs.d(i,o.data.root,"package.json");if(fs.existsSync(e)){let t=await promises.readFile(e,"utf8"),f=JSON.parse(t);f.private!==true&&(d[f.name]=f.version);}}}));for(let r of ["dependencies","devDependencies","peerDependencies"]){let o=a[r];if(o){for(let e of Object.keys(o))if(o[e].startsWith("workspace:"))if(d[e])o[e]=`^${d[e]}`;else throw new Error(`Workspace dependency ${e} not found in workspace packages.`)}}return promises.writeFile(l,await prettier.format(JSON.stringify(a),{parser:"json",proseWrap:"preserve",trailingComma:"none",tabWidth:2,semi:true,singleQuote:false,quoteProps:"as-needed",insertPragma:false,bracketSameLine:true,printWidth:80,bracketSpacing:true,arrowParens:"avoid",endOfLine:"lf",plugins:["prettier-plugin-packagejson"]}))}exports.a=C;
1
+ 'use strict';var chunkL2TL6LEW_cjs=require('./chunk-L2TL6LEW.cjs'),chunkS3A75EM5_cjs=require('./chunk-S3A75EM5.cjs'),devkit=require('@nx/devkit'),fs=require('fs'),promises=require('fs/promises'),prettier=require('prettier');async function C(c=process.cwd(),i=chunkS3A75EM5_cjs.e(c)){let l=chunkS3A75EM5_cjs.d(c,"package.json"),m=await promises.readFile(l,"utf8");if(!m)throw new Error("No package.json file found in package root: "+c);let p=await chunkL2TL6LEW_cjs.b(i),a=JSON.parse(m),g=chunkS3A75EM5_cjs.d(i,"pnpm-workspace.yaml");if(!fs.existsSync(g))return console.warn(`No \`pnpm-workspace.yaml\` file found in workspace root (searching in: ${g}). Skipping pnpm catalog read for now.`),a;if(!p){console.warn("No pnpm catalog found. Skipping dependencies replacement for now.");return}for(let r of ["dependencies","devDependencies","peerDependencies"]){let o=a[r];if(o){for(let e of Object.keys(o))if(o[e]==="catalog:"){if(!p)throw new Error(`Dependency ${e} is marked as \`catalog:\`, but no catalog exists in the workspace root's \`pnpm-workspace.yaml\` file.`);let t=p[e];if(!t)throw new Error("Missing pnpm catalog version for "+e);o[e]=t;}else if(o[e].startsWith("catalog:"))throw new Error("multiple named catalogs not supported")}}let n;try{n=devkit.readCachedProjectGraph();}catch{await devkit.createProjectGraphAsync(),n=devkit.readCachedProjectGraph();}let d={};n&&await Promise.all(Object.keys(n.nodes).map(async r=>{let o=n.nodes[r];if(o?.data.root){let e=chunkS3A75EM5_cjs.d(i,o.data.root,"package.json");if(fs.existsSync(e)){let t=await promises.readFile(e,"utf8"),f=JSON.parse(t);f.private!==true&&(d[f.name]=f.version);}}}));for(let r of ["dependencies","devDependencies","peerDependencies"]){let o=a[r];if(o){for(let e of Object.keys(o))if(o[e].startsWith("workspace:"))if(d[e])o[e]=`^${d[e]}`;else throw new Error(`Workspace dependency ${e} not found in workspace packages.`)}}return promises.writeFile(l,await prettier.format(JSON.stringify(a),{parser:"json",proseWrap:"preserve",trailingComma:"none",tabWidth:2,semi:true,singleQuote:false,quoteProps:"as-needed",insertPragma:false,bracketSameLine:true,printWidth:80,bracketSpacing:true,arrowParens:"avoid",endOfLine:"lf",plugins:["prettier-plugin-packagejson"]}))}exports.a=C;
@@ -1 +1 @@
1
- import {b}from'./chunk-KNAKBE3A.js';import {d,e}from'./chunk-X6Z2J5WF.js';import {readCachedProjectGraph,createProjectGraphAsync}from'@nx/devkit';import {existsSync}from'node:fs';import {readFile,writeFile}from'node:fs/promises';import {format}from'prettier';async function $(c=process.cwd(),i=e(c)){let l=d(c,"package.json"),m=await readFile(l,"utf8");if(!m)throw new Error("No package.json file found in package root: "+c);let p=await b(i),a=JSON.parse(m),g=d(i,"pnpm-workspace.yaml");if(!existsSync(g))return console.warn(`No \`pnpm-workspace.yaml\` file found in workspace root (searching in: ${g}). Skipping pnpm catalog read for now.`),a;if(!p){console.warn("No pnpm catalog found. Skipping dependencies replacement for now.");return}for(let r of ["dependencies","devDependencies","peerDependencies"]){let o=a[r];if(o){for(let e of Object.keys(o))if(o[e]==="catalog:"){if(!p)throw new Error(`Dependency ${e} is marked as \`catalog:\`, but no catalog exists in the workspace root's \`pnpm-workspace.yaml\` file.`);let t=p[e];if(!t)throw new Error("Missing pnpm catalog version for "+e);o[e]=t;}else if(o[e].startsWith("catalog:"))throw new Error("multiple named catalogs not supported")}}let n;try{n=readCachedProjectGraph();}catch{await createProjectGraphAsync(),n=readCachedProjectGraph();}let d$1={};n&&await Promise.all(Object.keys(n.nodes).map(async r=>{let o=n.nodes[r];if(o?.data.root){let e=d(i,o.data.root,"package.json");if(existsSync(e)){let t=await readFile(e,"utf8"),f=JSON.parse(t);f.private!==true&&(d$1[f.name]=f.version);}}}));for(let r of ["dependencies","devDependencies","peerDependencies"]){let o=a[r];if(o){for(let e of Object.keys(o))if(o[e].startsWith("workspace:"))if(d$1[e])o[e]=`^${d$1[e]}`;else throw new Error(`Workspace dependency ${e} not found in workspace packages.`)}}return writeFile(l,await format(JSON.stringify(a),{parser:"json",proseWrap:"preserve",trailingComma:"none",tabWidth:2,semi:true,singleQuote:false,quoteProps:"as-needed",insertPragma:false,bracketSameLine:true,printWidth:80,bracketSpacing:true,arrowParens:"avoid",endOfLine:"lf",plugins:["prettier-plugin-packagejson"]}))}export{$ as a};
1
+ import {b}from'./chunk-I7B2BT4Q.js';import {d,e}from'./chunk-X6Z2J5WF.js';import {readCachedProjectGraph,createProjectGraphAsync}from'@nx/devkit';import {existsSync}from'node:fs';import {readFile,writeFile}from'node:fs/promises';import {format}from'prettier';async function $(c=process.cwd(),i=e(c)){let l=d(c,"package.json"),m=await readFile(l,"utf8");if(!m)throw new Error("No package.json file found in package root: "+c);let p=await b(i),a=JSON.parse(m),g=d(i,"pnpm-workspace.yaml");if(!existsSync(g))return console.warn(`No \`pnpm-workspace.yaml\` file found in workspace root (searching in: ${g}). Skipping pnpm catalog read for now.`),a;if(!p){console.warn("No pnpm catalog found. Skipping dependencies replacement for now.");return}for(let r of ["dependencies","devDependencies","peerDependencies"]){let o=a[r];if(o){for(let e of Object.keys(o))if(o[e]==="catalog:"){if(!p)throw new Error(`Dependency ${e} is marked as \`catalog:\`, but no catalog exists in the workspace root's \`pnpm-workspace.yaml\` file.`);let t=p[e];if(!t)throw new Error("Missing pnpm catalog version for "+e);o[e]=t;}else if(o[e].startsWith("catalog:"))throw new Error("multiple named catalogs not supported")}}let n;try{n=readCachedProjectGraph();}catch{await createProjectGraphAsync(),n=readCachedProjectGraph();}let d$1={};n&&await Promise.all(Object.keys(n.nodes).map(async r=>{let o=n.nodes[r];if(o?.data.root){let e=d(i,o.data.root,"package.json");if(existsSync(e)){let t=await readFile(e,"utf8"),f=JSON.parse(t);f.private!==true&&(d$1[f.name]=f.version);}}}));for(let r of ["dependencies","devDependencies","peerDependencies"]){let o=a[r];if(o){for(let e of Object.keys(o))if(o[e].startsWith("workspace:"))if(d$1[e])o[e]=`^${d$1[e]}`;else throw new Error(`Workspace dependency ${e} not found in workspace packages.`)}}return writeFile(l,await format(JSON.stringify(a),{parser:"json",proseWrap:"preserve",trailingComma:"none",tabWidth:2,semi:true,singleQuote:false,quoteProps:"as-needed",insertPragma:false,bracketSameLine:true,printWidth:80,bracketSpacing:true,arrowParens:"avoid",endOfLine:"lf",plugins:["prettier-plugin-packagejson"]}))}export{$ as a};
@@ -1 +1 @@
1
- 'use strict';var chunk32NPTONF_cjs=require('../chunk-32NPTONF.cjs');require('../chunk-S3A75EM5.cjs');Object.defineProperty(exports,"getCatalog",{enumerable:true,get:function(){return chunk32NPTONF_cjs.b}});Object.defineProperty(exports,"getCatalogSafe",{enumerable:true,get:function(){return chunk32NPTONF_cjs.a}});Object.defineProperty(exports,"saveCatalog",{enumerable:true,get:function(){return chunk32NPTONF_cjs.e}});Object.defineProperty(exports,"setCatalog",{enumerable:true,get:function(){return chunk32NPTONF_cjs.c}});Object.defineProperty(exports,"upgradeCatalog",{enumerable:true,get:function(){return chunk32NPTONF_cjs.d}});
1
+ 'use strict';var chunkL2TL6LEW_cjs=require('../chunk-L2TL6LEW.cjs');require('../chunk-S3A75EM5.cjs');Object.defineProperty(exports,"getCatalog",{enumerable:true,get:function(){return chunkL2TL6LEW_cjs.b}});Object.defineProperty(exports,"getCatalogSafe",{enumerable:true,get:function(){return chunkL2TL6LEW_cjs.a}});Object.defineProperty(exports,"saveCatalog",{enumerable:true,get:function(){return chunkL2TL6LEW_cjs.e}});Object.defineProperty(exports,"setCatalog",{enumerable:true,get:function(){return chunkL2TL6LEW_cjs.c}});Object.defineProperty(exports,"upgradeCatalog",{enumerable:true,get:function(){return chunkL2TL6LEW_cjs.d}});
@@ -1 +1 @@
1
- export{b as getCatalog,a as getCatalogSafe,e as saveCatalog,c as setCatalog,d as upgradeCatalog}from'../chunk-KNAKBE3A.js';import'../chunk-X6Z2J5WF.js';
1
+ export{b as getCatalog,a as getCatalogSafe,e as saveCatalog,c as setCatalog,d as upgradeCatalog}from'../chunk-I7B2BT4Q.js';import'../chunk-X6Z2J5WF.js';
@@ -1 +1 @@
1
- 'use strict';require('../chunk-QNTSKZUU.cjs');var chunkGJLDE2U3_cjs=require('../chunk-GJLDE2U3.cjs'),chunk32NPTONF_cjs=require('../chunk-32NPTONF.cjs'),chunkS3A75EM5_cjs=require('../chunk-S3A75EM5.cjs');Object.defineProperty(exports,"replaceDepsAliases",{enumerable:true,get:function(){return chunkGJLDE2U3_cjs.a}});Object.defineProperty(exports,"getCatalog",{enumerable:true,get:function(){return chunk32NPTONF_cjs.b}});Object.defineProperty(exports,"getCatalogSafe",{enumerable:true,get:function(){return chunk32NPTONF_cjs.a}});Object.defineProperty(exports,"saveCatalog",{enumerable:true,get:function(){return chunk32NPTONF_cjs.e}});Object.defineProperty(exports,"setCatalog",{enumerable:true,get:function(){return chunk32NPTONF_cjs.c}});Object.defineProperty(exports,"upgradeCatalog",{enumerable:true,get:function(){return chunk32NPTONF_cjs.d}});Object.defineProperty(exports,"getPnpmWorkspaceFilePath",{enumerable:true,get:function(){return chunkS3A75EM5_cjs.g}});Object.defineProperty(exports,"readPnpmWorkspaceFile",{enumerable:true,get:function(){return chunkS3A75EM5_cjs.h}});Object.defineProperty(exports,"writePnpmWorkspaceFile",{enumerable:true,get:function(){return chunkS3A75EM5_cjs.i}});
1
+ 'use strict';require('../chunk-QNTSKZUU.cjs');var chunkNB6FQHHB_cjs=require('../chunk-NB6FQHHB.cjs'),chunkL2TL6LEW_cjs=require('../chunk-L2TL6LEW.cjs'),chunkS3A75EM5_cjs=require('../chunk-S3A75EM5.cjs');Object.defineProperty(exports,"replaceDepsAliases",{enumerable:true,get:function(){return chunkNB6FQHHB_cjs.a}});Object.defineProperty(exports,"getCatalog",{enumerable:true,get:function(){return chunkL2TL6LEW_cjs.b}});Object.defineProperty(exports,"getCatalogSafe",{enumerable:true,get:function(){return chunkL2TL6LEW_cjs.a}});Object.defineProperty(exports,"saveCatalog",{enumerable:true,get:function(){return chunkL2TL6LEW_cjs.e}});Object.defineProperty(exports,"setCatalog",{enumerable:true,get:function(){return chunkL2TL6LEW_cjs.c}});Object.defineProperty(exports,"upgradeCatalog",{enumerable:true,get:function(){return chunkL2TL6LEW_cjs.d}});Object.defineProperty(exports,"getPnpmWorkspaceFilePath",{enumerable:true,get:function(){return chunkS3A75EM5_cjs.g}});Object.defineProperty(exports,"readPnpmWorkspaceFile",{enumerable:true,get:function(){return chunkS3A75EM5_cjs.h}});Object.defineProperty(exports,"writePnpmWorkspaceFile",{enumerable:true,get:function(){return chunkS3A75EM5_cjs.i}});
@@ -1 +1 @@
1
- import'../chunk-GV6YH6UO.js';export{a as replaceDepsAliases}from'../chunk-EJTJGABR.js';export{b as getCatalog,a as getCatalogSafe,e as saveCatalog,c as setCatalog,d as upgradeCatalog}from'../chunk-KNAKBE3A.js';export{g as getPnpmWorkspaceFilePath,h as readPnpmWorkspaceFile,i as writePnpmWorkspaceFile}from'../chunk-X6Z2J5WF.js';
1
+ import'../chunk-GV6YH6UO.js';export{a as replaceDepsAliases}from'../chunk-UI74C5PN.js';export{b as getCatalog,a as getCatalogSafe,e as saveCatalog,c as setCatalog,d as upgradeCatalog}from'../chunk-I7B2BT4Q.js';export{g as getPnpmWorkspaceFilePath,h as readPnpmWorkspaceFile,i as writePnpmWorkspaceFile}from'../chunk-X6Z2J5WF.js';
@@ -1 +1 @@
1
- 'use strict';var chunkGJLDE2U3_cjs=require('../chunk-GJLDE2U3.cjs');require('../chunk-32NPTONF.cjs'),require('../chunk-S3A75EM5.cjs');Object.defineProperty(exports,"replaceDepsAliases",{enumerable:true,get:function(){return chunkGJLDE2U3_cjs.a}});
1
+ 'use strict';var chunkNB6FQHHB_cjs=require('../chunk-NB6FQHHB.cjs');require('../chunk-L2TL6LEW.cjs'),require('../chunk-S3A75EM5.cjs');Object.defineProperty(exports,"replaceDepsAliases",{enumerable:true,get:function(){return chunkNB6FQHHB_cjs.a}});
@@ -1 +1 @@
1
- export{a as replaceDepsAliases}from'../chunk-EJTJGABR.js';import'../chunk-KNAKBE3A.js';import'../chunk-X6Z2J5WF.js';
1
+ export{a as replaceDepsAliases}from'../chunk-UI74C5PN.js';import'../chunk-I7B2BT4Q.js';import'../chunk-X6Z2J5WF.js';
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- 'use strict';require('./chunk-SFZRYJZ2.cjs'),require('./chunk-QNTSKZUU.cjs');var chunkGJLDE2U3_cjs=require('./chunk-GJLDE2U3.cjs'),chunk32NPTONF_cjs=require('./chunk-32NPTONF.cjs'),chunkS3A75EM5_cjs=require('./chunk-S3A75EM5.cjs');Object.defineProperty(exports,"replaceDepsAliases",{enumerable:true,get:function(){return chunkGJLDE2U3_cjs.a}});Object.defineProperty(exports,"getCatalog",{enumerable:true,get:function(){return chunk32NPTONF_cjs.b}});Object.defineProperty(exports,"getCatalogSafe",{enumerable:true,get:function(){return chunk32NPTONF_cjs.a}});Object.defineProperty(exports,"saveCatalog",{enumerable:true,get:function(){return chunk32NPTONF_cjs.e}});Object.defineProperty(exports,"setCatalog",{enumerable:true,get:function(){return chunk32NPTONF_cjs.c}});Object.defineProperty(exports,"upgradeCatalog",{enumerable:true,get:function(){return chunk32NPTONF_cjs.d}});Object.defineProperty(exports,"getPnpmWorkspaceFilePath",{enumerable:true,get:function(){return chunkS3A75EM5_cjs.g}});Object.defineProperty(exports,"readPnpmWorkspaceFile",{enumerable:true,get:function(){return chunkS3A75EM5_cjs.h}});Object.defineProperty(exports,"writePnpmWorkspaceFile",{enumerable:true,get:function(){return chunkS3A75EM5_cjs.i}});
1
+ 'use strict';require('./chunk-SFZRYJZ2.cjs'),require('./chunk-QNTSKZUU.cjs');var chunkNB6FQHHB_cjs=require('./chunk-NB6FQHHB.cjs'),chunkL2TL6LEW_cjs=require('./chunk-L2TL6LEW.cjs'),chunkS3A75EM5_cjs=require('./chunk-S3A75EM5.cjs');Object.defineProperty(exports,"replaceDepsAliases",{enumerable:true,get:function(){return chunkNB6FQHHB_cjs.a}});Object.defineProperty(exports,"getCatalog",{enumerable:true,get:function(){return chunkL2TL6LEW_cjs.b}});Object.defineProperty(exports,"getCatalogSafe",{enumerable:true,get:function(){return chunkL2TL6LEW_cjs.a}});Object.defineProperty(exports,"saveCatalog",{enumerable:true,get:function(){return chunkL2TL6LEW_cjs.e}});Object.defineProperty(exports,"setCatalog",{enumerable:true,get:function(){return chunkL2TL6LEW_cjs.c}});Object.defineProperty(exports,"upgradeCatalog",{enumerable:true,get:function(){return chunkL2TL6LEW_cjs.d}});Object.defineProperty(exports,"getPnpmWorkspaceFilePath",{enumerable:true,get:function(){return chunkS3A75EM5_cjs.g}});Object.defineProperty(exports,"readPnpmWorkspaceFile",{enumerable:true,get:function(){return chunkS3A75EM5_cjs.h}});Object.defineProperty(exports,"writePnpmWorkspaceFile",{enumerable:true,get:function(){return chunkS3A75EM5_cjs.i}});
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import'./chunk-GGNOJ77I.js';import'./chunk-GV6YH6UO.js';export{a as replaceDepsAliases}from'./chunk-EJTJGABR.js';export{b as getCatalog,a as getCatalogSafe,e as saveCatalog,c as setCatalog,d as upgradeCatalog}from'./chunk-KNAKBE3A.js';export{g as getPnpmWorkspaceFilePath,h as readPnpmWorkspaceFile,i as writePnpmWorkspaceFile}from'./chunk-X6Z2J5WF.js';
1
+ import'./chunk-GGNOJ77I.js';import'./chunk-GV6YH6UO.js';export{a as replaceDepsAliases}from'./chunk-UI74C5PN.js';export{b as getCatalog,a as getCatalogSafe,e as saveCatalog,c as setCatalog,d as upgradeCatalog}from'./chunk-I7B2BT4Q.js';export{g as getPnpmWorkspaceFilePath,h as readPnpmWorkspaceFile,i as writePnpmWorkspaceFile}from'./chunk-X6Z2J5WF.js';
package/package.json CHANGED
@@ -1,95 +1 @@
1
- {
2
- "name": "@storm-software/pnpm-tools",
3
- "version": "0.7.42",
4
- "private": false,
5
- "description": "A set of [pnpm](https://pnpm.io/) plugins and utilities for managing workspace packages/dependencies.",
6
- "repository": {
7
- "type": "github",
8
- "url": "https://github.com/storm-software/storm-ops",
9
- "directory": "packages/pnpm-tools"
10
- },
11
- "type": "module",
12
- "exports": {
13
- "./package.json": "./package.json",
14
- "./index": {
15
- "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
16
- "require": {
17
- "types": "./dist/index.d.cts",
18
- "default": "./dist/index.cjs"
19
- },
20
- "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
21
- },
22
- ".": {
23
- "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
24
- "require": {
25
- "types": "./dist/index.d.cts",
26
- "default": "./dist/index.cjs"
27
- },
28
- "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
29
- },
30
- "./types": {
31
- "import": { "types": "./dist/types.d.ts", "default": "./dist/types.js" },
32
- "require": {
33
- "types": "./dist/types.d.cts",
34
- "default": "./dist/types.cjs"
35
- },
36
- "default": { "types": "./dist/types.d.ts", "default": "./dist/types.js" }
37
- },
38
- "./helpers": {
39
- "import": {
40
- "types": "./dist/helpers/index.d.ts",
41
- "default": "./dist/helpers/index.js"
42
- },
43
- "require": {
44
- "types": "./dist/helpers/index.d.cts",
45
- "default": "./dist/helpers/index.cjs"
46
- },
47
- "default": {
48
- "types": "./dist/helpers/index.d.ts",
49
- "default": "./dist/helpers/index.js"
50
- }
51
- },
52
- "./helpers/*": {
53
- "import": {
54
- "types": "./dist/helpers/*.d.ts",
55
- "default": "./dist/helpers/*.js"
56
- },
57
- "require": {
58
- "types": "./dist/helpers/*.d.cts",
59
- "default": "./dist/helpers/*.cjs"
60
- },
61
- "default": {
62
- "types": "./dist/helpers/*.d.ts",
63
- "default": "./dist/helpers/*.js"
64
- }
65
- }
66
- },
67
- "main": "./dist/index.cjs",
68
- "module": "./dist/index.js",
69
- "types": "./dist/index.d.ts",
70
- "bin": {
71
- "storm-pnpm": "./bin/pnpm.js",
72
- "storm-pnpm-cjs": "./bin/pnpm.cjs",
73
- "storm-pnpm-esm": "./bin/pnpm.js"
74
- },
75
- "dependencies": {
76
- "@storm-software/config": "^1.137.64",
77
- "@storm-software/config-tools": "^1.190.32",
78
- "@storm-software/npm-tools": "^0.6.149",
79
- "@storm-software/package-constants": "^0.1.45",
80
- "chalk": "^4.1.2",
81
- "commander": "^12.1.0",
82
- "defu": "^6.1.7",
83
- "prettier": "^3.8.3",
84
- "prettier-plugin-packagejson": "^3.0.2",
85
- "semver": "^7.8.1",
86
- "yaml": "^2.9.0"
87
- },
88
- "devDependencies": {
89
- "@pnpm/types": "^1001.3.0",
90
- "@types/node": "^25.9.1",
91
- "tsup": "8.4.0"
92
- },
93
- "publishConfig": { "access": "public" },
94
- "gitHead": "2f8ca2a6a9ae22ec138583b8c5fc4d9dc5984bd0"
95
- }
1
+ {"name":"@storm-software/pnpm-tools","version":"0.7.43","private":false,"description":"A set of [pnpm](https://pnpm.io/) plugins and utilities for managing workspace packages/dependencies.","repository":{"type":"github","url":"https://github.com/storm-software/storm-ops","directory":"packages/pnpm-tools"},"type":"module","exports":{"./package.json":"./package.json","./index":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./types":{"import":{"types":"./dist/types.d.ts","default":"./dist/types.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/types.cjs"},"default":{"types":"./dist/types.d.ts","default":"./dist/types.js"}},"./helpers":{"import":{"types":"./dist/helpers/index.d.ts","default":"./dist/helpers/index.js"},"require":{"types":"./dist/helpers/index.d.cts","default":"./dist/helpers/index.cjs"},"default":{"types":"./dist/helpers/index.d.ts","default":"./dist/helpers/index.js"}},"./helpers/*":{"import":{"types":"./dist/helpers/*.d.ts","default":"./dist/helpers/*.js"},"require":{"types":"./dist/helpers/*.d.cts","default":"./dist/helpers/*.cjs"},"default":{"types":"./dist/helpers/*.d.ts","default":"./dist/helpers/*.js"}}},"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","bin":{"storm-pnpm":"./bin/pnpm.js","storm-pnpm-cjs":"./bin/pnpm.cjs","storm-pnpm-esm":"./bin/pnpm.js"},"dependencies":{"@storm-software/config":"workspace:*","@storm-software/config-tools":"workspace:*","@storm-software/npm-tools":"workspace:*","@storm-software/package-constants":"workspace:*","chalk":"catalog:","commander":"catalog:","defu":"catalog:","prettier":"catalog:","prettier-plugin-packagejson":"catalog:","semver":"catalog:","yaml":"catalog:"},"devDependencies":{"@pnpm/types":"catalog:","@types/node":"catalog:","tsup":"catalog:"},"publishConfig":{"access":"public"}}