-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically inject variables in runtime (#861)
* Move environment variable pull into a separate utility We're about to be using this same query in the `dev` command so it makes sense to colocate the logic. * Allow mini-oxygen to be explicitly passed env variables * Add combinedEnvironmentVariables function This will be used in the `dev` command to combine local and remote environment variables to pass to mini-oxygen. * Automatically inject environment variables in dev * Only autoload .env if no injection is happening
- Loading branch information
1 parent
ba54a3b
commit a8d5fef
Showing
11 changed files
with
625 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@shopify/cli-hydrogen': patch | ||
--- | ||
|
||
Update dev command to automatically injected environment variables from a linked Hydrogen storefront |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.