Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion docs-shopify.dev/generated/generated_docs_data_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3456,6 +3456,14 @@
"value": "string",
"description": "The development domain of your application."
},
{
"filePath": "docs-shopify.dev/commands/interfaces/hydrogen-customer-account-push.interface.ts",
"syntaxKind": "PropertySignature",
"name": "--javascript-origin <value>",
"value": "string",
"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.",
"isOptional": true
},
{
"filePath": "docs-shopify.dev/commands/interfaces/hydrogen-customer-account-push.interface.ts",
"syntaxKind": "PropertySignature",
Expand Down Expand Up @@ -3490,7 +3498,7 @@
"isOptional": true
}
],
"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}"
"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}"
}
},
"hydrogendebugcpu": {
Expand Down
9 changes: 7 additions & 2 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2334,13 +2334,18 @@ Push project configuration to admin

```
USAGE
$ shopify hydrogen customer-account-push --dev-origin <value> [--path <value>] [--relative-logout-uri <value>]
[--relative-redirect-uri <value>] [--storefront-id <value>]
$ shopify hydrogen customer-account-push --dev-origin <value> [--javascript-origin <value>] [--path <value>]
[--relative-logout-uri <value>] [--relative-redirect-uri <value>] [--storefront-id <value>]

FLAGS
--dev-origin=<value>
(required) The development domain of your application.

--javascript-origin=<value>
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.

--path=<value>
The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.
[env: SHOPIFY_HYDROGEN_FLAG_PATH]
Expand Down
7 changes: 7 additions & 0 deletions packages/cli/oclif.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4317,6 +4317,13 @@
"required": true,
"type": "option"
},
"javascript-origin": {
"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.",
"hasDynamicHelp": false,
"multiple": false,
"name": "javascript-origin",
"type": "option"
},
"path": {
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@shopify/plugin-cloudflare": "4.6.0",
"@shopify/plugin-did-you-mean": "4.6.0",
"@shopify/theme": "4.6.0",
"@shopify/cli-hydrogen": "13.0.3",
"@shopify/cli-hydrogen": "13.0.4",
"@types/global-agent": "3.0.0",
"@vitest/coverage-istanbul": "^3.2.7",
"esbuild-plugin-copy": "^2.1.1"
Expand Down
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading