@vllnt/convex-api-keys 0.4.0-canary.d0b69e3 → 0.4.0-canary.eb43b0d
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/CHANGELOG.md +16 -1
- package/README.md +1 -1
- package/package.json +2 -6
package/CHANGELOG.md
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
- The README intro is the `package.json` `description`, the same sentence as
|
|
43
43
|
the `llms.txt` summary.
|
|
44
44
|
- The README has a Links section (docs, release feed, package search, source,
|
|
45
|
-
community, author, sponsor) that replaces the Author section.
|
|
45
|
+
issues and npm, community, author, sponsor) that replaces the Author section.
|
|
46
46
|
- README Related packages lists only packages this one uses in code; it is now
|
|
47
47
|
"None.".
|
|
48
48
|
- The `llms.txt` Ecosystem block links the release feed and package search.
|
|
@@ -56,9 +56,21 @@
|
|
|
56
56
|
there are none); when `llms.txt` does not end with the Ecosystem block; and
|
|
57
57
|
when a `docs/API.md` TypeScript example does not type-check. CHANGELOG and
|
|
58
58
|
TSDoc examples are not type-checked.
|
|
59
|
+
- `pnpm test:package` runs `scripts/test-consumer.mjs`. It packs the tarball
|
|
60
|
+
and installs it with pnpm in a clean project outside the repo. Node imports
|
|
61
|
+
and runs only `.` and reads `./package.json`. It resolves `./convex.config`
|
|
62
|
+
and `./convex.config.js` without running them, because they only run inside
|
|
63
|
+
the Convex CLI. The other entry points are type-checked: a `strict` consumer
|
|
64
|
+
imports every entry point and calls `ApiKeys` from a mutation, a query, an
|
|
65
|
+
action and an HTTP action. The test fails when an `exports` subpath is not
|
|
66
|
+
covered, and runs in CI's Test job and before every publish.
|
|
67
|
+
- `pnpm typecheck:ci` type-checks `src/component/`, every test file and
|
|
68
|
+
`example/convex/`; before, a type error in a test or the example passed CI.
|
|
59
69
|
|
|
60
70
|
### Fixed
|
|
61
71
|
|
|
72
|
+
- `scripts/check-package-contents.sh` also blocks `.spec.mts` and `.spec.cts`
|
|
73
|
+
files, and CI runs its test harness.
|
|
62
74
|
- `package.json` `repository.url` uses the form npm expects, so publishing no
|
|
63
75
|
longer prints an auto-correction warning. `pnpm test:package` fails when
|
|
64
76
|
`npm pkg fix` would rewrite any field.
|
|
@@ -67,6 +79,9 @@
|
|
|
67
79
|
`ctx` does not satisfy, so calling `ApiKeys` methods from an action or HTTP
|
|
68
80
|
action failed to type-check. They are now interfaces with only the
|
|
69
81
|
`runMutation` / `runQuery` call, for public and internal function references.
|
|
82
|
+
- The 7-day minimum release age now lives in `pnpm-workspace.yaml`, where
|
|
83
|
+
pnpm 10 reads it; pnpm ignored it in the `package.json` `pnpm` field.
|
|
84
|
+
Renovate uses the same rule, with `@vllnt` packages exempt.
|
|
70
85
|
|
|
71
86
|
## [0.3.0] - 2026-11-26
|
|
72
87
|
|
package/README.md
CHANGED
|
@@ -410,7 +410,7 @@ for development setup, testing, and PR guidelines.
|
|
|
410
410
|
|
|
411
411
|
- Docs and changelog: [oss.vllnt.com/packages/convex-api-keys](https://oss.vllnt.com/packages/convex-api-keys) · [release feed](https://oss.vllnt.com/packages/convex-api-keys/rss.xml)
|
|
412
412
|
- All @vllnt packages: [oss.vllnt.com](https://oss.vllnt.com) · [search packages and docs on index.vllnt.com](https://index.vllnt.com)
|
|
413
|
-
- Source and issues: [GitHub](https://github.com/vllnt/convex-api-keys) · [issues](https://github.com/vllnt/convex-api-keys/issues)
|
|
413
|
+
- Source and issues: [GitHub](https://github.com/vllnt/convex-api-keys) · [issues](https://github.com/vllnt/convex-api-keys/issues) · [npm](https://www.npmjs.com/package/@vllnt/convex-api-keys)
|
|
414
414
|
- Questions and updates: [Discord](https://bntvllnt.com/discord) · [X @bntvllnt](https://x.com/bntvllnt)
|
|
415
415
|
- Company and author: [vllnt.com](https://vllnt.com) · [bntvllnt.com](https://bntvllnt.com) · [GitHub @bntvllnt](https://github.com/bntvllnt) · [LinkedIn](https://linkedin.com/in/bntvllnt)
|
|
416
416
|
- Sponsor: [GitHub Sponsors](https://github.com/sponsors/bntvllnt)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vllnt/convex-api-keys",
|
|
3
|
-
"version": "0.4.0-canary.
|
|
3
|
+
"version": "0.4.0-canary.eb43b0d",
|
|
4
4
|
"description": "Convex component to create, validate, revoke and rotate API keys, stored as SHA-256 hashes, with owner scoping, scopes, expiry, use limits and usage counts.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"test": "pnpm check:agents && pnpm test:package && vitest run --passWithNoTests",
|
|
49
49
|
"test:watch": "vitest --typecheck --clearScreen false",
|
|
50
50
|
"test:coverage": "pnpm test:package && vitest run --coverage --coverage.reporter=text",
|
|
51
|
-
"test:package": "node scripts/test-package.mjs && node scripts/check-docs.mjs",
|
|
51
|
+
"test:package": "node scripts/test-package.mjs && node scripts/check-docs.mjs && node scripts/test-consumer.mjs",
|
|
52
52
|
"generate:llms": "node scripts/generate-llms.mjs",
|
|
53
53
|
"preversion": "pnpm install --frozen-lockfile && pnpm build && pnpm test && pnpm typecheck && pnpm generate:llms",
|
|
54
54
|
"check:agents": "node -e \"const f=require('node:fs');if(!f.existsSync('AGENTS.md')||f.existsSync('CLAUDE.md')||f.existsSync('.claude'))process.exit(1)\"",
|
|
@@ -110,10 +110,6 @@
|
|
|
110
110
|
"usage-limits"
|
|
111
111
|
],
|
|
112
112
|
"pnpm": {
|
|
113
|
-
"minimumReleaseAge": 10080,
|
|
114
|
-
"minimumReleaseAgeExclude": [
|
|
115
|
-
"@vllnt/*"
|
|
116
|
-
],
|
|
117
113
|
"ignoredBuiltDependencies": [
|
|
118
114
|
"esbuild"
|
|
119
115
|
],
|