@jpp-toolkit/plugin-check-updates 0.0.70 → 0.0.72

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/dist/index.mjs CHANGED
@@ -2,7 +2,6 @@ import { Command } from "@jpp-toolkit/core";
2
2
  import { findProjectRoot } from "@jpp-toolkit/utils";
3
3
  import { Flags } from "@oclif/core";
4
4
  import { run } from "npm-check-updates";
5
-
6
5
  //#region src/check-updates-command.ts
7
6
  var CheckUpdatesCommand = class CheckUpdatesCommand extends Command {
8
7
  static summary = "Check updates for project dependencies.";
@@ -54,11 +53,10 @@ var CheckUpdatesCommand = class CheckUpdatesCommand extends Command {
54
53
  }, { cli: true });
55
54
  }
56
55
  };
57
-
58
56
  //#endregion
59
57
  //#region src/index.ts
60
58
  const commands = { "check-updates": CheckUpdatesCommand };
61
-
62
59
  //#endregion
63
60
  export { commands };
61
+
64
62
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["ncu"],"sources":["../src/check-updates-command.ts","../src/index.ts"],"sourcesContent":["import { Command } from '@jpp-toolkit/core';\nimport { findProjectRoot } from '@jpp-toolkit/utils';\nimport { Flags } from '@oclif/core';\nimport { run as ncu } from 'npm-check-updates';\n\nexport class CheckUpdatesCommand extends Command {\n static override summary = 'Check updates for project dependencies.';\n\n static override flags = {\n workspace: Flags.boolean({\n char: 'w',\n description: 'Check updates for all workspaces in a monorepo.',\n default: false,\n }),\n root: Flags.boolean({\n char: 'R',\n description: 'Check updates from the project root directory.',\n default: false,\n }),\n };\n\n static override examples = [\n {\n description: 'Run the check-updates command.',\n command: '<%= config.bin %> <%= command.id %>',\n },\n {\n description: 'Run the check-updates command for all workspaces in a monorepo.',\n command: '<%= config.bin %> <%= command.id %> --workspace',\n },\n {\n description: 'Run the check-updates command from the project root directory.',\n command: '<%= config.bin %> <%= command.id %> --root',\n },\n ];\n\n public async run(): Promise<void> {\n const { flags } = await this.parse(CheckUpdatesCommand);\n\n const cwd = flags.root ? findProjectRoot() : process.cwd();\n\n await ncu(\n {\n cwd,\n color: true,\n interactive: true,\n upgrade: true,\n format: ['group'],\n install: 'never',\n dep: ['prod', 'dev', 'optional', 'packageManager'],\n\n ...(flags.workspace ?\n {\n root: true,\n workspaces: true,\n }\n : {}),\n },\n { cli: true },\n );\n }\n}\n","import { CheckUpdatesCommand } from './check-updates-command';\n\nexport const commands = {\n 'check-updates': CheckUpdatesCommand,\n};\n"],"mappings":";;;;;;AAKA,IAAa,sBAAb,MAAa,4BAA4B,QAAQ;CAC7C,OAAgB,UAAU;CAE1B,OAAgB,QAAQ;EACpB,WAAW,MAAM,QAAQ;GACrB,MAAM;GACN,aAAa;GACb,SAAS;GACZ,CAAC;EACF,MAAM,MAAM,QAAQ;GAChB,MAAM;GACN,aAAa;GACb,SAAS;GACZ,CAAC;EACL;CAED,OAAgB,WAAW;EACvB;GACI,aAAa;GACb,SAAS;GACZ;EACD;GACI,aAAa;GACb,SAAS;GACZ;EACD;GACI,aAAa;GACb,SAAS;GACZ;EACJ;CAED,MAAa,MAAqB;EAC9B,MAAM,EAAE,UAAU,MAAM,KAAK,MAAM,oBAAoB;AAIvD,QAAMA,IACF;GACI,KAJI,MAAM,OAAO,iBAAiB,GAAG,QAAQ,KAAK;GAKlD,OAAO;GACP,aAAa;GACb,SAAS;GACT,QAAQ,CAAC,QAAQ;GACjB,SAAS;GACT,KAAK;IAAC;IAAQ;IAAO;IAAY;IAAiB;GAElD,GAAI,MAAM,YACN;IACI,MAAM;IACN,YAAY;IACf,GACD,EAAE;GACT,EACD,EAAE,KAAK,MAAM,CAChB;;;;;;ACzDT,MAAa,WAAW,EACpB,iBAAiB,qBACpB"}
1
+ {"version":3,"file":"index.mjs","names":["ncu"],"sources":["../src/check-updates-command.ts","../src/index.ts"],"sourcesContent":["import { Command } from '@jpp-toolkit/core';\nimport { findProjectRoot } from '@jpp-toolkit/utils';\nimport { Flags } from '@oclif/core';\nimport { run as ncu } from 'npm-check-updates';\n\nexport class CheckUpdatesCommand extends Command {\n static override summary = 'Check updates for project dependencies.';\n\n static override flags = {\n workspace: Flags.boolean({\n char: 'w',\n description: 'Check updates for all workspaces in a monorepo.',\n default: false,\n }),\n root: Flags.boolean({\n char: 'R',\n description: 'Check updates from the project root directory.',\n default: false,\n }),\n };\n\n static override examples = [\n {\n description: 'Run the check-updates command.',\n command: '<%= config.bin %> <%= command.id %>',\n },\n {\n description: 'Run the check-updates command for all workspaces in a monorepo.',\n command: '<%= config.bin %> <%= command.id %> --workspace',\n },\n {\n description: 'Run the check-updates command from the project root directory.',\n command: '<%= config.bin %> <%= command.id %> --root',\n },\n ];\n\n public async run(): Promise<void> {\n const { flags } = await this.parse(CheckUpdatesCommand);\n\n const cwd = flags.root ? findProjectRoot() : process.cwd();\n\n await ncu(\n {\n cwd,\n color: true,\n interactive: true,\n upgrade: true,\n format: ['group'],\n install: 'never',\n dep: ['prod', 'dev', 'optional', 'packageManager'],\n\n ...(flags.workspace ?\n {\n root: true,\n workspaces: true,\n }\n : {}),\n },\n { cli: true },\n );\n }\n}\n","import { CheckUpdatesCommand } from './check-updates-command';\n\nexport const commands = {\n 'check-updates': CheckUpdatesCommand,\n};\n"],"mappings":";;;;;AAKA,IAAa,sBAAb,MAAa,4BAA4B,QAAQ;CAC7C,OAAgB,UAAU;CAE1B,OAAgB,QAAQ;EACpB,WAAW,MAAM,QAAQ;GACrB,MAAM;GACN,aAAa;GACb,SAAS;GACZ,CAAC;EACF,MAAM,MAAM,QAAQ;GAChB,MAAM;GACN,aAAa;GACb,SAAS;GACZ,CAAC;EACL;CAED,OAAgB,WAAW;EACvB;GACI,aAAa;GACb,SAAS;GACZ;EACD;GACI,aAAa;GACb,SAAS;GACZ;EACD;GACI,aAAa;GACb,SAAS;GACZ;EACJ;CAED,MAAa,MAAqB;EAC9B,MAAM,EAAE,UAAU,MAAM,KAAK,MAAM,oBAAoB;AAIvD,QAAMA,IACF;GACI,KAJI,MAAM,OAAO,iBAAiB,GAAG,QAAQ,KAAK;GAKlD,OAAO;GACP,aAAa;GACb,SAAS;GACT,QAAQ,CAAC,QAAQ;GACjB,SAAS;GACT,KAAK;IAAC;IAAQ;IAAO;IAAY;IAAiB;GAElD,GAAI,MAAM,YACN;IACI,MAAM;IACN,YAAY;IACf,GACD,EAAE;GACT,EACD,EAAE,KAAK,MAAM,CAChB;;;;;ACzDT,MAAa,WAAW,EACpB,iBAAiB,qBACpB"}
@@ -43,5 +43,5 @@
43
43
  "summary": "Check updates for project dependencies."
44
44
  }
45
45
  },
46
- "version": "0.0.70"
46
+ "version": "0.0.72"
47
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jpp-toolkit/plugin-check-updates",
3
- "version": "0.0.70",
3
+ "version": "0.0.72",
4
4
  "description": "Plugin that add the check-updates command to the jpp cli.",
5
5
  "keywords": [
6
6
  "jpp",
@@ -39,7 +39,7 @@
39
39
  "@jpp-toolkit/utils": "0.0.29"
40
40
  },
41
41
  "devDependencies": {
42
- "oclif": "4.22.82"
42
+ "oclif": "4.22.84"
43
43
  },
44
44
  "engines": {
45
45
  "node": "24",