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

Replace Grunt with Gulp #119

Merged
merged 14 commits into from
Jan 13, 2017
Merged

Replace Grunt with Gulp #119

merged 14 commits into from
Jan 13, 2017

Conversation

shvaikalesh
Copy link
Contributor

Because Gulpfile.js is written in ES6, Node.js 4+ is required to run Gulp.

@@ -1,5 +1,6 @@
.DS_Store
/node_modules
/npm-debug.log*
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm-debug.log sometimes gets appended with timestamp. * handles that.

'lib/*/*.js',

// Plugins.
'node_modules/shower-*/shower-*.js',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope you don't mind trailing commas, do you?
They make diffs so much better.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anything except leading commas is fine ;)

.pipe(git.add())
.pipe(git.commit('Bump version number'));
.on('end', () => {
git.push('origin', 'master', error => {
Copy link
Contributor Author

@shvaikalesh shvaikalesh Jan 10, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another way is to include gulp-git-push, more on this.

@@ -21,8 +21,6 @@
<div class="progress"></div>
</div>

<script src="../bind.polyfill.js"></script>
Copy link
Contributor Author

@shvaikalesh shvaikalesh Jan 10, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Polyfill itself was removed in f065286.

.pipe(bump())
.pipe(gulp.dest('.'))
.pipe(git.add())
.pipe(git.commit('Bump version number'))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit message changed from Release v${newVersion}. Otherwise it will be quite awkward to implement. Please tell me if this is acceptable.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can drop bump task altogether, I’m releasing with np these days anyway.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed in 4fcabed. -2 deps, yay!

@pepelsbey
Copy link
Contributor

LGTM

@shvaikalesh shvaikalesh merged commit 6dbbbd7 into master Jan 13, 2017
@shvaikalesh shvaikalesh deleted the upgrade-tooling branch January 13, 2017 11:34
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.

2 participants