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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- run: bunx tsc --noEmit
- run: bun run lint
- run: bun test ./src
- run: bunx prettier --check .
- run: bun run format:check
- run: bun run build
- name: Pack and import on Node
run: |
Expand Down
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"
}
}
7 changes: 0 additions & 7 deletions .prettierrc.json

This file was deleted.

209 changes: 48 additions & 161 deletions bun.lock

Large diffs are not rendered by default.

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

This file was deleted.

56 changes: 27 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
{
"name": "@corbits/reranking",
"version": "0.2.0",
"description": "Cross-encoder rerank client with TEI, Cohere/Jina and Voyage adapters, built on the Interchange inference primitives",
"author": "Sawyer Cutler <sawyer@dirtroad.dev>",
"homepage": "https://github.com/corbitsdev/corbits-reranking",
"version": "0.2.0",
"bugs": {
"url": "https://github.com/corbitsdev/corbits-reranking/issues"
},
"license": "LGPL-2.1-only",
"author": "Sawyer Cutler <sawyer@dirtroad.dev>",
"repository": {
"type": "git",
"url": "git+https://github.com/corbitsdev/corbits-reranking.git"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"type": "module",
"sideEffects": false,
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
Expand All @@ -14,49 +27,34 @@
"default": "./dist/index.js"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"prepack": "bun run build",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"lint": "oxlint",
"test": "bun test ./src",
"test:e2e": "bun test ./e2e",
"format": "prettier -w ."
"format": "oxfmt",
"format:check": "oxfmt --check"
},
"dependencies": {
"arktype": "^2.2.3"
},
"peerDependencies": {
"@intx/inference": "^0.4.0",
"@intx/types": "^0.4.0"
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@intx/inference": "0.4.0",
"@intx/inference-testing": "0.4.0",
"@intx/types": "0.4.0",
"@types/bun": "1.3.9",
"eslint": "10.10.0",
"jiti": "2.7.0",
"prettier": "3.6.2",
"typescript": "5.9.3",
"typescript-eslint": "8.69.0"
"oxfmt": "0.70.0",
"oxlint": "1.85.0",
"typescript": "5.9.3"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/corbitsdev/corbits-reranking.git"
},
"bugs": {
"url": "https://github.com/corbitsdev/corbits-reranking/issues"
"peerDependencies": {
"@intx/inference": "^0.4.0",
"@intx/types": "^0.4.0"
},
"engines": {
"bun": ">=1.2.0",
Expand Down
Loading