@tinkoff-monorepo/depscheck 2.0.4 → 2.0.6

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.
@@ -1,5 +1,5 @@
1
1
  import type { CheckResults, Config, Package } from '../types';
2
- export declare type pkgPeerDepsDescription = {
2
+ export type pkgPeerDepsDescription = {
3
3
  peerDependencies: Array<{
4
4
  name: string;
5
5
  range: string;
package/lib/types.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import type { Results } from 'depcheck';
2
2
  import type { CollectorInterface, Package } from '@tinkoff-monorepo/pkgs-collector';
3
3
  export { CollectorInterface, Package } from '@tinkoff-monorepo/pkgs-collector';
4
- export declare type CheckResults = Results & {
4
+ export type CheckResults = Results & {
5
5
  mismatched?: string[];
6
6
  };
7
- export declare type Config = {
7
+ export type Config = {
8
8
  ignorePeerDependencies?: string[];
9
9
  ignorePatterns?: string[];
10
10
  ignoreUnused?: string[];
@@ -13,10 +13,10 @@ export declare type Config = {
13
13
  collector: CollectorInterface['collect'];
14
14
  [key: string]: any;
15
15
  };
16
- export declare type DepcheckConfig = {
16
+ export type DepcheckConfig = {
17
17
  ignoreDirs: string[];
18
18
  ignoreMatches: string[];
19
19
  skipMissing: boolean;
20
20
  ignoreBinPackage: boolean;
21
21
  };
22
- export declare type Checker = (allPkgs: Package[], pkg: Package, res: CheckResults, config: Config) => void;
22
+ export type Checker = (allPkgs: Package[], pkg: Package, res: CheckResults, config: Config) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinkoff-monorepo/depscheck",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "description": "",
5
5
  "main": "lib/depscheck.js",
6
6
  "typings": "lib/depscheck.d.ts",
@@ -17,8 +17,8 @@
17
17
  ],
18
18
  "license": "Apache-2.0",
19
19
  "dependencies": {
20
- "@tinkoff-monorepo/pkgs-collector": "2.0.4",
21
- "@tinkoff-monorepo/pkgs-collector-workspaces": "2.0.4",
20
+ "@tinkoff-monorepo/pkgs-collector": "2.0.6",
21
+ "@tinkoff-monorepo/pkgs-collector-workspaces": "2.0.6",
22
22
  "@tinkoff/utils": "^2.1.2",
23
23
  "cosmiconfig": "^6.0.0",
24
24
  "depcheck": "^1.4.3",