mearie 0.1.2 → 0.1.4
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/README.md +3 -3
- package/dist/cli.mjs +0 -0
- package/package.json +41 -19
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# mearie
|
|
2
2
|
|
|
3
|
-
Build-time codegen and tooling
|
|
3
|
+
Build-time codegen and tooling for Mearie GraphQL client.
|
|
4
4
|
|
|
5
5
|
This package provides build plugins (Vite, Next.js) and code generation tools
|
|
6
6
|
that extract GraphQL queries from your source code and generate TypeScript types
|
|
@@ -8,12 +8,12 @@ at build time.
|
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
11
|
-
Install as a dev dependency:
|
|
12
|
-
|
|
13
11
|
```bash
|
|
14
12
|
npm install -D mearie
|
|
15
13
|
```
|
|
16
14
|
|
|
15
|
+
This package provides build-time code generation and build plugins (Vite,
|
|
16
|
+
Next.js) for automatic TypeScript type generation from GraphQL operations.
|
|
17
17
|
For runtime functionality, install a framework-specific package like
|
|
18
18
|
[@mearie/react](https://www.npmjs.com/package/@mearie/react),
|
|
19
19
|
[@mearie/vue](https://www.npmjs.com/package/@mearie/vue),
|
package/dist/cli.mjs
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mearie",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Type-safe, zero-overhead GraphQL client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"graphql",
|
|
7
7
|
"graphql-client",
|
|
8
8
|
"typescript",
|
|
9
|
+
"type-safe",
|
|
9
10
|
"codegen",
|
|
10
|
-
"cache"
|
|
11
|
+
"cache",
|
|
12
|
+
"normalized-cache",
|
|
13
|
+
"react",
|
|
14
|
+
"vue",
|
|
15
|
+
"svelte",
|
|
16
|
+
"solid",
|
|
17
|
+
"vite"
|
|
11
18
|
],
|
|
12
|
-
"homepage": "https://
|
|
19
|
+
"homepage": "https://mearie.dev/",
|
|
13
20
|
"bugs": {
|
|
14
21
|
"url": "https://github.com/devunt/mearie/issues"
|
|
15
22
|
},
|
|
@@ -28,24 +35,39 @@
|
|
|
28
35
|
"type": "module",
|
|
29
36
|
"exports": {
|
|
30
37
|
".": {
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
38
|
+
"import": {
|
|
39
|
+
"types": "./dist/index.d.mts",
|
|
40
|
+
"default": "./dist/index.mjs"
|
|
41
|
+
},
|
|
42
|
+
"require": {
|
|
43
|
+
"types": "./dist/index.d.cts",
|
|
44
|
+
"default": "./dist/index.cjs"
|
|
45
|
+
}
|
|
34
46
|
},
|
|
35
47
|
"./types": {
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
48
|
+
"import": {
|
|
49
|
+
"types": "./dist/types.d.mts",
|
|
50
|
+
"default": "./dist/types.mjs"
|
|
51
|
+
},
|
|
52
|
+
"require": {
|
|
53
|
+
"types": "./dist/types.d.cts",
|
|
54
|
+
"default": "./dist/types.cjs"
|
|
55
|
+
}
|
|
39
56
|
},
|
|
40
57
|
"./vite": {
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
58
|
+
"import": {
|
|
59
|
+
"types": "./dist/vite.d.mts",
|
|
60
|
+
"default": "./dist/vite.mjs"
|
|
61
|
+
},
|
|
62
|
+
"require": {
|
|
63
|
+
"types": "./dist/vite.d.cts",
|
|
64
|
+
"default": "./dist/vite.cjs"
|
|
65
|
+
}
|
|
44
66
|
},
|
|
45
67
|
"./package.json": "./package.json"
|
|
46
68
|
},
|
|
47
69
|
"bin": {
|
|
48
|
-
"mearie": "./dist/cli.
|
|
70
|
+
"mearie": "./dist/cli.mjs"
|
|
49
71
|
},
|
|
50
72
|
"files": [
|
|
51
73
|
"dist",
|
|
@@ -53,10 +75,10 @@
|
|
|
53
75
|
"README.md"
|
|
54
76
|
],
|
|
55
77
|
"dependencies": {
|
|
56
|
-
"@mearie/cli": "0.1.
|
|
57
|
-
"@mearie/config": "0.1.
|
|
58
|
-
"@mearie/shared": "0.2.
|
|
59
|
-
"@mearie/vite": "0.1.
|
|
78
|
+
"@mearie/cli": "0.1.4",
|
|
79
|
+
"@mearie/config": "0.1.2",
|
|
80
|
+
"@mearie/shared": "0.2.2",
|
|
81
|
+
"@mearie/vite": "0.1.4"
|
|
60
82
|
},
|
|
61
83
|
"devDependencies": {
|
|
62
84
|
"tsdown": "^0.20.3",
|
|
@@ -75,6 +97,6 @@
|
|
|
75
97
|
"typecheck": "tsc"
|
|
76
98
|
},
|
|
77
99
|
"main": "./dist/index.cjs",
|
|
78
|
-
"module": "./dist/index.
|
|
79
|
-
"types": "./dist/index.d.
|
|
100
|
+
"module": "./dist/index.mjs",
|
|
101
|
+
"types": "./dist/index.d.mts"
|
|
80
102
|
}
|