@nwon/react-mui-hook-form 3.0.3 → 3.0.5

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.
Files changed (1) hide show
  1. package/package.json +50 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nwon/react-mui-hook-form",
3
- "version": "3.0.3",
3
+ "version": "3.0.5",
4
4
  "type": "module",
5
5
  "keywords": [
6
6
  "react",
@@ -17,7 +17,28 @@
17
17
  "types": "dist/packageExports.d.ts",
18
18
  "main": "dist/packageExports.js",
19
19
  "cracoConfig": "craco.config.cjs",
20
- "scripts": {},
20
+ "scripts": {
21
+ "prebuild-rollup": "rimraf esm/dist && rimraf cjs/dist",
22
+ "build-rollup": "rollup -c",
23
+ "lint": "eslint . --ext .js,.jsx,.ts,.tsx --max-warnings 0",
24
+ "lint-fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
25
+ "prettify": "npx prettier --write .",
26
+ "typecheck": "npx tsc",
27
+ "full-check": "npm run typecheck && npm run lint && npm run prettify",
28
+ "prescripts-compile": "rimraf scripts/dist",
29
+ "scripts-compile": "npx tsc -p scripts/tsconfig-scripts.json",
30
+ "prepublish-package": "npm run scripts-compile",
31
+ "publish-package": "node --es-module-specifier-resolution=node scripts/dist/publish-to-npm.js",
32
+ "publish-package-patch": "npm run publish-package -- --patch",
33
+ "publish-package-minor": "npm run publish-package -- --minor",
34
+ "publish-package-major": "npm run publish-package -- --major",
35
+ "craco": "cross-env NODE_OPTIONS=--openssl-legacy-provider DISABLE_ESLINT_PLUGIN=true SKIP_PREFLIGHT_CHECK=true TSC_COMPILE_ON_ERROR=true BROWSER=none craco",
36
+ "start": "npm run craco -- start",
37
+ "build": "npm run craco -- build",
38
+ "test": "craco test",
39
+ "eject": "react-scripts eject",
40
+ "watch": "npm run start"
41
+ },
21
42
  "files": [
22
43
  "dist",
23
44
  "readme.md",
@@ -32,27 +53,35 @@
32
53
  "@babel/preset-react": "^7.24.7",
33
54
  "@babel/runtime": "^7.21.0",
34
55
  "@craco/craco": "^7.1.0",
35
- "@mui/icons-material": "^6.4.3",
36
- "@mui/lab": "^6.0.0-beta.26",
37
- "@mui/material": "^6.4.3",
38
- "@mui/x-date-pickers": "^7.27.0",
56
+ "@eslint/js": "^9.30.1",
57
+ "eslint": "^9.30.1",
58
+ "eslint-import-resolver-typescript": "^4.4.4",
59
+ "eslint-plugin-i18next": "^6.1.2",
60
+ "eslint-plugin-import": "^2.32.0",
61
+ "eslint-plugin-react": "^7.37.5",
62
+ "eslint-plugin-react-hooks": "^5.2.0",
63
+ "typescript-eslint": "^8.35.1",
64
+ "@mui/icons-material": "^7.3.6",
65
+ "@mui/lab": "^7.0.1-beta.20",
66
+ "@mui/material": "^7.3.6",
67
+ "@mui/x-date-pickers": "^8.11.1",
39
68
  "@nvon/baseline": "^1.0.0",
40
- "@nvon/eslint-config": "^1.21.1",
41
69
  "@nvon/node-toolbox": "^0.20.4",
42
70
  "@rollup/plugin-babel": "^6.0.4",
43
71
  "@rollup/plugin-typescript": "^11.1.6",
44
72
  "@types/lodash-es": "^4.17.6",
45
73
  "@types/node": "^18.11.11",
46
- "@types/react-dom": ">=17.0.0",
74
+ "@types/react": "^19.1.1",
75
+ "@types/react-dom": "^19.1.9",
47
76
  "@types/webpack": "^4.41.32",
48
77
  "cross-env": "^7.0.3",
49
78
  "dayjs": "^1.11.10",
50
79
  "i18next": "^22.4.10",
51
80
  "lodash-es": "^4.17.21",
52
81
  "npm": "^9.5.0",
53
- "react-hook-form": "^7.41.3",
82
+ "react-hook-form": "^7.68",
54
83
  "react-i18next": "^11.18.5",
55
- "react-number-format": "^5.4.2",
84
+ "react-number-format": "^5.4.4",
56
85
  "react-scripts": "^5.0.1",
57
86
  "rimraf": "^3.0.2",
58
87
  "rollup": "^3.29.4",
@@ -60,20 +89,25 @@
60
89
  "typescript": "^4.9.5"
61
90
  },
62
91
  "peerDependencies": {
63
- "@mui/icons-material": "^6.4.3",
64
- "@mui/lab": "^6.0.0-beta.26",
65
- "@mui/material": "^6.4.3",
66
- "@mui/x-date-pickers": "^7.25.0",
92
+ "@mui/icons-material": "^7.3.6",
93
+ "@mui/lab": "^7.0.1-beta.20",
94
+ "@mui/material": "^7.3.6",
95
+ "@mui/x-date-pickers": "^8.11.1",
67
96
  "@nvon/baseline": "^1.0.0",
68
97
  "dayjs": "^1.11.10",
69
98
  "i18next": ">=22.4.10",
70
99
  "lodash-es": "^4.17.21",
71
- "react": ">=17.0.0",
72
- "react-dom": ">=17.0.0",
100
+ "react": "^19.1.1",
101
+ "react-dom": "^19.1.1",
73
102
  "react-hook-form": "^7.41.3",
74
103
  "react-i18next": ">=11.18.5",
75
104
  "react-number-format": "^5.4.2"
76
105
  },
106
+ "overrides": {
107
+ "@mui/x-date-pickers": {
108
+ "@mui/system": "^7.3.2"
109
+ }
110
+ },
77
111
  "browserslist": {
78
112
  "production": [
79
113
  ">0.2%",