Skip to content

Commit f68cc55

Browse files
authored
Merge pull request #8334 from Shopify/fb-update-cli-hydrogen-13.0.4-main
hydrogen/Bump cli-hydrogen to 13.0.4 (main)
2 parents cb605c4 + 7146400 commit f68cc55

5 files changed

Lines changed: 30 additions & 10 deletions

File tree

docs-shopify.dev/generated/generated_docs_data_v2.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3456,6 +3456,14 @@
34563456
"value": "string",
34573457
"description": "The development domain of your application."
34583458
},
3459+
{
3460+
"filePath": "docs-shopify.dev/commands/interfaces/hydrogen-customer-account-push.interface.ts",
3461+
"syntaxKind": "PropertySignature",
3462+
"name": "--javascript-origin <value>",
3463+
"value": "string",
3464+
"description": "The origin to register as the allowed JavaScript origin for the Customer Account API OAuth flow. Defaults to --dev-origin. Must not include a port (Shopify rejects origins with ports); use this to register a portless origin while keeping a portful --dev-origin.",
3465+
"isOptional": true
3466+
},
34593467
{
34603468
"filePath": "docs-shopify.dev/commands/interfaces/hydrogen-customer-account-push.interface.ts",
34613469
"syntaxKind": "PropertySignature",
@@ -3490,7 +3498,7 @@
34903498
"isOptional": true
34913499
}
34923500
],
3493-
"value": "export interface hydrogencustomeraccountpush {\n /**\n * The development domain of your application.\n *\n */\n '--dev-origin <value>': string\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path <value>'?: string\n\n /**\n * The relative url of allowed url that will be redirected to post-logout for Customer Account API OAuth flow. Default to nothing.\n *\n */\n '--relative-logout-uri <value>'?: string\n\n /**\n * The relative url of allowed callback url for Customer Account API OAuth flow. Default is '/account/authorize'\n *\n */\n '--relative-redirect-uri <value>'?: string\n\n /**\n * The id of the storefront the configuration should be pushed to. Must start with 'gid://shopify/HydrogenStorefront/'\n *\n */\n '--storefront-id <value>'?: string\n}"
3501+
"value": "export interface hydrogencustomeraccountpush {\n /**\n * The development domain of your application.\n *\n */\n '--dev-origin <value>': string\n\n /**\n * The origin to register as the allowed JavaScript origin for the Customer Account API OAuth flow. Defaults to --dev-origin. Must not include a port (Shopify rejects origins with ports); use this to register a portless origin while keeping a portful --dev-origin.\n *\n */\n '--javascript-origin <value>'?: string\n\n /**\n * The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path <value>'?: string\n\n /**\n * The relative url of allowed url that will be redirected to post-logout for Customer Account API OAuth flow. Default to nothing.\n *\n */\n '--relative-logout-uri <value>'?: string\n\n /**\n * The relative url of allowed callback url for Customer Account API OAuth flow. Default is '/account/authorize'\n *\n */\n '--relative-redirect-uri <value>'?: string\n\n /**\n * The id of the storefront the configuration should be pushed to. Must start with 'gid://shopify/HydrogenStorefront/'\n *\n */\n '--storefront-id <value>'?: string\n}"
34943502
}
34953503
},
34963504
"hydrogendebugcpu": {

packages/cli/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2334,13 +2334,18 @@ Push project configuration to admin
23342334

23352335
```
23362336
USAGE
2337-
$ shopify hydrogen customer-account-push --dev-origin <value> [--path <value>] [--relative-logout-uri <value>]
2338-
[--relative-redirect-uri <value>] [--storefront-id <value>]
2337+
$ shopify hydrogen customer-account-push --dev-origin <value> [--javascript-origin <value>] [--path <value>]
2338+
[--relative-logout-uri <value>] [--relative-redirect-uri <value>] [--storefront-id <value>]
23392339
23402340
FLAGS
23412341
--dev-origin=<value>
23422342
(required) The development domain of your application.
23432343
2344+
--javascript-origin=<value>
2345+
The origin to register as the allowed JavaScript origin for the Customer Account API OAuth flow. Defaults to
2346+
--dev-origin. Must not include a port (Shopify rejects origins with ports); use this to register a portless origin
2347+
while keeping a portful --dev-origin.
2348+
23442349
--path=<value>
23452350
The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.
23462351
[env: SHOPIFY_HYDROGEN_FLAG_PATH]

packages/cli/oclif.manifest.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4798,6 +4798,13 @@
47984798
"required": true,
47994799
"type": "option"
48004800
},
4801+
"javascript-origin": {
4802+
"description": "The origin to register as the allowed JavaScript origin for the Customer Account API OAuth flow. Defaults to --dev-origin. Must not include a port (Shopify rejects origins with ports); use this to register a portless origin while keeping a portful --dev-origin.",
4803+
"hasDynamicHelp": false,
4804+
"multiple": false,
4805+
"name": "javascript-origin",
4806+
"type": "option"
4807+
},
48014808
"path": {
48024809
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
48034810
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@shopify/plugin-cloudflare": "4.7.0",
6767
"@shopify/plugin-did-you-mean": "4.7.0",
6868
"@shopify/theme": "4.7.0",
69-
"@shopify/cli-hydrogen": "13.0.3",
69+
"@shopify/cli-hydrogen": "13.0.4",
7070
"@types/global-agent": "3.0.0",
7171
"@vitest/coverage-istanbul": "^3.2.7",
7272
"esbuild-plugin-copy": "^2.1.1"

pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)