@@ -11,14 +11,17 @@ alwaysApply: true
1111### For Dev/Testing (Safe - Won't Affect Main Users)
1212
1313** Option 1: Auto-increment dev version**
14+
1415``` bash
1516npm run publish:dev
1617```
18+
1719- Auto-bumps version: ` 0.0.56 ` → ` 0.0.56-dev.0 ` → ` 0.0.56-dev.1 ` etc.
1820- Publishes with ` --tag dev ` (not ` latest ` )
1921- Regular users unaffected
2022
2123** Option 2: Manual dev version (full control)**
24+
2225``` bash
2326# Set exact version you want
2427npm version 0.0.60-dev.5 --no-git-tag-version
@@ -27,11 +30,13 @@ npm version 0.0.60-dev.5 --no-git-tag-version
2730npm run build
2831npm publish --tag dev
2932```
33+
3034- Choose any version number manually
3135- MUST use ` npm publish --tag dev ` to avoid affecting production users
3236- ` --no-git-tag-version ` prevents auto git commit
3337
3438### Installing Dev Versions
39+
3540``` bash
3641# Specific dev version
3742npm install @insforge/sdk@0.0.60-dev.5
@@ -44,20 +49,24 @@ npm install @insforge/sdk # Gets latest stable
4449```
4550
4651### For Production Release
52+
4753``` bash
4854npm version patch # or minor, major
4955npm run publish:stable
5056```
57+
5158- Updates version following semver
5259- Publishes with ` --tag latest ` (default)
5360- All users get this version by default
5461
5562## Semver Rules
63+
5664- ** Patch** (0.0.X): Bug fixes, no API changes
5765- ** Minor** (0.X.0): New features, backward compatible
5866- ** Major** (X.0.0): Breaking changes
5967
6068## Pre-Publish Checklist
69+
6170- [ ] All tests pass: ` npm test `
6271- [ ] Build succeeds: ` npm run build `
6372- [ ] Type check passes: ` npm run typecheck `
0 commit comments