|
1 | 1 | { |
2 | | - "name": "@graphprotocol/typesync-cli", |
3 | | - "version": "0.0.0-alpha", |
| 2 | + "name": "@graphprotocol/hypergraph-cli", |
| 3 | + "version": "0.0.0-alpha.19", |
4 | 4 | "type": "module", |
5 | 5 | "license": "MIT", |
6 | 6 | "description": "CLI toolchain to view existing types, select, pick, extend to create schemas and generate a @graphprotocol/hypergraph schema.", |
7 | 7 | "repository": { |
8 | 8 | "type": "git", |
9 | | - "url": "https://github.com/graphprotocol/hypergraph.git", |
| 9 | + "url": "git+https://github.com/graphprotocol/hypergraph.git", |
10 | 10 | "directory": "apps/typesync" |
11 | 11 | }, |
12 | 12 | "publishConfig": { |
|
15 | 15 | "linkDirectory": false |
16 | 16 | }, |
17 | 17 | "bin": { |
18 | | - "hypergraph": "./dist/bin.cjs", |
19 | | - "hg": "./dist/bin.cjs" |
| 18 | + "hypergraph": "./dist/bin.js", |
| 19 | + "hg": "./dist/bin.js" |
20 | 20 | }, |
21 | 21 | "files": ["README.md", "dist"], |
22 | 22 | "scripts": { |
23 | 23 | "codegen:gql": "graphql-codegen --config ./graphql.codegen.ts", |
24 | 24 | "build:client": "vite build", |
25 | | - "build": "rm -rf dist && pnpm run build:client && tsup && pnpm run copy-all", |
| 25 | + "build": "pnpm run clean && pnpm run build:client && tsup && pnpm run copy-all", |
26 | 26 | "build:ts": "tsup", |
27 | | - "dev": "vite build && pnpx tsx ./src/bin.ts", |
| 27 | + "dev": "vite build && pnpx tsx ./src/bin.ts typesync", |
28 | 28 | "dev:cli": "pnpx tsx ./src/bin.ts typesync", |
29 | 29 | "dev:client": "vite --force", |
30 | | - "clean": "rimraf dist/*", |
31 | | - "start": "node ./dist/bin.cjs", |
| 30 | + "clean": "rm -rf dist client/dist", |
| 31 | + "start": "node ./dist/bin.js", |
32 | 32 | "check": "tsc --noEmit", |
33 | 33 | "test": "vitest run", |
34 | 34 | "coverage": "vitest run --coverage", |
35 | 35 | "copy-package-json": "tsx scripts/copy-package-json.ts", |
36 | | - "copy-db-migrations": "cp -rp ./src/migrations ./dist/migrations", |
37 | | - "copy-client-dist": "mkdir -p ./dist/client && cp -rp ./client/dist ./dist/client/dist", |
38 | | - "copy-all": "pnpm run copy-package-json && pnpm run copy-db-migrations && pnpm run copy-client-dist", |
| 36 | + "copy-client-dist": "tsx scripts/copy-client-dist.ts", |
| 37 | + "copy-all": "pnpm run copy-package-json && pnpm run copy-client-dist", |
39 | 38 | "hypergraph": "pnpx tsx ./src/bin.ts typesync" |
40 | 39 | }, |
41 | 40 | "devDependencies": { |
42 | | - "@effect/cli": "latest", |
| 41 | + "@effect/cli": "^0.66.1", |
43 | 42 | "@effect/experimental": "^0.51.1", |
44 | | - "@effect/language-service": "latest", |
45 | | - "@effect/platform": "latest", |
46 | | - "@effect/platform-node": "latest", |
47 | | - "@effect/sql": "latest", |
48 | | - "@effect/sql-sqlite-node": "latest", |
49 | | - "@effect/vitest": "latest", |
50 | | - "@graphprotocol/grc-20": "^0.21.2", |
51 | | - "@graphql-codegen/cli": "^5.0.6", |
52 | | - "@graphql-codegen/client-preset": "^4.8.1", |
| 43 | + "@effect/language-service": "^0.23.3", |
| 44 | + "@effect/platform": "^0.87.1", |
| 45 | + "@effect/platform-node": "^0.88.3", |
| 46 | + "@effect/sql": "^0.40.1", |
| 47 | + "@effect/sql-sqlite-node": "^0.41.1", |
| 48 | + "@effect/vitest": "^0.23.10", |
| 49 | + "@graphprotocol/grc-20": "^0.21.3", |
| 50 | + "@graphql-codegen/cli": "^5.0.7", |
| 51 | + "@graphql-codegen/client-preset": "^4.8.3", |
53 | 52 | "@graphql-codegen/typescript": "^4.1.6", |
54 | 53 | "@graphql-codegen/typescript-operations": "^4.6.1", |
55 | | - "@tanstack/router-plugin": "^1.120.13", |
56 | | - "@types/node": "^22.15.29", |
57 | | - "@types/react": "^19.1.6", |
58 | | - "@types/react-dom": "^19.1.5", |
59 | | - "@vitejs/plugin-react": "^4.5.0", |
| 54 | + "@tanstack/router-plugin": "^1.121.41", |
| 55 | + "@types/node": "^24.0.5", |
| 56 | + "@types/react": "^19.1.8", |
| 57 | + "@types/react-dom": "^19.1.6", |
| 58 | + "@vitejs/plugin-react": "^4.6.0", |
| 59 | + "glob": "^11.0.3", |
60 | 60 | "tsup": "^8.5.0", |
61 | | - "tsx": "^4.19.4", |
| 61 | + "tsx": "^4.20.3", |
62 | 62 | "vite": "^6.3.5" |
63 | 63 | }, |
64 | 64 | "dependencies": { |
|
67 | 67 | "@heroicons/react": "^2.2.0", |
68 | 68 | "@phosphor-icons/react": "^2.1.10", |
69 | 69 | "@radix-ui/react-tabs": "^1.1.12", |
70 | | - "@tailwindcss/vite": "^4.1.8", |
71 | | - "@tanstack/react-form": "^1.12.1", |
72 | | - "@tanstack/react-query": "^5.79.2", |
73 | | - "@tanstack/react-query-devtools": "^5.79.2", |
74 | | - "@tanstack/react-router": "^1.120.15", |
75 | | - "@tanstack/react-router-devtools": "1.120.15", |
76 | | - "better-sqlite3": "^11.10.0", |
| 70 | + "@tailwindcss/vite": "^4.1.11", |
| 71 | + "@tanstack/react-form": "^1.12.4", |
| 72 | + "@tanstack/react-query": "^5.81.4", |
| 73 | + "@tanstack/react-query-devtools": "^5.81.4", |
| 74 | + "@tanstack/react-router": "^1.121.41", |
| 75 | + "@tanstack/react-router-devtools": "1.121.41", |
| 76 | + "better-sqlite3": "^12.1.1", |
77 | 77 | "date-fns": "^4.1.0", |
78 | 78 | "effect": "^3.16.10", |
79 | 79 | "graphql": "^16.11.0", |
|
82 | 82 | "open": "^10.1.2", |
83 | 83 | "react": "^19.1.0", |
84 | 84 | "react-dom": "^19.1.0", |
85 | | - "shiki": "^3.4.2", |
86 | | - "tailwindcss": "^4.1.8" |
| 85 | + "shiki": "^3.7.0", |
| 86 | + "tailwindcss": "^4.1.11" |
87 | 87 | } |
88 | 88 | } |
0 commit comments