Skip to content

Conversation

@jplhomer
Copy link
Contributor

@jplhomer jplhomer commented May 6, 2022

Description

We've found that running both the dev for hydrogen framework and hydrogen UI + every template option is not ideal.

Instead, we should use turbo to run the dev for the framework + UI and let the developer decide which template they want to develop against.

This PR updates turbo to use the new filter functionality, and it updates the instructions to tell the developer to open a separate terminal tab to develop the template.

package.json Outdated
},
"scripts": {
"dev": "cross-env LOCAL_DEV=true yarn turbo run dev --parallel",
"dev": "yarn turbo run dev --parallel --filter=hydrogen-ui --filter=@shopify/hydrogen",
Copy link
Contributor

Choose a reason for hiding this comment

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

The filter seems to be different for hydrogen-ui and hydrogen. Do both work?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It does because of fuzzy matching, but I've updated it to be explicit and consistent!

Copy link
Contributor

@frehner frehner left a comment

Choose a reason for hiding this comment

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

❤️

@jplhomer jplhomer merged commit 3cecf0c into v1.x-2022-07 May 6, 2022
@jplhomer jplhomer deleted the jl-turbo-dev-update branch May 6, 2022 19:13
blittle added a commit that referenced this pull request May 9, 2022
* v1.x-2022-07:
  Fix stale product options (#1210)
  Upgrade body-parser in hydrogen package (#1232)
  Add new options to Money and useMoney (#1215)
  fix links (#1229)
  Update turbo and instructions for developing `dev` (#1225)
  Heck - deploy all branches to Oxygen
  add context for initialvariantid (#1217)
  Build chunks are inside assets folder (#1211)
  Upgraded to SFAPI 2022-07 (#1214)
  [ci] release v1.x-2022-07 (#1205)
  Make this a patch instead of minor
  add references to video in file_reference block (#1197)
  Laying the foundation for building components in isolation (#1188)
  Make metafields optional within the ProductProvider. Fixes #1127 (#1209)
  Add README to /templates directory (#1163)
  fix perf tracking and make it optional from developer's end (#1096)
  docs fixes (#1204)
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