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

Remove RSK as a direct dependency in the demo stores #398

Merged
merged 4 commits into from
Jan 30, 2023

Conversation

blittle
Copy link
Contributor

@blittle blittle commented Jan 27, 2023

Instead it now is a direct dependency of @shopify/hydrogen with select functionality re-exported

Instead it now is a direct dependency of `@Shopify/hydrogen` with select functionality re-exported
@github-actions
Copy link
Contributor

We detected some changes in packages/*/package.json or packages/*/src, and there are no updates in the .changeset.
If the changes are user-facing and should cause a version bump, run npm run changeset add to track your changes and include them in the next release CHANGELOG.
If you are making simple updates to examples or documentation, you do not need to add a changeset.

@github-actions github-actions bot had a problem deploying to preview January 27, 2023 21:13 Failure
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
Copy link
Contributor

Choose a reason for hiding this comment

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

nice

ModelViewer,
parseMetafield,
ShopPayButton,
} from '@shopify/storefront-kit-react';
Copy link
Contributor

Choose a reason for hiding this comment

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

Wonder if there's a sustainable way of making sure you have everything you need re-exported; maybe keeping it alphabetical so you can compare more easily or something?

Not blocking by any means, but just thinking about how to make it easier in the future. Because I suspect that there may be some things already missing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, there probably are some missing items. I'll go check, and also make it alphabetical. Though we don't want any of the carts stuff.

@@ -1,5 +1,5 @@
// TODO more this whole file to a storefront-react package
import type {Maybe} from '@shopify/storefront-kit-react/storefront-api-types';
import type {Maybe} from '@shopify/hydrogen/storefront-api-types';
Copy link
Contributor

Choose a reason for hiding this comment

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

You might need to revert this change. I think you are reaching for an export that doesn't exist when this package is built. Not a huge deal either way since this is all getting re-jigged.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, good catch. Everything from the hydrogen package itself should be importing from storefront-kit. This was one was an accident.

@blittle blittle merged commit bb9ee26 into v0.x-2022-10 Jan 30, 2023
@blittle blittle deleted the bl-remove-rsk-peer-dep branch January 30, 2023 20:42
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