diff --git a/apis/websocket/package.json b/apis/websocket/package.json index c4eeb04..99fd315 100755 --- a/apis/websocket/package.json +++ b/apis/websocket/package.json @@ -3,7 +3,7 @@ "type": "module", "private": true, "version": "0.1.0", - "description": "⚙️ Gateway for bots assisting ReVanced", + "description": "🧦 WebSocket API server for bots assisting ReVanced", "main": "dist/index.js", "scripts": { "bundle": "bun build src/index.ts --outdir=dist --target=node --minify --sourcemap=external", @@ -16,12 +16,6 @@ "url": "git+https://github.com/revanced/revanced-helper.git", "directory": "apis/websocket" }, - "keywords": [ - "revanced", - "bot", - "server", - "gateway" - ], "author": "Palm (https://github.com/PalmDevs)", "contributors": [ "Palm (https://github.com/PalmDevs)", @@ -36,6 +30,7 @@ "@fastify/websocket": "^8.2.0", "@revanced/bot-shared": "workspace:*", "@sapphire/async-queue": "^1.5.0", + "chalk": "^5.3.0", "fastify": "^4.24.3", "node-wit": "^6.6.0", "tesseract.js": "^5.0.3" @@ -43,7 +38,6 @@ "devDependencies": { "@types/node-wit": "^6.0.3", "@types/ws": "^8.5.10", - "chalk": "^5.3.0", "typed-emitter": "^2.1.0" } } diff --git a/bun.lockb b/bun.lockb index a26d7ad..3657320 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/lefthook.yml b/lefthook.yml index 28cc971..d691082 100755 --- a/lefthook.yml +++ b/lefthook.yml @@ -4,21 +4,17 @@ pre-commit: types: files: git diff --name-only @{push} glob: '*.{js,ts}' - run: npx tsc --noEmit - types_example: - files: git diff --name-only @{push} - glob: '*.{js,ts}' - run: npx tsc --project example/tsconfig.json --noEmit + run: bunx tsc --noEmit {files} format: files: git diff --name-only @{push} glob: '*.{js,ts}' - run: npx prettier --check {files} + run: bunx prettier --check {files} lint: files: git diff --name-only @{push} glob: '*.{js,ts}' - run: npx eslint --cache {files} + run: bunx eslint --cache {files} commit-msg: parallel: false commands: commitlint: - run: npx commitlint --edit + run: bunx commitlint --edit diff --git a/package.json b/package.json index 574b8fe..6ae41cf 100755 --- a/package.json +++ b/package.json @@ -24,10 +24,6 @@ "type": "git", "url": "git+https://github.com/revanced/revanced-helper.git" }, - "keywords": [ - "revanced", - "bot" - ], "author": "Palm (https://github.com/PalmDevs)", "contributors": [ "Palm (https://github.com/PalmDevs)", diff --git a/packages/api/package.json b/packages/api/package.json index c6abc5b..84bcd7f 100755 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -2,7 +2,7 @@ "name": "@revanced/bot-api", "type": "module", "version": "0.1.0", - "description": "🙌🏻 Programmatic API for bots assisting ReVanced to communicate to its server", + "description": "🙌🏻 Programmatic API for bots assisting ReVanced to communicate to its API server", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { @@ -19,11 +19,6 @@ "url": "git+https://github.com/revanced/revanced-helper.git", "directory": "packages/api" }, - "keywords": [ - "revanced", - "bot", - "server" - ], "author": "Palm (https://github.com/PalmDevs)", "contributors": [ "Palm (https://github.com/PalmDevs)", diff --git a/packages/shared/package.json b/packages/shared/package.json index 71b6fbe..ac2f589 100755 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -19,11 +19,6 @@ "url": "git+https://github.com/revanced/revanced-helper.git", "directory": "packages/shared" }, - "keywords": [ - "revanced", - "bot", - "server" - ], "author": "Palm (https://github.com/PalmDevs)", "contributors": [ "Palm (https://github.com/PalmDevs)",