koatty_validation 1.6.3 → 2.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
@@ -29,9 +29,12 @@ export default [
29
29
  compilerOptions: {
30
30
  declaration: false,
31
31
  declarationMap: false,
32
- module: "ESNext"
32
+ module: "ESNext",
33
+ skipLibCheck: true
33
34
  }
34
- }
35
+ },
36
+ useTsconfigDeclarationDir: false,
37
+ check: false
35
38
  })
36
39
  ]
37
40
  },
@@ -54,9 +57,12 @@ export default [
54
57
  compilerOptions: {
55
58
  declaration: false,
56
59
  declarationMap: false,
57
- module: "ESNext"
60
+ module: "ESNext",
61
+ skipLibCheck: true
58
62
  }
59
- }
63
+ },
64
+ useTsconfigDeclarationDir: false,
65
+ check: false
60
66
  })
61
67
  ]
62
68
  }
@@ -1,120 +1,134 @@
1
-
2
- > koatty_validation@1.6.3 build /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-validation
3
- > npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp
4
-
5
-
6
- > koatty_validation@1.6.3 build:js
7
- > del-cli --force dist && npx rollup --bundleConfigAsCjs -c .rollup.config.js
8
-
9
- 
10
- ./src/index.ts → ./dist/index.js...
11
- (!) Unresolved dependencies
12
- https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
13
- lru-cache (imported by "src/performance-cache.ts")
14
- reflect-metadata (imported by "src/util.ts")
15
- koatty_lib (imported by "src/util.ts", "src/rule.ts" and "src/decorators.ts")
16
- koatty_container (imported by "src/util.ts" and "src/decorators.ts")
17
- class-validator (imported by "src/rule.ts", "src/decorator-factory.ts" and "src/decorators.ts")
18
- created ./dist/index.js in 2s
19
- 
20
- ./src/index.ts → ./dist/index.mjs...
21
- (!) Unresolved dependencies
22
- https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
23
- lru-cache (imported by "src/performance-cache.ts")
24
- reflect-metadata (imported by "src/util.ts")
25
- koatty_lib (imported by "src/util.ts", "src/rule.ts" and "src/decorators.ts")
26
- koatty_container (imported by "src/util.ts" and "src/decorators.ts")
27
- class-validator (imported by "src/rule.ts", "src/decorator-factory.ts" and "src/decorators.ts")
28
- created ./dist/index.mjs in 1.1s
29
-
30
- > koatty_validation@1.6.3 build:dts
31
- > del-cli --force temp && npx tsc && npx api-extractor run --local --verbose
32
-
33
-
34
- api-extractor 7.55.2  - https://api-extractor.com/
35
- 
36
- Using configuration from ./api-extractor.json
37
- Analysis will use the bundled TypeScript version 5.8.2
38
- *** The target project appears to use TypeScript 5.9.3 which is newer than the bundled compiler engine; consider upgrading API Extractor.
39
- Writing: /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-validation/temp/koatty_validation.api.json
40
- Writing package typings: /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-validation/dist/index.d.ts
41
- Warning: src/error-handler.ts:185:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration
42
- Warning: src/performance-cache.ts:410:14 - (ae-forgotten-export) The symbol "MetadataCache" needs to be exported by the entry point index.d.ts
43
- Warning: src/performance-cache.ts:411:14 - (ae-forgotten-export) The symbol "ValidationCache" needs to be exported by the entry point index.d.ts
44
- Warning: src/performance-cache.ts:412:14 - (ae-forgotten-export) The symbol "RegexCache" needs to be exported by the entry point index.d.ts
45
- Warning: src/performance-cache.ts:413:14 - (ae-forgotten-export) The symbol "PerformanceMonitor" needs to be exported by the entry point index.d.ts
46
- Warning: src/rule.ts:28:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration
47
- Warning: src/rule.ts:29:17 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
48
- Warning: src/rule.ts:29:10 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
49
- Warning: src/rule.ts:29:4 - (tsdoc-undefined-tag) The TSDoc tag "@enum" is not defined in this configuration
50
- Warning: src/rule.ts:54:6 - (tsdoc-undefined-tag) The TSDoc tag "@static" is not defined in this configuration
51
- Warning: src/rule.ts:56:6 - (tsdoc-undefined-tag) The TSDoc tag "@memberof" is not defined in this configuration
52
- Warning: src/rule.ts:65:13 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
53
- Warning: src/rule.ts:66:13 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
54
- Warning: src/rule.ts:67:23 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.
55
- Warning: src/rule.ts:67:13 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
56
- Warning: src/rule.ts:68:33 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.
57
- Warning: src/rule.ts:68:13 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
58
- Warning: src/rule.ts:69:28 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
59
- Warning: src/rule.ts:69:15 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
60
- Warning: src/rule.ts:70:6 - (tsdoc-undefined-tag) The TSDoc tag "@memberof" is not defined in this configuration
61
- Warning: src/rule.ts:111:14 - (ae-forgotten-export) The symbol "ValidateClass" needs to be exported by the entry point index.d.ts
62
- Warning: src/rule.ts:116:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration
63
- Warning: src/rule.ts:117:17 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
64
- Warning: src/rule.ts:117:10 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
65
- Warning: src/rule.ts:117:4 - (tsdoc-undefined-tag) The TSDoc tag "@type" is not defined in this configuration
66
- Warning: src/rule.ts:152:64 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
67
- Warning: src/rule.ts:152:63 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
68
- Warning: src/rule.ts:339:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration
69
- Warning: src/types.ts:58:6 - (tsdoc-undefined-tag) The TSDoc tag "@default" is not defined in this configuration
70
- Warning: src/types.ts:64:6 - (tsdoc-undefined-tag) The TSDoc tag "@default" is not defined in this configuration
71
- Warning: src/util.ts:144:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration
72
- Warning: src/util.ts:145:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
73
- Warning: src/util.ts:146:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
74
- Warning: src/util.ts:147:21 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.
75
- Warning: src/util.ts:147:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
76
- Warning: src/util.ts:226:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
77
- Warning: src/util.ts:227:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
78
- Warning: src/util.ts:228:15 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
79
- Warning: src/util.ts:228:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
80
- Warning: src/util.ts:252:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
81
- Warning: src/util.ts:253:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
82
- Warning: src/util.ts:254:15 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
83
- Warning: src/util.ts:254:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
84
- Warning: src/util.ts:323:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
85
- Warning: src/util.ts:324:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
86
- Warning: src/util.ts:325:15 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
87
- Warning: src/util.ts:325:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
88
-
89
- API Extractor completed successfully
90
-
91
- > koatty_validation@1.6.3 build:doc
92
- > del-cli --force docs/api && npx api-documenter markdown --input temp --output docs/api
93
-
94
-
95
- api-documenter 7.28.2  - https://api-extractor.com/
96
- 
97
- Reading koatty_validation.api.json
98
-
99
- Deleting old output from docs/api
100
- Writing koatty_validation package
101
- Unsupported block tag: @export
102
- Unsupported block tag: @export
103
- Unsupported block tag: @enum
104
- Unsupported block tag: @export
105
- Unsupported block tag: @default
106
- Unsupported block tag: @default
107
- Unsupported block tag: @default
108
- Unsupported block tag: @default
109
- Unsupported block tag: @export
110
- Unsupported block tag: @type
111
- Unsupported block tag: @export
112
- Unsupported block tag: @enum
113
- Unsupported block tag: @export
114
- Unsupported block tag: @export
115
- Unsupported block tag: @export
116
- Unsupported block tag: @type
117
-
118
- > koatty_validation@1.6.3 build:cp
119
- > node scripts/postBuild && copyfiles package.json LICENSE README.md dist/
120
-
1
+
2
+ 
3
+ > koatty_validation@2.0.0 build /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-validation
4
+ > npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp
5
+
6
+
7
+ > koatty_validation@2.0.0 build:js
8
+ > del-cli --force dist && npx rollup --bundleConfigAsCjs -c .rollup.config.js
9
+
10
+ 
11
+ ./src/index.ts ./dist/index.js...
12
+ (!) Unresolved dependencies
13
+ https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
14
+ lru-cache (imported by "src/performance-cache.ts")
15
+ reflect-metadata (imported by "src/util.ts")
16
+ koatty_lib (imported by "src/util.ts", "src/rule.ts" and "src/decorators.ts")
17
+ koatty_container (imported by "src/util.ts" and "src/decorators.ts")
18
+ class-validator (imported by "src/rule.ts", "src/decorator-factory.ts" and "src/decorators.ts")
19
+ created ./dist/index.js in 1.5s
20
+ 
21
+ ./src/index.ts ./dist/index.mjs...
22
+ (!) Unresolved dependencies
23
+ https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
24
+ lru-cache (imported by "src/performance-cache.ts")
25
+ reflect-metadata (imported by "src/util.ts")
26
+ koatty_lib (imported by "src/util.ts", "src/rule.ts" and "src/decorators.ts")
27
+ koatty_container (imported by "src/util.ts" and "src/decorators.ts")
28
+ class-validator (imported by "src/rule.ts", "src/decorator-factory.ts" and "src/decorators.ts")
29
+ created ./dist/index.mjs in 751ms
30
+ ⠙⠙
31
+ > koatty_validation@2.0.0 build:dts
32
+ > bash ../../scripts/build-dts.sh
33
+
34
+ 🔨 Building type declarations for koatty-validation...
35
+ ⏳ Waiting for dependencies to be ready...
36
+
37
+ 🔍 Checking dependencies: koatty_container, koatty_lib, koatty_logger
38
+ koatty_container type declarations ready
39
+ koatty_lib type declarations ready
40
+ koatty_logger type declarations ready
41
+
42
+ All dependencies ready (waited 1ms)
43
+ 📝 Running TypeScript compiler...
44
+ ⠙📦 Running API Extractor...
45
+ 
46
+ api-extractor 7.55.2  - https://api-extractor.com/
47
+ 
48
+ Using configuration from ./api-extractor.json
49
+ Analysis will use the bundled TypeScript version 5.8.2
50
+ *** The target project appears to use TypeScript 5.9.3 which is newer than the bundled compiler engine; consider upgrading API Extractor.
51
+ Writing: /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-validation/temp/koatty_validation.api.json
52
+ Writing package typings: /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-validation/dist/index.d.ts
53
+ Warning: src/error-handler.ts:185:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration
54
+ Warning: src/performance-cache.ts:410:14 - (ae-forgotten-export) The symbol "MetadataCache" needs to be exported by the entry point index.d.ts
55
+ Warning: src/performance-cache.ts:411:14 - (ae-forgotten-export) The symbol "ValidationCache" needs to be exported by the entry point index.d.ts
56
+ Warning: src/performance-cache.ts:412:14 - (ae-forgotten-export) The symbol "RegexCache" needs to be exported by the entry point index.d.ts
57
+ Warning: src/performance-cache.ts:413:14 - (ae-forgotten-export) The symbol "PerformanceMonitor" needs to be exported by the entry point index.d.ts
58
+ Warning: src/rule.ts:28:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration
59
+ Warning: src/rule.ts:29:17 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
60
+ Warning: src/rule.ts:29:10 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
61
+ Warning: src/rule.ts:29:4 - (tsdoc-undefined-tag) The TSDoc tag "@enum" is not defined in this configuration
62
+ Warning: src/rule.ts:54:6 - (tsdoc-undefined-tag) The TSDoc tag "@static" is not defined in this configuration
63
+ Warning: src/rule.ts:56:6 - (tsdoc-undefined-tag) The TSDoc tag "@memberof" is not defined in this configuration
64
+ Warning: src/rule.ts:65:13 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
65
+ Warning: src/rule.ts:66:13 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
66
+ Warning: src/rule.ts:67:23 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.
67
+ Warning: src/rule.ts:67:13 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
68
+ Warning: src/rule.ts:68:33 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.
69
+ Warning: src/rule.ts:68:13 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
70
+ Warning: src/rule.ts:69:28 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
71
+ Warning: src/rule.ts:69:15 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
72
+ Warning: src/rule.ts:70:6 - (tsdoc-undefined-tag) The TSDoc tag "@memberof" is not defined in this configuration
73
+ Warning: src/rule.ts:111:14 - (ae-forgotten-export) The symbol "ValidateClass" needs to be exported by the entry point index.d.ts
74
+ Warning: src/rule.ts:116:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration
75
+ Warning: src/rule.ts:117:17 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
76
+ Warning: src/rule.ts:117:10 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
77
+ Warning: src/rule.ts:117:4 - (tsdoc-undefined-tag) The TSDoc tag "@type" is not defined in this configuration
78
+ Warning: src/rule.ts:152:64 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
79
+ Warning: src/rule.ts:152:63 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
80
+ Warning: src/rule.ts:339:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration
81
+ Warning: src/types.ts:58:6 - (tsdoc-undefined-tag) The TSDoc tag "@default" is not defined in this configuration
82
+ Warning: src/types.ts:64:6 - (tsdoc-undefined-tag) The TSDoc tag "@default" is not defined in this configuration
83
+ Warning: src/util.ts:144:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration
84
+ Warning: src/util.ts:145:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
85
+ Warning: src/util.ts:146:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
86
+ Warning: src/util.ts:147:21 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.
87
+ Warning: src/util.ts:147:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
88
+ Warning: src/util.ts:226:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
89
+ Warning: src/util.ts:227:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
90
+ Warning: src/util.ts:228:15 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
91
+ Warning: src/util.ts:228:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
92
+ Warning: src/util.ts:252:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
93
+ Warning: src/util.ts:253:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
94
+ Warning: src/util.ts:254:15 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
95
+ Warning: src/util.ts:254:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
96
+ Warning: src/util.ts:323:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
97
+ Warning: src/util.ts:324:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
98
+ Warning: src/util.ts:325:15 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
99
+ Warning: src/util.ts:325:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
100
+
101
+ API Extractor completed successfully
102
+ ⠙✅ Type declarations built successfully
103
+ ⠙
104
+ > koatty_validation@2.0.0 build:doc
105
+ > del-cli --force docs/api && npx api-documenter markdown --input temp --output docs/api
106
+
107
+ 
108
+ api-documenter 7.28.2  - https://api-extractor.com/
109
+ 
110
+ Reading koatty_validation.api.json
111
+
112
+ Deleting old output from docs/api
113
+ Writing koatty_validation package
114
+ Unsupported block tag: @export
115
+ Unsupported block tag: @export
116
+ Unsupported block tag: @enum
117
+ Unsupported block tag: @export
118
+ Unsupported block tag: @default
119
+ Unsupported block tag: @default
120
+ Unsupported block tag: @default
121
+ Unsupported block tag: @default
122
+ Unsupported block tag: @export
123
+ Unsupported block tag: @type
124
+ Unsupported block tag: @export
125
+ Unsupported block tag: @enum
126
+ Unsupported block tag: @export
127
+ Unsupported block tag: @export
128
+ Unsupported block tag: @export
129
+ Unsupported block tag: @type
130
+ ⠙⠙
131
+ > koatty_validation@2.0.0 build:cp
132
+ > node scripts/postBuild && copyfiles package.json LICENSE README.md dist/
133
+
134
+ ⠙
package/CHANGELOG.md CHANGED
@@ -1,5 +1,43 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - koatty_container@2.0.0
9
+ - koatty_logger@2.4.0
10
+
11
+ ## 1.6.6
12
+
13
+ ### Patch Changes
14
+
15
+ - build
16
+ - Updated dependencies
17
+ - koatty_container@1.17.4
18
+ - koatty_lib@1.4.5
19
+ - koatty_logger@2.3.4
20
+
21
+ ## 1.6.5
22
+
23
+ ### Patch Changes
24
+
25
+ - build
26
+ - Updated dependencies
27
+ - koatty_container@1.17.3
28
+ - koatty_lib@1.4.4
29
+ - koatty_logger@2.3.3
30
+
31
+ ## 1.6.4
32
+
33
+ ### Patch Changes
34
+
35
+ - build
36
+ - Updated dependencies
37
+ - koatty_container@1.17.2
38
+ - koatty_lib@1.4.3
39
+ - koatty_logger@2.3.2
40
+
3
41
  ## 1.6.3
4
42
 
5
43
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2026-01-28 12:40:19
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 12:40:10
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 12:40:10
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_validation",
3
- "version": "1.6.3",
3
+ "version": "2.0.0",
4
4
  "description": "Validation Util for Koatty and ThinkORM.",
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": "del-cli --force dist && npx rollup --bundleConfigAsCjs -c .rollup.config.js",
9
9
  "build:doc": "del-cli --force docs/api && npx api-documenter markdown --input temp --output docs/api",
10
- "build:dts": "del-cli --force temp && 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",
@@ -80,8 +80,8 @@
80
80
  "lru-cache": "^11.2.5"
81
81
  },
82
82
  "peerDependencies": {
83
- "koatty_container": "workspace:*",
84
- "koatty_lib": "workspace:*",
85
- "koatty_logger": "workspace:*"
83
+ "koatty_container": "^2.0.0",
84
+ "koatty_lib": "^1.4.5",
85
+ "koatty_logger": "^2.4.0"
86
86
  }
87
- }
87
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koatty_validation",
3
- "version": "1.6.3",
3
+ "version": "2.0.0",
4
4
  "description": "Validation Util for Koatty and ThinkORM.",
5
5
  "main": "./dist/index.js",
6
6
  "exports": {
@@ -63,21 +63,21 @@
63
63
  "dependencies": {
64
64
  "class-validator": "^0.14.3",
65
65
  "lru-cache": "^11.2.5",
66
- "koatty_container": "1.18.0",
67
- "koatty_lib": "1.4.3",
68
- "koatty_logger": "2.8.1"
66
+ "koatty_logger": "2.4.0",
67
+ "koatty_container": "2.0.0",
68
+ "koatty_lib": "1.4.5"
69
69
  },
70
70
  "peerDependencies": {
71
- "koatty_container": "1.18.0",
72
- "koatty_lib": "1.4.3",
73
- "koatty_logger": "2.8.1"
71
+ "koatty_container": "^2.0.0",
72
+ "koatty_lib": "^1.4.5",
73
+ "koatty_logger": "^2.4.0"
74
74
  },
75
75
  "scripts": {
76
76
  "build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
77
77
  "build:cp": "node scripts/postBuild && copyfiles package.json LICENSE README.md dist/",
78
78
  "build:js": "del-cli --force dist && npx rollup --bundleConfigAsCjs -c .rollup.config.js",
79
79
  "build:doc": "del-cli --force docs/api && npx api-documenter markdown --input temp --output docs/api",
80
- "build:dts": "del-cli --force temp && npx tsc && npx api-extractor run --local --verbose",
80
+ "build:dts": "bash ../../scripts/build-dts.sh",
81
81
  "eslint": "eslint --ext .ts,.js ./",
82
82
  "lock": "npm i --package-lock-only",
83
83
  "prerelease": "npm test && npm run build",