forbocai 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -0
- package/dist/cli.js +744 -19
- package/dist/cli.mjs +744 -19
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,6 +22,35 @@ Autonomous AI for game NPCs.
|
|
|
22
22
|
|
|
23
23
|
---
|
|
24
24
|
|
|
25
|
+
## 🚀 Publishing to NPM (Quick Reference)
|
|
26
|
+
|
|
27
|
+
`Públish_Séquence // NPM_Deploý`
|
|
28
|
+
|
|
29
|
+
To publish a new version to NPM:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
# 1. Bump version
|
|
33
|
+
npm version <major|minor|patch> --no-git-tag-version
|
|
34
|
+
|
|
35
|
+
# 2. Build
|
|
36
|
+
npm run build
|
|
37
|
+
|
|
38
|
+
# 3. Publish (use token from api/NPM_TOKEN.md)
|
|
39
|
+
echo "//registry.npmjs.org/:_authToken=<TOKEN_FROM_API_NPM_TOKEN_MD>" > .npmrc
|
|
40
|
+
npm publish --access public
|
|
41
|
+
|
|
42
|
+
# 4. Clean up (IMPORTANT: don't commit .npmrc)
|
|
43
|
+
rm .npmrc
|
|
44
|
+
|
|
45
|
+
# 5. Commit and push
|
|
46
|
+
git add . && git commit -m "chore: release vX.X.X" && git push
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
> **Token Location**: The NPM token is stored in `../api/NPM_TOKEN.md`
|
|
50
|
+
> **Current Version**: Check `package.json` for the current version
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
25
54
|
## Overview
|
|
26
55
|
|
|
27
56
|
`Córe_Módules // SDK_Init`
|