reactaform 1.2.1 → 1.4.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,7 +1,6 @@
1
1
  {
2
2
  "name": "reactaform",
3
- "version": "1.2.1",
4
- "type": "module",
3
+ "version": "1.4.0",
5
4
  "description": "A powerful, type-safe React form builder library with dynamic field rendering, conditional visibility, multi-language support, and extensible validation",
6
5
  "keywords": [
7
6
  "react",
@@ -49,15 +48,16 @@
49
48
  "LICENSE"
50
49
  ],
51
50
  "peerDependencies": {
52
- "react": "^18.0.0 || ^19.0.0",
53
- "react-dom": "^18.0.0 || ^19.0.0"
51
+ "react": ">=18.0.0 <20",
52
+ "react-dom": ">=18.0.0 <20"
54
53
  },
55
54
  "scripts": {
56
- "build:lib": "vite build --config vite.lib.config.ts && tsc -p tsconfig.build.json",
55
+ "build:types": "tsc -p tsconfig.build.json --noEmit false",
56
+ "build:lib": "vite build --config vite.lib.config.ts && npm run build:types",
57
57
  "build:pack": "npm run build:lib && npm pack",
58
58
  "test": "vitest run --config ./vitest.config.ts",
59
- "typecheck": "tsc -p tsconfig.app.json --noEmit",
60
- "lint": "eslint -c eslint.config.js \"src/**/*.{ts,tsx}\" \"tests/**/*.{ts,tsx}\" --max-warnings=0"
59
+ "typecheck": "tsc -p tsconfig.build.json --noEmit",
60
+ "lint": "eslint -c eslint.config.mjs \"src/**/*.{ts,tsx}\" \"tests/**/*.{ts,tsx}\" --max-warnings=0"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@eslint/js": "^9.39.1",
@@ -66,7 +66,7 @@
66
66
  "@testing-library/user-event": "^14.6.1",
67
67
  "@types/react": "^18.3.18",
68
68
  "@types/react-dom": "^18.3.5",
69
- "@types/react-window": "^1.8.8",
69
+ "@types/node": "^20.8.4",
70
70
  "@typescript-eslint/eslint-plugin": "^8.49.0",
71
71
  "@typescript-eslint/parser": "^8.49.0",
72
72
  "@vitejs/plugin-react": "^5.1.2",
@@ -80,4 +80,9 @@
80
80
  "vite": "^7.2.7",
81
81
  "vitest": "^4.0.15"
82
82
  }
83
+ ,
84
+ "optionalDependencies": {},
85
+ "engines": {
86
+ "node": ">=18"
87
+ }
83
88
  }