Skip to content

v3.0.0-next.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@lukeed lukeed released this 09 Apr 03:19
· 752 commits to master since this release

This is one of many pre-release versions, made available on npm via preact-cli@next πŸŽ‰

First next-tagged release that stems from #445. The shortlist of changes in this version (compared to master/v2.2.1) is the following:

Breaking

  • Require Node 8.x as a minimum runtime
  • Remove serve command from the CLI
    It will be made available as its own package in the near future.
  • Remove watch command's custom SSL handling
    Use webpack-style CLI flags instead:
    $ preact watch --https --key <foo> --cert <bar>
    
  • Rename --service-worker flag to --sw

Chores / Refactors

  • Replace yargs with sade 😎
  • Remove Preact CLI hero/logo
  • Refactor commands' setup
  • Update & fix all tests πŸŽ‰
    • Tests now complete in 30s (down from 7m)
    • TravisCI suite completes in 2m (down from 30m)
  • Move check.js into the main CLI binary
    Performs the check before loading any async code

There's still lots to be done~! But publishing this is a good start & allows (all of) us to test each step.