Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include source code in all packages to fix source maps. #2047

Merged
merged 1 commit into from
Nov 24, 2021

Conversation

willstott101
Copy link
Contributor

Currently some build tools (cough react-scripts on webpack 5 cough) error out when trying to build source maps for the graphiql packages. This makes development much harder than it needs to be. By including the source code in the packages we build, the source maps are more likely to work...

@changeset-bot
Copy link

changeset-bot bot commented Nov 24, 2021

🦋 Changeset detected

Latest commit: 2ccf852

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov
Copy link

codecov bot commented Nov 24, 2021

Codecov Report

Merging #2047 (2ccf852) into main (2d91916) will decrease coverage by 1.51%.
The diff coverage is 62.12%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2047      +/-   ##
==========================================
- Coverage   65.70%   64.19%   -1.52%     
==========================================
  Files          85       94       +9     
  Lines        5106     5424     +318     
  Branches     1631     1709      +78     
==========================================
+ Hits         3355     3482     +127     
- Misses       1747     1937     +190     
- Partials        4        5       +1     
Impacted Files Coverage Δ
packages/codemirror-graphql/src/hint.ts 94.73% <ø> (ø)
packages/codemirror-graphql/src/lint.ts 100.00% <ø> (ø)
packages/codemirror-graphql/src/results/mode.ts 47.05% <ø> (ø)
...kages/codemirror-graphql/src/utils/forEachState.ts 100.00% <ø> (ø)
...ckages/codemirror-graphql/src/utils/mode-indent.ts 0.00% <0.00%> (ø)
packages/codemirror-graphql/src/variables/hint.ts 89.70% <ø> (ø)
packages/codemirror-graphql/src/variables/mode.ts 79.48% <ø> (ø)
packages/graphiql/src/components/QueryEditor.tsx 63.96% <ø> (ø)
...graphiql/src/components/__tests__/ExampleSchema.ts 100.00% <ø> (ø)
packages/graphiql/src/utility/fillLeafs.ts 5.33% <ø> (ø)
... and 38 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update be093fd...2ccf852. Read the comment docs.

@acao
Copy link
Member

acao commented Nov 24, 2021

Sorry, deploy previews for forked PRs are failing currently, it doesn’t impact this PR anyways

@acao
Copy link
Member

acao commented Nov 24, 2021

Awesome! Getting this out today

@willstott101
Copy link
Contributor Author

Thanks for the quick turnaround!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants