virmator 14.16.0 → 14.17.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 +5 -0
- package/dist/index.d.ts +22 -4
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -56,8 +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.
|
|
60
|
+
|
|
59
61
|
- Examples
|
|
60
62
|
- `virmator deps upgrade`
|
|
63
|
+
- upgrade a single package across the mono-repo: `virmator deps upgrade @augment-vir/common`
|
|
64
|
+
- upgrade all packages matching a glob: `virmator deps upgrade "@augment-vir/*"`
|
|
65
|
+
- forward npm flags (e.g. bypass min-release-age): `virmator deps upgrade "@augment-vir/*" --min-release-age 0`
|
|
61
66
|
- Configs
|
|
62
67
|
- configs/ncu.config.ts
|
|
63
68
|
- Deps
|
package/dist/index.d.ts
CHANGED
|
@@ -216,9 +216,18 @@ 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 "];
|
|
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 "];
|
|
220
220
|
readonly examples: readonly [{
|
|
221
221
|
readonly content: "virmator deps upgrade";
|
|
222
|
+
}, {
|
|
223
|
+
readonly title: "upgrade a single package across the mono-repo";
|
|
224
|
+
readonly content: "virmator deps upgrade @augment-vir/common";
|
|
225
|
+
}, {
|
|
226
|
+
readonly title: "upgrade all packages matching a glob";
|
|
227
|
+
readonly content: "virmator deps upgrade \"@augment-vir/*\"";
|
|
228
|
+
}, {
|
|
229
|
+
readonly title: "forward npm flags (e.g. bypass min-release-age)";
|
|
230
|
+
readonly content: "virmator deps upgrade \"@augment-vir/*\" --min-release-age 0";
|
|
222
231
|
}];
|
|
223
232
|
};
|
|
224
233
|
readonly configFiles: {
|
|
@@ -233,7 +242,7 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
233
242
|
readonly "mono-root": true;
|
|
234
243
|
readonly package: true;
|
|
235
244
|
};
|
|
236
|
-
readonly required:
|
|
245
|
+
readonly required: false;
|
|
237
246
|
readonly configFlags: ["--config"];
|
|
238
247
|
};
|
|
239
248
|
};
|
|
@@ -329,9 +338,18 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
329
338
|
};
|
|
330
339
|
readonly upgrade: {
|
|
331
340
|
readonly doc: {
|
|
332
|
-
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 "];
|
|
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 "];
|
|
333
342
|
readonly examples: readonly [{
|
|
334
343
|
readonly content: "virmator deps upgrade";
|
|
344
|
+
}, {
|
|
345
|
+
readonly title: "upgrade a single package across the mono-repo";
|
|
346
|
+
readonly content: "virmator deps upgrade @augment-vir/common";
|
|
347
|
+
}, {
|
|
348
|
+
readonly title: "upgrade all packages matching a glob";
|
|
349
|
+
readonly content: "virmator deps upgrade \"@augment-vir/*\"";
|
|
350
|
+
}, {
|
|
351
|
+
readonly title: "forward npm flags (e.g. bypass min-release-age)";
|
|
352
|
+
readonly content: "virmator deps upgrade \"@augment-vir/*\" --min-release-age 0";
|
|
335
353
|
}];
|
|
336
354
|
};
|
|
337
355
|
readonly configFiles: {
|
|
@@ -346,7 +364,7 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
346
364
|
readonly "mono-root": true;
|
|
347
365
|
readonly package: true;
|
|
348
366
|
};
|
|
349
|
-
readonly required:
|
|
367
|
+
readonly required: false;
|
|
350
368
|
readonly configFlags: ["--config"];
|
|
351
369
|
};
|
|
352
370
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "virmator",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.17.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.
|
|
44
|
-
"@virmator/core": "^14.
|
|
45
|
-
"@virmator/deps": "^14.
|
|
46
|
-
"@virmator/docs": "^14.
|
|
47
|
-
"@virmator/format": "^14.
|
|
48
|
-
"@virmator/frontend": "^14.
|
|
49
|
-
"@virmator/help": "^14.
|
|
50
|
-
"@virmator/init": "^14.
|
|
51
|
-
"@virmator/lint": "^14.
|
|
52
|
-
"@virmator/publish": "^14.
|
|
53
|
-
"@virmator/spellcheck": "^14.
|
|
54
|
-
"@virmator/test": "^14.
|
|
43
|
+
"@virmator/compile": "^14.17.1",
|
|
44
|
+
"@virmator/core": "^14.17.1",
|
|
45
|
+
"@virmator/deps": "^14.17.1",
|
|
46
|
+
"@virmator/docs": "^14.17.1",
|
|
47
|
+
"@virmator/format": "^14.17.1",
|
|
48
|
+
"@virmator/frontend": "^14.17.1",
|
|
49
|
+
"@virmator/help": "^14.17.1",
|
|
50
|
+
"@virmator/init": "^14.17.1",
|
|
51
|
+
"@virmator/lint": "^14.17.1",
|
|
52
|
+
"@virmator/publish": "^14.17.1",
|
|
53
|
+
"@virmator/spellcheck": "^14.17.1",
|
|
54
|
+
"@virmator/test": "^14.17.1",
|
|
55
55
|
"tsx": "^4.21.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|