Skip to content

Commit

Permalink
fix esm support by running scripts (#1359)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
n1ru4l and github-actions[bot] authored May 22, 2023
1 parent 6891688 commit 18bfca8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/silent-boxes-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'graphql-config': patch
---

Fix esm compatibility
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
"postinstall": "tsx scripts/patch-graphql.ts",
"prepublishOnly": "pnpm run build",
"clean": "rimraf dist",
"prebuild": "pnpm run clean && pnpm run json-schema",
"prebuild": "pnpm run clean",
"postbuild": "tsx scripts/postbuild.ts",
"build": "bob build",
"build": "pnpm run prebuild && pnpm run json-schema && bob build && pnpm run postbuild",
"prettier": "prettier --cache --write --list-different .",
"prettier:check": "prettier --cache --check .",
"lint": "eslint --cache --cache-location node_modules/.cache/.eslintcache --ignore-path .gitignore .",
Expand Down

0 comments on commit 18bfca8

Please sign in to comment.