Same contributing guidelines as the WikiBonsai, but there are some extra testing details below...
Note: Be very careful with tests as they perform operations on real files generated at runtime. This means if variables like cwd
(current working directory) aren't set properly, you may perform cli operations on project files themselves during test runs.
$ yarn test
$ yarn tendr <cmd>
note: aliases (tend
, t
) should also work.
after (re)building project, copy/paste package.json
into the dist/
directory (this will be automatically genenerated in a production deploy).
$ yarn global add file://path/to/tendr-cli/
- unit tests
- tendr package script
- install locally
- ensure prod vars are ready