249 lines
9.8 KiB
JSON
249 lines
9.8 KiB
JSON
{
|
|
"name": "bullmq",
|
|
"version": "6.0.9",
|
|
"description": "Queue for messages and jobs based on Redis",
|
|
"homepage": "https://bullmq.io/",
|
|
"main": "./dist/cjs/index.js",
|
|
"module": "./dist/esm/index.js",
|
|
"types": "./dist/esm/index.d.ts",
|
|
"source": "./src/index.ts",
|
|
"author": "Taskforce.sh Inc.",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"bull",
|
|
"bullmq",
|
|
"queues",
|
|
"jobs",
|
|
"redis"
|
|
],
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"engines": {
|
|
"node": ">=14.17.0"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run clean:dist && npm run pretest && npm run tsc:all && npm run copy:main:type && npm run clean:temp:files && npm run copy:lua && npm run copy:includes:lua && npm run copy:sql",
|
|
"circular:references": "madge --circular --extensions ts ./src",
|
|
"clean:dist": "rimraf dist",
|
|
"clean:scripts": "rimraf rawScripts src/scripts",
|
|
"clean:temp:files": "rimraf dist/cjs/bullmq.d.ts dist/esm/bullmq.d.ts dist/tsdoc-metadata.json",
|
|
"copy:includes:lua": "cpx \"./src/commands/includes/*.lua\" ./dist/cjs/commands/includes && cpx \"./src/commands/includes/*.lua\" ./dist/esm/commands/includes",
|
|
"copy:lua": "cpx \"./src/commands/*.lua\" ./dist/cjs/commands && cpx \"./src/commands/*.lua\" ./dist/esm/commands",
|
|
"copy:sql": "cpx \"./src/postgres/migrations/*.sql\" ./dist/cjs/postgres/migrations && cpx \"./src/postgres/migrations/*.sql\" ./dist/esm/postgres/migrations && cpx \"./src/postgres/commands/*.sql\" ./dist/cjs/postgres/commands && cpx \"./src/postgres/commands/*.sql\" ./dist/esm/postgres/commands",
|
|
"copy:lua:python": "cpx \"./rawScripts/*.lua\" ./python/bullmq/commands",
|
|
"copy:sql:python": "rm -f ./python/bullmq/postgres/migrations/*.sql ./python/bullmq/postgres/commands/*.sql && cpx \"./src/postgres/migrations/*.sql\" ./python/bullmq/postgres/migrations && cpx \"./src/postgres/commands/*.sql\" ./python/bullmq/postgres/commands",
|
|
"copy:lua:elixir": "cpx \"./rawScripts/*.lua\" ./elixir/priv/scripts",
|
|
"copy:sql:elixir": "rm -f ./elixir/priv/postgres/migrations/*.sql ./elixir/priv/postgres/commands/*.sql && cpx \"./src/postgres/migrations/*.sql\" ./elixir/priv/postgres/migrations && cpx \"./src/postgres/commands/*.sql\" ./elixir/priv/postgres/commands",
|
|
"copy:lua:php": "cpx \"./rawScripts/*.lua\" ./php/src/commands",
|
|
"copy:lua:rust": "cpx \"./rawScripts/*.lua\" ./rust/src/commands",
|
|
"copy:lua:dotnet": "cpx \"./rawScripts/*.lua\" ./dotnet/src/BullMQ/Commands",
|
|
"copy:sql:dotnet": "rm -f ./dotnet/src/BullMQ/Postgres/migrations/*.sql ./dotnet/src/BullMQ/Postgres/commands/*.sql && cpx \"./src/postgres/migrations/*.sql\" ./dotnet/src/BullMQ/Postgres/migrations && cpx \"./src/postgres/commands/*.sql\" ./dotnet/src/BullMQ/Postgres/commands",
|
|
"copy:main:type": "cpx \"./dist/esm/classes/main.d.ts\" ./dist/cjs/classes && cpx \"./dist/esm/classes/main-worker.d.ts\" ./dist/cjs/classes",
|
|
"coverage": "vitest run --no-file-parallelism --coverage --config vitest.coverage.config.ts",
|
|
"docs": "typedoc --excludeExternals --excludeProtected --excludePrivate --readme none src/index.ts",
|
|
"docs:api": "yarn docs:json && typedoc --includeVersion --excludeExternals --excludeProtected --excludePrivate --readme ./README.md --entryPointStrategy merge --out ./docs/gitbook/public/api $(find ./apiVersions -maxdepth 1 -name 'v*.json' | sort -r)",
|
|
"docs:json": "mkdir -p ./apiVersions && yarn pretest && typedoc --excludeExternals --excludeProtected --excludePrivate --readme none src/index.ts --json ./apiVersions/v6.json --name v6",
|
|
"docs:dev": "yarn docs:api && vitepress dev docs",
|
|
"docs:build": "yarn docs:api && vitepress build docs",
|
|
"docs:preview": "vitepress preview docs",
|
|
"dc:up": "docker-compose -f docker-compose.yml up -d",
|
|
"dc:down": "docker-compose -f docker-compose.yml down",
|
|
"dry-run": "npm publish --dry-run",
|
|
"eslint:fix": "./node_modules/.bin/eslint . --fix",
|
|
"generate:raw:scripts": "ts-node --project tsconfig-cjs.json scripts/generateRawScripts.ts",
|
|
"lint": "./node_modules/.bin/eslint .",
|
|
"lint:staged": "lint-staged",
|
|
"prepublishOnly": "npm run build",
|
|
"prepare": "husky",
|
|
"pretest": "npm run clean:scripts && npm run generate:raw:scripts && npm run transform:commands && npm run circular:references",
|
|
"prettier": "prettier **/*.ts --write",
|
|
"pretty:quick": "pretty-quick --staged",
|
|
"semantic-release": "semantic-release",
|
|
"semantic-release:debug": "semantic-release --no-ci --dry-run --debug",
|
|
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
|
|
"test": "vitest run --no-file-parallelism",
|
|
"test:smoke": "vitest run --no-file-parallelism --bail=1 tests/async_fifo_queue.test.ts tests/script_loader.test.ts tests/scripts.test.ts tests/child-pool.test.ts tests/bulk.test.ts tests/queue.test.ts",
|
|
"test:vitest": "vitest run --no-file-parallelism",
|
|
"test:vitest:watch": "vitest",
|
|
"test:vitest:ui": "vitest --ui",
|
|
"test:ioredis": "vitest run --no-file-parallelism --config vitest.ioredis.config.ts",
|
|
"test:node-redis": "vitest run --no-file-parallelism --config vitest.node-redis.config.ts",
|
|
"test:postgres": "vitest run --config vitest.postgres.config.ts",
|
|
"test:postgres:smoke": "vitest run --no-file-parallelism --config vitest.postgres.smoke.config.ts",
|
|
"test:valkey-glide": "vitest run --no-file-parallelism --config vitest.valkey-glide.config.ts",
|
|
"test:adapter-conformance": "vitest run --no-file-parallelism --config vitest.adapter-conformance.config.ts",
|
|
"test:bun": "bun node_modules/vitest/dist/cli.js run --no-file-parallelism --config vitest.bun.config.ts",
|
|
"test:bun:smoke": "bun test --timeout 20000 tests/bun-redis.test.ts tests/bun-adapter-suite.test.ts",
|
|
"test:watch": "vitest --watch",
|
|
"transform:commands": "node ./scripts/commandTransform.js ./rawScripts ./src/scripts",
|
|
"tsc": "tsc",
|
|
"tsc:all": "tsc && tsc -p tsconfig-cjs.json"
|
|
},
|
|
"dependencies": {
|
|
"cron-parser": "5.7.0",
|
|
"msgpackr": "2.0.5",
|
|
"node-abort-controller": "3.1.1",
|
|
"semver": "7.8.5",
|
|
"tslib": "2.8.1"
|
|
},
|
|
"peerDependencies": {
|
|
"bullmq-otel": ">=2.0.0",
|
|
"ioredis": ">=5.0.0",
|
|
"pg": ">=8.0.0",
|
|
"redis": ">=5.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"bullmq-otel": {
|
|
"optional": true
|
|
},
|
|
"ioredis": {
|
|
"optional": true
|
|
},
|
|
"pg": {
|
|
"optional": true
|
|
},
|
|
"redis": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "21.2.1",
|
|
"@commitlint/config-conventional": "21.2.0",
|
|
"@eslint/eslintrc": "3.3.6",
|
|
"@eslint/js": "10.0.1",
|
|
"@semantic-release/changelog": "7.0.0",
|
|
"@semantic-release/commit-analyzer": "13.0.1",
|
|
"@semantic-release/exec": "7.1.0",
|
|
"@semantic-release/git": "11.0.1",
|
|
"@semantic-release/github": "12.0.9",
|
|
"@semantic-release/npm": "13.1.5",
|
|
"@semantic-release/release-notes-generator": "14.1.1",
|
|
"@types/lodash.defaults": "4.2.9",
|
|
"@types/lodash.isarguments": "3.1.9",
|
|
"@types/msgpack": "0.0.34",
|
|
"@types/node": "24.13.3",
|
|
"@types/pg": "8.20.4",
|
|
"@types/semver": "7.8.0",
|
|
"@types/sinon": "22.0.0",
|
|
"@typescript-eslint/eslint-plugin": "8.66.0",
|
|
"@typescript-eslint/parser": "8.66.0",
|
|
"@vitest/coverage-v8": "4.1.10",
|
|
"coveralls-next": "6.0.2",
|
|
"cpx2": "9.0.0",
|
|
"eslint": "10.8.0",
|
|
"eslint-config-prettier": "10.1.8",
|
|
"eslint-plugin-prettier": "5.5.6",
|
|
"eslint-plugin-promise": "7.3.0",
|
|
"eslint-plugin-tsdoc": "0.5.2",
|
|
"fast-glob": "3.3.3",
|
|
"globals": "17.9.0",
|
|
"husky": "9.1.7",
|
|
"ioredis": "5.11.1",
|
|
"lint-staged": "17.3.0",
|
|
"madge": "8.0.0",
|
|
"minimatch": "10.2.6",
|
|
"moment": "2.30.1",
|
|
"pg": "8.22.0",
|
|
"prettier": "3.9.6",
|
|
"pretty-quick": "4.2.2",
|
|
"progress": "2.0.3",
|
|
"redis": "6.2.0",
|
|
"rimraf": "6.1.3",
|
|
"rrule": "2.8.1",
|
|
"semantic-release": "25.0.9",
|
|
"sinon": "22.1.0",
|
|
"test-console": "2.0.0",
|
|
"ts-node": "10.9.2",
|
|
"typedoc": "0.28.20",
|
|
"typescript": "5.9.3",
|
|
"vitepress": "2.0.0-alpha.19",
|
|
"vitest": "4.1.10"
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts}": "npm run eslint:fix"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/taskforcesh/bullmq.git"
|
|
},
|
|
"release": {
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"releaseRules": [
|
|
{
|
|
"header": "**/*\\[python\\]*",
|
|
"release": false
|
|
},
|
|
{
|
|
"header": "**/*\\[elixir\\]*",
|
|
"release": false
|
|
},
|
|
{
|
|
"header": "**/*\\[php\\]*",
|
|
"release": false
|
|
},
|
|
{
|
|
"header": "**/*\\[rust\\]*",
|
|
"release": false
|
|
},
|
|
{
|
|
"header": "**/*\\[dotnet\\]*",
|
|
"release": false
|
|
},
|
|
{
|
|
"header": "**/*\\[dotnet\\]*",
|
|
"release": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/release-notes-generator",
|
|
{
|
|
"preset": "angular",
|
|
"presetConfig": {
|
|
"ignoreCommits": "(\\[python\\]|\\[elixir\\]|\\[php\\]|\\[rust\\]|\\[dotnet\\])"
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/changelog",
|
|
{
|
|
"changelogFile": "docs/gitbook/changelog.md"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/exec",
|
|
{
|
|
"prepareCmd": "node scripts/updateVersion.js ${nextRelease.version} && yarn build"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/npm",
|
|
{
|
|
"npmPublish": true,
|
|
"provenance": true
|
|
}
|
|
],
|
|
"@semantic-release/github"
|
|
]
|
|
},
|
|
"packageManager": "yarn@1.22.22",
|
|
"resolutions": {
|
|
"brace-expansion": "5.0.9",
|
|
"esbuild": "~0.25.0",
|
|
"js-yaml": "5.2.3",
|
|
"picomatch": "4.0.5",
|
|
"tar": "7.5.22",
|
|
"yaml": ">=2.8.3"
|
|
}
|
|
}
|