@pagopa/dx-cli 0.14.5 → 0.15.1

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.
Files changed (2) hide show
  1. package/bin/index.js +5 -3
  2. package/package.json +2 -2
package/bin/index.js CHANGED
@@ -297,7 +297,8 @@ async function replacePMOccurrences() {
297
297
  /\b(yarn workspace|npm -(\b-workspace\b|\bw\b))\b/g,
298
298
  /\b(yarn install --immutable|npm ci)\b/g,
299
299
  /\b(yarn -q dlx|npx)\b/g,
300
- /(^|\s)(Yarn|npm)(?!\S)/gi
300
+ /\b((yarn|npm) run)\b/g,
301
+ /(^|\s|")(yarn|npm)(?!\S)/gi
301
302
  ],
302
303
  ignore: ["**/node_modules/**", "**/dist/**", "**/build/**"],
303
304
  to: [
@@ -307,7 +308,8 @@ async function replacePMOccurrences() {
307
308
  "pnpm --filter <package-selector>",
308
309
  "pnpm install --frozen-lockfile",
309
310
  "pnpm dlx",
310
- "pnpm"
311
+ "pnpm run",
312
+ "$1pnpm"
311
313
  ]
312
314
  });
313
315
  const count = results.reduce(
@@ -1033,7 +1035,7 @@ var makeSavemoneyCommand = () => new Command5("savemoney").description(
1033
1035
  // src/adapters/commander/index.ts
1034
1036
  var makeCli = (deps2, config2, cliDeps) => {
1035
1037
  const program2 = new Command6();
1036
- program2.name("dx").description("The CLI for DX-Platform").version("0.14.5");
1038
+ program2.name("dx").description("The CLI for DX-Platform").version("0.15.1");
1037
1039
  program2.addCommand(makeDoctorCommand(deps2, config2));
1038
1040
  program2.addCommand(makeCodemodCommand(cliDeps));
1039
1041
  program2.addCommand(makeInitCommand(deps2));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pagopa/dx-cli",
3
- "version": "0.14.5",
3
+ "version": "0.15.1",
4
4
  "type": "module",
5
5
  "description": "A CLI useful to manage DX tools.",
6
6
  "repository": {
@@ -34,7 +34,7 @@
34
34
  "yaml": "^2.8.2",
35
35
  "zod": "^4.2.1",
36
36
  "@pagopa/dx-savemoney": "^0.1.4",
37
- "@pagopa/monorepo-generator": "^0.14.1"
37
+ "@pagopa/monorepo-generator": "^0.15.1"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@tsconfig/node22": "22.0.2",