Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Conversation

@cartogram
Copy link
Contributor

@cartogram cartogram commented Jan 25, 2023

Description

This PR moves the SEO library (mainly the generateSeoTags function) from the hydrogen repo to this repo.

Additional context

I've also added docs and examples.

Related: Shopify/hydrogen#389, Shopify/hydrogen#380, Shopify/hydrogen#370, Shopify/hydrogen#389

Before submitting the PR, please make sure you do the following:

  • Read the Contributing Guidelines
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123)
  • Update docs in this repository according to your change
  • Run yarn changeset add if this PR cause a version bump based on Keep a Changelog. If you have a breaking change, it will need to wait until the next major version release. Otherwise, use patch updates even for new features. Read more about Storefront Kit's versioning.

@cartogram cartogram requested review from frehner and rennyG January 25, 2023 07:11
import {Maybe} from './storefront-api-types.js';
import {WithContext} from 'schema-dts';

export interface BaseSeo {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm going to look into having these types actually match what they should be, and remove the any.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, I've made all the other changes, but won't merge until you approve 🙇 Happy to work together on this tomorrow or later this week too.

Copy link
Contributor

@frehner frehner Jan 26, 2023

Choose a reason for hiding this comment

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

#140

A start. It's not done, but it should be a bit better already. Want to take it over from here? (note that that PR merged into this PR, not into the main branch)

@cartogram cartogram requested a review from a team January 25, 2023 17:40
@cartogram cartogram force-pushed the seo branch 4 times, most recently from 8e17745 to c47a794 Compare February 4, 2023 07:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants