First, ensure you have the latest LTS npm installed. For CLI usage we recommend to use Node version manager - NVM.
yarn install
yarn build
The SDK is made by a group of modules, each one implemented in a different NPM package and all placed under /packages
.
yarn test
yarn lint
yarn build
When developing locally we need to link local cmd to be available globally.
cd packages/graphback-cli
npm link
NOTE: if you have graphback installed globally it will need to be uninstalled first
npm uninstall -g graphback-cli
We do not commit generated code to templates. Templates should not contain any generated source code. z
When using Visual Studio Code developers can use debugger configurations for command line tool. Each individual command can be executed and it will stop on breakpoints.