Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added node dependencies:
Archiver - Used for zipping
BufferStream - Used to stream the output of the archiver into memory
Wrench - No hassle recursive file operations
Removed dependencies:
*NIX operating system
zip command line utility
I had to upgrade the node min version from 0.6.x to 0.7.x because of the new "fs" operations. I have tested these changes (using text/index.js) on both Windows 7 and Ubuntu 12.04. Both were able to produce a crx file that could be installed in Chrome. I upgraded the package from 0.2.9 -> 0.3.0, because this is a pretty big change and it will break people using very old versions of node.
Other misc. things:
Keygen from the command line wasn't working because commander doesn't provide a callback as the second parameter - this is fixed
I changed path.exists to fs.exists to get rid of a deprecated warning
I added "manifest_version": 2 to your example extension - this is required in the latest versions of chrome
Let me know if you need me to change anything, or if you see any problems.