X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=26a8b5d1a79b62e03139f19c5772135262d5ca26;hb=7258488054d6b806c3e7571c68533c0d64e120d8;hp=23fca8014015c5a6592ee0f8e09397711b11b029;hpb=496a897f8de811e8381be34809e210a4c6b2fda7;p=poolifier.git diff --git a/package.json b/package.json index 23fca801..26a8b5d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "poolifier", - "version": "2.3.10", + "version": "2.4.13", "description": "A fast, easy to use Node.js Worker Thread Pool and Cluster Pool implementation", "license": "MIT", "main": "./lib/index.js", @@ -11,15 +11,16 @@ } }, "scripts": { + "preinstall": "npx --yes only-allow pnpm", "prepare": "node prepare.js", "build": "rollup --config --environment BUILD:development", "build:typedoc": "rollup --config --environment BUILD:development --environment DOCUMENTATION", "build:prod": "rollup --config", - "benchmark": "npm run build && node -r source-map-support/register benchmarks/internal/bench.js", - "benchmark:debug": "npm run build && node -r source-map-support/register --inspect benchmarks/internal/bench.js", - "benchmark:prod": "npm run build:prod && node -r source-map-support/register benchmarks/internal/bench.js", - "test": "npm run build && c8 mocha 'tests/**/*.test.js'", - "test:debug": "npm run build && mocha --no-parallel --inspect 'tests/**/*.test.js'", + "benchmark": "pnpm build && node -r source-map-support/register benchmarks/internal/bench.js", + "benchmark:debug": "pnpm build && node -r source-map-support/register --inspect benchmarks/internal/bench.js", + "benchmark:prod": "pnpm build:prod && node -r source-map-support/register benchmarks/internal/bench.js", + "test": "pnpm build && c8 mocha 'tests/**/*.test.js'", + "test:debug": "pnpm build && mocha --no-parallel --inspect 'tests/**/*.test.js'", "coverage": "c8 report --reporter=lcov", "coverage:html": "c8 report --reporter=html", "format": "prettier . --cache --write; ts-standard . --fix", @@ -28,7 +29,7 @@ "lint:report": "eslint . --cache --format json --output-file reports/eslint.json", "release": "release-it", "typedoc": "typedoc", - "prepublishOnly": "npm run build:prod" + "prepublishOnly": "pnpm build:prod" }, "ts-standard": { "globals": [ @@ -42,7 +43,11 @@ }, "engines": { "node": ">=16.0.0", - "npm": ">=8.0.0" + "pnpm": ">=8.0.0" + }, + "volta": { + "node": "20.1.0", + "pnpm": "8.4.0" }, "repository": { "type": "git", @@ -80,6 +85,10 @@ { "type": "opencollective", "url": "https://opencollective.com/poolifier" + }, + { + "type": "github", + "url": "https://github.com/sponsors/poolifier" } ], "bugs": { @@ -90,45 +99,44 @@ "lib" ], "devDependencies": { - "@commitlint/cli": "^17.4.4", - "@commitlint/config-conventional": "^17.4.4", + "@commitlint/cli": "^17.6.3", + "@commitlint/config-conventional": "^17.6.3", "@release-it/bumper": "^4.0.2", "@release-it/keep-a-changelog": "^3.1.0", - "@rollup/plugin-terser": "^0.4.0", - "@rollup/plugin-typescript": "^11.0.0", - "@types/node": "^18.15.5", - "@typescript-eslint/eslint-plugin": "^5.56.0", - "@typescript-eslint/parser": "^5.56.0", + "@rollup/plugin-terser": "^0.4.1", + "@rollup/plugin-typescript": "^11.1.0", + "@types/node": "^20.1.0", + "@typescript-eslint/eslint-plugin": "^5.59.2", + "@typescript-eslint/parser": "^5.59.2", "benny": "^3.7.1", "c8": "^7.13.0", - "eslint": "^8.36.0", + "eslint": "^8.40.0", "eslint-config-standard": "^17.0.0", "eslint-config-standard-with-typescript": "^34.0.1", - "eslint-define-config": "^1.17.0", - "eslint-import-resolver-typescript": "^3.5.3", + "eslint-define-config": "^1.20.0", + "eslint-import-resolver-typescript": "^3.5.5", "eslint-plugin-import": "^2.27.5", - "eslint-plugin-jsdoc": "^40.1.0", - "eslint-plugin-n": "^15.6.1", + "eslint-plugin-jsdoc": "^44.0.0", + "eslint-plugin-n": "^15.7.0", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-spellcheck": "^0.0.20", "eslint-plugin-tsdoc": "^0.2.17", "expect": "^29.5.0", "husky": "^8.0.3", - "lint-staged": "^13.2.0", + "lint-staged": "^13.2.2", "microtime": "^3.1.1", "mocha": "^10.2.0", "mochawesome": "^7.1.3", - "prettier": "^2.8.6", - "prettier-plugin-organize-imports": "^3.2.2", - "release-it": "^15.9.1", - "rollup": "^3.20.0", + "prettier": "^2.8.8", + "release-it": "^15.10.3", + "rollup": "^3.21.5", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-command": "^1.1.3", "rollup-plugin-delete": "^2.0.0", - "sinon": "^15.0.2", + "sinon": "^15.0.4", "source-map-support": "^0.5.21", "ts-standard": "^12.0.2", - "typedoc": "^0.23.28", - "typescript": "^5.0.2" + "typedoc": "^0.24.7", + "typescript": "^5.0.4" } }