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
bundledDependencies don't get packed as of >= v0.19.0 #2636
Comments
Would seem to at least be caused by:-
Resolving those gives me node_modules/module in the packed .tgz but no subdirectories/files. |
A PR with a test is welcome |
@bestander: I've added a PR with a failing test case (#4598). With a project setup specified in the test fixture, running |
**Summary** This is a failing test-case for issue #2636. It tests that bundled dependencies are not correctly being included in the archive created by `yarn pack`. **Test plan** Changing the behavior of `pack` to include the bundled dependencies should make this failing test-case pass.
) **Summary** This is a failing test-case for issue yarnpkg#2636. It tests that bundled dependencies are not correctly being included in the archive created by `yarn pack`. **Test plan** Changing the behavior of `pack` to include the bundled dependencies should make this failing test-case pass.
Closed in #5966. |
Do you want to request a feature or report a bug?
BUG
What is the current behavior?
yarn pack
does not package bundledDependecies in v0.19.0, v0.19.1 and v0.20.0If the current behavior is a bug, please provide the steps to reproduce.
then run
yarn
followed byyarn pack
check the tgz file. It will not contain the node_modules folder.
What is the expected behavior?
to work as in version 0.18.1
Please mention your node.js, yarn and operating system version.
OS X El Capitan 10.11.6
The text was updated successfully, but these errors were encountered: