git clone https://github.com/aminnairi/kryptonian
cd kryptonian
cp .env.example .env
docker compose up --detach
docker compose exec node npm install
docker compose exec node npm run dev
docker compose exec node npm test
docker compose exec node npm run coverage
docker compose exec node npm run build
docker compose exec node npm --workspaces install
docker compose exec node npm --workspace template/shared run dev
docker compose exec node npm --workspace template/server run dev
docker compose exec node npm --workspace template/client run dev
docker compose exec node npm --workspaces run build
Or
docker compose node npm --workspace template/shared run build
docker compose node npm --workspace template/server run build
docker compose node npm --workspace template/client run build
Go on npmjs.com and login as a maintainer of the package. Create a publish key and add it to the .npmrc
file.
touch .npmrc
//registry.npmjs.org/:_authToken=INSERTAUTHTOKENHERE
docker compose exec node npm run build
Add the necessary changelogs in the CHANGELOG.md
file for the next release.
Update the package version in the package.json
file to reflect the new release.
docker compose exec node npm publish
docker compose down --remove-orphans --volumes --timeout 0