koatty_schedule 4.0.7 → 4.1.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.
@@ -1,10 +1,10 @@
1
1
 
2
2
  
3
- > koatty_schedule@4.0.7 build /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule
3
+ > koatty_schedule@4.1.0 build /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule
4
4
  > pnpm run build:js && pnpm run build:dts && pnpm run build:doc && pnpm run build:cp
5
5
 
6
6
 
7
- > koatty_schedule@4.0.7 build:js /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule
7
+ > koatty_schedule@4.1.0 build:js /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule
8
8
  > tsup
9
9
 
10
10
  CLI Building entry: src/index.ts
@@ -15,14 +15,14 @@
15
15
  CLI Cleaning output folder
16
16
  CJS Build start
17
17
  ESM Build start
18
- CJS dist/index.js 36.77 KB
19
- CJS dist/index.js.map 92.32 KB
20
- CJS ⚡️ Build success in 337ms
21
- ESM dist/index.mjs 35.33 KB
22
- ESM dist/index.mjs.map 92.24 KB
23
- ESM ⚡️ Build success in 337ms
24
-
25
- > koatty_schedule@4.0.7 build:dts /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule
18
+ ESM dist/index.mjs 42.51 KB
19
+ ESM dist/index.mjs.map 99.19 KB
20
+ ESM ⚡️ Build success in 371ms
21
+ CJS dist/index.js 44.19 KB
22
+ CJS dist/index.js.map 99.28 KB
23
+ CJS ⚡️ Build success in 375ms
24
+
25
+ > koatty_schedule@4.1.0 build:dts /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule
26
26
  > bash ../../scripts/build-dts.sh
27
27
 
28
28
  🔨 Building type declarations for koatty-schedule...
@@ -35,9 +35,18 @@
35
35
  ✓ koatty_logger type declarations ready
36
36
  ✓ koatty_store type declarations ready
37
37
 
38
- ✅ All dependencies ready (waited 1ms)
38
+ ✅ All dependencies ready (waited 0ms)
39
39
  📝 Running TypeScript compiler...
40
- ⠙📦 Running API Extractor...
40
+ src/locker/redlock.ts:85:20 - error TS2339: Property 'setExistingInstance' does not exist on type 'IContainer'.
41
+
42
+ 85 IOCContainer.setExistingInstance(RedLockerClass, this);
43
+    ~~~~~~~~~~~~~~~~~~~
44
+
45
+
46
+ Found 1 error in src/locker/redlock.ts:85
47
+
48
+ ⠙⚠️ TypeScript compilation had errors, but continuing...
49
+ 📦 Running API Extractor...
41
50
  
42
51
  api-extractor 7.55.2  - https://api-extractor.com/
43
52
  
@@ -67,15 +76,15 @@ Analysis will use the bundled TypeScript version 5.8.2
67
76
  Warning: src/index.ts:63:1 - (ae-forgotten-export) The symbol "ScheduledOptions" needs to be exported by the entry point index.d.ts
68
77
  Warning: src/locker/interface.ts:50:1 - (ae-forgotten-export) The symbol "BaseRedisConfig" needs to be exported by the entry point index.d.ts
69
78
  Warning: src/locker/redlock.ts:79:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration
70
- Warning: src/locker/redlock.ts:96:6 - (tsdoc-undefined-tag) The TSDoc tag "@static" is not defined in this configuration
71
- Warning: src/locker/redlock.ts:132:6 - (tsdoc-undefined-tag) The TSDoc tag "@static" is not defined in this configuration
72
- Warning: src/locker/redlock.ts:146:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration
73
- Warning: src/locker/redlock.ts:177:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration
79
+ Warning: src/locker/redlock.ts:94:6 - (tsdoc-undefined-tag) The TSDoc tag "@static" is not defined in this configuration
80
+ Warning: src/locker/redlock.ts:130:6 - (tsdoc-undefined-tag) The TSDoc tag "@static" is not defined in this configuration
81
+ Warning: src/locker/redlock.ts:144:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration
82
+ Warning: src/locker/redlock.ts:175:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration
74
83
 
75
84
  API Extractor completed successfully
76
85
  ⠙✅ Type declarations built successfully
77
86
 
78
- > koatty_schedule@4.0.7 build:doc /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule
87
+ > koatty_schedule@4.1.0 build:doc /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule
79
88
  > api-documenter markdown --input temp --output docs/api
80
89
 
81
90
 
@@ -96,7 +105,7 @@ Unsupported block tag: @export
96
105
  Unsupported block tag: @export
97
106
  Unsupported block tag: @export
98
107
 
99
- > koatty_schedule@4.0.7 build:cp /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule
108
+ > koatty_schedule@4.1.0 build:cp /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule
100
109
  > node ../../scripts/postBuild.js
101
110
 
102
111
  📦 postBuild: koatty-schedule
@@ -0,0 +1,4 @@
1
+
2
+ > koatty_schedule@4.0.7 clean /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule
3
+ > rimraf dist temp docs/api
4
+
@@ -0,0 +1,4 @@
1
+
2
+ > koatty_schedule@4.0.6 lint /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule
3
+ > eslint --ext .ts,.js ./src
4
+
package/CHANGELOG.md CHANGED
@@ -1,23 +1,43 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - build
8
+ - build
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+ - Updated dependencies
14
+ - koatty_core@2.2.0
15
+ - koatty_container@3.0.0
16
+ - koatty_lib@1.5.0
17
+ - koatty_logger@3.0.0
18
+ - koatty_store@3.0.0
19
+
3
20
  ## 4.0.7
4
21
 
5
22
  ### Patch Changes
6
23
 
24
+ - build
25
+ - Updated dependencies
26
+ - Updated dependencies
7
27
  - Updated dependencies
8
- - koatty_container@2.0.7
9
- - koatty_core@2.1.8
28
+ - koatty_container@2.0.9
29
+ - koatty_core@2.1.10
30
+ - koatty_lib@1.4.9
31
+ - koatty_logger@2.8.5
32
+ - koatty_store@2.0.6
10
33
 
11
34
  ## 4.0.6
12
35
 
13
36
  ### Patch Changes
14
37
 
15
38
  - Updated dependencies
16
- - koatty_lib@1.4.8
17
39
  - koatty_container@2.0.6
18
- - koatty_core@2.1.7
19
- - koatty_logger@2.8.4
20
- - koatty_store@2.0.5
40
+ - koatty_core@2.1.6
21
41
 
22
42
  ## 4.0.5
23
43
 
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2026-03-07 23:34:51
3
+ * @Date: 2026-04-24 16:20:40
4
4
  * @License: BSD (3-Clause)
5
5
  * @Copyright (c) - <richenlin(at)gmail.com>
6
6
  * @HomePage: https://koatty.org/
@@ -275,7 +275,7 @@ export declare interface RedisStandaloneConfig extends BaseRedisConfig {
275
275
  * }
276
276
  * ```
277
277
  */
278
- export declare function RedLock(lockName?: string, options?: RedLockMethodOptions): MethodDecorator;
278
+ export declare function RedLock(lockName?: string, options?: RedLockMethodOptions): (...args: any[]) => any;
279
279
 
280
280
  /**
281
281
  * RedLock distributed lock manager
@@ -402,7 +402,7 @@ export declare interface RedLockOptions extends ILockOptions {
402
402
  * @returns {MethodDecorator}
403
403
  * @throws {Error} When cron expression is invalid or decorator is used on wrong class type
404
404
  */
405
- export declare function Scheduled(cron: string, timezone?: string): MethodDecorator;
405
+ export declare function Scheduled(cron: string, timezone?: string): (...args: any[]) => any;
406
406
 
407
407
  /**
408
408
  * Scheduled global options interface