koatty_cacheable 2.0.2 → 3.0.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 CHANGED
@@ -46,9 +46,12 @@ export default [
46
46
  compilerOptions: {
47
47
  declaration: false,
48
48
  declarationMap: false,
49
- module: "ESNext"
49
+ module: "ESNext",
50
+ skipLibCheck: true
50
51
  }
51
- }
52
+ },
53
+ useTsconfigDeclarationDir: false,
54
+ check: false
52
55
  })
53
56
  ],
54
57
  external: [
@@ -1,20 +1,33 @@
1
1
 
2
2
  
3
- > koatty_cacheable@2.0.2 build /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-cacheable
3
+ > koatty_cacheable@3.0.0 build /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-cacheable
4
4
  > npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp
5
5
 
6
6
 
7
- > koatty_cacheable@2.0.2 build:js
7
+ > koatty_cacheable@3.0.0 build:js
8
8
  > npx rollup --bundleConfigAsCjs -c .rollup.config.js
9
9
 
10
10
  
11
11
  ./src/index.ts → ./dist/index.js, ./dist/index.mjs...
12
- created ./dist/index.js, ./dist/index.mjs in 781ms
12
+ created ./dist/index.js, ./dist/index.mjs in 3.6s
13
13
  ⠙⠙
14
- > koatty_cacheable@2.0.2 build:dts
15
- > npx tsc && npx api-extractor run --local --verbose
14
+ > koatty_cacheable@3.0.0 build:dts
15
+ > bash ../../scripts/build-dts.sh
16
16
 
17
- ⠙
17
+ 🔨 Building type declarations for koatty-cacheable...
18
+ ⏳ Waiting for dependencies to be ready...
19
+
20
+ 🔍 Checking dependencies: koatty_container, koatty_core, koatty_lib, koatty_logger, koatty_store
21
+ ✓ koatty_container type declarations ready
22
+ ✓ koatty_core type declarations ready
23
+ ✓ koatty_lib type declarations ready
24
+ ✓ koatty_logger type declarations ready
25
+ ✓ koatty_store type declarations ready
26
+
27
+ ✅ All dependencies ready (waited 2ms)
28
+ 📝 Running TypeScript compiler...
29
+ ⠙⠙📦 Running API Extractor...
30
+ ⠙
18
31
  api-extractor 7.55.2  - https://api-extractor.com/
19
32
  
20
33
  Using configuration from ./api-extractor.json
@@ -52,11 +65,12 @@ Analysis will use the bundled TypeScript version 5.8.2
52
65
  Warning: src/store.ts:36:18 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
53
66
 
54
67
  API Extractor completed successfully
55
- ⠙⠙
56
- > koatty_cacheable@2.0.2 build:doc
68
+ ⠙✅ Type declarations built successfully
69
+ ⠙
70
+ > koatty_cacheable@3.0.0 build:doc
57
71
  > npx api-documenter markdown --input temp --output docs/api
58
72
 
59
- 
73
+ ⠙
60
74
  api-documenter 7.28.2  - https://api-extractor.com/
61
75
  
62
76
  Reading koatty_cacheable.api.json
@@ -73,8 +87,8 @@ Unsupported block tag: @export
73
87
  Unsupported block tag: @export
74
88
  Unsupported block tag: @return
75
89
  Unsupported block tag: @return
76
- ⠙⠙
77
- > koatty_cacheable@2.0.2 build:cp
90
+ ⠙⠙⠙
91
+ > koatty_cacheable@3.0.0 build:cp
78
92
  > node scripts/postBuild && copyfiles package.json LICENSE README.md dist/
79
93
 
80
- ⠙
94
+ ⠙⠙
package/CHANGELOG.md CHANGED
@@ -1,5 +1,51 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - koatty_container@2.0.0
9
+ - koatty_core@2.1.0
10
+ - koatty_logger@2.4.0
11
+ - koatty_store@2.0.0
12
+
13
+ ## 2.0.5
14
+
15
+ ### Patch Changes
16
+
17
+ - build
18
+ - Updated dependencies
19
+ - koatty_container@1.17.4
20
+ - koatty_core@2.0.14
21
+ - koatty_lib@1.4.5
22
+ - koatty_logger@2.3.4
23
+ - koatty_store@1.9.4
24
+
25
+ ## 2.0.4
26
+
27
+ ### Patch Changes
28
+
29
+ - build
30
+ - Updated dependencies
31
+ - koatty_container@1.17.3
32
+ - koatty_core@2.0.13
33
+ - koatty_lib@1.4.4
34
+ - koatty_logger@2.3.3
35
+ - koatty_store@1.9.3
36
+
37
+ ## 2.0.3
38
+
39
+ ### Patch Changes
40
+
41
+ - build
42
+ - Updated dependencies
43
+ - koatty_container@1.17.2
44
+ - koatty_lib@1.4.3
45
+ - koatty_logger@2.3.2
46
+ - koatty_store@1.9.2
47
+ - koatty_core@2.0.12
48
+
3
49
  ## 2.0.2
4
50
 
5
51
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2026-01-28 11:25:48
3
+ * @Date: 2026-01-31 09:51:22
4
4
  * @License: BSD (3-Clause)
5
5
  * @Copyright (c) - <richenlin(at)gmail.com>
6
6
  * @HomePage: https://koatty.org/
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2026-01-28 11:25:40
3
+ * @Date: 2026-01-31 09:51:06
4
4
  * @License: BSD (3-Clause)
5
5
  * @Copyright (c) - <richenlin(at)gmail.com>
6
6
  * @HomePage: https://koatty.org/
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2026-01-28 11:25:40
3
+ * @Date: 2026-01-31 09:51:06
4
4
  * @License: BSD (3-Clause)
5
5
  * @Copyright (c) - <richenlin(at)gmail.com>
6
6
  * @HomePage: https://koatty.org/
package/dist/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "koatty_cacheable",
3
- "version": "2.0.2",
3
+ "version": "3.0.0",
4
4
  "description": "Cacheable for koatty.",
5
5
  "scripts": {
6
6
  "build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
7
7
  "build:cp": "node scripts/postBuild && copyfiles package.json LICENSE README.md dist/",
8
8
  "build:js": "npx rollup --bundleConfigAsCjs -c .rollup.config.js",
9
9
  "build:doc": "npx api-documenter markdown --input temp --output docs/api",
10
- "build:dts": "npx tsc && npx api-extractor run --local --verbose",
10
+ "build:dts": "bash ../../scripts/build-dts.sh",
11
11
  "eslint": "eslint --ext .ts,.js ./",
12
12
  "lock": "npm i --package-lock-only && npm audit fix && npx pnpm i",
13
- "prepublishOnly": "npm test && npm run build && git push --follow-tags origin",
13
+ "prepublishOnly": "npm test && npm run build",
14
14
  "prerelease": "npm test && npm run build",
15
15
  "test": "npm run eslint && jest --passWithNoTests",
16
16
  "test:cov": "jest --collectCoverage --detectOpenHandles"
@@ -89,10 +89,10 @@
89
89
  "koatty_store": "workspace:*"
90
90
  },
91
91
  "peerDependencies": {
92
- "koatty_container": "workspace:*",
93
- "koatty_core": "workspace:*",
94
- "koatty_lib": "workspace:*",
95
- "koatty_logger": "workspace:*",
96
- "koatty_store": "workspace:*"
92
+ "koatty_container": "^2.0.0",
93
+ "koatty_core": "^2.1.0",
94
+ "koatty_lib": "^1.4.5",
95
+ "koatty_logger": "^2.4.0",
96
+ "koatty_store": "^2.0.0"
97
97
  }
98
- }
98
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koatty_cacheable",
3
- "version": "2.0.2",
3
+ "version": "3.0.0",
4
4
  "description": "Cacheable for koatty.",
5
5
  "main": "./dist/index.js",
6
6
  "exports": {
@@ -69,25 +69,25 @@
69
69
  "typescript": "^5.x.x"
70
70
  },
71
71
  "dependencies": {
72
- "koatty_container": "1.18.0",
73
- "koatty_core": "2.0.8",
74
- "koatty_logger": "2.8.1",
75
- "koatty_lib": "1.4.3",
76
- "koatty_store": "1.9.0"
72
+ "koatty_core": "2.1.0",
73
+ "koatty_container": "2.0.0",
74
+ "koatty_logger": "2.4.0",
75
+ "koatty_store": "2.0.0",
76
+ "koatty_lib": "1.4.5"
77
77
  },
78
78
  "peerDependencies": {
79
- "koatty_container": "1.18.0",
80
- "koatty_core": "2.0.8",
81
- "koatty_lib": "1.4.3",
82
- "koatty_logger": "2.8.1",
83
- "koatty_store": "1.9.0"
79
+ "koatty_container": "^2.0.0",
80
+ "koatty_core": "^2.1.0",
81
+ "koatty_lib": "^1.4.5",
82
+ "koatty_logger": "^2.4.0",
83
+ "koatty_store": "^2.0.0"
84
84
  },
85
85
  "scripts": {
86
86
  "build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
87
87
  "build:cp": "node scripts/postBuild && copyfiles package.json LICENSE README.md dist/",
88
88
  "build:js": "npx rollup --bundleConfigAsCjs -c .rollup.config.js",
89
89
  "build:doc": "npx api-documenter markdown --input temp --output docs/api",
90
- "build:dts": "npx tsc && npx api-extractor run --local --verbose",
90
+ "build:dts": "bash ../../scripts/build-dts.sh",
91
91
  "eslint": "eslint --ext .ts,.js ./",
92
92
  "lock": "npm i --package-lock-only && npm audit fix && npx pnpm i",
93
93
  "prerelease": "npm test && npm run build",