Skip to content

Commit

Permalink
Merge pull request #4770 from Shopify/hl-bump-cli-hydrogen
Browse files Browse the repository at this point in the history
Bump cli-hydrogen
  • Loading branch information
wizardlyhel authored Oct 30, 2024
2 parents ce52ab9 + 7da2c4d commit e16ce10
Show file tree
Hide file tree
Showing 9 changed files with 134 additions and 112 deletions.
5 changes: 5 additions & 0 deletions .changeset/red-jars-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/cli': patch
---

Bump cli-hydrogen to 9.0.2
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export interface hydrogendeploy {
'--path <value>'?: string

/**
* Deploys to the Preview environment. Overrides --env-branch and Git metadata.
* Deploys to the Preview environment.
*
*/
'--preview'?: ''
Expand Down
4 changes: 2 additions & 2 deletions docs-shopify.dev/generated/generated_docs_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -2910,7 +2910,7 @@
"syntaxKind": "PropertySignature",
"name": "--preview",
"value": "\"\"",
"description": "Deploys to the Preview environment. Overrides --env-branch and Git metadata.",
"description": "Deploys to the Preview environment.",
"isOptional": true
},
{
Expand Down Expand Up @@ -2941,7 +2941,7 @@
"environmentValue": "SHOPIFY_HYDROGEN_DEPLOYMENT_TOKEN"
}
],
"value": "export interface hydrogendeploy {\n /**\n * Generate an authentication bypass token, which can be used to perform end-to-end tests against the deployment.\n * @environment AUTH_BYPASS_TOKEN\n */\n '--auth-bypass-token'?: ''\n\n /**\n * Specify the duration (in hours) up to 12 hours for the authentication bypass token. Defaults to `2`\n * @environment AUTH_BYPASS_TOKEN_DURATION\n */\n '--auth-bypass-token-duration <value>'?: string\n\n /**\n * Specify a build command to run before deploying. If not specified, `shopify hydrogen build` will be used.\n *\n */\n '--build-command <value>'?: string\n\n /**\n * Entry file for the worker. Defaults to `./server`.\n * @environment SHOPIFY_HYDROGEN_FLAG_ENTRY\n */\n '--entry <value>'?: string\n\n /**\n * Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command.\n *\n */\n '--env <value>'?: string\n\n /**\n * Specifies the environment to perform the operation using its Git branch name.\n * @environment SHOPIFY_HYDROGEN_ENVIRONMENT_BRANCH\n */\n '--env-branch <value>'?: string\n\n /**\n * Path to an environment file to override existing environment variables for the deployment.\n *\n */\n '--env-file <value>'?: string\n\n /**\n * Forces a deployment to proceed if there are uncommited changes in its Git repository.\n * @environment SHOPIFY_HYDROGEN_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * Create a JSON file containing the deployment details in CI environments. Defaults to true, use `--no-json-output` to disable.\n *\n */\n '--json-output'?: ''\n\n /**\n * Checks that there is exactly one valid lockfile in the project. Defaults to `true`. Deactivate with `--no-lockfile-check`.\n * @environment SHOPIFY_HYDROGEN_FLAG_LOCKFILE_CHECK\n */\n '--lockfile-check'?: ''\n\n /**\n * Description of the changes in the deployment. Defaults to the commit message of the latest commit if there are no uncommited changes.\n * @environment SHOPIFY_HYDROGEN_FLAG_METADATA_DESCRIPTION\n */\n '--metadata-description <value>'?: string\n\n /**\n * User that initiated the deployment. Will be saved and displayed in the Shopify admin\n * @environment SHOPIFY_HYDROGEN_FLAG_METADATA_USER\n */\n '--metadata-user <value>'?: string\n\n /**\n * Skip the routability verification step after deployment.\n *\n */\n '--no-verify'?: ''\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 * Deploys to the Preview environment. Overrides --env-branch and Git metadata.\n *\n */\n '--preview'?: ''\n\n /**\n * Shop URL. It can be the shop prefix (janes-apparel) or the full myshopify.com URL (janes-apparel.myshopify.com, https://janes-apparel.myshopify.com).\n * @environment SHOPIFY_SHOP\n */\n '-s, --shop <value>'?: string\n\n /**\n * Oxygen deployment token. Defaults to the linked storefront's token if available.\n * @environment SHOPIFY_HYDROGEN_DEPLOYMENT_TOKEN\n */\n '-t, --token <value>'?: string\n}"
"value": "export interface hydrogendeploy {\n /**\n * Generate an authentication bypass token, which can be used to perform end-to-end tests against the deployment.\n * @environment AUTH_BYPASS_TOKEN\n */\n '--auth-bypass-token'?: ''\n\n /**\n * Specify the duration (in hours) up to 12 hours for the authentication bypass token. Defaults to `2`\n * @environment AUTH_BYPASS_TOKEN_DURATION\n */\n '--auth-bypass-token-duration <value>'?: string\n\n /**\n * Specify a build command to run before deploying. If not specified, `shopify hydrogen build` will be used.\n *\n */\n '--build-command <value>'?: string\n\n /**\n * Entry file for the worker. Defaults to `./server`.\n * @environment SHOPIFY_HYDROGEN_FLAG_ENTRY\n */\n '--entry <value>'?: string\n\n /**\n * Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command.\n *\n */\n '--env <value>'?: string\n\n /**\n * Specifies the environment to perform the operation using its Git branch name.\n * @environment SHOPIFY_HYDROGEN_ENVIRONMENT_BRANCH\n */\n '--env-branch <value>'?: string\n\n /**\n * Path to an environment file to override existing environment variables for the deployment.\n *\n */\n '--env-file <value>'?: string\n\n /**\n * Forces a deployment to proceed if there are uncommited changes in its Git repository.\n * @environment SHOPIFY_HYDROGEN_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * Create a JSON file containing the deployment details in CI environments. Defaults to true, use `--no-json-output` to disable.\n *\n */\n '--json-output'?: ''\n\n /**\n * Checks that there is exactly one valid lockfile in the project. Defaults to `true`. Deactivate with `--no-lockfile-check`.\n * @environment SHOPIFY_HYDROGEN_FLAG_LOCKFILE_CHECK\n */\n '--lockfile-check'?: ''\n\n /**\n * Description of the changes in the deployment. Defaults to the commit message of the latest commit if there are no uncommited changes.\n * @environment SHOPIFY_HYDROGEN_FLAG_METADATA_DESCRIPTION\n */\n '--metadata-description <value>'?: string\n\n /**\n * User that initiated the deployment. Will be saved and displayed in the Shopify admin\n * @environment SHOPIFY_HYDROGEN_FLAG_METADATA_USER\n */\n '--metadata-user <value>'?: string\n\n /**\n * Skip the routability verification step after deployment.\n *\n */\n '--no-verify'?: ''\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 * Deploys to the Preview environment.\n *\n */\n '--preview'?: ''\n\n /**\n * Shop URL. It can be the shop prefix (janes-apparel) or the full myshopify.com URL (janes-apparel.myshopify.com, https://janes-apparel.myshopify.com).\n * @environment SHOPIFY_SHOP\n */\n '-s, --shop <value>'?: string\n\n /**\n * Oxygen deployment token. Defaults to the linked storefront's token if available.\n * @environment SHOPIFY_HYDROGEN_DEPLOYMENT_TOKEN\n */\n '-t, --token <value>'?: string\n}"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export type Scalars = {
/** The ID for a AccessRole. */
AccessRoleID: {input: any; output: any}
AccessRoleRecordId: {input: any; output: any}
/** The ID for a ActionAudit. */
ActionAuditID: {input: any; output: any}
GlobalID: {input: string; output: string}
/** The ID for a Group. */
GroupID: {input: any; output: any}
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ FLAGS
--no-verify Skip the routability verification step after deployment.
--path=<value> The path to the directory of the Hydrogen storefront. Defaults to the
current directory where the command is run.
--preview Deploys to the Preview environment. Overrides --env-branch and Git metadata.
--preview Deploys to the Preview environment.
DESCRIPTION
Builds and deploys a Hydrogen storefront to Oxygen.
Expand Down
12 changes: 1 addition & 11 deletions packages/cli/oclif.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2966,7 +2966,7 @@
},
"preview": {
"allowNo": false,
"description": "Deploys to the Preview environment. Overrides --env-branch and Git metadata.",
"description": "Deploys to the Preview environment.",
"name": "preview",
"required": false,
"type": "boolean"
Expand Down Expand Up @@ -3165,11 +3165,6 @@
"name": "verbose",
"required": false,
"type": "boolean"
},
"worker": {
"hidden": true,
"name": "worker",
"type": "boolean"
}
},
"hasDynamicHelp": false,
Expand Down Expand Up @@ -3883,11 +3878,6 @@
"description": "Watches for changes and rebuilds the project.",
"name": "watch",
"type": "boolean"
},
"worker": {
"hidden": true,
"name": "worker",
"type": "boolean"
}
},
"hasDynamicHelp": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"@shopify/plugin-cloudflare": "3.69.0",
"@shopify/plugin-did-you-mean": "3.69.0",
"@shopify/theme": "3.69.0",
"@shopify/cli-hydrogen": "8.4.6",
"@shopify/cli-hydrogen": "9.0.2",
"@types/node": "18.19.3",
"@typescript-eslint/eslint-plugin": "7.13.1",
"@vitest/coverage-istanbul": "^1.6.0",
Expand Down
155 changes: 79 additions & 76 deletions packages/features/snapshots/commands.txt
Original file line number Diff line number Diff line change
@@ -1,76 +1,79 @@
app build @shopify/cli
app config link @shopify/cli
app config use @shopify/cli
app deploy @shopify/cli
app dev @shopify/cli
app env pull @shopify/cli
app env show @shopify/cli
app function build @shopify/cli
app function run @shopify/cli
app function schema @shopify/cli
app function typegen @shopify/cli
app generate extension @shopify/cli
app import-extensions @shopify/cli
app info @shopify/cli
app init @shopify/cli
app release @shopify/cli
app versions list @shopify/cli
app webhook trigger @shopify/cli
auth logout @shopify/cli
commands @shopify/cli
config autocorrect off @shopify/cli
config autocorrect on @shopify/cli
config autocorrect status @shopify/cli
help @shopify/cli
hydrogen build @shopify/cli-hydrogen
hydrogen check @shopify/cli-hydrogen
hydrogen codegen @shopify/cli-hydrogen
hydrogen customer-account push @shopify/cli-hydrogen
hydrogen debug cpu @shopify/cli-hydrogen
hydrogen deploy @shopify/cli-hydrogen
hydrogen dev @shopify/cli-hydrogen
hydrogen env list @shopify/cli-hydrogen
hydrogen env pull @shopify/cli-hydrogen
hydrogen env push @shopify/cli-hydrogen
hydrogen generate route @shopify/cli-hydrogen
hydrogen generate routes @shopify/cli-hydrogen
hydrogen init @shopify/cli-hydrogen
hydrogen link @shopify/cli-hydrogen
hydrogen list @shopify/cli-hydrogen
hydrogen login @shopify/cli-hydrogen
hydrogen logout @shopify/cli-hydrogen
hydrogen preview @shopify/cli-hydrogen
hydrogen setup @shopify/cli-hydrogen
hydrogen setup css @shopify/cli-hydrogen
hydrogen setup markets @shopify/cli-hydrogen
hydrogen setup vite @shopify/cli-hydrogen
hydrogen shortcut @shopify/cli-hydrogen
hydrogen unlink @shopify/cli-hydrogen
hydrogen upgrade @shopify/cli-hydrogen
plugins add @shopify/cli
plugins inspect @shopify/cli
plugins install @shopify/cli
plugins link @shopify/cli
plugins remove @shopify/cli
plugins reset @shopify/cli
plugins uninstall @shopify/cli
plugins unlink @shopify/cli
plugins update @shopify/cli
search @shopify/cli
theme check @shopify/cli
theme console @shopify/cli
theme delete @shopify/cli
theme dev @shopify/cli
theme info @shopify/cli
theme init @shopify/cli
theme language-server @shopify/cli
theme list @shopify/cli
theme open @shopify/cli
theme package @shopify/cli
theme publish @shopify/cli
theme pull @shopify/cli
theme push @shopify/cli
theme rename @shopify/cli
theme share @shopify/cli
upgrade @shopify/cli
version @shopify/cli
app build @shopify/cli
app config link @shopify/cli
app config use @shopify/cli
app deploy @shopify/cli
app dev @shopify/cli
app env pull @shopify/cli
app env show @shopify/cli
app function build @shopify/cli
app function replay @shopify/cli
app function run @shopify/cli
app function schema @shopify/cli
app function typegen @shopify/cli
app generate extension @shopify/cli
app import-extensions @shopify/cli
app info @shopify/cli
app init @shopify/cli
app logs @shopify/cli
app logs sources @shopify/cli
app release @shopify/cli
app versions list @shopify/cli
app webhook trigger @shopify/cli
auth logout @shopify/cli
commands @shopify/cli
config autocorrect off @shopify/cli
config autocorrect on @shopify/cli
config autocorrect status @shopify/cli
help @shopify/cli
hydrogen build @shopify/cli
hydrogen check @shopify/cli
hydrogen codegen @shopify/cli
hydrogen customer-account-push @shopify/cli
hydrogen debug cpu @shopify/cli
hydrogen deploy @shopify/cli
hydrogen dev @shopify/cli
hydrogen env list @shopify/cli
hydrogen env pull @shopify/cli
hydrogen env push @shopify/cli
hydrogen generate route @shopify/cli
hydrogen generate routes @shopify/cli
hydrogen init @shopify/cli
hydrogen link @shopify/cli
hydrogen list @shopify/cli
hydrogen login @shopify/cli
hydrogen logout @shopify/cli
hydrogen preview @shopify/cli
hydrogen setup @shopify/cli
hydrogen setup css @shopify/cli
hydrogen setup markets @shopify/cli
hydrogen setup vite @shopify/cli
hydrogen shortcut @shopify/cli
hydrogen unlink @shopify/cli
hydrogen upgrade @shopify/cli
plugins add @shopify/cli
plugins inspect @shopify/cli
plugins install @shopify/cli
plugins link @shopify/cli
plugins remove @shopify/cli
plugins reset @shopify/cli
plugins uninstall @shopify/cli
plugins unlink @shopify/cli
plugins update @shopify/cli
search @shopify/cli
theme check @shopify/cli
theme console @shopify/cli
theme delete @shopify/cli
theme dev @shopify/cli
theme info @shopify/cli
theme init @shopify/cli
theme language-server @shopify/cli
theme list @shopify/cli
theme open @shopify/cli
theme package @shopify/cli
theme publish @shopify/cli
theme pull @shopify/cli
theme push @shopify/cli
theme rename @shopify/cli
theme share @shopify/cli
upgrade @shopify/cli
version @shopify/cli
Loading

0 comments on commit e16ce10

Please sign in to comment.