Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pnpm pack prints a incorrect path #5471

Closed
juanrgm opened this issue Oct 9, 2022 · 0 comments · Fixed by #5472
Closed

pnpm pack prints a incorrect path #5471

juanrgm opened this issue Oct 9, 2022 · 0 comments · Fixed by #5472
Milestone

Comments

@juanrgm
Copy link
Contributor

juanrgm commented Oct 9, 2022

pnpm version: 7.13.2

Code to reproduce the issue:

mkdir -p /var/repo/test
cd /var/repo/test
pnpm init
mkdir lib
# adds { "publishConfig": { "directory": "lib" } } to package.json
cp package.json lib/package.json
pnpm pack --pack-destination /tmp

Expected behavior:

/tmp/test-1.0.0.tgz

Actual behavior:

/var/repo/test/lib/test-1.0.0.tgz

Additional information:

  • node -v prints: v18.10.0
  • Windows, macOS, or Linux?: Linux
juanrgm added a commit to juanrgm/pnpm that referenced this issue Oct 9, 2022
zkochan added a commit that referenced this issue Oct 9, 2022
close #5471

Co-authored-by: Zoltan Kochan <z@kochan.io>
@zkochan zkochan added this to the v7.13 milestone Oct 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants