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

Solo! (Zero v2) #13

Merged
merged 13 commits into from
Feb 11, 2019
Merged

Solo! (Zero v2) #13

merged 13 commits into from
Feb 11, 2019

Conversation

ItsJonQ
Copy link
Contributor

@ItsJonQ ItsJonQ commented Feb 11, 2019

Solo! (Zero v2)

This update forks Zero from kcd-scripts to provide finer grain control over the build process, especially for Babel.

📦  Zero

Usage: zero <command> [--flags]

Commands:
🛠  build           Builds project with Babel (7)
📦  bundle          Bundles project into single files with Rollup
🤗  contributors    Generates markdown file with all contributors
💅  format          Formats files with Prettier
🔍  lint            Lints files with ESLint
✨  new             Generate a new module
☝️  pre-commit      Lints files before staging for commit
🔑  prestart        Automatically install dependencies before starting
🚢  release         Publish to npm
🤞  test            Run tests with Jest
💪  validate        Validates project with lint, tests, and build

New commands

This update adds bundle (kcd's Rollup), release (Sindre's np), and prestart (Help Scout's own prestart)!

New prompt

The prompt help message has been customized to be a little bit more helpful.

Babel: Browser by default

A bunch of stuff has been tweaked to Babel to fine-tune it for our needs. Specifically, it prioritizes browser over node builds, which ensures things like async/await are automatically taken care of.

Less scaffolding

With this update, your project no longer needs to extend Babel, ESLint, or Jest (unless you really do have overrides).


Resolves:

#9
#10

@ItsJonQ ItsJonQ added the enhancement New feature or request label Feb 11, 2019
@ItsJonQ ItsJonQ self-assigned this Feb 11, 2019
@ItsJonQ ItsJonQ changed the title Solo! Solo! (Zero v2) Feb 11, 2019
@ItsJonQ
Copy link
Contributor Author

ItsJonQ commented Feb 11, 2019

screen shot 2019-02-11 at 9 10 21 am

zero new !

@ItsJonQ ItsJonQ requested a review from knicklabs February 11, 2019 14:13
@ItsJonQ
Copy link
Contributor Author

ItsJonQ commented Feb 11, 2019

Note! This updated Zero has been tested on packages like Fancy and Brigade. zero build works as expected 🙌

@ItsJonQ ItsJonQ merged commit e809ff3 into master Feb 11, 2019
@ItsJonQ ItsJonQ deleted the solo branch March 3, 2019 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant