YETI


YETI is a Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

✨ Features

📦 Install

git clone https://github.com/xmlking/yeti.git && cd yeti
npm i --force
# run
nx serve webapp

🔭 Development

API

# Start API
nx serve api
# Start Envoy proxy
docker compose up envoy

WebApp

## gen i18n
nx xi18n webapp
## serve
nx serve webapp --configuration=es
nx serve webapp --configuration=hi
## build
nx build webapp --configuration=hi
# You can also build the app with a specific locale:
nx build webapp --configuration=production,es
# build all
nx build --localize
nx build --prod --localize

Deploy

Run ng deploy to deploy demo app to firebase.

Analyzing bundle size npm bundle-report

Release

make update_deps
git add .
# Start release on develop branch
git flow release start v0.1.5
# on release branch
git-chglog -c .github/chglog/config.yml -o CHANGELOG.md --next-tag v0.1.5
# update `github.com/xmlking/logger` version in each `go.mod` file.
# commit all changes.
# finish release on release branch
git flow release finish
# on master branch, (gpoat = git push origin --all && git push origin --tags)
gpoat
# add git tags for sub-modules
make release TAG=v0.1.5

nx-semver plugin

Independent mode

nx run my-project:version [...options]
nx affected --target version [...options]

Synced mode

nx run workspace:version [...options]
nx run workspace:version --version=minor --dry-run
nx run workspace:version --version=prerelease --preid=alpha --dry-run

NX

# To run these tasks you run:
nx run <project-name>:<task-name>
# To run a task for all affected projects use:
nx affected --target=<task-name>
nx run <project-name>:doc
nx affect --target=doc

ng run webapp:doc
# gen meta
# node tools/scripts/metagen.mjs
npm gen:metadata

# Run Source Map Explorer
ng run webapp:analyze
# build goapi image
docker build -t ghcr.io/xmlking/yeti/goapi  .

🔗 Credits

Last updated