@decaf-ts/decorator-validation 1.7.20 → 1.7.21
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/dist/decorator-validation.cjs +62 -55
- package/dist/decorator-validation.esm.cjs +62 -55
- package/lib/esm/index.d.ts +1 -1
- package/lib/esm/index.js +1 -1
- package/lib/esm/model/decorators.js +1 -8
- package/lib/esm/utils/dates.d.ts +6 -5
- package/lib/esm/utils/dates.js +17 -10
- package/lib/esm/validation/decorators.js +45 -38
- package/lib/index.cjs +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/model/decorators.cjs +1 -8
- package/lib/utils/dates.cjs +17 -10
- package/lib/utils/dates.d.ts +6 -5
- package/lib/validation/decorators.cjs +45 -38
- package/package.json +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decaf-ts/decorator-validation",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.21",
|
|
4
4
|
"description": "simple decorator based validation engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"import": "./lib/esm/index.js"
|
|
11
11
|
},
|
|
12
12
|
"./mcp": {
|
|
13
|
-
"require": "./lib/mcp/index.cjs",
|
|
13
|
+
"require": "./lib/esm/mcp/index.cjs",
|
|
14
14
|
"import": "./lib/esm/mcp/index.js",
|
|
15
|
-
"types": "./lib/index.d.ts"
|
|
15
|
+
"types": "./lib/esm/index.d.ts"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"types": "lib/index.d.ts",
|
|
19
19
|
"scripts": {
|
|
20
|
-
"do-install": "
|
|
20
|
+
"do-install": "NPM_TOKEN=$(cat .npmtoken) npm install",
|
|
21
21
|
"update-dependencies": "PREFIX=\"decaf-ts\"; npm ls | grep \"$PREFIX\" | awk -F/ '{print $NF}' | sed 's/@.*//' | xargs -I package npm update @\"$PREFIX\"/package",
|
|
22
22
|
"update-scripts": "npx update-scripts",
|
|
23
23
|
"on-first-run": "npx update-scripts --boot",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"coverage": "rimraf ./workdocs/reports/data/*.json && npm run test:all -- --coverage --config=./workdocs/reports/jest.coverage.config.ts",
|
|
37
37
|
"lint": "eslint .",
|
|
38
38
|
"lint-fix": "eslint --fix .",
|
|
39
|
-
"prepare-pr": "npm run
|
|
39
|
+
"prepare-pr": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
|
|
40
40
|
"prepare-release": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
|
|
41
41
|
"release": "./bin/tag-release.sh",
|
|
42
42
|
"clean-publish": "npx clean-publish",
|