koatty_cacheable 2.0.1 → 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 +5 -2
- package/.turbo/turbo-build.log +100 -0
- package/CHANGELOG.md +55 -12
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/package.json +16 -20
- package/package.json +25 -30
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: [
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> koatty_cacheable@2.0.5 build /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-cacheable
|
|
4
|
+
> npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
> koatty_cacheable@2.0.5 build:js
|
|
8
|
+
> npx rollup --bundleConfigAsCjs -c .rollup.config.js
|
|
9
|
+
|
|
10
|
+
[1G[0K[1G[0K[36m
|
|
11
|
+
[1m./src/index.ts[22m → [1m./dist/index.js, ./dist/index.mjs[22m...[39m
|
|
12
|
+
[32mcreated [1m./dist/index.js, ./dist/index.mjs[22m in [1m4.8s[22m[39m
|
|
13
|
+
[1G[0K⠙[1G[0K[1G[0K⠙[1G[0K
|
|
14
|
+
> koatty_cacheable@2.0.5 build:dts
|
|
15
|
+
> bash ../../scripts/build-dts.sh
|
|
16
|
+
|
|
17
|
+
[1G[0K🔨 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
|
+
[1G[0K⠙[1G[0K[1G[0K⠙[1G[0K📦 Running API Extractor...
|
|
36
|
+
[1G[0K⠙[1G[0K
|
|
37
|
+
[1mapi-extractor 7.55.2 [36m - https://api-extractor.com/[39m
|
|
38
|
+
[22m
|
|
39
|
+
Using configuration from ./api-extractor.json
|
|
40
|
+
Analysis will use the bundled TypeScript version 5.8.2
|
|
41
|
+
*** The target project appears to use TypeScript 5.9.3 which is newer than the bundled compiler engine; consider upgrading API Extractor.
|
|
42
|
+
[36mWriting: /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-cacheable/temp/koatty_cacheable.api.json[39m
|
|
43
|
+
[36mWriting package typings: /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-cacheable/dist/index.d.ts[39m
|
|
44
|
+
[33mWarning: src/cache.ts:16:4 - (tsdoc-characters-after-block-tag) The token "@description" looks like a TSDoc tag but contains an invalid character ":"; if it is not a tag, use a backslash to escape the "@"[39m
|
|
45
|
+
[33mWarning: src/cache.ts:17:14 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag[39m
|
|
46
|
+
[33mWarning: src/cache.ts:17:12 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"[39m
|
|
47
|
+
[33mWarning: src/cache.ts:17:4 - (tsdoc-undefined-tag) The TSDoc tag "@return" is not defined in this configuration[39m
|
|
48
|
+
[33mWarning: src/cache.ts:27:4 - (tsdoc-characters-after-block-tag) The token "@description" looks like a TSDoc tag but contains an invalid character ":"; if it is not a tag, use a backslash to escape the "@"[39m
|
|
49
|
+
[33mWarning: src/cache.ts:28:14 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag[39m
|
|
50
|
+
[33mWarning: src/cache.ts:28:12 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"[39m
|
|
51
|
+
[33mWarning: src/cache.ts:28:4 - (tsdoc-undefined-tag) The TSDoc tag "@return" is not defined in this configuration[39m
|
|
52
|
+
[33mWarning: src/cache.ts:46:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration[39m
|
|
53
|
+
[33mWarning: src/cache.ts:47:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
54
|
+
[33mWarning: src/cache.ts:48:26 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.[39m
|
|
55
|
+
[33mWarning: src/cache.ts:48:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
56
|
+
[33mWarning: src/cache.ts:50:4 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"[39m
|
|
57
|
+
[33mWarning: src/cache.ts:53:4 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag[39m
|
|
58
|
+
[33mWarning: src/cache.ts:55:29 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag[39m
|
|
59
|
+
[33mWarning: src/cache.ts:55:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"[39m
|
|
60
|
+
[33mWarning: src/cache.ts:133:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration[39m
|
|
61
|
+
[33mWarning: src/cache.ts:134:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
62
|
+
[33mWarning: src/cache.ts:135:27 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.[39m
|
|
63
|
+
[33mWarning: src/cache.ts:135:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
64
|
+
[33mWarning: src/cache.ts:137:4 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"[39m
|
|
65
|
+
[33mWarning: src/cache.ts:140:4 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag[39m
|
|
66
|
+
[33mWarning: src/store.ts:34:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration[39m
|
|
67
|
+
[33mWarning: src/store.ts:35:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
68
|
+
[33mWarning: src/store.ts:36:15 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag[39m
|
|
69
|
+
[33mWarning: src/store.ts:36:29 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag[39m
|
|
70
|
+
[33mWarning: src/store.ts:36:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"[39m
|
|
71
|
+
[33mWarning: src/store.ts:36:18 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"[39m
|
|
72
|
+
|
|
73
|
+
API Extractor completed successfully
|
|
74
|
+
[1G[0K⠙[1G[0K✅ Type declarations built successfully
|
|
75
|
+
[1G[0K⠙[1G[0K
|
|
76
|
+
> koatty_cacheable@2.0.5 build:doc
|
|
77
|
+
> npx api-documenter markdown --input temp --output docs/api
|
|
78
|
+
|
|
79
|
+
[1G[0K[1G[0K⠙[1G[0K
|
|
80
|
+
[1mapi-documenter 7.28.2 [36m - https://api-extractor.com/[39m
|
|
81
|
+
[22m
|
|
82
|
+
Reading koatty_cacheable.api.json
|
|
83
|
+
|
|
84
|
+
Deleting old output from docs/api
|
|
85
|
+
Writing koatty_cacheable package
|
|
86
|
+
Unsupported block tag: @export
|
|
87
|
+
Unsupported block tag: @return
|
|
88
|
+
Unsupported block tag: @export
|
|
89
|
+
Unsupported block tag: @return
|
|
90
|
+
Unsupported block tag: @export
|
|
91
|
+
Unsupported block tag: @export
|
|
92
|
+
Unsupported block tag: @export
|
|
93
|
+
Unsupported block tag: @export
|
|
94
|
+
Unsupported block tag: @return
|
|
95
|
+
Unsupported block tag: @return
|
|
96
|
+
[1G[0K⠙[1G[0K[1G[0K⠙[1G[0K
|
|
97
|
+
> koatty_cacheable@2.0.5 build:cp
|
|
98
|
+
> node scripts/postBuild && copyfiles package.json LICENSE README.md dist/
|
|
99
|
+
|
|
100
|
+
[1G[0K[1G[0K⠙[1G[0K
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
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
|
+
|
|
39
|
+
## 2.0.2
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- Updated dependencies
|
|
44
|
+
- koatty_lib@1.4.2
|
|
45
|
+
- koatty_container@1.17.1
|
|
46
|
+
- koatty_core@2.0.11
|
|
47
|
+
- koatty_logger@2.3.1
|
|
48
|
+
- koatty_store@1.9.1
|
|
49
|
+
|
|
3
50
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
51
|
|
|
5
52
|
### [2.0.1](https://github.com/thinkkoa/koatty_cacheable/compare/v1.6.1...v2.0.1) (2025-11-02)
|
|
@@ -12,37 +59,33 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
12
59
|
|
|
13
60
|
## [1.5.0](https://github.com/thinkkoa/koatty_cacheable/compare/v1.4.3...v1.5.0) (2024-04-01)
|
|
14
61
|
|
|
15
|
-
|
|
16
62
|
### Features
|
|
17
63
|
|
|
18
|
-
|
|
64
|
+
- delayedDoubleDeletion ([532f735](https://github.com/thinkkoa/koatty_cacheable/commit/532f735818fc66fa144023cd24282efe350833ba))
|
|
19
65
|
|
|
20
66
|
### [1.4.3](https://github.com/thinkkoa/koatty_cacheable/compare/v1.4.2...v1.4.3) (2024-01-17)
|
|
21
67
|
|
|
22
|
-
|
|
23
68
|
### Bug Fixes
|
|
24
69
|
|
|
25
|
-
|
|
70
|
+
- 缓存 key 拼装 ([5d0b924](https://github.com/thinkkoa/koatty_cacheable/commit/5d0b9248064d353046bd7287d3a3ee5229e88c23))
|
|
26
71
|
|
|
27
72
|
### [1.4.2](https://github.com/thinkkoa/koatty_cacheable/compare/v1.4.1...v1.4.2) (2023-12-20)
|
|
28
73
|
|
|
29
74
|
### [1.4.1](https://github.com/thinkkoa/koatty_cacheable/compare/v1.4.0...v1.4.1) (2023-08-04)
|
|
30
75
|
|
|
31
|
-
|
|
32
76
|
### Bug Fixes
|
|
33
77
|
|
|
34
|
-
|
|
35
|
-
|
|
78
|
+
- default value ([38f2e57](https://github.com/thinkkoa/koatty_cacheable/commit/38f2e57d52d13482907ca9eac6006d1e841bdadd))
|
|
79
|
+
- 初始化缓存改为 appReady 执行 ([7e9b1ab](https://github.com/thinkkoa/koatty_cacheable/commit/7e9b1abe6acdbdf1b6ad34efa053cbaca1e7b6d7))
|
|
36
80
|
|
|
37
81
|
## [1.4.0](https://github.com/thinkkoa/koatty_cacheable/compare/v1.3.8...v1.4.0) (2023-02-18)
|
|
38
82
|
|
|
39
|
-
|
|
40
83
|
### Bug Fixes
|
|
41
84
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
85
|
+
- cache subkey ([408e3c7](https://github.com/thinkkoa/koatty_cacheable/commit/408e3c709a4dfff6e7d224a22d26e58854a805ac))
|
|
86
|
+
- 启动时链接 ([e7ec709](https://github.com/thinkkoa/koatty_cacheable/commit/e7ec7094be106e4e48783c9b214b8369e8a18297))
|
|
87
|
+
- 支持引入变量做缓存 key ([4ce81aa](https://github.com/thinkkoa/koatty_cacheable/commit/4ce81aaaf9610f4a62ddf43e3c4389dd003c2db8))
|
|
88
|
+
- 获取单例 ([0759972](https://github.com/thinkkoa/koatty_cacheable/commit/0759972adf7e86312f60f0bf77604bddf06ce0de))
|
|
46
89
|
|
|
47
90
|
### [1.3.8](https://github.com/thinkkoa/koatty_cacheable/compare/v1.3.6...v1.3.8) (2023-01-13)
|
|
48
91
|
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/dist/package.json
CHANGED
|
@@ -1,24 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koatty_cacheable",
|
|
3
|
-
"version": "2.0.
|
|
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
|
-
"build:cp": "node scripts/postBuild &&
|
|
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": "
|
|
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
|
|
13
|
+
"prepublishOnly": "npm test && npm run build",
|
|
14
14
|
"prerelease": "npm test && npm run build",
|
|
15
|
-
"release": "standard-version",
|
|
16
|
-
"release:pre": "npm run release -- --prerelease",
|
|
17
|
-
"release:major": "npm run release -- --release-as major",
|
|
18
|
-
"release:minor": "npm run release -- --release-as minor",
|
|
19
15
|
"test": "npm run eslint && jest --passWithNoTests",
|
|
20
|
-
"test:cov": "jest --collectCoverage --detectOpenHandles"
|
|
21
|
-
"version": "conventional-changelog -p angular -i CHANGELOG.md -s"
|
|
16
|
+
"test:cov": "jest --collectCoverage --detectOpenHandles"
|
|
22
17
|
},
|
|
23
18
|
"main": "./dist/index.js",
|
|
24
19
|
"exports": {
|
|
@@ -70,6 +65,7 @@
|
|
|
70
65
|
"@typescript-eslint/eslint-plugin": "^8.x.x",
|
|
71
66
|
"@typescript-eslint/parser": "^8.x.x",
|
|
72
67
|
"conventional-changelog-cli": "^5.x.x",
|
|
68
|
+
"copyfiles": "^2.x.x",
|
|
73
69
|
"eslint": "^8.x.x",
|
|
74
70
|
"eslint-plugin-jest": "^28.x.x",
|
|
75
71
|
"husky": "^4.x.x",
|
|
@@ -86,17 +82,17 @@
|
|
|
86
82
|
"typescript": "^5.x.x"
|
|
87
83
|
},
|
|
88
84
|
"dependencies": {
|
|
89
|
-
"koatty_container": "^1.
|
|
90
|
-
"koatty_core": "2.
|
|
91
|
-
"koatty_lib": "^1.
|
|
92
|
-
"koatty_logger": "^2.
|
|
93
|
-
"koatty_store": "^1.
|
|
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"
|
|
94
90
|
},
|
|
95
91
|
"peerDependencies": {
|
|
96
|
-
"koatty_container": "^1.
|
|
97
|
-
"koatty_core": "2.
|
|
98
|
-
"koatty_lib": "^1.
|
|
99
|
-
"koatty_logger": "^2.
|
|
100
|
-
"koatty_store": "^1.
|
|
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"
|
|
101
97
|
}
|
|
102
98
|
}
|
package/package.json
CHANGED
|
@@ -1,25 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koatty_cacheable",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"description": "Cacheable for koatty.",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
|
|
7
|
-
"build:cp": "node scripts/postBuild && npx copyfiles package.json LICENSE README.md dist/",
|
|
8
|
-
"build:js": "npx rollup --bundleConfigAsCjs -c .rollup.config.js",
|
|
9
|
-
"build:doc": "npx api-documenter markdown --input temp --output docs/api",
|
|
10
|
-
"build:dts": "npx tsc && npx api-extractor run --local --verbose",
|
|
11
|
-
"eslint": "eslint --ext .ts,.js ./",
|
|
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",
|
|
14
|
-
"prerelease": "npm test && npm run build",
|
|
15
|
-
"release": "standard-version",
|
|
16
|
-
"release:pre": "npm run release -- --prerelease",
|
|
17
|
-
"release:major": "npm run release -- --release-as major",
|
|
18
|
-
"release:minor": "npm run release -- --release-as minor",
|
|
19
|
-
"test": "npm run eslint && jest --passWithNoTests",
|
|
20
|
-
"test:cov": "jest --collectCoverage --detectOpenHandles",
|
|
21
|
-
"version": "conventional-changelog -p angular -i CHANGELOG.md -s"
|
|
22
|
-
},
|
|
23
5
|
"main": "./dist/index.js",
|
|
24
6
|
"exports": {
|
|
25
7
|
"require": "./dist/index.js",
|
|
@@ -70,6 +52,7 @@
|
|
|
70
52
|
"@typescript-eslint/eslint-plugin": "^8.x.x",
|
|
71
53
|
"@typescript-eslint/parser": "^8.x.x",
|
|
72
54
|
"conventional-changelog-cli": "^5.x.x",
|
|
55
|
+
"copyfiles": "^2.x.x",
|
|
73
56
|
"eslint": "^8.x.x",
|
|
74
57
|
"eslint-plugin-jest": "^28.x.x",
|
|
75
58
|
"husky": "^4.x.x",
|
|
@@ -86,17 +69,29 @@
|
|
|
86
69
|
"typescript": "^5.x.x"
|
|
87
70
|
},
|
|
88
71
|
"dependencies": {
|
|
89
|
-
"koatty_container": "^1.
|
|
90
|
-
"koatty_core": "2.
|
|
91
|
-
"koatty_lib": "^1.
|
|
92
|
-
"koatty_logger": "^2.
|
|
93
|
-
"koatty_store": "^1.
|
|
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"
|
|
94
77
|
},
|
|
95
78
|
"peerDependencies": {
|
|
96
|
-
"koatty_container": "^1.
|
|
97
|
-
"koatty_core": "2.
|
|
98
|
-
"koatty_lib": "^1.
|
|
99
|
-
"koatty_logger": "^2.
|
|
100
|
-
"koatty_store": "^1.
|
|
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
|
+
},
|
|
85
|
+
"scripts": {
|
|
86
|
+
"build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
|
|
87
|
+
"build:cp": "node scripts/postBuild && copyfiles package.json LICENSE README.md dist/",
|
|
88
|
+
"build:js": "npx rollup --bundleConfigAsCjs -c .rollup.config.js",
|
|
89
|
+
"build:doc": "npx api-documenter markdown --input temp --output docs/api",
|
|
90
|
+
"build:dts": "bash ../../scripts/build-dts.sh",
|
|
91
|
+
"eslint": "eslint --ext .ts,.js ./",
|
|
92
|
+
"lock": "npm i --package-lock-only && npm audit fix && npx pnpm i",
|
|
93
|
+
"prerelease": "npm test && npm run build",
|
|
94
|
+
"test": "npm run eslint && jest --passWithNoTests",
|
|
95
|
+
"test:cov": "jest --collectCoverage --detectOpenHandles"
|
|
101
96
|
}
|
|
102
|
-
}
|
|
97
|
+
}
|