1- # @leaderboard/plugin- leaderboard-github-plugin
1+ # @ohcnetwork/ leaderboard-github-plugin
22
33Leaderboard github plugin
44
@@ -9,8 +9,8 @@ Add the plugin to your `config.yaml`:
99``` yaml
1010leaderboard :
1111 plugins :
12- leaderboard- github-plugin :
13- source : " @leaderboard/plugin- leaderboard-github-plugin"
12+ github :
13+ source : " @ohcnetwork/ leaderboard-github-plugin"
1414 config :
1515 # TODO: Add your plugin configuration options here
1616```
@@ -44,6 +44,65 @@ pnpm test
4444pnpm test:watch
4545```
4646
47+ ## Release Process
48+
49+ This package uses [ changesets] ( https://github.com/changesets/changesets ) for version management and automated publishing to GitHub's npm registry.
50+
51+ ### For Contributors
52+
53+ When making changes that should be included in the next release:
54+
55+ 1 . Make your code changes
56+ 2 . Run ` pnpm changeset ` to create a changeset file
57+ 3 . Select the type of change (major, minor, or patch)
58+ 4 . Describe your changes in the prompt
59+ 5 . Commit the generated changeset file along with your changes
60+
61+ ``` bash
62+ pnpm changeset
63+ git add .changeset/
64+ git commit -m " feat: your feature description"
65+ ```
66+
67+ ### For Maintainers
68+
69+ The release process is automated via GitHub Actions:
70+
71+ 1 . When PRs with changesets are merged to ` main ` , a "Version Packages" PR is automatically created/updated
72+ 2 . Review the Version Packages PR to verify:
73+ - Version bumps are correct
74+ - CHANGELOG entries are accurate
75+ 3 . Merge the Version Packages PR to automatically publish to GitHub's npm registry
76+
77+ ### Manual Publishing (if needed)
78+
79+ If you need to publish manually:
80+
81+ ``` bash
82+ pnpm build
83+ pnpm release
84+ ```
85+
86+ Note: You'll need to be authenticated with GitHub's npm registry and have the appropriate permissions.
87+
88+ ### Installing from GitHub Packages
89+
90+ To install this package from GitHub's npm registry:
91+
92+ 1 . Create or update your ` .npmrc ` file:
93+
94+ ```
95+ @ohcnetwork/leaderboard-github-plugin:registry=https://npm.pkg.github.com
96+ //npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
97+ ```
98+
99+ 2 . Install the package:
100+
101+ ``` bash
102+ npm install @ohcnetwork/leaderboard-github-plugin
103+ ```
104+
105+
47106## License
48107
49108MIT
0 commit comments