-
Notifications
You must be signed in to change notification settings - Fork 5
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
Hidden files are not included in zip #10
Comments
Does this seem to only be hidden Unix files in the root of --source? I'm currently using this plugin to package a Greasemonkey plugin and it seems to copy the path/.gm.json file that I include along, but that is nested one directory deep. Additionally, which operating system are you trying this on? |
I'm using Windows 10 Yes it is for hidden files in --source, I didn't tested it for subfolders. |
So the two possibilities I see are either including hidden Unix files on Windows doesn't work or including hidden Unix files in the root doesn't work. I'd advise clearing up this discrepancy, and hopefully upstream can fix it up. If I find some time in the coming days and there's no movement from upstream, I've got a fork I'm tidying some other stuff up in, I can take a crack at a fix for this too. |
Sorry, haven't had an opportunity to take a look again yet, but the fixes shouldn't be that hard....is upstream monitoring this at all??? |
Hah, yeah I never got back around to this. Any word on whether this was a hidden files on Windows or hidden files in the root source folder issue? Can't say I've looked at it, but am in a position to do so these days if needed. |
Files starting with a
.
are not included in the zip folder.Steps to reproduce
dist
folder, add a bunch of files to be zipped.echo unsafe-perm=true > dist/.npmrc
npm-build-zip --source=dist/ --destination=./ --name=dist --info=true
.npmrc
file is not includedThe text was updated successfully, but these errors were encountered: