Skip to content

Commit 8829a59

Browse files
committed
get JS typegen working for workspace
1 parent 9a01588 commit 8829a59

File tree

2 files changed

+3476
-118
lines changed

2 files changed

+3476
-118
lines changed

package.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,18 @@
55
"devDependencies": {
66
"@iarna/toml": "^2.2.5",
77
"fast-glob": "^3.2.11",
8-
"liquidjs": "^9.37.0"
8+
"liquidjs": "^9.37.0",
9+
"@graphql-codegen/cli": "^3.2.2",
10+
"@graphql-codegen/typescript": "^3.0.2",
11+
"@graphql-codegen/typescript-operations": "^3.0.2",
12+
"graphql": "^16.6.0"
913
},
1014
"scripts": {
11-
"expand-liquid": "node ./util/expand-liquid.js"
12-
}
13-
}
15+
"expand-liquid": "node ./util/expand-liquid.js",
16+
"typegen": "yarn workspaces run graphql-code-generator --config package.json"
17+
},
18+
"private": true,
19+
"workspaces": [
20+
"*/javascript/**"
21+
]
22+
}

0 commit comments

Comments
 (0)