@firecms/formex 3.0.0-canary.5 → 3.0.0-canary.51

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 (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +32 -14
package/README.md CHANGED
@@ -14,11 +14,11 @@ Formex is a lightweight, flexible library designed to simplify form handling wit
14
14
  To install Formex, you can use either npm or yarn:
15
15
 
16
16
  ```sh
17
- npm install your-formex-package-name
17
+ npm install @firecms/formex
18
18
 
19
19
  # or if you're using yarn
20
20
 
21
- yarn add your-formex-package-name
21
+ yarn add @firecms/formex
22
22
  ```
23
23
 
24
24
  ## Quick Start
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@firecms/formex",
3
3
  "type": "module",
4
- "version": "3.0.0-canary.5",
4
+ "version": "3.0.0-canary.51",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -24,7 +24,6 @@
24
24
  },
25
25
  "./package.json": "./package.json"
26
26
  },
27
- "packageManager": "yarn@4.1.0",
28
27
  "main": "./dist/index.umd.js",
29
28
  "module": "./dist/index.es.js",
30
29
  "types": "dist/index.d.ts",
@@ -38,24 +37,29 @@
38
37
  "react-fast-compare": "^3.2.2"
39
38
  },
40
39
  "devDependencies": {
41
- "@types/node": "^20.11.16",
42
- "@types/react": "^18.2.54",
43
- "@types/react-dom": "^18.2.18",
44
- "@typescript-eslint/parser": "^5.62.0",
45
- "eslint": "^8.56.0",
40
+ "@jest/globals": "^29.7.0",
41
+ "@types/jest": "^29.5.12",
42
+ "@types/node": "^20.12.11",
43
+ "@types/react": "^18.3.1",
44
+ "@types/react-dom": "^18.3.0",
45
+ "@typescript-eslint/parser": "^7.8.0",
46
+ "eslint": "^8.57.0",
46
47
  "eslint-config-standard": "^17.1.0",
47
48
  "eslint-plugin-import": "^2.29.1",
48
- "eslint-plugin-n": "^15.7.0",
49
+ "eslint-plugin-n": "^16.6.2",
49
50
  "eslint-plugin-promise": "^6.1.1",
50
- "eslint-plugin-react": "^7.33.2",
51
- "eslint-plugin-react-hooks": "^4.6.0",
52
- "typescript": "^5.3.3",
53
- "vite": "^5.1.1"
51
+ "eslint-plugin-react": "^7.34.1",
52
+ "eslint-plugin-react-hooks": "^4.6.2",
53
+ "jest": "^29.7.0",
54
+ "ts-jest": "^29.1.2",
55
+ "typescript": "^5.4.5",
56
+ "vite": "^5.2.11"
54
57
  },
55
58
  "scripts": {
56
59
  "dev": "vite",
57
60
  "build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json",
58
- "clean": "rm -rf dist && find ./src -name '*.js' -type f | xargs rm -f"
61
+ "clean": "rm -rf dist && find ./src -name '*.js' -type f | xargs rm -f",
62
+ "test": "jest"
59
63
  },
60
64
  "files": [
61
65
  "dist",
@@ -69,5 +73,19 @@
69
73
  "react-app/jest"
70
74
  ]
71
75
  },
72
- "gitHead": "e3850e04c28ef87d561bdf651950c7fbac87a9ec"
76
+ "jest": {
77
+ "transform": {
78
+ "^.+\\.tsx?$": "ts-jest"
79
+ },
80
+ "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
81
+ "moduleFileExtensions": [
82
+ "ts",
83
+ "tsx",
84
+ "js",
85
+ "jsx",
86
+ "json",
87
+ "node"
88
+ ]
89
+ },
90
+ "gitHead": "d4d30347803b07a09f5b003eb63c78e46eb055fa"
73
91
  }