Releases: helpscout/zero
Zero - v2.0.2
New Command: Include dotfiles
This update fixes the new command to include dotfiles like babelrc, eslint
when generating a new module.
This update also replaces the glob
package with fast-glob
.
Result:
Generated /Users/Q/Desktop/sky/.babelrc
Generated /Users/Q/Desktop/sky/.eslintignore
Generated /Users/Q/Desktop/sky/.eslintrc
Generated /Users/Q/Desktop/sky/.gitignore
Generated /Users/Q/Desktop/sky/.prettierignore
Generated /Users/Q/Desktop/sky/.travis.yml
Generated /Users/Q/Desktop/sky/LICENSE
Generated /Users/Q/Desktop/sky/README.md
Generated /Users/Q/Desktop/sky/jest.config.js
Generated /Users/Q/Desktop/sky/package.json
Generated /Users/Q/Desktop/sky/prettier.js
Generated /Users/Q/Desktop/sky/src/index.js
Zero - v2.0.0
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:
Zero - v1.0.4
Update lodash for security
Zero - v1.0.3
Babel: Remove react app
This update removes babel-preset-react-app
to ensure that Zero does not compile with @babel/runtime
what so ever.
Zero - v1.0.2
Babel: No runtime
This update removes @babel/runtime
from babelrc
. We'll revisit @babel/runtime
when most of our code base is on Babel 7.
Zero - v1.0.1
Babel 7: Fix
Follow up to: #5
This update plucks a wee bit more from kcd-scripts
to ensure that Jest doesn't explode when compiling.
Note: The explosions happen when kcd-scripts
is attempting to resolve @babel/runtime
.
Zero - v1.0.0
Babel 7
This update brings Zero to Babel 7, along with the latest (mostly latest) for other things, such as Jest and friends.
Babel Core Bridge
As of version 1.0.0
, Zero is now on @babel
version 7. Your project may need to install [email protected]
. To do so, add that package to your package.json
, or run:
npm install --save-dev [email protected]
Zero - v0.0.9
Update Husky
This update bumps husky
to the next
version to resolve precommit
issues stemming from nvm
based node environments.
Zero - v0.0.8
Jest: Add testURL
This resolves the following Jest issue:
SecurityError: localStorage is not available for opaque origins
Zero - v0.0.7
Babel: Use babel-preset-react-app
.
This update updates Babel to use preset-react-app
by default.
It also forces BABEL_ENV=production
if build is triggered.