@vllnt/convex-tokens 0.1.0-canary.efeaa33 → 0.1.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/package.json +6 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vllnt/convex-tokens",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Hashed-secret token primitive with mint-once, TTL, revoke and scope, as a Convex component",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"module": "./dist/client/index.js",
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "tsc --project ./tsconfig.build.json",
|
|
42
|
-
"build:codegen": "pnpm
|
|
42
|
+
"build:codegen": "pnpm codegen && pnpm build",
|
|
43
43
|
"build:clean": "rm -rf dist *.tsbuildinfo && pnpm build:codegen",
|
|
44
44
|
"typecheck": "tsc --noEmit",
|
|
45
45
|
"typecheck:ci": "tsc --noEmit --project tsconfig.ci.json",
|
|
46
|
-
"lint": "eslint .",
|
|
46
|
+
"lint": "pnpm check:agents && eslint .",
|
|
47
47
|
"test": "vitest run --passWithNoTests",
|
|
48
48
|
"test:watch": "vitest --typecheck --clearScreen false",
|
|
49
49
|
"test:coverage": "vitest run --coverage --coverage.reporter=text",
|
|
@@ -51,7 +51,9 @@
|
|
|
51
51
|
"preversion": "pnpm install --frozen-lockfile && pnpm build && pnpm test:coverage && pnpm typecheck && pnpm generate:llms",
|
|
52
52
|
"prepublishOnly": "npm whoami || npm login",
|
|
53
53
|
"alpha": "npm version prerelease --preid alpha && npm publish --tag alpha && git push --follow-tags",
|
|
54
|
-
"release": "npm version patch && npm publish && git push --follow-tags"
|
|
54
|
+
"release": "npm version patch && npm publish && git push --follow-tags",
|
|
55
|
+
"check:agents": "node -e \"const f=require('node:fs');if(!f.existsSync('AGENTS.md')||f.existsSync('CLAUDE.md')||f.existsSync('.claude'))process.exit(1)\"",
|
|
56
|
+
"codegen": "pnpm convex codegen --component-dir ./src/component"
|
|
55
57
|
},
|
|
56
58
|
"peerDependencies": {
|
|
57
59
|
"convex": "^1.45.0",
|