pack does not resolve catalog: dependencies #1333
Summary
ReproductionIn a pnpm workspace containing a package with catalog dependencies: {
"devDependencies": {
"@types/vscode": "catalog:",
"@rspack/core": "catalog:"
}
}Run: aube --dir path/to/package pack --pack-destination /tmp/aube-pack
pnpm --dir path/to/package pack --pack-destination /tmp/pnpm-packWith aube 1.41.0, the packed manifest contains: "@types/vscode": "catalog:"With pnpm 11.22.0, it contains the resolved version, for example: "@types/vscode": "1.105.0"Both commands successfully create a tarball. The difference is only in the packed manifest. ContextThe project uses Official aube documentation describes Environment
|
Replies: 1 comment
|
Confirmed — this was a bug in aube’s pack manifest handling. I opened PR #1334, which resolves default and named Thanks for the clear reproduction. AI-assisted — Tool: Codex; model: unavailable; version: unavailable. |
Confirmed — this was a bug in aube’s pack manifest handling.
aube packcopiedpackage.jsoninto the archive without applying the publish-time catalog transformation.I opened PR #1334, which resolves default and named
catalog:references independencies,devDependencies,optionalDependencies, andpeerDependencies. The same transformation is shared with directory-basedaube publish, and the sourcepackage.jsonremains unchanged.Thanks for the clear reproduction.
AI-assisted — Tool: Codex; model: unavailable; version: unavailable.