Shopify / hydrogen

Hydrogen lets you build faster headless storefronts in less time, on Shopify.
https://hydrogen.shop
MIT License
1.19k stars 241 forks source link

Update quickstart CLI reference, expose `routes` flag #2009

Closed gfscott closed 1 month ago

gfscott commented 1 month ago

This PR does three things:

  1. Updates the --quickstart description. This was previously handled in plain markdown in the docs but with the new reference generated by the manifest it needs to be directly in the codebase;
  2. Un-hides the --routes flag for init. Not clear to me why it was hidden in the first place;
  3. Hides the --styling flag, which is no longer supported.
github-actions[bot] commented 1 month ago

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.

frandiox commented 1 month ago

You'll need to run npm run build in the CLI directory to update oclif.manifest.json

shopify[bot] commented 1 month ago
Oxygen deployed a preview of your quickstart-describe branch. Details: Storefront Status Preview link Deployment details Last update (UTC)
subscriptions ✅ Successful (Logs) Preview deployment Inspect deployment April 16, 2024 4:57 PM
custom-cart-method ✅ Successful (Logs) Preview deployment Inspect deployment April 16, 2024 4:57 PM
third-party-queries-caching ✅ Successful (Logs) Preview deployment Inspect deployment April 16, 2024 4:57 PM
optimistic-cart-ui ✅ Successful (Logs) Preview deployment Inspect deployment April 16, 2024 4:57 PM
vite ✅ Successful (Logs) Preview deployment Inspect deployment April 16, 2024 4:57 PM
skeleton ✅ Successful (Logs) Preview deployment Inspect deployment April 16, 2024 4:57 PM

Learn more about Hydrogen's GitHub integration.