-
Notifications
You must be signed in to change notification settings - Fork 150
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
yalc publish - ~/.yalc/packages/my-package is missing most of its files #240
Comments
package.json for posterity: { |
Is there, perhaps, some limited folder depth in which yalc defaults? |
I'm totally unsure why the wildcard resolutions are not working. I did kind of resolve the issue by removing the "files" directive in
Can anyone explain what's wrong with this wildcard? |
I believe the wildcard needs to be |
When using
yalc publish
, the output within the~/.yalc/packages/
directory is missing almost everything that's in the project'sdist
folder; the only thing in there isindex.js
which has a single import statement, meant to start off several rounds of imports through 'bucket-export' files (files that are only used to export other files).Running
npm publish
properly publishes the entire package to npm's registry, though, so it seems there's something funny happening withyalc
.Any guidance would be greatly appreciated, thank you!
NPM v20.10.0
Steps to reproduce:
dist/
directory in my npm registry deployment for that library: https://www.npmjs.com/package/@amunrarara/nostr-hooks?activeTab=codedist/
found at~/.yalc/packages/@amunrarara/nostr-hooks/2.6.3
, which only containsindex.js
and nothing else.Note that I updated my own copy's package.json name field to be
@amunrara/nostr-hooks
The text was updated successfully, but these errors were encountered: