From 0ee6c969eb5d6de294290b09be52d428869632d7 Mon Sep 17 00:00:00 2001 From: Regev Brody Date: Sat, 8 Jun 2024 20:53:34 +0300 Subject: [PATCH] feat: when packages are filter due to engine not matching, we need to print it out, just like we do in peer checks #1422 --- src/lib/getEnginesNodeFromRegistry.ts | 1 - src/types/PackageManager.ts | 1 - test/package-managers/npm/index.test.ts | 1 - 3 files changed, 3 deletions(-) diff --git a/src/lib/getEnginesNodeFromRegistry.ts b/src/lib/getEnginesNodeFromRegistry.ts index d7ddcf8d..e506aed8 100644 --- a/src/lib/getEnginesNodeFromRegistry.ts +++ b/src/lib/getEnginesNodeFromRegistry.ts @@ -1,5 +1,4 @@ import ProgressBar from 'progress' -import { getEngines } from '../package-managers/npm' import { Index } from '../types/IndexType' import { Options } from '../types/Options' import { Version } from '../types/Version' diff --git a/src/types/PackageManager.ts b/src/types/PackageManager.ts index 4f7b8db8..e646a438 100644 --- a/src/types/PackageManager.ts +++ b/src/types/PackageManager.ts @@ -1,4 +1,3 @@ -import { getEngines } from '../package-managers/npm' import { GetVersion } from './GetVersion' import { Index } from './IndexType' import { Options } from './Options' diff --git a/test/package-managers/npm/index.test.ts b/test/package-managers/npm/index.test.ts index b2a4a401..bfb04e08 100644 --- a/test/package-managers/npm/index.test.ts +++ b/test/package-managers/npm/index.test.ts @@ -1,5 +1,4 @@ import * as npm from '../../../src/package-managers/npm' -import { getEngines } from '../../../src/package-managers/npm' import chaiSetup from '../../helpers/chaiSetup' chaiSetup()