@metyatech/ai-quota 1.2.2 → 1.2.4

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 (3) hide show
  1. package/README.md +24 -0
  2. package/dist/cli.js +0 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -246,6 +246,30 @@ npm run format # Prettier format
246
246
  npm run verify # lint + test + build (full CI suite)
247
247
  ```
248
248
 
249
+ ## Release and publish
250
+
251
+ `ai-quota` publishes to npm from GitHub Actions via npm trusted publishing (OIDC). The
252
+ release workflow lives in `.github/workflows/publish.yml`, runs when a GitHub release is
253
+ published, and uses Node.js 24 because npm trusted publishing requires a modern npm/Node
254
+ runtime in CI.
255
+
256
+ Release flow:
257
+
258
+ ```bash
259
+ npm version patch --no-git-tag-version
260
+ # update CHANGELOG.md as needed
261
+ npm run verify
262
+ git add package.json package-lock.json CHANGELOG.md
263
+ git commit -m "Release vX.Y.Z"
264
+ git push origin main
265
+ git tag vX.Y.Z
266
+ git push origin vX.Y.Z
267
+ ```
268
+
269
+ Then publish a GitHub release for the `vX.Y.Z` tag. GitHub Actions will run the publish
270
+ workflow, publish the package to npm, and attach npm provenance automatically when trusted
271
+ publishing is configured for the package.
272
+
249
273
  ## Environment variables
250
274
 
251
275
  | Variable | Used by | Purpose |
package/dist/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metyatech/ai-quota",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "AI agent quota/rate-limit fetching library and CLI for Claude, Gemini, Copilot, and Codex",
5
5
  "license": "MIT",
6
6
  "type": "module",