dynapm 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/README.md +8 -3
- package/README_zh.md +8 -3
- package/dist/src/config/types.d.ts +50 -1
- package/dist/src/core/admin-api.d.ts +72 -0
- package/dist/src/core/gateway.d.ts +39 -4
- package/dist/src/index.js +907 -150
- package/dist/src/utils/format.d.ts +6 -0
- package/package.json +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dynapm",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "DynaPM is a dynamic start-stop application management tool with serverless-like features designed for resource-constrained environments. It starts and stops programs on demand, optimizes resource usage, and is suitable for private deployments. ",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"test": "tsx test/test-all.ts",
|
|
11
11
|
"test:watch": "nodemon --watch src --exec 'pnpm test'",
|
|
12
|
-
"benchmark": "
|
|
13
|
-
"benchmark:multi": "node test/multi-service-benchmark.js",
|
|
12
|
+
"benchmark": "tsx test/benchmark.ts",
|
|
14
13
|
"build": "rslib build",
|
|
15
14
|
"publish2npm": "pnpm build && pnpm tsx ./script/updateVersion.ts && npm publish --registry=https://registry.npmjs.org",
|
|
16
15
|
"runTestServer": "pnpm tsx ./test/server1.ts"
|
|
@@ -36,7 +35,8 @@
|
|
|
36
35
|
"node-fetch": "^3.3.2",
|
|
37
36
|
"pino": "^10.3.0",
|
|
38
37
|
"pino-pretty": "^13.1.3",
|
|
39
|
-
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.57.0"
|
|
38
|
+
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.57.0",
|
|
39
|
+
"undici": "^7.21.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@rslib/core": "^0.4.1",
|