- Update articles in
/contentdirectory - Run
npm run buildautomatically invoke mdx-parser to generate static content from/contentdirectory and then build a snowpack distribution with all your assets (ready to be deployed) - Run
npm run deploy=> this will build & publish built content to s3 bucket for deployment - Run
npm run cache-invalidation=> this will create a cache invalidation for cloudfront distribution (needs to be tested if this runs correctly. Will check it the next time I need to invalidate cache)
Run these scripts for specific situations:
- Run
npm run reloadin case you want to reload deno scripts in local cache - Run
npm run postbuildin case you want to build your assets - Run
npm run build-deployin case you want to build & deploy sequentially - Run build using local mdx-parser script, use
npm run local-precompileinsidefrontenddirectory (*Note: this requires deno-scripts repo cloned in the same directory as code-ninja-v2)
- frontend: frontend chore
- backend: backend chore
- deploy: deploy chore
frontend
- feature: functionality
- module: end-to-end functionality
backend
- function: functionality
- service: end-to-end functionality
deploy
- stack: cdk stacks
- construct: cdk constructs
general
- refactor
- bugfix
- fix (minor fixes)
- enhancement
- docs
- tadd
- content