virmator 14.30.7 → 14.32.0
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 +10 -0
- package/dist/index.d.ts +66 -18
- package/package.json +22 -20
package/README.md
CHANGED
|
@@ -37,6 +37,7 @@ Note that as of v13, this package is now in ESM.
|
|
|
37
37
|
- Examples
|
|
38
38
|
- check import dependencies: `virmator deps check`
|
|
39
39
|
- upgrade npm dependencies: `virmator deps upgrade`
|
|
40
|
+
- list unused npm dependencies: `virmator deps unused`
|
|
40
41
|
- regenerate npm dependencies: `virmator deps regen`
|
|
41
42
|
- Sub Commands
|
|
42
43
|
|
|
@@ -52,6 +53,15 @@ Note that as of v13, this package is now in ESM.
|
|
|
52
53
|
- [dependency-cruiser](https://npmjs.com/package/dependency-cruiser)
|
|
53
54
|
- [esbuild](https://npmjs.com/package/esbuild)
|
|
54
55
|
|
|
56
|
+
- **unused**
|
|
57
|
+
|
|
58
|
+
Lists direct dependencies declared in package.json that are not referenced by a static import in the package's code. Dependencies used only by npm scripts or dynamically generated module names may be reported as unused.
|
|
59
|
+
|
|
60
|
+
- Examples
|
|
61
|
+
- `virmator deps unused`
|
|
62
|
+
- Deps
|
|
63
|
+
- [dependency-cruiser](https://npmjs.com/package/dependency-cruiser)
|
|
64
|
+
|
|
55
65
|
- **upgrade**
|
|
56
66
|
|
|
57
67
|
Upgrades dependencies using npm-check-update. Does not automatically run 'npm i'. It is recommended to run 'virmator deps regen' instead.
|
package/dist/index.d.ts
CHANGED
|
@@ -161,6 +161,9 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
161
161
|
}, {
|
|
162
162
|
readonly title: "upgrade npm dependencies";
|
|
163
163
|
readonly content: "virmator deps upgrade";
|
|
164
|
+
}, {
|
|
165
|
+
readonly title: "list unused npm dependencies";
|
|
166
|
+
readonly content: "virmator deps unused";
|
|
164
167
|
}, {
|
|
165
168
|
readonly title: "regenerate npm dependencies";
|
|
166
169
|
readonly content: "virmator deps regen";
|
|
@@ -190,7 +193,7 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
190
193
|
};
|
|
191
194
|
};
|
|
192
195
|
readonly npmDeps: {
|
|
193
|
-
readonly
|
|
196
|
+
readonly esbuild: {
|
|
194
197
|
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
195
198
|
readonly env: {
|
|
196
199
|
readonly node: true;
|
|
@@ -201,15 +204,36 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
201
204
|
readonly "mono-root": true;
|
|
202
205
|
};
|
|
203
206
|
};
|
|
204
|
-
readonly
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
readonly "dependency-cruiser": {
|
|
208
|
+
type: import("@virmator/core").NpmDepType;
|
|
209
|
+
env: {
|
|
210
|
+
node: boolean;
|
|
211
|
+
web: boolean;
|
|
209
212
|
};
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
+
packageType: {
|
|
214
|
+
package: boolean;
|
|
215
|
+
"mono-root": boolean;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
readonly unused: {
|
|
221
|
+
readonly doc: {
|
|
222
|
+
readonly sections: readonly ["\n Lists direct dependencies declared in package.json that are not\n referenced by a static import in the package's code. Dependencies\n used only by npm scripts or dynamically generated module names\n may be reported as unused.\n "];
|
|
223
|
+
readonly examples: readonly [{
|
|
224
|
+
readonly content: "virmator deps unused";
|
|
225
|
+
}];
|
|
226
|
+
};
|
|
227
|
+
readonly npmDeps: {
|
|
228
|
+
"dependency-cruiser": {
|
|
229
|
+
type: import("@virmator/core").NpmDepType;
|
|
230
|
+
env: {
|
|
231
|
+
node: boolean;
|
|
232
|
+
web: boolean;
|
|
233
|
+
};
|
|
234
|
+
packageType: {
|
|
235
|
+
package: boolean;
|
|
236
|
+
"mono-root": boolean;
|
|
213
237
|
};
|
|
214
238
|
};
|
|
215
239
|
};
|
|
@@ -286,6 +310,9 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
286
310
|
}, {
|
|
287
311
|
readonly title: "upgrade npm dependencies";
|
|
288
312
|
readonly content: "virmator deps upgrade";
|
|
313
|
+
}, {
|
|
314
|
+
readonly title: "list unused npm dependencies";
|
|
315
|
+
readonly content: "virmator deps unused";
|
|
289
316
|
}, {
|
|
290
317
|
readonly title: "regenerate npm dependencies";
|
|
291
318
|
readonly content: "virmator deps regen";
|
|
@@ -315,7 +342,7 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
315
342
|
};
|
|
316
343
|
};
|
|
317
344
|
readonly npmDeps: {
|
|
318
|
-
readonly
|
|
345
|
+
readonly esbuild: {
|
|
319
346
|
readonly type: import("@virmator/core").NpmDepType.Dev;
|
|
320
347
|
readonly env: {
|
|
321
348
|
readonly node: true;
|
|
@@ -326,15 +353,36 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
326
353
|
readonly "mono-root": true;
|
|
327
354
|
};
|
|
328
355
|
};
|
|
329
|
-
readonly
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
356
|
+
readonly "dependency-cruiser": {
|
|
357
|
+
type: import("@virmator/core").NpmDepType;
|
|
358
|
+
env: {
|
|
359
|
+
node: boolean;
|
|
360
|
+
web: boolean;
|
|
334
361
|
};
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
362
|
+
packageType: {
|
|
363
|
+
package: boolean;
|
|
364
|
+
"mono-root": boolean;
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
readonly unused: {
|
|
370
|
+
readonly doc: {
|
|
371
|
+
readonly sections: readonly ["\n Lists direct dependencies declared in package.json that are not\n referenced by a static import in the package's code. Dependencies\n used only by npm scripts or dynamically generated module names\n may be reported as unused.\n "];
|
|
372
|
+
readonly examples: readonly [{
|
|
373
|
+
readonly content: "virmator deps unused";
|
|
374
|
+
}];
|
|
375
|
+
};
|
|
376
|
+
readonly npmDeps: {
|
|
377
|
+
"dependency-cruiser": {
|
|
378
|
+
type: import("@virmator/core").NpmDepType;
|
|
379
|
+
env: {
|
|
380
|
+
node: boolean;
|
|
381
|
+
web: boolean;
|
|
382
|
+
};
|
|
383
|
+
packageType: {
|
|
384
|
+
package: boolean;
|
|
385
|
+
"mono-root": boolean;
|
|
338
386
|
};
|
|
339
387
|
};
|
|
340
388
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "virmator",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.32.0",
|
|
4
4
|
"description": "Handle common package configs, commands, and dependencies.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"automation",
|
|
@@ -30,7 +30,9 @@
|
|
|
30
30
|
"main": "dist/index.js",
|
|
31
31
|
"module": "dist/index.js",
|
|
32
32
|
"types": "dist/index.d.ts",
|
|
33
|
-
"bin":
|
|
33
|
+
"bin": {
|
|
34
|
+
"virmator": "bin.js"
|
|
35
|
+
},
|
|
34
36
|
"scripts": {
|
|
35
37
|
"compile": "virmator compile",
|
|
36
38
|
"test": "virmator test node",
|
|
@@ -38,26 +40,26 @@
|
|
|
38
40
|
"test:update": "npm test update"
|
|
39
41
|
},
|
|
40
42
|
"dependencies": {
|
|
41
|
-
"@augment-vir/common": "^32.2.
|
|
42
|
-
"@augment-vir/node": "^32.2.
|
|
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.
|
|
55
|
-
"tsx": "^4.23.
|
|
43
|
+
"@augment-vir/common": "^32.2.2",
|
|
44
|
+
"@augment-vir/node": "^32.2.2",
|
|
45
|
+
"@virmator/compile": "^14.32.0",
|
|
46
|
+
"@virmator/core": "^14.32.0",
|
|
47
|
+
"@virmator/deps": "^14.32.0",
|
|
48
|
+
"@virmator/docs": "^14.32.0",
|
|
49
|
+
"@virmator/format": "^14.32.0",
|
|
50
|
+
"@virmator/frontend": "^14.32.0",
|
|
51
|
+
"@virmator/help": "^14.32.0",
|
|
52
|
+
"@virmator/init": "^14.32.0",
|
|
53
|
+
"@virmator/lint": "^14.32.0",
|
|
54
|
+
"@virmator/publish": "^14.32.0",
|
|
55
|
+
"@virmator/spellcheck": "^14.32.0",
|
|
56
|
+
"@virmator/test": "^14.32.0",
|
|
57
|
+
"tsx": "^4.23.12"
|
|
56
58
|
},
|
|
57
59
|
"devDependencies": {
|
|
58
|
-
"@augment-vir/assert": "^32.2.
|
|
59
|
-
"@augment-vir/test": "^32.2.
|
|
60
|
-
"@types/node": "^26.
|
|
60
|
+
"@augment-vir/assert": "^32.2.2",
|
|
61
|
+
"@augment-vir/test": "^32.2.2",
|
|
62
|
+
"@types/node": "^26.2.0",
|
|
61
63
|
"c8": "^12.0.0",
|
|
62
64
|
"istanbul-smart-text-reporter": "^1.1.5"
|
|
63
65
|
},
|