fix: fix pool busyness semantic with task queueing enabled
[poolifier.git] / package.json
index ab7ed06b42542918b43d05b1bbd5d1f0f4fc0c30..ae059f63f337043512196f5c48ca05c19ec87351 100644 (file)
@@ -1,11 +1,13 @@
 {
+  "$schema": "https://json.schemastore.org/package",
   "name": "poolifier",
-  "version": "2.6.21",
+  "version": "2.6.22",
   "description": "Fast and small Node.js Worker_Threads and Cluster Worker Pool",
   "license": "MIT",
   "main": "./lib/index.js",
   "exports": {
     ".": {
+      "types": "./lib/index.d.ts",
       "require": "./lib/index.js",
       "import": "./lib/index.mjs"
     }
@@ -29,7 +31,7 @@
     "lint:fix": "eslint . --cache --fix",
     "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
     "release": "release-it",
-    "typedoc": "typedoc",
+    "typedoc": "mkdir ./tmp && cp ./docs/*.md ./tmp && typedoc && cp ./tmp/*.md ./docs && rm -rf ./tmp",
     "prepublishOnly": "pnpm build:prod"
   },
   "ts-standard": {