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

next release #158

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

next release #158

wants to merge 16 commits into from

Conversation

raae
Copy link
Member

@raae raae commented Apr 11, 2022

No description provided.

@raae raae force-pushed the next branch 4 times, most recently from c18ab45 to fd932c9 Compare April 26, 2022 16:33
@raae raae force-pushed the next branch 4 times, most recently from 7801465 to b4c4e38 Compare April 26, 2022 17:42
semantic-release-bot and others added 3 commits April 26, 2022 17:52
# [0.2.0-next.2](v0.2.0-next.1...v0.2.0-next.2) (2022-04-26)

### Bug Fixes

* npm unignore prefetched-providers.json ([2dde20d](2dde20d))
# [0.2.0-next.3](v0.2.0-next.2...v0.2.0-next.3) (2022-04-26)

### Bug Fixes

* use prepack to download provider list ([d421b84](d421b84))
const filePath = path.join(__dirname, "../.prefetched-providers.json");
const file = await readFile(filePath);
return JSON.parse(file);
const rawProviders = require("./../prefetched-providers.json");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see... So the providers content is coupled with the NPM package itself.

Maybe we have to compromise until this issue's being fixed?
gatsbyjs/gatsby#35415

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It gets downloaded when the package is published. It could maybe be downloaded on install...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This approach will also make the most sense when making a more general remark plugin I think.

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.

3 participants