diff --git a/packages/cli/LICENSE b/packages/cli/LICENSE new file mode 100644 index 0000000..75ff165 --- /dev/null +++ b/packages/cli/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Arash + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/cli/README.md b/packages/cli/README.md new file mode 100644 index 0000000..7063e71 --- /dev/null +++ b/packages/cli/README.md @@ -0,0 +1,11 @@ +# @jet-queue/cli + +A cli dashboard built to interact with JetQueue server + +## Installation + +```bash +npm i @jet-queue/cli +``` + +**To Learn how JetQueue works and how to use it in your projects check out [here](https://www.github.com/arxja/jet-queue)** diff --git a/packages/cli/package.json b/packages/cli/package.json index 9dfc5d4..2e29a9a 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,32 @@ { "name": "@jet-queue/cli", - "version": "1.0.0", + "description": "An cli dashboard built for monitoring JetQueue's jobs/queues", + "version": "0.0.0", "type": "module", + "author": { + "name": "Arash Jafari", + "url": "https://github.com/arxja" + }, + "keywords": [ + "cli", + "monitoring", + "async" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/arxja/jet-queue.git", + "directory": "packages/cli" + }, + "bugs": { + "url": "https://github.com/arxja/jet-queue/issues" + }, + "homepage": "https://github.com/arxja/jet-queue#readme", + "files": [ + "dist", + "README.md", + "LICENSE" + ], + "license": "MIT", "bin": { "jet-queue": "./dist/index.js" }, @@ -21,5 +46,10 @@ "@types/react": "^19.2.14", "@types/ws": "^8.18.1", "typescript": "^6.0.3" - } + }, + "publishConfig": { + "access": "public", + "registry": "https://registry.npmjs.org/" + }, + "sideEffects": false } \ No newline at end of file diff --git a/packages/client/LICENSE b/packages/client/LICENSE new file mode 100644 index 0000000..75ff165 --- /dev/null +++ b/packages/client/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Arash + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/client/README.md b/packages/client/README.md new file mode 100644 index 0000000..a2b1d9d --- /dev/null +++ b/packages/client/README.md @@ -0,0 +1,11 @@ +# jet-queue/client + +JetQueue client is an SDK for interaction between JetQueue cli/web dashboards + +## Installation + +```bash +npm i jet-queue/client +``` + +**To Learn how JetQueue works and how to use it in your projects check out [here](https://www.github.com/arxja/jet-queue)** diff --git a/packages/client/package.json b/packages/client/package.json index 002674d..8d02e51 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,10 +1,28 @@ { "name": "@jet-queue/client", - "version": "1.0.0", - "description": "", + "version": "0.0.0", + "description": "JetQueue client for interaction between the server and cli/web dashboards", "main": "./dist/index.js", "types": "./dist/index.d.ts", "type": "module", + "author": { + "name": "Arash Jafari", + "url": "https://github.com/arxja" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/arxja/jet-queue.git", + "directory": "packages/client" + }, + "bugs": { + "url": "https://github.com/arxja/jet-queue/issues" + }, + "homepage": "https://github.com/arxja/jet-queue#readme", + "files": [ + "dist", + "README.md", + "LICENSE" + ], "exports": { ".": { "import": "./dist/index.js", @@ -13,15 +31,27 @@ }, "scripts": { "build": "tsup src/index.ts --format esm --dts --clean", - "dev": "tsup src/index.ts --format esm --dts --watch" + "dev": "tsup src/index.ts --format esm --dts --watch", + "clean": "rm -rf dist" }, "devDependencies": { + "@types/bun": "^1.3.14", "@types/node": "^25.6.2", "tsup": "^8.0.0", "typescript": "^5.9.3" }, - "keywords": [], - "author": "", - "license": "ISC", - "packageManager": "pnpm@10.33.3" -} + "keywords": [ + "queue", + "SDK", + "job-queue", + "async", + "server" + ], + "license": "MIT", + "packageManager": "pnpm@10.33.3", + "publishConfig": { + "access": "public", + "registry": "https://registry.npmjs.org/" + }, + "sideEffects": false +} \ No newline at end of file diff --git a/packages/client/tsconfig.json b/packages/client/tsconfig.json index e459899..8cdea02 100644 --- a/packages/client/tsconfig.json +++ b/packages/client/tsconfig.json @@ -2,7 +2,8 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "./dist", - "rootDir": "./src" + "rootDir": "./src", + "types": ["bun"] }, "include": ["src/**/*.ts"] } diff --git a/packages/core/README.md b/packages/core/README.md index 2f8e0cc..d9d6450 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -1,4 +1,5 @@ -# @JetQueue/core +# @jet-queue/core + > JetQueue gives you this ability to move heavy tasks out of your API's req/res cycle to give the users a fast experience on the UI while jobs are executing in the background ## Installation @@ -7,4 +8,4 @@ npm i @jet-queue/core ``` -**For know how JetQueue works and how to use it check out [here](https://www.github.com/arxja/jet-queue)** \ No newline at end of file +**To learn how JetQueue works and how to use it in your projects, check out [JetQueue docs](https://www.github.com/arxja/jet-queue)** diff --git a/packages/server/LICENSE b/packages/server/LICENSE new file mode 100644 index 0000000..75ff165 --- /dev/null +++ b/packages/server/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Arash + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/server/README.md b/packages/server/README.md new file mode 100644 index 0000000..e9acf33 --- /dev/null +++ b/packages/server/README.md @@ -0,0 +1,10 @@ +# @jet-queue/server +Ready to run server for JetQueue + +## Installation + +```bash +npm i @jet-queue/server +``` + +**To Learn how JetQueue works and how to use it in your projects check out [here](https://www.github.com/arxja/jet-queue)** \ No newline at end of file diff --git a/packages/server/package.json b/packages/server/package.json index 10957bd..6e9470e 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,17 +1,40 @@ { "name": "@jet-queue/server", - "version": "1.0.0", - "description": "", + "version": "0.0.0", + "description": "JetQueue's ready to use server", "main": "dist/index.js", "type": "module", + "author": { + "name": "Arash Jafari", + "url": "https://github.com/arxja" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/arxja/jet-queue.git", + "directory": "packages/server" + }, + "bugs": { + "url": "https://github.com/arxja/jet-queue/issues" + }, + "homepage": "https://github.com/arxja/jet-queue#readme", + "files": [ + "dist", + "README.md", + "LICENSE" + ], + "license": "MIT", "scripts": { "dev": "bun --watch src/index.ts", "start": "bun src/index.ts", - "build": "tsup src/index.ts --format esm --dts" + "build": "tsup src/index.ts --format esm --dts", + "clean": "rm -rf dist" }, - "keywords": [], - "author": "", - "license": "ISC", + "keywords": [ + "queue", + "server", + "job-queue", + "async" + ], "packageManager": "pnpm@10.33.3", "dependencies": { "@jet-queue/core": "workspace:*", @@ -22,5 +45,10 @@ "@types/node": "^25.6.2", "typescript": "^6.0.3", "tsup": "^8.0.0" - } + }, + "publishConfig": { + "access": "public", + "registry": "https://registry.npmjs.org/" + }, + "sideEffects": false } \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9f4044e..2dedc66 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -107,6 +107,9 @@ importers: packages/client: devDependencies: + '@types/bun': + specifier: ^1.3.14 + version: 1.3.14 '@types/node': specifier: ^25.6.2 version: 25.6.2 @@ -4074,7 +4077,7 @@ snapshots: bun-types@1.3.14: dependencies: - '@types/node': 25.6.2 + '@types/node': 26.0.1 bun@1.3.14: optionalDependencies: @@ -4428,7 +4431,7 @@ snapshots: eslint: 9.39.4(jiti@2.7.0) eslint-import-resolver-node: 0.3.10 eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.3(eslint@9.39.4(jiti@2.7.0))(typescript@5.9.3))(eslint@9.39.4(jiti@2.7.0)))(eslint@9.39.4(jiti@2.7.0)) - eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.59.3(eslint@9.39.4(jiti@2.7.0))(typescript@5.9.3))(eslint-import-resolver-typescript@3.10.1)(eslint@9.39.4(jiti@2.7.0)) + eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.59.3(eslint@9.39.4(jiti@2.7.0))(typescript@5.9.3))(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.3(eslint@9.39.4(jiti@2.7.0))(typescript@5.9.3))(eslint@9.39.4(jiti@2.7.0)))(eslint@9.39.4(jiti@2.7.0)))(eslint@9.39.4(jiti@2.7.0)) eslint-plugin-jsx-a11y: 6.10.2(eslint@9.39.4(jiti@2.7.0)) eslint-plugin-react: 7.37.5(eslint@9.39.4(jiti@2.7.0)) eslint-plugin-react-hooks: 7.1.1(eslint@9.39.4(jiti@2.7.0)) @@ -4481,7 +4484,7 @@ snapshots: tinyglobby: 0.2.16 unrs-resolver: 1.11.1 optionalDependencies: - eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.59.3(eslint@9.39.4(jiti@2.7.0))(typescript@5.9.3))(eslint-import-resolver-typescript@3.10.1)(eslint@9.39.4(jiti@2.7.0)) + eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.59.3(eslint@9.39.4(jiti@2.7.0))(typescript@5.9.3))(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.3(eslint@9.39.4(jiti@2.7.0))(typescript@5.9.3))(eslint@9.39.4(jiti@2.7.0)))(eslint@9.39.4(jiti@2.7.0)))(eslint@9.39.4(jiti@2.7.0)) transitivePeerDependencies: - supports-color @@ -4521,7 +4524,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.3(eslint@9.39.4(jiti@2.7.0))(typescript@5.9.3))(eslint-import-resolver-typescript@3.10.1)(eslint@9.39.4(jiti@2.7.0)): + eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.3(eslint@9.39.4(jiti@2.7.0))(typescript@5.9.3))(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.3(eslint@9.39.4(jiti@2.7.0))(typescript@5.9.3))(eslint@9.39.4(jiti@2.7.0)))(eslint@9.39.4(jiti@2.7.0)))(eslint@9.39.4(jiti@2.7.0)): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.9