X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Ffastify-cluster%2Fpackage.json;h=1f8978dfa6662efe7d649f95a2aaa34d87ed5732;hb=be4b922fede7b87986136593b63912840dc9388b;hp=cb53b718c385f4a0c356b17a3ff13e9c1b5cc283;hpb=902008d16ba56b62240c9c0cd915281d212603ce;p=poolifier.git diff --git a/examples/typescript/http-server-pool/fastify-cluster/package.json b/examples/typescript/http-server-pool/fastify-cluster/package.json index cb53b718..a06b8559 100644 --- a/examples/typescript/http-server-pool/fastify-cluster/package.json +++ b/examples/typescript/http-server-pool/fastify-cluster/package.json @@ -6,31 +6,32 @@ "main": "dist/main.js", "type": "module", "volta": { - "node": "20.9.0", - "pnpm": "8.9.2" + "node": "20.12.2", + "pnpm": "9.0.4" }, + "packageManager": "pnpm@9.0.4", "scripts": { - "build": "rollup --config", - "start": "node dist/main.cjs", - "start:esm": "node dist/main.js", + "build": "rollup --config --configPlugin typescript", + "start": "node --enable-source-maps dist/main.cjs", + "start:esm": "node --enable-source-maps dist/main.js", "test": "echo \"Error: no test specified\" && exit 1", "benchmark:echo": "autocannon -c 100 -d 30 -p 10 -m POST -H Content-Type=application/json -b '{\"key1\":\"value1\", \"key2\":\"value2\"}' http://localhost:8080/api/echo", - "benchmark:factorial": "autocannon -c 100 -d 30 -p 10 http://localhost:8080/api/factorial/30" + "benchmark:factorial": "autocannon -c 100 -d 30 -p 10 http://localhost:8080/api/factorial/50000" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { - "fastify": "^4.24.3", - "poolifier": "^3.0.4" + "fastify": "^4.26.2", + "poolifier": "^3.1.29" }, "devDependencies": { - "@rollup/plugin-typescript": "^11.1.5", - "@types/node": "^20.8.9", - "autocannon": "^7.12.0", - "rollup": "^4.1.4", + "@rollup/plugin-typescript": "^11.1.6", + "@types/node": "^20.12.7", + "autocannon": "^7.15.0", + "rollup": "^4.16.0", "rollup-plugin-delete": "^2.0.0", "tslib": "^2.6.2", - "typescript": "^5.2.2" + "typescript": "^5.4.5" } }