-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[BUG] Files named "*" are excluded from npm release #1048
Comments
I do not understand your use case. Why do you use a
Lines 154 to 159 in d5dfe57
Lines 177 to 182 in d5dfe57
https://www.npmjs.com/package/npm-packlist
|
So this is not a bug but intended. |
Not sure if the files list works but I would recommend to avoid files like
|
Feel free to close if it's something that will break on Windows. I largely used Linux so I doubt I would have caught that. Use case is a somewhat unusual tool I've been writing where css and js injected into a page based on HTML in the page and I wanted to use the css class '*'. To get around this issue I've just used a different magical character. |
In CSS Yes, I'd say this is an unusual use case, at least for me. |
Yeah, using a different magical character is the approach I'd use. If you do want your tool to depend on Sorry for the inconvenience. I don't like it either. In a perfect world, Windows would have moved to a fully posix compliant file system long ago. |
In npm/npm-packlist#32, NPM started to drop filenames containing the `*` character. See: - npm#1096 - npm#1048
In npm/npm-packlist#32, NPM started to drop filenames containing the `*` character. See: - #1096 - #1048 PR-URL: #1377 Credit: @maxwellgerber Close: #1377 Reviewed-by: @claudiahdz
What / Why
I have a package where I'd like to have a CSS file names
*.css
.When running
npm pack
, the file is not includedWhen
Consistently every time.
Where
npm public registry
Steps to Reproduce
npm pack
to build packageExpected Behavior
*.css should be included
Who
References
The text was updated successfully, but these errors were encountered: