koatty 3.11.9 → 3.13.0
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/.rollup.config.js +28 -6
- package/CHANGELOG.md +1877 -184
- package/README.md +122 -139
- package/dist/README.md +122 -139
- package/dist/index.d.ts +56 -26
- package/dist/index.js +466 -749
- package/dist/index.mjs +406 -707
- package/dist/package.json +15 -16
- package/package.json +15 -16
package/dist/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "koatty",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.13.0",
|
4
4
|
"description": "Koa2 + Typescript = koatty. Use Typescript's decorator implement auto injection.",
|
5
5
|
"scripts": {
|
6
6
|
"build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
|
@@ -9,9 +9,8 @@
|
|
9
9
|
"build:doc": "npx api-documenter markdown --input temp --output docs/api",
|
10
10
|
"build:dts": "npx tsc && npx api-extractor run --local --verbose",
|
11
11
|
"eslint": "eslint --ext .ts,.js ./",
|
12
|
-
"lock": "npx del-cli --force node_modules && npm i --package-lock-only && npm audit fix && npx pnpm i",
|
13
12
|
"prepublishOnly": "npm test && npm run build && git push --follow-tags origin",
|
14
|
-
"prerelease": "npm
|
13
|
+
"prerelease": "npm test && npm run build",
|
15
14
|
"release": "standard-version",
|
16
15
|
"release:pre": "npm run release -- --prerelease",
|
17
16
|
"release:major": "npm run release -- --release-as major",
|
@@ -59,7 +58,8 @@
|
|
59
58
|
"@microsoft/api-extractor": "^7.x.x",
|
60
59
|
"@rollup/plugin-commonjs": "^28.x.x",
|
61
60
|
"@rollup/plugin-json": "^6.x.x",
|
62
|
-
"@rollup/plugin-node-resolve": "^
|
61
|
+
"@rollup/plugin-node-resolve": "^16.0.1",
|
62
|
+
"@rollup/plugin-terser": "^0.x.x",
|
63
63
|
"@types/formidable": "^3.x.x",
|
64
64
|
"@types/jest": "^29.x.x",
|
65
65
|
"@types/koa": "^2.x.x",
|
@@ -77,31 +77,30 @@
|
|
77
77
|
"husky": "^4.x.x",
|
78
78
|
"jest": "^29.x.x",
|
79
79
|
"jest-html-reporters": "^3.x.x",
|
80
|
-
"koatty_exception": "~1.5.3",
|
81
80
|
"koatty_validation": "~1.x.x",
|
82
81
|
"reflect-metadata": "^0.x.x",
|
83
82
|
"rollup": "^4.x.x",
|
84
|
-
"rollup-plugin-delete": "^2.
|
83
|
+
"rollup-plugin-delete": "^2.x.x",
|
85
84
|
"rollup-plugin-typescript2": "^0.x.x",
|
86
85
|
"standard-version": "^9.x.x",
|
87
|
-
"supertest": "^7.
|
86
|
+
"supertest": "^7.x.x",
|
88
87
|
"ts-jest": "^29.x.x",
|
89
88
|
"ts-node": "^10.x.x",
|
90
89
|
"tslib": "^2.x.x",
|
91
90
|
"typescript": "^5.x.x"
|
92
91
|
},
|
93
92
|
"dependencies": {
|
94
|
-
"koa": "~2.
|
93
|
+
"koa": "~2.16.1",
|
95
94
|
"koatty_config": "~1.2.0",
|
96
|
-
"koatty_container": "~1.
|
97
|
-
"koatty_core": "~1.
|
98
|
-
"koatty_exception": "~1.
|
99
|
-
"koatty_lib": "~1.4.
|
95
|
+
"koatty_container": "~1.11.1",
|
96
|
+
"koatty_core": "~1.16.2",
|
97
|
+
"koatty_exception": "~1.6.0",
|
98
|
+
"koatty_lib": "~1.4.1",
|
100
99
|
"koatty_loader": "~1.1.0",
|
101
100
|
"koatty_logger": "~2.1.8",
|
102
|
-
"
|
103
|
-
"
|
104
|
-
"
|
105
|
-
"
|
101
|
+
"koatty_router": "~1.14.1",
|
102
|
+
"koatty_serve": "~2.4.0",
|
103
|
+
"koatty_trace": "~1.15.1",
|
104
|
+
"ts-morph": "^25.0.1"
|
106
105
|
}
|
107
106
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "koatty",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.13.0",
|
4
4
|
"description": "Koa2 + Typescript = koatty. Use Typescript's decorator implement auto injection.",
|
5
5
|
"scripts": {
|
6
6
|
"build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
|
@@ -9,9 +9,8 @@
|
|
9
9
|
"build:doc": "npx api-documenter markdown --input temp --output docs/api",
|
10
10
|
"build:dts": "npx tsc && npx api-extractor run --local --verbose",
|
11
11
|
"eslint": "eslint --ext .ts,.js ./",
|
12
|
-
"lock": "npx del-cli --force node_modules && npm i --package-lock-only && npm audit fix && npx pnpm i",
|
13
12
|
"prepublishOnly": "npm test && npm run build && git push --follow-tags origin",
|
14
|
-
"prerelease": "npm
|
13
|
+
"prerelease": "npm test && npm run build",
|
15
14
|
"release": "standard-version",
|
16
15
|
"release:pre": "npm run release -- --prerelease",
|
17
16
|
"release:major": "npm run release -- --release-as major",
|
@@ -59,7 +58,8 @@
|
|
59
58
|
"@microsoft/api-extractor": "^7.x.x",
|
60
59
|
"@rollup/plugin-commonjs": "^28.x.x",
|
61
60
|
"@rollup/plugin-json": "^6.x.x",
|
62
|
-
"@rollup/plugin-node-resolve": "^
|
61
|
+
"@rollup/plugin-node-resolve": "^16.0.1",
|
62
|
+
"@rollup/plugin-terser": "^0.x.x",
|
63
63
|
"@types/formidable": "^3.x.x",
|
64
64
|
"@types/jest": "^29.x.x",
|
65
65
|
"@types/koa": "^2.x.x",
|
@@ -77,31 +77,30 @@
|
|
77
77
|
"husky": "^4.x.x",
|
78
78
|
"jest": "^29.x.x",
|
79
79
|
"jest-html-reporters": "^3.x.x",
|
80
|
-
"koatty_exception": "~1.5.3",
|
81
80
|
"koatty_validation": "~1.x.x",
|
82
81
|
"reflect-metadata": "^0.x.x",
|
83
82
|
"rollup": "^4.x.x",
|
84
|
-
"rollup-plugin-delete": "^2.
|
83
|
+
"rollup-plugin-delete": "^2.x.x",
|
85
84
|
"rollup-plugin-typescript2": "^0.x.x",
|
86
85
|
"standard-version": "^9.x.x",
|
87
|
-
"supertest": "^7.
|
86
|
+
"supertest": "^7.x.x",
|
88
87
|
"ts-jest": "^29.x.x",
|
89
88
|
"ts-node": "^10.x.x",
|
90
89
|
"tslib": "^2.x.x",
|
91
90
|
"typescript": "^5.x.x"
|
92
91
|
},
|
93
92
|
"dependencies": {
|
94
|
-
"koa": "~2.
|
93
|
+
"koa": "~2.16.1",
|
95
94
|
"koatty_config": "~1.2.0",
|
96
|
-
"koatty_container": "~1.
|
97
|
-
"koatty_core": "~1.
|
98
|
-
"koatty_exception": "~1.
|
99
|
-
"koatty_lib": "~1.4.
|
95
|
+
"koatty_container": "~1.11.1",
|
96
|
+
"koatty_core": "~1.16.2",
|
97
|
+
"koatty_exception": "~1.6.0",
|
98
|
+
"koatty_lib": "~1.4.1",
|
100
99
|
"koatty_loader": "~1.1.0",
|
101
100
|
"koatty_logger": "~2.1.8",
|
102
|
-
"
|
103
|
-
"
|
104
|
-
"
|
105
|
-
"
|
101
|
+
"koatty_router": "~1.14.1",
|
102
|
+
"koatty_serve": "~2.4.0",
|
103
|
+
"koatty_trace": "~1.15.1",
|
104
|
+
"ts-morph": "^25.0.1"
|
106
105
|
}
|
107
106
|
}
|