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 +10 -4
- package/.turbo/turbo-build.log +134 -120
- package/CHANGELOG.md +38 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/package.json +6 -6
- package/package.json +8 -8
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
|
}
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,120 +1,134 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
[
|
|
11
|
-
[1m[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[1m[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
>
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
[
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
[
|
|
45
|
-
[
|
|
46
|
-
[
|
|
47
|
-
[
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
[
|
|
52
|
-
[
|
|
53
|
-
[33mWarning: src/
|
|
54
|
-
[33mWarning: src/
|
|
55
|
-
[33mWarning: src/
|
|
56
|
-
[33mWarning: src/
|
|
57
|
-
[33mWarning: src/
|
|
58
|
-
[33mWarning: src/rule.ts:
|
|
59
|
-
[33mWarning: src/rule.ts:
|
|
60
|
-
[33mWarning: src/rule.ts:
|
|
61
|
-
[33mWarning: src/rule.ts:
|
|
62
|
-
[33mWarning: src/rule.ts:
|
|
63
|
-
[33mWarning: src/rule.ts:
|
|
64
|
-
[33mWarning: src/rule.ts:
|
|
65
|
-
[33mWarning: src/rule.ts:
|
|
66
|
-
[33mWarning: src/rule.ts:
|
|
67
|
-
[33mWarning: src/rule.ts:
|
|
68
|
-
[33mWarning: src/rule.ts:
|
|
69
|
-
[33mWarning: src/
|
|
70
|
-
[33mWarning: src/
|
|
71
|
-
[33mWarning: src/
|
|
72
|
-
[33mWarning: src/
|
|
73
|
-
[33mWarning: src/
|
|
74
|
-
[33mWarning: src/
|
|
75
|
-
[33mWarning: src/
|
|
76
|
-
[33mWarning: src/
|
|
77
|
-
[33mWarning: src/
|
|
78
|
-
[33mWarning: src/
|
|
79
|
-
[33mWarning: src/
|
|
80
|
-
[33mWarning: src/
|
|
81
|
-
[33mWarning: src/
|
|
82
|
-
[33mWarning: src/
|
|
83
|
-
[33mWarning: src/util.ts:
|
|
84
|
-
[33mWarning: src/util.ts:
|
|
85
|
-
[33mWarning: src/util.ts:
|
|
86
|
-
[33mWarning: src/util.ts:
|
|
87
|
-
[33mWarning: src/util.ts:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
[
|
|
96
|
-
[
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
Unsupported block tag: @export
|
|
115
|
-
Unsupported block tag: @export
|
|
116
|
-
Unsupported block tag: @
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
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
|
+
[1G[0K[1G[0K[36m
|
|
11
|
+
[1m./src/index.ts[22m → [1m./dist/index.js[22m...[39m
|
|
12
|
+
[1m[33m(!) Unresolved dependencies[39m[22m
|
|
13
|
+
[90mhttps://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency[39m
|
|
14
|
+
[1mlru-cache[22m (imported by "src/performance-cache.ts")
|
|
15
|
+
[1mreflect-metadata[22m (imported by "src/util.ts")
|
|
16
|
+
[1mkoatty_lib[22m (imported by "src/util.ts", "src/rule.ts" and "src/decorators.ts")
|
|
17
|
+
[1mkoatty_container[22m (imported by "src/util.ts" and "src/decorators.ts")
|
|
18
|
+
[1mclass-validator[22m (imported by "src/rule.ts", "src/decorator-factory.ts" and "src/decorators.ts")
|
|
19
|
+
[32mcreated [1m./dist/index.js[22m in [1m1.5s[22m[39m
|
|
20
|
+
[36m
|
|
21
|
+
[1m./src/index.ts[22m → [1m./dist/index.mjs[22m...[39m
|
|
22
|
+
[1m[33m(!) Unresolved dependencies[39m[22m
|
|
23
|
+
[90mhttps://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency[39m
|
|
24
|
+
[1mlru-cache[22m (imported by "src/performance-cache.ts")
|
|
25
|
+
[1mreflect-metadata[22m (imported by "src/util.ts")
|
|
26
|
+
[1mkoatty_lib[22m (imported by "src/util.ts", "src/rule.ts" and "src/decorators.ts")
|
|
27
|
+
[1mkoatty_container[22m (imported by "src/util.ts" and "src/decorators.ts")
|
|
28
|
+
[1mclass-validator[22m (imported by "src/rule.ts", "src/decorator-factory.ts" and "src/decorators.ts")
|
|
29
|
+
[32mcreated [1m./dist/index.mjs[22m in [1m751ms[22m[39m
|
|
30
|
+
[1G[0K⠙[1G[0K[1G[0K⠙[1G[0K
|
|
31
|
+
> koatty_validation@2.0.0 build:dts
|
|
32
|
+
> bash ../../scripts/build-dts.sh
|
|
33
|
+
|
|
34
|
+
[1G[0K🔨 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
|
+
[1G[0K[1G[0K⠙[1G[0K📦 Running API Extractor...
|
|
45
|
+
[1G[0K
|
|
46
|
+
[1mapi-extractor 7.55.2 [36m - https://api-extractor.com/[39m
|
|
47
|
+
[22m
|
|
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
|
+
[36mWriting: /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-validation/temp/koatty_validation.api.json[39m
|
|
52
|
+
[36mWriting package typings: /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-validation/dist/index.d.ts[39m
|
|
53
|
+
[33mWarning: src/error-handler.ts:185:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration[39m
|
|
54
|
+
[33mWarning: src/performance-cache.ts:410:14 - (ae-forgotten-export) The symbol "MetadataCache" needs to be exported by the entry point index.d.ts[39m
|
|
55
|
+
[33mWarning: src/performance-cache.ts:411:14 - (ae-forgotten-export) The symbol "ValidationCache" needs to be exported by the entry point index.d.ts[39m
|
|
56
|
+
[33mWarning: src/performance-cache.ts:412:14 - (ae-forgotten-export) The symbol "RegexCache" needs to be exported by the entry point index.d.ts[39m
|
|
57
|
+
[33mWarning: src/performance-cache.ts:413:14 - (ae-forgotten-export) The symbol "PerformanceMonitor" needs to be exported by the entry point index.d.ts[39m
|
|
58
|
+
[33mWarning: src/rule.ts:28:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration[39m
|
|
59
|
+
[33mWarning: 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[39m
|
|
60
|
+
[33mWarning: src/rule.ts:29:10 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"[39m
|
|
61
|
+
[33mWarning: src/rule.ts:29:4 - (tsdoc-undefined-tag) The TSDoc tag "@enum" is not defined in this configuration[39m
|
|
62
|
+
[33mWarning: src/rule.ts:54:6 - (tsdoc-undefined-tag) The TSDoc tag "@static" is not defined in this configuration[39m
|
|
63
|
+
[33mWarning: src/rule.ts:56:6 - (tsdoc-undefined-tag) The TSDoc tag "@memberof" is not defined in this configuration[39m
|
|
64
|
+
[33mWarning: src/rule.ts:65:13 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
65
|
+
[33mWarning: src/rule.ts:66:13 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
66
|
+
[33mWarning: 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.[39m
|
|
67
|
+
[33mWarning: src/rule.ts:67:13 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
68
|
+
[33mWarning: 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.[39m
|
|
69
|
+
[33mWarning: src/rule.ts:68:13 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
70
|
+
[33mWarning: 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[39m
|
|
71
|
+
[33mWarning: src/rule.ts:69:15 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"[39m
|
|
72
|
+
[33mWarning: src/rule.ts:70:6 - (tsdoc-undefined-tag) The TSDoc tag "@memberof" is not defined in this configuration[39m
|
|
73
|
+
[33mWarning: src/rule.ts:111:14 - (ae-forgotten-export) The symbol "ValidateClass" needs to be exported by the entry point index.d.ts[39m
|
|
74
|
+
[33mWarning: src/rule.ts:116:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration[39m
|
|
75
|
+
[33mWarning: 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[39m
|
|
76
|
+
[33mWarning: src/rule.ts:117:10 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"[39m
|
|
77
|
+
[33mWarning: src/rule.ts:117:4 - (tsdoc-undefined-tag) The TSDoc tag "@type" is not defined in this configuration[39m
|
|
78
|
+
[33mWarning: 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[39m
|
|
79
|
+
[33mWarning: src/rule.ts:152:63 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"[39m
|
|
80
|
+
[33mWarning: src/rule.ts:339:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration[39m
|
|
81
|
+
[33mWarning: src/types.ts:58:6 - (tsdoc-undefined-tag) The TSDoc tag "@default" is not defined in this configuration[39m
|
|
82
|
+
[33mWarning: src/types.ts:64:6 - (tsdoc-undefined-tag) The TSDoc tag "@default" is not defined in this configuration[39m
|
|
83
|
+
[33mWarning: src/util.ts:144:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration[39m
|
|
84
|
+
[33mWarning: src/util.ts:145:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
85
|
+
[33mWarning: src/util.ts:146:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
86
|
+
[33mWarning: 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.[39m
|
|
87
|
+
[33mWarning: src/util.ts:147:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
88
|
+
[33mWarning: src/util.ts:226:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
89
|
+
[33mWarning: src/util.ts:227:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
90
|
+
[33mWarning: 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[39m
|
|
91
|
+
[33mWarning: src/util.ts:228:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"[39m
|
|
92
|
+
[33mWarning: src/util.ts:252:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
93
|
+
[33mWarning: src/util.ts:253:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
94
|
+
[33mWarning: 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[39m
|
|
95
|
+
[33mWarning: src/util.ts:254:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"[39m
|
|
96
|
+
[33mWarning: src/util.ts:323:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
97
|
+
[33mWarning: src/util.ts:324:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'[39m
|
|
98
|
+
[33mWarning: 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[39m
|
|
99
|
+
[33mWarning: src/util.ts:325:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"[39m
|
|
100
|
+
|
|
101
|
+
API Extractor completed successfully
|
|
102
|
+
[1G[0K⠙[1G[0K✅ Type declarations built successfully
|
|
103
|
+
[1G[0K⠙[1G[0K
|
|
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
|
+
[1G[0K[1G[0K
|
|
108
|
+
[1mapi-documenter 7.28.2 [36m - https://api-extractor.com/[39m
|
|
109
|
+
[22m
|
|
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
|
+
[1G[0K⠙[1G[0K[1G[0K⠙[1G[0K
|
|
131
|
+
> koatty_validation@2.0.0 build:cp
|
|
132
|
+
> node scripts/postBuild && copyfiles package.json LICENSE README.md dist/
|
|
133
|
+
|
|
134
|
+
[1G[0K[1G[0K⠙[1G[0K
|
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
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/dist/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koatty_validation",
|
|
3
|
-
"version": "
|
|
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": "
|
|
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": "
|
|
84
|
-
"koatty_lib": "
|
|
85
|
-
"koatty_logger": "
|
|
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": "
|
|
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
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
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": "
|
|
72
|
-
"koatty_lib": "1.4.
|
|
73
|
-
"koatty_logger": "2.
|
|
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": "
|
|
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",
|