Skip to content

Zero - v3.0.0

Choose a tag to compare

@ItsJonQ ItsJonQ released this 04 Mar 16:36
· 18 commits to master since this release

Zero V3 - TypeScript, Babel, Jest!

This update brings out of the box TypeScript support into Zero.

New Features

  • TypeScript support
  • Babel + TypeScript
  • Jest + TypeScript
  • Improved CLI
  • Set up commands
📦  Zero

zero <command>

Example:
  zero build

Options:
  -V, --version     output the version number
  -h, --help        output usage information

Commands:
  build [options]   Builds project with Babel, Rollup, or TypeScript
  bundle [options]  Bundles project into single files with Rollup
  contributors      Generates markdown file with all contributors
  format [options]  Formats files with Prettier
  link [options]    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
  setup [options]   Sets up tooling in project
  test [options]    Run test with Jest
  typecheck         Check types with TypeScript
  validate          Validates project with lint, tests, and build

Strategy

The Babel/Jest updates combine the simpliest/best config settings from kcd-scripts and create-react-app.

This set up allows you can compile your project with either Babel or TypeScript.

For additional details, check out the screencasts below:

Feature Overview Video (3:10)

https://soapbox.wistia.com/videos/ccx8Wl6Qeg

How TypeScript, Babel, and Jest work together Video (7:05)

https://soapbox.wistia.com/videos/FTQYVkePeR


  • Zero V3 - TypeScript, Babel, Jest! (#15) d254371
  • Fix package-lock.json via audit cbac780

v2.0.5...v3.0.0