Skip to content
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

Pre-compiled Commitizen #53

Merged
merged 3 commits into from
Nov 1, 2015
Merged

Conversation

tjoskar
Copy link
Contributor

@tjoskar tjoskar commented Oct 30, 2015

Compiling the src folder to dist and referring the bin files to dist instead.

I also added a .npmignore file to ignore the src folder (among test and meta) when publishing the package.

This is kind of hard to test but the scripts inside the bin folder seams to work fine and if something should have gone wrong I think that it should have blown up big times since I removed require('babel/register') from the bin folder.

See issue #39 and #51.

Oskar Karlsson added 2 commits October 30, 2015 19:37
We want to precompile all js files with babel and for simplicity we
should keep all source files in the same folder.

The test are using `util` but I can't see any real problems with having
the tests importing a file inside the src folder
Precompiling all ES6 code to ES5 with babel to gain performance
Adding a .nodeignore file as well to ignore the source code and tests
files when publishing to npm

See commitizen#39
@jimthedev
Copy link
Member

Can't wait to look at this. Very exciting. I'm out of town this weekend but will take a look ASAP tonight or tomorrow. Thanks!!!!

Added a npm-script for watching changes and re-compile the source file
jimthedev added a commit that referenced this pull request Nov 1, 2015
feat(compile): Precompile ES6 code
@jimthedev jimthedev merged commit 1a2ab15 into commitizen:master Nov 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants