Sometimes we don't want feathers-plus CLI to override some changes made in chore files such as package.json or we don't want the CLI to regenerate files we don't want (eg: renaming tsconfig.test.json into tsconfig.spec.json and regenerate -> CLI re-create tsconfig.test.json).
Building an API we also sometime don't want feathers to create the public directory.
New options
I added two options meant to be written in feathers-gen-specs.json under app path:
skipPublic: true, default false: will prevent CLI from creating public directory
skipGenerateChore: true, default false: will prevent CLI from:
installing package and saving dependencies to package.json
These options are meant to be added manually when needed after app generation in order to be able to run generate all without changing/resetting chore files where feathers doesn't inject anchors.
Tests
JS and TS tests with both options activated were added
Summary
Sometimes we don't want feathers-plus CLI to override some changes made in chore files such as
package.json
or we don't want the CLI to regenerate files we don't want (eg: renamingtsconfig.test.json
intotsconfig.spec.json
and regenerate -> CLI re-createtsconfig.test.json
).Building an API we also sometime don't want feathers to create the
public
directory.New options
I added two options meant to be written in
feathers-gen-specs.json
underapp
path:skipPublic: true
, defaultfalse
: will prevent CLI from creatingpublic
directoryskipGenerateChore: true
, defaultfalse
: will prevent CLI from:package.json
.eslintrc.json
,tsconfig.xx.json
,tslint.json
These options are meant to be added manually when needed after app generation in order to be able to run
generate all
without changing/resetting chore files where feathers doesn't inject anchors.Tests
JS and TS tests with both options activated were added