The backend api and client webserver
Various methods to consume data generated from @grogqli/server
The graphql schema SDLs, queries SDLs, and the generated Typescript types associated with each
npm start
- clears out allnode_modules
, reinstalls dependencies, links packages, and starts the development runtimes for each package
To enable automatic prettier lint error correction on save (in vscode editor), install and enable the Prettier - Code formatter
- If types don't seems to be properly updated after making changed (e.g. changes in
@grogqli/schema
not cascading to@grogqli/server
):- in vscode: press f1 and then begin typing
reload window
and select the option forDeveloper: Reload Window
- in vscode: press f1 and then begin typing
npm run publish
npm run start
- starts the development runtimes for each package (helpful for quickly restarting the dev environment without reinitializing all dependencies, linking, etc).
lerna add <name-of-package-to-import> packages/<name-of-importing-package>/
- devDependencies -
lerna add <name-of-package-to-import> packages/<name-of-package>/ --dev