virmator 14.18.0 → 14.19.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.
package/README.md CHANGED
@@ -56,12 +56,13 @@ Note that as of v13, this package is now in ESM.
56
56
 
57
57
  Upgrades dependencies using npm-check-update. Does not automatically run 'npm i'. It is recommended to run 'virmator deps regen' instead.
58
58
 
59
- If a package name or glob is passed as an argument, only the matching direct dependencies are upgraded via 'npm i <extra-args> <name>@latest'. Any flags or args supplied after the pattern are forwarded to npm verbatim (e.g. '--min-release-age 0'). In a mono-repo, this scans the root package.json as well as every workspace package.json, running an install in each one that has a match. Outside a mono-repo, it scans the current package only. The command errors out if no direct deps match in any package.json.
59
+ If a package name or glob is passed as an argument, only the matching direct dependencies are upgraded via 'npm i <extra-args> <name>@<version>'. An optional '@<version>' suffix on the argument selects which version to install (defaulting to 'latest' when omitted). Any flags or args supplied after the pattern are forwarded to npm verbatim (e.g. '--min-release-age 0'). In a mono-repo, this scans the root package.json as well as every workspace package.json, running an install in each one that has a match. Outside a mono-repo, it scans the current package only. The command errors out if no direct deps match in any package.json.
60
60
 
61
61
  - Examples
62
62
  - `virmator deps upgrade`
63
63
  - upgrade a single package across the mono-repo: `virmator deps upgrade @augment-vir/common`
64
64
  - upgrade all packages matching a glob: `virmator deps upgrade "@augment-vir/*"`
65
+ - upgrade matches to a specific version: `virmator deps upgrade "my-package@^2.0.0"`
65
66
  - forward npm flags (e.g. bypass min-release-age): `virmator deps upgrade "@augment-vir/*" --min-release-age 0`
66
67
  - Configs
67
68
  - configs/ncu.config.ts
package/dist/index.d.ts CHANGED
@@ -216,7 +216,7 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
216
216
  };
217
217
  readonly upgrade: {
218
218
  readonly doc: {
219
- readonly sections: readonly ["\n Upgrades dependencies using npm-check-update.\n Does not automatically run 'npm i'.\n It is recommended to run 'virmator deps regen' instead.\n ", "\n If a package name or glob is passed as an argument, only the\n matching direct dependencies are upgraded via\n 'npm i <extra-args> <name>@latest'. Any flags or args supplied\n after the pattern are forwarded to npm verbatim\n (e.g. '--min-release-age 0'). In a mono-repo, this scans the\n root package.json as well as every workspace package.json,\n running an install in each one that has a match. Outside a\n mono-repo, it scans the current package only. The command\n errors out if no direct deps match in any package.json.\n "];
219
+ readonly sections: readonly ["\n Upgrades dependencies using npm-check-update.\n Does not automatically run 'npm i'.\n It is recommended to run 'virmator deps regen' instead.\n ", "\n If a package name or glob is passed as an argument, only the\n matching direct dependencies are upgraded via\n 'npm i <extra-args> <name>@<version>'. An optional\n '@<version>' suffix on the argument selects which version to\n install (defaulting to 'latest' when omitted). Any flags or\n args supplied after the pattern are forwarded to npm verbatim\n (e.g. '--min-release-age 0'). In a mono-repo, this scans the\n root package.json as well as every workspace package.json,\n running an install in each one that has a match. Outside a\n mono-repo, it scans the current package only. The command\n errors out if no direct deps match in any package.json.\n "];
220
220
  readonly examples: readonly [{
221
221
  readonly content: "virmator deps upgrade";
222
222
  }, {
@@ -225,6 +225,9 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
225
225
  }, {
226
226
  readonly title: "upgrade all packages matching a glob";
227
227
  readonly content: "virmator deps upgrade \"@augment-vir/*\"";
228
+ }, {
229
+ readonly title: "upgrade matches to a specific version";
230
+ readonly content: "virmator deps upgrade \"my-package@^2.0.0\"";
228
231
  }, {
229
232
  readonly title: "forward npm flags (e.g. bypass min-release-age)";
230
233
  readonly content: "virmator deps upgrade \"@augment-vir/*\" --min-release-age 0";
@@ -338,7 +341,7 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
338
341
  };
339
342
  readonly upgrade: {
340
343
  readonly doc: {
341
- readonly sections: readonly ["\n Upgrades dependencies using npm-check-update.\n Does not automatically run 'npm i'.\n It is recommended to run 'virmator deps regen' instead.\n ", "\n If a package name or glob is passed as an argument, only the\n matching direct dependencies are upgraded via\n 'npm i <extra-args> <name>@latest'. Any flags or args supplied\n after the pattern are forwarded to npm verbatim\n (e.g. '--min-release-age 0'). In a mono-repo, this scans the\n root package.json as well as every workspace package.json,\n running an install in each one that has a match. Outside a\n mono-repo, it scans the current package only. The command\n errors out if no direct deps match in any package.json.\n "];
344
+ readonly sections: readonly ["\n Upgrades dependencies using npm-check-update.\n Does not automatically run 'npm i'.\n It is recommended to run 'virmator deps regen' instead.\n ", "\n If a package name or glob is passed as an argument, only the\n matching direct dependencies are upgraded via\n 'npm i <extra-args> <name>@<version>'. An optional\n '@<version>' suffix on the argument selects which version to\n install (defaulting to 'latest' when omitted). Any flags or\n args supplied after the pattern are forwarded to npm verbatim\n (e.g. '--min-release-age 0'). In a mono-repo, this scans the\n root package.json as well as every workspace package.json,\n running an install in each one that has a match. Outside a\n mono-repo, it scans the current package only. The command\n errors out if no direct deps match in any package.json.\n "];
342
345
  readonly examples: readonly [{
343
346
  readonly content: "virmator deps upgrade";
344
347
  }, {
@@ -347,6 +350,9 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
347
350
  }, {
348
351
  readonly title: "upgrade all packages matching a glob";
349
352
  readonly content: "virmator deps upgrade \"@augment-vir/*\"";
353
+ }, {
354
+ readonly title: "upgrade matches to a specific version";
355
+ readonly content: "virmator deps upgrade \"my-package@^2.0.0\"";
350
356
  }, {
351
357
  readonly title: "forward npm flags (e.g. bypass min-release-age)";
352
358
  readonly content: "virmator deps upgrade \"@augment-vir/*\" --min-release-age 0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virmator",
3
- "version": "14.18.0",
3
+ "version": "14.19.1",
4
4
  "description": "Handle common package configs, commands, and dependencies.",
5
5
  "keywords": [
6
6
  "automation",
@@ -40,18 +40,18 @@
40
40
  "dependencies": {
41
41
  "@augment-vir/common": "^31.69.0",
42
42
  "@augment-vir/node": "^31.69.0",
43
- "@virmator/compile": "^14.18.0",
44
- "@virmator/core": "^14.18.0",
45
- "@virmator/deps": "^14.18.0",
46
- "@virmator/docs": "^14.18.0",
47
- "@virmator/format": "^14.18.0",
48
- "@virmator/frontend": "^14.18.0",
49
- "@virmator/help": "^14.18.0",
50
- "@virmator/init": "^14.18.0",
51
- "@virmator/lint": "^14.18.0",
52
- "@virmator/publish": "^14.18.0",
53
- "@virmator/spellcheck": "^14.18.0",
54
- "@virmator/test": "^14.18.0",
43
+ "@virmator/compile": "^14.19.1",
44
+ "@virmator/core": "^14.19.1",
45
+ "@virmator/deps": "^14.19.1",
46
+ "@virmator/docs": "^14.19.1",
47
+ "@virmator/format": "^14.19.1",
48
+ "@virmator/frontend": "^14.19.1",
49
+ "@virmator/help": "^14.19.1",
50
+ "@virmator/init": "^14.19.1",
51
+ "@virmator/lint": "^14.19.1",
52
+ "@virmator/publish": "^14.19.1",
53
+ "@virmator/spellcheck": "^14.19.1",
54
+ "@virmator/test": "^14.19.1",
55
55
  "tsx": "^4.21.0"
56
56
  },
57
57
  "devDependencies": {