Skip to content

Commit cf11bcd

Browse files
author
Lukas Holzer
committed
fix: show incompatible plugins for major changes as well
1 parent d90cda6 commit cf11bcd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/build/src/plugins/expected_version.ts

+3
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ const addExpectedVersion = async function ({
6666
testOpts: Record<string, unknown>
6767
autoPluginsDir: string
6868
}) {
69+
console.log({ packageName, loadedFrom, nodeVersion, pinnedVersion, featureFlags })
6970
if (!needsExpectedVersion(pluginOptions)) {
7071
return pluginOptions
7172
}
@@ -76,7 +77,9 @@ const addExpectedVersion = async function ({
7677
}
7778

7879
const unfilteredVersions = pluginsList[packageName]
80+
console.log({ unfilteredVersions })
7981
const versions = filterVersions(unfilteredVersions, featureFlags)
82+
console.log({ versions })
8083
const [{ version: latestVersion, migrationGuide }] = versions
8184
const [{ version: expectedVersion }, { version: compatibleVersion, compatWarning }] = await Promise.all([
8285
getExpectedVersion({ versions, nodeVersion, packageJson, packagePath, buildDir, pinnedVersion }),

0 commit comments

Comments
 (0)