Skip to content

Commit

Permalink
feat: when packages are filter due to engine not matching, we need to…
Browse files Browse the repository at this point in the history
… print it out, just like we do in peer checks #1422
  • Loading branch information
rbnayax committed Jun 8, 2024
1 parent ac17977 commit e25e6fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/getEnginesNodeFromRegistry.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
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'
import getPackageManager from './getPackageManager'
import { getEngines } from '../package-managers/npm'

/**
* Get the engines.node versions from the NPM repository based on the version target.
Expand Down
2 changes: 1 addition & 1 deletion src/types/PackageManager.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { getEngines } from '../package-managers/npm'
import { GetVersion } from './GetVersion'
import { Index } from './IndexType'
import { Options } from './Options'
import { Version } from './Version'
import { VersionSpec } from './VersionSpec'
import { getEngines } from '../package-managers/npm'

/** The package manager API that ncu uses to fetch versions and meta information for packages. Includes npm and yarn, and others can be added as needed. */
export interface PackageManager {
Expand Down
2 changes: 1 addition & 1 deletion test/package-managers/npm/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as npm from '../../../src/package-managers/npm'
import chaiSetup from '../../helpers/chaiSetup'
import { getEngines } from '../../../src/package-managers/npm'
import chaiSetup from '../../helpers/chaiSetup'

chaiSetup()

Expand Down

0 comments on commit e25e6fe

Please sign in to comment.