koatty_cacheable 2.0.2 → 2.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/.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,39 @@
1
1
 
2
2
  
3
- > koatty_cacheable@2.0.2 build /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-cacheable
3
+ > koatty_cacheable@2.0.5 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@2.0.5 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 4.8s
13
13
  ⠙⠙
14
- > koatty_cacheable@2.0.2 build:dts
15
- > npx tsc && npx api-extractor run --local --verbose
14
+ > koatty_cacheable@2.0.5 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_lib type declarations ready
23
+ ✓ koatty_logger type declarations ready
24
+ ⏳ Waiting for: koatty_core, koatty_store (0s)
25
+ ✗ koatty_core: not found
26
+ ✗ koatty_store: missing .d.ts
27
+ ⏳ Waiting for: koatty_core, koatty_store (5s)
28
+ ✗ koatty_core: missing .d.ts
29
+ ✗ koatty_store: missing .d.ts
30
+ ✓ koatty_store type declarations ready
31
+ ✓ koatty_core type declarations ready
32
+
33
+ ✅ All dependencies ready (waited 9040ms)
34
+ 📝 Running TypeScript compiler...
35
+ ⠙⠙📦 Running API Extractor...
36
+ ⠙
18
37
  api-extractor 7.55.2  - https://api-extractor.com/
19
38
  
20
39
  Using configuration from ./api-extractor.json
@@ -52,11 +71,12 @@ Analysis will use the bundled TypeScript version 5.8.2
52
71
  Warning: src/store.ts:36:18 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
53
72
 
54
73
  API Extractor completed successfully
55
- ⠙⠙
56
- > koatty_cacheable@2.0.2 build:doc
74
+ ⠙✅ Type declarations built successfully
75
+ ⠙
76
+ > koatty_cacheable@2.0.5 build:doc
57
77
  > npx api-documenter markdown --input temp --output docs/api
58
78
 
59
- 
79
+ ⠙
60
80
  api-documenter 7.28.2  - https://api-extractor.com/
61
81
  
62
82
  Reading koatty_cacheable.api.json
@@ -74,7 +94,7 @@ Unsupported block tag: @export
74
94
  Unsupported block tag: @return
75
95
  Unsupported block tag: @return
76
96
  ⠙⠙
77
- > koatty_cacheable@2.0.2 build:cp
97
+ > koatty_cacheable@2.0.5 build:cp
78
98
  > node scripts/postBuild && copyfiles package.json LICENSE README.md dist/
79
99
 
80
100
  ⠙
package/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - build
8
+ - Updated dependencies
9
+ - koatty_container@1.17.4
10
+ - koatty_core@2.0.14
11
+ - koatty_lib@1.4.5
12
+ - koatty_logger@2.3.4
13
+ - koatty_store@1.9.4
14
+
15
+ ## 2.0.4
16
+
17
+ ### Patch Changes
18
+
19
+ - build
20
+ - Updated dependencies
21
+ - koatty_container@1.17.3
22
+ - koatty_core@2.0.13
23
+ - koatty_lib@1.4.4
24
+ - koatty_logger@2.3.3
25
+ - koatty_store@1.9.3
26
+
27
+ ## 2.0.3
28
+
29
+ ### Patch Changes
30
+
31
+ - build
32
+ - Updated dependencies
33
+ - koatty_container@1.17.2
34
+ - koatty_lib@1.4.3
35
+ - koatty_logger@2.3.2
36
+ - koatty_store@1.9.2
37
+ - koatty_core@2.0.12
38
+
3
39
  ## 2.0.2
4
40
 
5
41
  ### 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-28 17:22:16
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-28 17:21:42
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-28 17:21:42
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": "2.0.5",
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"
@@ -82,17 +82,17 @@
82
82
  "typescript": "^5.x.x"
83
83
  },
84
84
  "dependencies": {
85
- "koatty_container": "workspace:*",
86
- "koatty_core": "workspace:*",
87
- "koatty_lib": "workspace:*",
88
- "koatty_logger": "workspace:*",
89
- "koatty_store": "workspace:*"
85
+ "koatty_container": "^1.17.4",
86
+ "koatty_core": "^2.0.14",
87
+ "koatty_lib": "^1.4.5",
88
+ "koatty_logger": "^2.3.4",
89
+ "koatty_store": "^1.9.4"
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": "^1.17.4",
93
+ "koatty_core": "^2.0.14",
94
+ "koatty_lib": "^1.4.5",
95
+ "koatty_logger": "^2.3.4",
96
+ "koatty_store": "^1.9.4"
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": "2.0.5",
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_container": "^1.17.4",
73
+ "koatty_core": "^2.0.14",
74
+ "koatty_lib": "^1.4.5",
75
+ "koatty_logger": "^2.3.4",
76
+ "koatty_store": "^1.9.4"
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": "^1.17.4",
80
+ "koatty_core": "^2.0.14",
81
+ "koatty_lib": "^1.4.5",
82
+ "koatty_logger": "^2.3.4",
83
+ "koatty_store": "^1.9.4"
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",