Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"printWidth": 80
}
6 changes: 6 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"categories": {
"correctness": "error"
}
}
2 changes: 0 additions & 2 deletions .prettierignore

This file was deleted.

7 changes: 0 additions & 7 deletions .prettierrc.json

This file was deleted.

4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ bun install
createdb agent_token_dev
export DATABASE_URL=postgres://localhost:5432/agent_token_dev

bun run check # eslint, prettier --check, typecheck, tests (what CI runs)
bun run format # prettier --write
bun run check # oxlint, oxfmt --check, typecheck, tests (what CI runs)
bun run format # oxfmt
bun run build
```

Expand Down
309 changes: 78 additions & 231 deletions bun.lock

Large diffs are not rendered by default.

46 changes: 0 additions & 46 deletions eslint.config.ts

This file was deleted.

52 changes: 25 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,24 @@
"name": "@corbits/agent-token",
"version": "0.2.0",
"description": "Bearer tokens that a deployed agent presents when it calls back into its Interchange hub: mint/revoke routes and a verifying Hono middleware",
"homepage": "https://github.com/corbitsdev/corbits-agent-token#readme",
"bugs": {
"url": "https://github.com/corbitsdev/corbits-agent-token/issues"
},
"license": "LGPL-2.1-only",
"author": "Sawyer Cutler <sawyer@dirtroad.dev>",
"homepage": "https://github.com/corbitsdev/corbits-agent-token#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/corbitsdev/corbits-agent-token.git"
},
"bugs": {
"url": "https://github.com/corbitsdev/corbits-agent-token/issues"
},
"files": [
"dist",
"migrations",
"README.md",
"LICENSE"
],
"type": "module",
"sideEffects": false,
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
Expand All @@ -25,13 +32,6 @@
"default": "./dist/migrations.js"
}
},
"files": [
"dist",
"migrations",
"README.md",
"LICENSE"
],
"sideEffects": false,
"publishConfig": {
"access": "public"
},
Expand All @@ -40,33 +40,31 @@
"prepack": "bun run build",
"typecheck": "tsc --noEmit",
"test:e2e": "bun test ./e2e",
"lint": "eslint .",
"format": "prettier --write .",
"check": "bun run lint && prettier --check . && bun run typecheck && bun run test:e2e"
"lint": "oxlint",
"format": "oxfmt",
"check": "bun run lint && bun run format:check && bun run typecheck && bun run test:e2e",
"format:check": "oxfmt --check"
},
"dependencies": {
"arktype": "^2.2.0"
},
"peerDependencies": {
"@intx/db": "^0.4.0",
"@intx/hub-api": "^0.4.0",
"drizzle-orm": "^0.45.2",
"hono": "^4.11.9",
"postgres": "^3.4.8"
},
"devDependencies": {
"@eslint/js": "9.34.0",
"@intx/db": "0.4.0",
"@intx/hub-api": "0.4.0",
"@types/bun": "1.3.9",
"agent-token-0.1.0": "npm:@corbits/agent-token@0.1.0",
"drizzle-orm": "0.45.2",
"eslint": "9.34.0",
"hono": "4.13.8",
"jiti": "2.5.1",
"oxfmt": "0.70.0",
"oxlint": "1.85.0",
"postgres": "3.4.9",
"prettier": "3.6.2",
"typescript": "5.9.3",
"typescript-eslint": "8.42.0"
"typescript": "5.9.3"
},
"peerDependencies": {
"@intx/db": "^0.4.0",
"@intx/hub-api": "^0.4.0",
"drizzle-orm": "^0.45.2",
"hono": "^4.11.9",
"postgres": "^3.4.8"
}
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"allowImportingTsExtensions": true,
"types": ["bun"]
},
"include": ["src/**/*.ts", "e2e/**/*.ts", "eslint.config.ts"]
"include": ["src/**/*.ts", "e2e/**/*.ts"]
}