We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd9b0d2 commit 5ea8849Copy full SHA for 5ea8849
packages/cli-v3/src/commands/update.ts
@@ -317,6 +317,7 @@ async function tryResolveTriggerPackageVersion(
317
318
logger.debug(`Resolved ${name} package version path`, { name, resolvedPath });
319
320
+ // IMPORTANT: keep the two dirname calls, as the first one resolves the nested package.json inside dist/commonjs or dist/esm
321
const { packageJson } = await getPackageJson(dirname(dirname(resolvedPath)));
322
323
if (packageJson.version) {
0 commit comments