@virmator/deps 14.32.1 → 14.34.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/configs/typedoc.config.ts +1 -0
- package/dist/deps.d.ts +10 -2
- package/dist/deps.js +10 -2
- package/package.json +7 -7
package/dist/deps.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { type MonoRepoPackage, NpmDepType, PackageType } from '@virmator/core';
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Lists package directories that should be checked for unused dependencies.
|
|
4
|
+
*
|
|
5
|
+
* @category Util
|
|
6
|
+
*/
|
|
3
7
|
export declare function getUnusedPackageDirPaths({ cwdPackagePath, monoRepoPackages, monoRepoRootPath, packageType, }: Readonly<{
|
|
4
8
|
cwdPackagePath: string;
|
|
5
9
|
monoRepoPackages: ReadonlyArray<Readonly<MonoRepoPackage>>;
|
|
@@ -13,7 +17,11 @@ export declare function buildNcuCommand({ configPath, cwd, monoRepoPackages, mon
|
|
|
13
17
|
monoRepoPackages: ReadonlyArray<Readonly<MonoRepoPackage>>;
|
|
14
18
|
monoRepoRootPath: string;
|
|
15
19
|
}>): string;
|
|
16
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* A virmator plugin for checking package TS dependencies.
|
|
22
|
+
*
|
|
23
|
+
* @category Main
|
|
24
|
+
*/
|
|
17
25
|
export declare const virmatorDepsPlugin: Readonly<Readonly<{
|
|
18
26
|
name: string;
|
|
19
27
|
cliCommands: NoInfer<{
|
package/dist/deps.js
CHANGED
|
@@ -21,7 +21,11 @@ const dependencyCruiserNpmDeps = {
|
|
|
21
21
|
},
|
|
22
22
|
},
|
|
23
23
|
};
|
|
24
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* Lists package directories that should be checked for unused dependencies.
|
|
26
|
+
*
|
|
27
|
+
* @category Util
|
|
28
|
+
*/
|
|
25
29
|
export function getUnusedPackageDirPaths({ cwdPackagePath, monoRepoPackages, monoRepoRootPath, packageType, }) {
|
|
26
30
|
return packageType === PackageType.MonoRoot
|
|
27
31
|
? [
|
|
@@ -46,7 +50,11 @@ export function buildNcuCommand({ configPath, cwd, monoRepoPackages, monoRepoRoo
|
|
|
46
50
|
...(monoRepoPackages.length ? ['--workspaces'] : []),
|
|
47
51
|
].join(' ');
|
|
48
52
|
}
|
|
49
|
-
/**
|
|
53
|
+
/**
|
|
54
|
+
* A virmator plugin for checking package TS dependencies.
|
|
55
|
+
*
|
|
56
|
+
* @category Main
|
|
57
|
+
*/
|
|
50
58
|
export const virmatorDepsPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
51
59
|
name: 'Deps',
|
|
52
60
|
cliCommands: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/deps",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.34.0",
|
|
4
4
|
"description": "Default TS deps plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"test:update": "npm test update"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@augment-vir/assert": "^32.2.
|
|
38
|
-
"@augment-vir/common": "^32.2.
|
|
39
|
-
"@augment-vir/node": "^32.2.
|
|
37
|
+
"@augment-vir/assert": "^32.2.4",
|
|
38
|
+
"@augment-vir/common": "^32.2.4",
|
|
39
|
+
"@augment-vir/node": "^32.2.4",
|
|
40
40
|
"@npm/types": "^2.1.0",
|
|
41
|
-
"@virmator/core": "^14.
|
|
41
|
+
"@virmator/core": "^14.34.0",
|
|
42
42
|
"date-vir": "^9.1.1",
|
|
43
43
|
"mri": "^1.2.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@augment-vir/test": "^32.2.
|
|
47
|
-
"@types/node": "^26.
|
|
46
|
+
"@augment-vir/test": "^32.2.4",
|
|
47
|
+
"@types/node": "^26.4.0",
|
|
48
48
|
"c8": "^12.0.0",
|
|
49
49
|
"dependency-cruiser": "^18.2.0",
|
|
50
50
|
"esbuild": "^0.28.2",
|