**to enable prepush guard** run: ```shell chmod +x _tools/git/pre-push ln -s ../../_tools/git/pre-push .git/hooks/pre-push ```
npm install @brighterly/typesto enable prepush guard
run:
``shell`
chmod +x _tools/git/pre-push
ln -s ../../_tools/git/pre-push .git/hooks/pre-push
to download deps:
run:
`bash`
set -a; source .env; set +a
pnpm i
to login in npm to enable version patch
`bash`
npm login # and then ENTER to login within browser
npm whoami # to check is everything correct, should log "brighterly"
to trigger auto-publish with ci
to update package version patch|minor|major - (developer must decide what the version should be)
run:
with empty stage changes (any changes that was made can be freely pushed to the repo ci triggers only on tag with v@.@.@ prefix)
`bash``
pnpm version patch -m "release: v%s message for the changes"
git push --follow-tags