wucaishi-generative-react-skill 0.1.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +20 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -49,3 +49,23 @@ npm publish
49
49
  ```
50
50
 
51
51
  Before publishing, inspect the package contents and make sure no local credentials, tokens, or machine-specific files are included.
52
+
53
+ ## GitHub Actions Release
54
+
55
+ Add an npm automation token to the GitHub repository secrets:
56
+
57
+ ```text
58
+ NPM_TOKEN
59
+ ```
60
+
61
+ The token must have permission to publish this package. If npm requires 2FA for publishing, use a granular access token that can publish the package and bypass 2FA.
62
+
63
+ Then bump `package.json` version and push a matching tag:
64
+
65
+ ```bash
66
+ npm version patch
67
+ git push
68
+ git push origin v0.1.1
69
+ ```
70
+
71
+ The workflow publishes only when the tag version matches `package.json` version.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wucaishi-generative-react-skill",
3
- "version": "0.1.0",
3
+ "version": "1.0.0",
4
4
  "description": "Codex skill for Wucaishi component package workflow and HTML-to-React generation.",
5
5
  "type": "module",
6
6
  "bin": {