Cookbooks should only have the necessary code for illustrating a scenario. code should follow KISS principle with good comments
see development for initial setup
cd cookbooks/app-react
pnpm dev
cp -r cookbooks/app-react cookbooks/app-react-2
rm cookbooks/app-react-2/CHANGELOG.md
- change
name
inpackage.json
- reset the version to
0.0.0
inpackage.json
when adding internal dependencies, the tsconfig.json
should also reflect those packages.
{
"references": [
{ "path": "../../packages/react/app" },
{ "path": "../../packages/cli" },
],
}
the CLI might not register changes in dependencies, sp good practice is to rebuild all packages when changes are made