adaptform 2.0.4 → 2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adaptform",
3
- "version": "2.0.4",
3
+ "version": "2.1.0",
4
4
  "description": "Library of adaptive forms of validation",
5
5
  "keywords": [
6
6
  "form",
@@ -33,42 +33,63 @@
33
33
  },
34
34
  "typesVersions": {
35
35
  "*": {
36
- ".": ["./dist/index.d.ts"],
37
- "luxon": ["./dist/luxon.d.ts"]
36
+ ".": [
37
+ "./dist/index.d.ts"
38
+ ],
39
+ "luxon": [
40
+ "./dist/luxon.d.ts"
41
+ ]
38
42
  }
39
43
  },
40
44
  "files": [
41
45
  "dist",
42
46
  "README.md",
43
47
  "LICENSE.md",
44
- "CHANGELOG.md"
48
+ "CHANGELOG.md",
49
+ "README.ru.md",
50
+ "LICENSE.ru.md",
51
+ "CHANGELOG.ru.md"
45
52
  ],
46
53
  "sideEffects": false,
47
54
  "repository": {
48
55
  "type": "git",
49
- "url": "git+https://github.com/ArhiMEN/adaptform.git"
56
+ "url": "git+https://github.com/ArhiMEN/AdaptForm.git"
50
57
  },
51
58
  "bugs": {
52
59
  "url": "https://github.com/ArhiMEN/adaptform/issues"
53
60
  },
54
- "homepage": "https://github.com/ArhiMEN/adaptform#readme",
61
+ "homepage": "https://arhimen.github.io/AdaptForm/",
55
62
  "engines": {
56
63
  "node": ">=16.0.0"
57
64
  },
58
65
  "scripts": {
59
66
  "dev": "vite",
60
67
  "build": "tsup",
61
- "test": "vitest",
62
- "lint": "eslint src --ext .ts",
63
- "prepublishOnly": "npm run build"
68
+ "test": "vitest run",
69
+ "test:unit": "vitest run tests/unit",
70
+ "test:integration": "vitest run tests/integration",
71
+ "test:watch": "vitest",
72
+ "test:coverage": "vitest run --coverage",
73
+ "lint": "eslint src tests demo --max-warnings 0",
74
+ "prepublishOnly": "npm run build",
75
+ "check:package": "node scripts/check-package-content.mjs",
76
+ "build:demo": "vite build --config demo/vite.config.ts",
77
+ "check:demo": "tsc --noEmit -p demo/tsconfig.json"
64
78
  },
65
79
  "devDependencies": {
66
80
  "@types/luxon": "^3.5.0",
67
- "@types/node": "^20.0.0",
81
+ "@types/node": "^22.0.0",
82
+ "@vitest/coverage-v8": "^5.0.4",
83
+ "jsdom": "^29.1.1",
68
84
  "luxon": "^3.5.0",
69
85
  "tsup": "^8.0.0",
70
86
  "typescript": "^5.0.0",
71
- "vitest": "^1.0.0"
87
+ "vitest": "^5.0.4",
88
+ "@eslint/js": "^10.0.1",
89
+ "eslint": "^10.12.0",
90
+ "typescript-eslint": "^8.71.2",
91
+ "vite": "^8.3.4",
92
+ "globals": "^17.4.0"
72
93
  },
73
94
  "peerDependencies": {
74
95
  "luxon": ">=3.5.0"
@@ -77,5 +98,13 @@
77
98
  "luxon": {
78
99
  "optional": true
79
100
  }
101
+ },
102
+ "overrides": {
103
+ "brace-expansion": "5.0.12",
104
+ "esbuild": "0.28.1",
105
+ "nanoid": "3.3.18",
106
+ "postcss": "8.5.23",
107
+ "source-map-js": "1.2.2",
108
+ "undici": "7.29.1"
80
109
  }
81
- }
110
+ }