Skip to content

Commit e015549

Browse files
committed
fix: update create and deploy scripts for consistency with versioning
1 parent 19d7658 commit e015549

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"test:unit": "graph test unit",
1414
"test:e2e": "mocha tests/e2e/**/*.ts",
1515
"coverage": "graph test -- -c",
16-
"create": "dotenv -e .env -- sh -c 'graph create ${NETWORK_NAME:-bellecour}/poco --node ${GRAPHNODE_URL:-http://localhost:8020}'",
17-
"deploy": "dotenv -e .env -- sh -c 'graph deploy ${NETWORK_NAME:-bellecour}/poco --node ${GRAPHNODE_URL:-http://localhost:8020} --ipfs ${IPFS_URL:-http://localhost:5001} --network ${NETWORK_NAME:-bellecour} --version-label ${VERSION_LABEL:-bellecour/poco-v5}'",
16+
"create": "dotenv -e .env -- sh -c 'graph create ${NETWORK_NAME:-bellecour}${DEPLOY_ENV:-/}poco-v5 --node ${GRAPHNODE_URL:-http://localhost:8020}'",
17+
"deploy": "dotenv -e .env -- sh -c 'graph deploy ${NETWORK_NAME:-bellecour}${DEPLOY_ENV:-/}poco-v5 --node ${GRAPHNODE_URL:-http://localhost:8020} --ipfs ${IPFS_URL:-http://localhost:5001} --network ${NETWORK_NAME:-bellecour} --version-label ${VERSION_LABEL:-dev}'",
1818
"deploy-studio": "dotenv -e .env -- sh -c 'graph deploy ${SUBGRAPH_SLUG} --deploy-key ${SUBGRAPH_DEPLOY_KEY} --network ${SUBGRAPH_NETWORK_NAME} --version-label ${VERSION_LABEL}'",
1919
"all": "npm run build && npm run create && npm run deploy",
2020
"stop-test-stack": "cd test-stack && docker compose down --remove-orphans --volumes",
@@ -58,4 +58,4 @@
5858
"dependencies": {
5959
"@iexec/poco": "^5.5.0"
6060
}
61-
}
61+
}

0 commit comments

Comments
 (0)