In charge of running the dev / build / release / deploy / newpattern toolchain for groundzero projects by providing a simple CLI.
*** This package is a dependencie of JvM/Neckar Groundzero, will not work as a standalone ***
- npm install:
npm install @jvmn/groundzero-taskrunner-webpack --save-dev
- if you use
Twig
as your template engine you need to install them as peer dependenciesnpm install @jvmn/groundzero-taskrunner-webpack twig @frctl/twig --save-dev
- get all coomand options by running from the terminal:
groundzero help
-
for convinence, groundzero projects should also come with mapped npm commands to the CLI.
-
if you need to overwrite some config files in your project, copy-paste the config you need from the "config-templates" folder to your project root folder and edit as you wish.
For development of the taskrunner, you would want to:
-
clone the repo and install it.
-
clone the latest groundzero-pattern repo, install it and run within-it:
npm link path/to/taskrunner
path: to get full path run
pwd
in terminal -
this would map the taskrunner repo to run as a native node_modules package in the groundzero-pattern, giving you the ability to develop without the need to rebuild and quickly run the tasks against a sample groundzero project
Run:
- changelog
npm run pkg:release
- publish
npm run pkg:publish
If you need to publish a next/rc or other tags run:
npm publish --access public --tag TAGNAME