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

Gulp: lint, flow, and version-check #7174

Merged
merged 5 commits into from
Jul 5, 2016
Merged

Gulp: lint, flow, and version-check #7174

merged 5 commits into from
Jul 5, 2016

Conversation

maxdeviant
Copy link
Contributor

@maxdeviant maxdeviant commented Jul 2, 2016

In light of @sebmarkbage's comments on #7172, I am opting for smaller PRs to convert the grunt tasks over to gulp. These tasks should be unaffected by the changes in #7164 and #7168.

I also decided on a different approach for splitting the tasks, after discovering that storing the tasks themselves in individual files will be deprecated in gulp 4. The task bodies are now stored in separate files, but registered with gulp in the main gulpfile. This also makes the dependencies between different tasks much clearer.

The grunt tasks with the same name have been adjusted to wrap the new gulp tasks.

Converted Tasks

  • gulp lint
    • gulp eslint
  • gulp flow
  • gulp version-check

This PR would progress #4927 and #6656.

@zpao
Copy link
Member

zpao commented Jul 5, 2016

Looks great, thanks for kicking this off!

@zpao zpao merged commit 69703e0 into facebook:master Jul 5, 2016
@zpao zpao added this to the 15-next milestone Jul 5, 2016
@keyz
Copy link
Contributor

keyz commented Jul 6, 2016

Thanks @maxdeviant!

@maxdeviant
Copy link
Contributor Author

Welcome 😄

I'll see if I can tackle more of it after #7164 and #7168 land.

zpao pushed a commit that referenced this pull request Jul 8, 2016
* Add plugin loading for gulp

* Convert `lint` task to gulp

* Convert `flow` task to gulp

* Convert `version-check` task to gulp

* Add missing semicolons

(cherry picked from commit 69703e0)
@zpao zpao modified the milestones: 15-next, 15.2.1 Jul 8, 2016
usmanajmal pushed a commit to usmanajmal/react that referenced this pull request Jul 11, 2016
* Add plugin loading for gulp

* Convert `lint` task to gulp

* Convert `flow` task to gulp

* Convert `version-check` task to gulp

* Add missing semicolons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants