@@ -33,6 +33,12 @@ The following scripts are available via `npm run <script>` or `pnpm run <script>
3333
3434The following scripts are available via ` npm run <script> ` or ` pnpm run <script> ` :
3535
36+
37+
38+
39+ ### 📦 SETUP.md – NPM Token Authentication with .env and CLI
40+
41+
3642| Script | Description |
3743| --------------------| ------------------------------------------------------------------|
3844| ** build** | Compile TypeScript using ` tsc ` and fix paths using ` tsc-alias ` |
@@ -54,17 +60,10 @@ The following scripts are available via `npm run <script>` or `pnpm run <script>
5460| ** add** | * (Your custom script — specify its function if needed)* |
5561
5662
57- ### 🎯 Filter Usage (Workspace Targeting)
5863
59- ```` bash
60- pnpm build --filter @nexgenstudiodev/fastkit-config
61- pnpm add -D @types/express --filter @nexgenstudiodev/fastkit-config
62-
63- ````
6464
6565### 🚀 Publishing Workflow
6666
67-
6867#### Using npm
6968
70691 . Make your changes
@@ -125,7 +124,7 @@ If you're working on a new feature or a major update and want users to test it *
125124 ``` bash
126125 npm run publish:npm -- --tag beta
127126 ```
128-
127+
129128 This way, your beta version is available for testing, but users installing your package normally will still get the stable latest version.
130129
131130
@@ -169,6 +168,26 @@ pnpm run publish:pnpm
169168
170169---
171170
171+
172+
173+ # Version & Tag Management for ` @nexgenstudiodev/fastkit `
174+
175+ | Topic | Command / Info | Description |
176+ | -----------------------------| ------------------------------------------------------------| -----------------------------------------------|
177+ | ** View all tags** | ` npm dist-tag ls @nexgenstudiodev/fastkit ` | List all tags and their versions |
178+ | ** Set latest tag version** | ` npm dist-tag add @nexgenstudiodev/fastkit@1.1.3 latest ` | Point ` latest ` tag to version ` 1.1.3 ` |
179+ | ** Tag a version as beta** | ` npm dist-tag add @nexgenstudiodev/fastkit@2.0.0 beta ` | Mark version ` 2.0.0 ` as ` beta ` |
180+ | ** Install latest version** | ` npm install @nexgenstudiodev/fastkit ` | Install version tagged ` latest ` |
181+ | ** Install specific version** | ` npm install @nexgenstudiodev/fastkit@1.1.3 ` | Install exact version ` 1.1.3 ` |
182+ | ** Install tagged version** | ` npm install @nexgenstudiodev/fastkit@beta ` | Install version tagged ` beta ` |
183+ | ** Publish with tag** | ` npm publish --tag latest ` or ` npm publish --tag beta ` | Publish package with specified tag |
184+ | ** Clear npm cache** | ` npm cache clean --force ` | Fix cache issues when updates don’t appear |
185+
186+ ---
187+
188+
189+
190+
172191## ✅ Best Practices
173192
174193- Use a single package manager throughout your project
0 commit comments