koatty_cacheable 3.0.3 → 3.0.5
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/.turbo/turbo-build.log +37 -19
- package/CHANGELOG.md +22 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +224 -332
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +223 -331
- package/dist/index.mjs.map +1 -0
- package/dist/package.json +32 -46
- package/package.json +30 -43
- package/tsup.config.ts +6 -0
package/dist/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koatty_cacheable",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"description": "Cacheable for koatty.",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "
|
|
7
|
-
"build:
|
|
8
|
-
"build:js": "npx rollup --bundleConfigAsCjs -c .rollup.config.js",
|
|
9
|
-
"build:doc": "npx api-documenter markdown --input temp --output docs/api",
|
|
6
|
+
"build": "pnpm run build:js && pnpm run build:dts && pnpm run build:doc && pnpm run build:cp",
|
|
7
|
+
"build:js": "tsup",
|
|
10
8
|
"build:dts": "bash ../../scripts/build-dts.sh",
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"test": "
|
|
9
|
+
"build:doc": "api-documenter markdown --input temp --output docs/api",
|
|
10
|
+
"build:cp": "node ../../scripts/postBuild.js",
|
|
11
|
+
"clean": "rimraf dist temp docs/api",
|
|
12
|
+
"lint": "eslint --ext .ts,.js ./src",
|
|
13
|
+
"test": "pnpm run lint && jest --passWithNoTests",
|
|
16
14
|
"test:cov": "jest --collectCoverage --detectOpenHandles"
|
|
17
15
|
},
|
|
18
|
-
"main": "./
|
|
16
|
+
"main": "./index.js",
|
|
19
17
|
"exports": {
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"import": "./dist/index.mjs",
|
|
21
|
+
"require": "./dist/index.js"
|
|
22
|
+
}
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"koatty"
|
|
33
33
|
],
|
|
34
34
|
"engines": {
|
|
35
|
-
"node": "
|
|
35
|
+
"node": ">=18.0.0"
|
|
36
36
|
},
|
|
37
37
|
"author": {
|
|
38
38
|
"name": "richenlin",
|
|
@@ -50,49 +50,35 @@
|
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@
|
|
54
|
-
"@
|
|
55
|
-
"@
|
|
56
|
-
"@microsoft/api-documenter": "^7.x.x",
|
|
57
|
-
"@microsoft/api-extractor": "^7.x.x",
|
|
58
|
-
"@rollup/plugin-commonjs": "^28.x.x",
|
|
59
|
-
"@rollup/plugin-json": "^6.x.x",
|
|
60
|
-
"@rollup/plugin-node-resolve": "^16.x.x",
|
|
61
|
-
"@types/jest": "^29.x.x",
|
|
53
|
+
"@microsoft/api-documenter": "^7.26.x",
|
|
54
|
+
"@microsoft/api-extractor": "^7.52.x",
|
|
55
|
+
"@types/jest": "^29.5.x",
|
|
62
56
|
"@types/koa": "^2.x.x",
|
|
63
57
|
"@types/lodash": "^4.x.x",
|
|
64
58
|
"@types/node": "^22.x.x",
|
|
65
59
|
"@typescript-eslint/eslint-plugin": "^8.x.x",
|
|
66
60
|
"@typescript-eslint/parser": "^8.x.x",
|
|
67
|
-
"conventional-changelog-cli": "^5.x.x",
|
|
68
|
-
"copyfiles": "^2.x.x",
|
|
69
61
|
"eslint": "^8.x.x",
|
|
70
62
|
"eslint-plugin-jest": "^28.x.x",
|
|
71
|
-
"husky": "^4.x.x",
|
|
72
63
|
"jest": "^29.x.x",
|
|
73
64
|
"jest-html-reporters": "^3.x.x",
|
|
74
|
-
"reflect-metadata": "^0.
|
|
75
|
-
"rollup": "^4.x.x",
|
|
76
|
-
"rollup-plugin-delete": "^2.x.x",
|
|
77
|
-
"rollup-plugin-typescript2": "^0.x.x",
|
|
78
|
-
"standard-version": "^9.x.x",
|
|
65
|
+
"reflect-metadata": "^0.2.2",
|
|
79
66
|
"ts-jest": "^29.x.x",
|
|
80
|
-
"
|
|
81
|
-
"tslib": "^2.x.x",
|
|
82
|
-
"typescript": "^5.x.x"
|
|
67
|
+
"tslib": "^2.x.x"
|
|
83
68
|
},
|
|
84
69
|
"dependencies": {
|
|
85
|
-
"koatty_container": "
|
|
86
|
-
"koatty_core": "
|
|
87
|
-
"koatty_lib": "
|
|
88
|
-
"koatty_logger": "
|
|
89
|
-
"koatty_store": "
|
|
70
|
+
"koatty_container": "^2.0.5",
|
|
71
|
+
"koatty_core": "^2.1.5",
|
|
72
|
+
"koatty_lib": "^1.4.7",
|
|
73
|
+
"koatty_logger": "^2.8.3",
|
|
74
|
+
"koatty_store": "^2.0.4"
|
|
90
75
|
},
|
|
91
76
|
"peerDependencies": {
|
|
92
|
-
"koatty_container": "^2.0.
|
|
93
|
-
"koatty_core": "^2.1.
|
|
94
|
-
"koatty_lib": "^1.4.
|
|
95
|
-
"koatty_logger": "^2.
|
|
96
|
-
"koatty_store": "^2.0.
|
|
97
|
-
}
|
|
77
|
+
"koatty_container": "^2.0.5",
|
|
78
|
+
"koatty_core": "^2.1.5",
|
|
79
|
+
"koatty_lib": "^1.4.7",
|
|
80
|
+
"koatty_logger": "^2.8.3",
|
|
81
|
+
"koatty_store": "^2.0.4"
|
|
82
|
+
},
|
|
83
|
+
"types": "./index.d.ts"
|
|
98
84
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koatty_cacheable",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"description": "Cacheable for koatty.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"exports": {
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"import": "./dist/index.mjs",
|
|
10
|
+
"require": "./dist/index.js"
|
|
11
|
+
}
|
|
10
12
|
},
|
|
11
13
|
"repository": {
|
|
12
14
|
"type": "git",
|
|
@@ -19,7 +21,7 @@
|
|
|
19
21
|
"koatty"
|
|
20
22
|
],
|
|
21
23
|
"engines": {
|
|
22
|
-
"node": "
|
|
24
|
+
"node": ">=18.0.0"
|
|
23
25
|
},
|
|
24
26
|
"author": {
|
|
25
27
|
"name": "richenlin",
|
|
@@ -37,61 +39,46 @@
|
|
|
37
39
|
}
|
|
38
40
|
],
|
|
39
41
|
"devDependencies": {
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"@microsoft/api-documenter": "^7.x.x",
|
|
44
|
-
"@microsoft/api-extractor": "^7.x.x",
|
|
45
|
-
"@rollup/plugin-commonjs": "^28.x.x",
|
|
46
|
-
"@rollup/plugin-json": "^6.x.x",
|
|
47
|
-
"@rollup/plugin-node-resolve": "^16.x.x",
|
|
48
|
-
"@types/jest": "^29.x.x",
|
|
42
|
+
"@microsoft/api-documenter": "^7.26.x",
|
|
43
|
+
"@microsoft/api-extractor": "^7.52.x",
|
|
44
|
+
"@types/jest": "^29.5.x",
|
|
49
45
|
"@types/koa": "^2.x.x",
|
|
50
46
|
"@types/lodash": "^4.x.x",
|
|
51
47
|
"@types/node": "^22.x.x",
|
|
52
48
|
"@typescript-eslint/eslint-plugin": "^8.x.x",
|
|
53
49
|
"@typescript-eslint/parser": "^8.x.x",
|
|
54
|
-
"conventional-changelog-cli": "^5.x.x",
|
|
55
|
-
"copyfiles": "^2.x.x",
|
|
56
50
|
"eslint": "^8.x.x",
|
|
57
51
|
"eslint-plugin-jest": "^28.x.x",
|
|
58
|
-
"husky": "^4.x.x",
|
|
59
52
|
"jest": "^29.x.x",
|
|
60
53
|
"jest-html-reporters": "^3.x.x",
|
|
61
|
-
"reflect-metadata": "^0.
|
|
62
|
-
"rollup": "^4.x.x",
|
|
63
|
-
"rollup-plugin-delete": "^2.x.x",
|
|
64
|
-
"rollup-plugin-typescript2": "^0.x.x",
|
|
65
|
-
"standard-version": "^9.x.x",
|
|
54
|
+
"reflect-metadata": "^0.2.2",
|
|
66
55
|
"ts-jest": "^29.x.x",
|
|
67
|
-
"
|
|
68
|
-
"tslib": "^2.x.x",
|
|
69
|
-
"typescript": "^5.x.x"
|
|
56
|
+
"tslib": "^2.x.x"
|
|
70
57
|
},
|
|
71
58
|
"dependencies": {
|
|
72
|
-
"koatty_container": "2.0.
|
|
73
|
-
"
|
|
74
|
-
"koatty_logger": "2.
|
|
75
|
-
"
|
|
76
|
-
"
|
|
59
|
+
"koatty_container": "2.0.5",
|
|
60
|
+
"koatty_lib": "1.4.7",
|
|
61
|
+
"koatty_logger": "2.8.3",
|
|
62
|
+
"koatty_store": "2.0.4",
|
|
63
|
+
"koatty_core": "2.1.5"
|
|
77
64
|
},
|
|
78
65
|
"peerDependencies": {
|
|
79
|
-
"koatty_container": "^2.0.
|
|
80
|
-
"koatty_core": "^2.1.
|
|
81
|
-
"koatty_lib": "^1.4.
|
|
82
|
-
"koatty_logger": "^2.
|
|
83
|
-
"koatty_store": "^2.0.
|
|
66
|
+
"koatty_container": "^2.0.5",
|
|
67
|
+
"koatty_core": "^2.1.5",
|
|
68
|
+
"koatty_lib": "^1.4.7",
|
|
69
|
+
"koatty_logger": "^2.8.3",
|
|
70
|
+
"koatty_store": "^2.0.4"
|
|
84
71
|
},
|
|
72
|
+
"types": "./dist/index.d.ts",
|
|
85
73
|
"scripts": {
|
|
86
|
-
"build": "
|
|
87
|
-
"build:
|
|
88
|
-
"build:js": "npx rollup --bundleConfigAsCjs -c .rollup.config.js",
|
|
89
|
-
"build:doc": "npx api-documenter markdown --input temp --output docs/api",
|
|
74
|
+
"build": "pnpm run build:js && pnpm run build:dts && pnpm run build:doc && pnpm run build:cp",
|
|
75
|
+
"build:js": "tsup",
|
|
90
76
|
"build:dts": "bash ../../scripts/build-dts.sh",
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
77
|
+
"build:doc": "api-documenter markdown --input temp --output docs/api",
|
|
78
|
+
"build:cp": "node ../../scripts/postBuild.js",
|
|
79
|
+
"clean": "rimraf dist temp docs/api",
|
|
80
|
+
"lint": "eslint --ext .ts,.js ./src",
|
|
81
|
+
"test": "pnpm run lint && jest --passWithNoTests",
|
|
95
82
|
"test:cov": "jest --collectCoverage --detectOpenHandles"
|
|
96
83
|
}
|
|
97
84
|
}
|