Skip to content

Commit

Permalink
fix: publish readme to npm (#1044)
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj committed Jan 20, 2023
1 parent b6b0e90 commit 8367f90
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/rich-crews-worry.md
@@ -0,0 +1,6 @@
---
'@graphprotocol/graph-cli': patch
'@graphprotocol/graph-ts': patch
---

publish readme with packages
3 changes: 2 additions & 1 deletion packages/cli/package.json
Expand Up @@ -12,7 +12,8 @@
"main": "dist/cli.js",
"files": [
"CHANGELOG.md",
"dist"
"dist",
"README.md"
],
"scripts": {
"build": "tsc -b tsconfig.build.json && copyfiles -u 1 src/**/*.graphql dist/ && chmod +x ./dist/bin.js",
Expand Down
3 changes: 3 additions & 0 deletions packages/ts/package.json
Expand Up @@ -5,6 +5,9 @@
"main": "index.ts",
"module": "index.ts",
"types": "index.ts",
"files": [
"README.md"
],
"scripts": {
"build": "asc --explicitStart --exportRuntime --runtime stub index.ts helper-functions.ts --lib graph-ts -b index.wasm",
"format": "prettier --write -c **/*.{js,ts}",
Expand Down

0 comments on commit 8367f90

Please sign in to comment.