github maizzle/cli v1.2.0

latest releases: v1.5.8, v1.5.7, v1.5.6...
3 years ago

New Features

--bin

You can now define the path to Maizzle's executable, through the --bin (-b for short) option:

maizzle build [env] --bin path/to/@maizzle/framework/src

This can help with running Maizzle in some setups that don't use the traditional project setup, with node_modules in the project root.

For example, in Laravel projects, you could have Maizzle as a dependency in your project root, and keep the actual Maizzle project files in resources/maizzle. Then, you'd add an NPM script like this:

"build:emails": "cd resources/maizzle && maizzle build production -b ../../node_modules/@maizzle/framework/src",

Changed

Build command error handling

If it fails to load the Maizzle executable, the CLI will now display a human-friendly message:

user@machine ~/not/a/maizzle/project
$ maizzle build

Error: Framework not found

Make sure to run this command in your Maizzle project root, with dependencies installed.

v1.1.0...v1.2.0

Don't miss a new cli release

NewReleases is sending notifications on new releases.