Open core-ai-bot opened 3 years ago
Comment by peterflynn Friday Apr 12, 2013 at 23:21 GMT
I think we have to keep package.json because it includes metadata we'll need at runtime (for showing the extension management UI, for determining if a Brackets update makes any extensions incompatible, etc.).
Not sure if it's worth doing anything special to exclude a few common but small size dotfiles, given that extension authors can explicitly exclude them if they really care...
Comment by njx Thursday Apr 18, 2013 at 20:55 GMT
Reviewed. Marking low priority to@
dangoor to think about whether we want to do anything about this, or just close it as "as designed".
Comment by dangoor Friday Apr 19, 2013 at 01:23 GMT
Yeah, I'd say this is "as designed". Files should be excluded before they wind up in the zip file (and this is something we'll eventually have tooling to help with).
I believe that excluding at packaging time is consistent with npm's behavior.
Issue by RaymondLim Friday Apr 12, 2013 at 22:52 GMT Originally opened as https://github.com/adobe/brackets/issues/3431
Result: All files available in the specified url are installed into extensions/user folder including .gitignore and package.json.
Expected: Should exclude package.json and all files with dot prefix.