@virmator/deps 14.32.1 → 14.33.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.
@@ -16,6 +16,7 @@ export const typeDocConfig: Partial<TypeDocOptions> = {
16
16
  defaultCategory: 'MISSING CATEGORY',
17
17
  categoryOrder: [
18
18
  'Main',
19
+ 'Util',
19
20
  'Internal',
20
21
  ],
21
22
  };
package/dist/deps.d.ts CHANGED
@@ -1,5 +1,9 @@
1
1
  import { type MonoRepoPackage, NpmDepType, PackageType } from '@virmator/core';
2
- /** Lists package directories that should be checked for unused dependencies. */
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
- /** A virmator plugin for checking package TS dependencies. */
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
- /** Lists package directories that should be checked for unused dependencies. */
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
- /** A virmator plugin for checking package TS dependencies. */
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.32.1",
3
+ "version": "14.33.0",
4
4
  "description": "Default TS deps plugin for virmator.",
5
5
  "keywords": [
6
6
  "virmator",
@@ -38,7 +38,7 @@
38
38
  "@augment-vir/common": "^32.2.3",
39
39
  "@augment-vir/node": "^32.2.3",
40
40
  "@npm/types": "^2.1.0",
41
- "@virmator/core": "^14.32.1",
41
+ "@virmator/core": "^14.33.0",
42
42
  "date-vir": "^9.1.1",
43
43
  "mri": "^1.2.0"
44
44
  },