uni-types 1.1.0 → 1.3.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.
Files changed (4) hide show
  1. package/README.md +157 -1
  2. package/dist/index.d.cts +1868 -236
  3. package/dist/index.d.mts +1868 -236
  4. package/package.json +34 -3
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "uni-types",
3
3
  "description": "Universal TypeScript type utilities - A comprehensive collection of type helpers for TypeScript development",
4
4
  "type": "module",
5
- "version": "1.1.0",
5
+ "version": "1.3.0",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.mjs",
8
8
  "types": "dist/index.d.mts",
@@ -28,18 +28,49 @@
28
28
  "devDependencies": {
29
29
  "@arethetypeswrong/cli": "^0.18.2",
30
30
  "@eslint-sets/eslint-config": "^6.3.1",
31
+ "@guolao/vue-monaco-editor": "^1.6.0",
31
32
  "@types/node": "^22.19.17",
33
+ "@types/react": "^19.2.14",
32
34
  "@vitest/coverage-v8": "4.1.4",
33
35
  "eslint": "^9.39.4",
34
- "prettier": "^3.8.2",
36
+ "monaco-editor": "^0.55.1",
37
+ "prettier": "^3.8.3",
35
38
  "prettier-config-common": "^1.5.0",
36
39
  "publint": "^0.3.18",
37
- "tsdown": "^0.21.7",
40
+ "tsdown": "^0.21.9",
38
41
  "typescript": "^5.9.3",
39
42
  "vite": "^8.0.8",
40
43
  "vitepress": "^1.6.4",
41
44
  "vitest": "^4.1.4"
42
45
  },
46
+ "peerDependencies": {
47
+ "@prisma/client": ">=5.0.0",
48
+ "@trpc/server": ">=10.0.0",
49
+ "react": ">=18.0.0",
50
+ "vue": ">=3.0.0",
51
+ "yup": ">=1.0.0",
52
+ "zod": ">=3.0.0"
53
+ },
54
+ "peerDependenciesMeta": {
55
+ "@prisma/client": {
56
+ "optional": true
57
+ },
58
+ "@trpc/server": {
59
+ "optional": true
60
+ },
61
+ "react": {
62
+ "optional": true
63
+ },
64
+ "vue": {
65
+ "optional": true
66
+ },
67
+ "yup": {
68
+ "optional": true
69
+ },
70
+ "zod": {
71
+ "optional": true
72
+ }
73
+ },
43
74
  "engines": {
44
75
  "node": ">=18.0.0"
45
76
  },