Skip to content

Commit b79ae95

Browse files
committed
devbox
1 parent 2487fe1 commit b79ae95

File tree

3 files changed

+30
-8
lines changed

3 files changed

+30
-8
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"$schema": "https://codesandbox.io/schemas/tasks.json",
3+
"setupTasks": [
4+
{
5+
"name": "Install",
6+
"command": "npm i"
7+
},
8+
{
9+
"name": "Services",
10+
"command": "npm run services"
11+
},
12+
{
13+
"name": "Compose",
14+
"command": "npm run compose"
15+
}
16+
],
17+
"tasks": {
18+
"gateway": {
19+
"name": "Start Hive Gateway",
20+
"command": "npm start",
21+
"runAtStart": true,
22+
"preview": {
23+
"port": 4000
24+
}
25+
}
26+
}
27+
}

examples/extra-fields/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"name": "@example/extra-fields",
33
"private": true,
44
"scripts": {
5-
"start": "conc --kill-others-on-fail 'tsx services/foo.ts' 'tsx services/bar.ts' 'sleep 1 && mesh-compose -o supergraph.graphql && hive-gateway supergraph'"
5+
"compose": "mesh-compose -o supergraph.graphql",
6+
"services": "conc --kill-others-on-fail 'tsx services/foo.ts' 'tsx services/bar.ts'",
7+
"start": "hive-gateway supergraph'"
68
},
79
"dependencies": {
810
"@graphql-hive/gateway": "^1.7.3",

examples/extra-fields/sandbox.config.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)