koatty_schedule 3.3.4 → 4.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,75 +1,91 @@
1
-
2
- > koatty_schedule@3.3.4 build /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule
3
- > npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp
4
-
5
-
6
- > koatty_schedule@3.3.4 build:js
7
- > npx rollup --bundleConfigAsCjs -c .rollup.config.js
8
-
9
- 
10
- ./src/index.ts → ./dist/index.js, ./dist/index.mjs...
11
- created ./dist/index.js, ./dist/index.mjs in 1.1s
12
-
13
- > koatty_schedule@3.3.4 build:dts
14
- > npx tsc && npx api-extractor run --local --verbose
15
-
16
-
17
- api-extractor 7.55.2  - https://api-extractor.com/
18
- 
19
- Using configuration from ./api-extractor.json
20
- Analysis will use the bundled TypeScript version 5.8.2
21
- *** The target project appears to use TypeScript 5.9.3 which is newer than the bundled compiler engine; consider upgrading API Extractor.
22
- Writing: /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule/temp/koatty_schedule.api.json
23
- Writing package typings: /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule/dist/index.d.ts
24
- Warning: src/decorator/redlock.ts:18:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration
25
- Warning: src/decorator/redlock.ts:19:20 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.
26
- Warning: src/decorator/redlock.ts:19:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
27
- Warning: src/decorator/redlock.ts:22:34 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.
28
- Warning: src/decorator/redlock.ts:22:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
29
- Warning: src/decorator/redlock.ts:24:29 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
30
- Warning: src/decorator/redlock.ts:24:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
31
- Warning: src/decorator/redlock.ts:25:18 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
32
- Warning: src/decorator/redlock.ts:25:12 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
33
- Warning: src/decorator/redlock.ts:42:1 - (ae-forgotten-export) The symbol "RedLockMethodOptions" needs to be exported by the entry point index.d.ts
34
- Warning: src/decorator/scheduled.ts:18:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration
35
- Warning: src/decorator/scheduled.ts:19:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
36
- Warning: src/decorator/scheduled.ts:20:20 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.
37
- Warning: src/decorator/scheduled.ts:20:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
38
- Warning: src/decorator/scheduled.ts:30:29 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
39
- Warning: src/decorator/scheduled.ts:30:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
40
- Warning: src/decorator/scheduled.ts:31:18 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
41
- Warning: src/decorator/scheduled.ts:31:12 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
42
- Warning: src/index.ts:62:1 - (ae-forgotten-export) The symbol "ScheduledOptions" needs to be exported by the entry point index.d.ts
43
- Warning: src/locker/interface.ts:50:1 - (ae-forgotten-export) The symbol "BaseRedisConfig" needs to be exported by the entry point index.d.ts
44
- Warning: src/locker/redlock.ts:79:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration
45
- Warning: src/locker/redlock.ts:96:6 - (tsdoc-undefined-tag) The TSDoc tag "@static" is not defined in this configuration
46
- Warning: src/locker/redlock.ts:132:6 - (tsdoc-undefined-tag) The TSDoc tag "@static" is not defined in this configuration
47
- Warning: src/locker/redlock.ts:146:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration
48
- Warning: src/locker/redlock.ts:177:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration
49
-
50
- API Extractor completed successfully
51
-
52
- > koatty_schedule@3.3.4 build:doc
53
- > npx api-documenter markdown --input temp --output docs/api
54
-
55
-
56
- api-documenter 7.28.2  - https://api-extractor.com/
57
- 
58
- Reading koatty_schedule.api.json
59
-
60
- Deleting old output from docs/api
61
- Writing koatty_schedule package
62
- Unsupported block tag: @export
63
- Unsupported block tag: @static
64
- Unsupported block tag: @private
65
- Unsupported block tag: @static
66
- Unsupported block tag: @static
67
- Unsupported block tag: @private
68
- Unsupported block tag: @static
69
- Unsupported block tag: @export
70
- Unsupported block tag: @export
71
- Unsupported block tag: @export
72
-
73
- > koatty_schedule@3.3.4 build:cp
74
- > node scripts/postBuild && npx copyfiles package.json LICENSE README.md dist/
75
-
1
+
2
+ 
3
+ > koatty_schedule@4.0.0 build /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule
4
+ > npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp
5
+
6
+
7
+ > koatty_schedule@4.0.0 build:js
8
+ > npx rollup --bundleConfigAsCjs -c .rollup.config.js
9
+
10
+ 
11
+ ./src/index.ts ./dist/index.js, ./dist/index.mjs...
12
+ created ./dist/index.js, ./dist/index.mjs in 4.4s
13
+ ⠙⠙
14
+ > koatty_schedule@4.0.0 build:dts
15
+ > bash ../../scripts/build-dts.sh
16
+
17
+ 🔨 Building type declarations for koatty-schedule...
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 1ms)
28
+ 📝 Running TypeScript compiler...
29
+ ⠙⠙📦 Running API Extractor...
30
+ ⠙
31
+ api-extractor 7.55.2  - https://api-extractor.com/
32
+ 
33
+ Using configuration from ./api-extractor.json
34
+ Analysis will use the bundled TypeScript version 5.8.2
35
+ *** The target project appears to use TypeScript 5.9.3 which is newer than the bundled compiler engine; consider upgrading API Extractor.
36
+ Writing: /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule/temp/koatty_schedule.api.json
37
+ Writing package typings: /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule/dist/index.d.ts
38
+ Warning: src/decorator/redlock.ts:18:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration
39
+ Warning: src/decorator/redlock.ts:19:20 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.
40
+ Warning: src/decorator/redlock.ts:19:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
41
+ Warning: src/decorator/redlock.ts:22:34 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.
42
+ Warning: src/decorator/redlock.ts:22:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
43
+ Warning: src/decorator/redlock.ts:24:29 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
44
+ Warning: src/decorator/redlock.ts:24:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
45
+ Warning: src/decorator/redlock.ts:25:18 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
46
+ Warning: src/decorator/redlock.ts:25:12 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
47
+ Warning: src/decorator/redlock.ts:42:1 - (ae-forgotten-export) The symbol "RedLockMethodOptions" needs to be exported by the entry point index.d.ts
48
+ Warning: src/decorator/scheduled.ts:18:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration
49
+ Warning: src/decorator/scheduled.ts:19:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
50
+ Warning: src/decorator/scheduled.ts:20:20 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.
51
+ Warning: src/decorator/scheduled.ts:20:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
52
+ Warning: src/decorator/scheduled.ts:30:29 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
53
+ Warning: src/decorator/scheduled.ts:30:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
54
+ Warning: src/decorator/scheduled.ts:31:18 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
55
+ Warning: src/decorator/scheduled.ts:31:12 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
56
+ Warning: src/index.ts:62:1 - (ae-forgotten-export) The symbol "ScheduledOptions" needs to be exported by the entry point index.d.ts
57
+ Warning: src/locker/interface.ts:50:1 - (ae-forgotten-export) The symbol "BaseRedisConfig" needs to be exported by the entry point index.d.ts
58
+ Warning: src/locker/redlock.ts:79:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration
59
+ Warning: src/locker/redlock.ts:96:6 - (tsdoc-undefined-tag) The TSDoc tag "@static" is not defined in this configuration
60
+ Warning: src/locker/redlock.ts:132:6 - (tsdoc-undefined-tag) The TSDoc tag "@static" is not defined in this configuration
61
+ Warning: src/locker/redlock.ts:146:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration
62
+ Warning: src/locker/redlock.ts:177:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration
63
+
64
+ API Extractor completed successfully
65
+ ⠙✅ Type declarations built successfully
66
+ ⠙
67
+ > koatty_schedule@4.0.0 build:doc
68
+ > npx api-documenter markdown --input temp --output docs/api
69
+
70
+ 
71
+ api-documenter 7.28.2  - https://api-extractor.com/
72
+ 
73
+ Reading koatty_schedule.api.json
74
+
75
+ Deleting old output from docs/api
76
+ Writing koatty_schedule package
77
+ Unsupported block tag: @export
78
+ Unsupported block tag: @static
79
+ Unsupported block tag: @private
80
+ Unsupported block tag: @static
81
+ Unsupported block tag: @static
82
+ Unsupported block tag: @private
83
+ Unsupported block tag: @static
84
+ Unsupported block tag: @export
85
+ Unsupported block tag: @export
86
+ Unsupported block tag: @export
87
+ ⠙⠙
88
+ > koatty_schedule@4.0.0 build:cp
89
+ > node scripts/postBuild && npx copyfiles package.json LICENSE README.md dist/
90
+
91
+ ⠙⠙
package/CHANGELOG.md CHANGED
@@ -1,5 +1,51 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.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
+ ## 3.3.7
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
+ ## 3.3.6
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
+ ## 3.3.5
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
  ## 3.3.4
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 13:35:34
3
+ * @Date: 2026-01-31 09:51:24
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 13:35:25
3
+ * @Date: 2026-01-31 09:51:12
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 13:35:25
3
+ * @Date: 2026-01-31 09:51:12
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,13 +1,13 @@
1
1
  {
2
2
  "name": "koatty_schedule",
3
- "version": "3.3.4",
3
+ "version": "4.0.0",
4
4
  "description": "Schedule 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 && npx 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",
13
13
  "prepublishOnly": "npm test && npm run build && git push --follow-tags origin master",
@@ -93,9 +93,9 @@
93
93
  "koatty_store": "workspace:*"
94
94
  },
95
95
  "peerDependencies": {
96
- "koatty_container": "workspace:*",
97
- "koatty_core": "workspace:*",
98
- "koatty_lib": "workspace:*",
99
- "koatty_logger": "workspace:*"
96
+ "koatty_container": "^2.0.0",
97
+ "koatty_core": "^2.1.0",
98
+ "koatty_lib": "^1.4.5",
99
+ "koatty_logger": "^2.4.0"
100
100
  }
101
- }
101
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koatty_schedule",
3
- "version": "3.3.4",
3
+ "version": "4.0.0",
4
4
  "description": "Schedule for koatty.",
5
5
  "main": "./dist/index.js",
6
6
  "exports": {
@@ -73,24 +73,24 @@
73
73
  "@sesamecare-oss/redlock": "^1.4.0",
74
74
  "cron": "^4.4.0",
75
75
  "ioredis": "^5.9.2",
76
- "koatty_container": "1.18.0",
77
- "koatty_core": "2.0.8-0",
78
- "koatty_logger": "2.8.1",
79
- "koatty_lib": "1.4.3",
80
- "koatty_store": "1.9.0"
76
+ "koatty_container": "2.0.0",
77
+ "koatty_logger": "2.4.0",
78
+ "koatty_lib": "1.4.5",
79
+ "koatty_store": "2.0.0",
80
+ "koatty_core": "2.1.0"
81
81
  },
82
82
  "peerDependencies": {
83
- "koatty_lib": "1.4.3",
84
- "koatty_core": "2.0.8-0",
85
- "koatty_container": "1.18.0",
86
- "koatty_logger": "2.8.1"
83
+ "koatty_container": "^2.0.0",
84
+ "koatty_core": "^2.1.0",
85
+ "koatty_lib": "^1.4.5",
86
+ "koatty_logger": "^2.4.0"
87
87
  },
88
88
  "scripts": {
89
89
  "build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
90
90
  "build:cp": "node scripts/postBuild && npx copyfiles package.json LICENSE README.md dist/",
91
91
  "build:js": "npx rollup --bundleConfigAsCjs -c .rollup.config.js",
92
92
  "build:doc": "npx api-documenter markdown --input temp --output docs/api",
93
- "build:dts": "npx tsc && npx api-extractor run --local --verbose",
93
+ "build:dts": "bash ../../scripts/build-dts.sh",
94
94
  "eslint": "eslint --ext .ts,.js ./",
95
95
  "lock": "npm i --package-lock-only",
96
96
  "prerelease": "npm test && npm run build",