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

[WIP] Redesigning for Gulp 4 and package updates. #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

hellofromtonya
Copy link
Member

@hellofromtonya hellofromtonya commented Nov 6, 2019

This PR redesigns UpGulp for upgrading to Gulp 4, new approach to splitting tasks into separate files, and updates to the packages.

Closes #3

TODO

[x] Add styles tasks, packages, and configs
[ ] Add scripts tasks, packages, and configs
[ ] Add images tasks, packages, and configs
[ ] Add translation tasks, packages, and configs

With Gulp 4, we can now easily split up the gulpfile into separate task
files. Per the Getting Started documentation:

>Node's module resolution allows you to replace your gulpfile.js file
>with a directory named gulpfile.js that contains an index.js file which
>is treated as a gulpfile.js.
>@link https://gulpjs.com/docs/en/getting-started/javascript-and-gulpfiles

This commit changes the `gulpfile.js` from a file to directory and adds
an `index.js` file, which Node resolves the entry point into the directory.

This new design allows a developer to clone the UpGulp repo and name it
something like `dev`. Why? It allows all development files, tools, and
packages (such as Sass, composer, package.json, tests, node_modules,
rc configurations, etc.) to be held in one directory.
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.

UpGulp version 1 does not run on Gulp 4
1 participant