Skip to content

Commit 4b73ff8

Browse files
Merge pull request #6926 from Shopify/update-cli-hydrogen-11.1.10
hydrogen/Bump cli-hydrogen to 11.1.10 (main)
2 parents 7b9999e + 57556d1 commit 4b73ff8

6 files changed

Lines changed: 19 additions & 41 deletions

File tree

docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,11 @@ export interface hydrogeninit {
4343
'--path <value>'?: string
4444

4545
/**
46-
* Scaffolds a new Hydrogen project with a set of sensible defaults. Equivalent to `shopify hydrogen init --path hydrogen-quickstart --mock-shop --language js --shortcut --routes --markets none`
46+
* Scaffolds a new Hydrogen project with a set of sensible defaults. Equivalent to `shopify hydrogen init --path hydrogen-quickstart --mock-shop --language js --shortcut --markets none`
4747
* @environment SHOPIFY_HYDROGEN_FLAG_QUICKSTART
4848
*/
4949
'--quickstart'?: ''
5050

51-
/**
52-
* Generate routes for all pages.
53-
* @environment SHOPIFY_HYDROGEN_FLAG_ROUTES
54-
*/
55-
'--routes'?: ''
56-
5751
/**
5852
* Creates a global h2 shortcut for Shopify CLI using shell aliases. Deactivate with `--no-shortcut`.
5953
* @environment SHOPIFY_HYDROGEN_FLAG_SHORTCUT

docs-shopify.dev/generated/generated_docs_data.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4789,19 +4789,10 @@
47894789
"syntaxKind": "PropertySignature",
47904790
"name": "--quickstart",
47914791
"value": "\"\"",
4792-
"description": "Scaffolds a new Hydrogen project with a set of sensible defaults. Equivalent to `shopify hydrogen init --path hydrogen-quickstart --mock-shop --language js --shortcut --routes --markets none`",
4792+
"description": "Scaffolds a new Hydrogen project with a set of sensible defaults. Equivalent to `shopify hydrogen init --path hydrogen-quickstart --mock-shop --language js --shortcut --markets none`",
47934793
"isOptional": true,
47944794
"environmentValue": "SHOPIFY_HYDROGEN_FLAG_QUICKSTART"
47954795
},
4796-
{
4797-
"filePath": "docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts",
4798-
"syntaxKind": "PropertySignature",
4799-
"name": "--routes",
4800-
"value": "\"\"",
4801-
"description": "Generate routes for all pages.",
4802-
"isOptional": true,
4803-
"environmentValue": "SHOPIFY_HYDROGEN_FLAG_ROUTES"
4804-
},
48054796
{
48064797
"filePath": "docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts",
48074798
"syntaxKind": "PropertySignature",
@@ -4839,7 +4830,7 @@
48394830
"environmentValue": "SHOPIFY_HYDROGEN_FLAG_FORCE"
48404831
}
48414832
],
4842-
"value": "export interface hydrogeninit {\n /**\n * Overwrites the destination directory and files if they already exist.\n * @environment SHOPIFY_HYDROGEN_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * Init Git and create initial commits.\n * @environment SHOPIFY_HYDROGEN_FLAG_GIT\n */\n '--git'?: ''\n\n /**\n * Auto installs dependencies using the active package manager.\n * @environment SHOPIFY_HYDROGEN_FLAG_INSTALL_DEPS\n */\n '--install-deps'?: ''\n\n /**\n * Sets the template language to use. One of `js` or `ts`.\n * @environment SHOPIFY_HYDROGEN_FLAG_LANGUAGE\n */\n '--language <value>'?: string\n\n /**\n * Sets the URL structure to support multiple markets. Must be one of: `subfolders`, `domains`, `subdomains`, `none`. Example: `--markets subfolders`.\n * @environment SHOPIFY_HYDROGEN_FLAG_I18N\n */\n '--markets <value>'?: string\n\n /**\n * Use mock.shop as the data source for the storefront.\n * @environment SHOPIFY_HYDROGEN_FLAG_MOCK_DATA\n */\n '--mock-shop'?: ''\n\n /**\n * The path to the directory of the new Hydrogen storefront.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path <value>'?: string\n\n /**\n * Scaffolds a new Hydrogen project with a set of sensible defaults. Equivalent to `shopify hydrogen init --path hydrogen-quickstart --mock-shop --language js --shortcut --routes --markets none`\n * @environment SHOPIFY_HYDROGEN_FLAG_QUICKSTART\n */\n '--quickstart'?: ''\n\n /**\n * Generate routes for all pages.\n * @environment SHOPIFY_HYDROGEN_FLAG_ROUTES\n */\n '--routes'?: ''\n\n /**\n * Creates a global h2 shortcut for Shopify CLI using shell aliases. Deactivate with `--no-shortcut`.\n * @environment SHOPIFY_HYDROGEN_FLAG_SHORTCUT\n */\n '--shortcut'?: ''\n\n /**\n * Sets the styling strategy to use. One of `tailwind`, `vanilla-extract`, `css-modules`, `postcss`, `none`.\n * @environment SHOPIFY_HYDROGEN_FLAG_STYLING\n */\n '--styling <value>'?: string\n\n /**\n * Scaffolds project based on an existing template or example from the Hydrogen repository.\n * @environment SHOPIFY_HYDROGEN_FLAG_TEMPLATE\n */\n '--template <value>'?: string\n}"
4833+
"value": "export interface hydrogeninit {\n /**\n * Overwrites the destination directory and files if they already exist.\n * @environment SHOPIFY_HYDROGEN_FLAG_FORCE\n */\n '-f, --force'?: ''\n\n /**\n * Init Git and create initial commits.\n * @environment SHOPIFY_HYDROGEN_FLAG_GIT\n */\n '--git'?: ''\n\n /**\n * Auto installs dependencies using the active package manager.\n * @environment SHOPIFY_HYDROGEN_FLAG_INSTALL_DEPS\n */\n '--install-deps'?: ''\n\n /**\n * Sets the template language to use. One of `js` or `ts`.\n * @environment SHOPIFY_HYDROGEN_FLAG_LANGUAGE\n */\n '--language <value>'?: string\n\n /**\n * Sets the URL structure to support multiple markets. Must be one of: `subfolders`, `domains`, `subdomains`, `none`. Example: `--markets subfolders`.\n * @environment SHOPIFY_HYDROGEN_FLAG_I18N\n */\n '--markets <value>'?: string\n\n /**\n * Use mock.shop as the data source for the storefront.\n * @environment SHOPIFY_HYDROGEN_FLAG_MOCK_DATA\n */\n '--mock-shop'?: ''\n\n /**\n * The path to the directory of the new Hydrogen storefront.\n * @environment SHOPIFY_HYDROGEN_FLAG_PATH\n */\n '--path <value>'?: string\n\n /**\n * Scaffolds a new Hydrogen project with a set of sensible defaults. Equivalent to `shopify hydrogen init --path hydrogen-quickstart --mock-shop --language js --shortcut --markets none`\n * @environment SHOPIFY_HYDROGEN_FLAG_QUICKSTART\n */\n '--quickstart'?: ''\n\n /**\n * Creates a global h2 shortcut for Shopify CLI using shell aliases. Deactivate with `--no-shortcut`.\n * @environment SHOPIFY_HYDROGEN_FLAG_SHORTCUT\n */\n '--shortcut'?: ''\n\n /**\n * Sets the styling strategy to use. One of `tailwind`, `vanilla-extract`, `css-modules`, `postcss`, `none`.\n * @environment SHOPIFY_HYDROGEN_FLAG_STYLING\n */\n '--styling <value>'?: string\n\n /**\n * Scaffolds project based on an existing template or example from the Hydrogen repository.\n * @environment SHOPIFY_HYDROGEN_FLAG_TEMPLATE\n */\n '--template <value>'?: string\n}"
48434834
}
48444835
}
48454836
}

packages/cli/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,7 @@ Creates a new Hydrogen storefront.
14821482
```
14831483
USAGE
14841484
$ shopify hydrogen init [-f] [--git] [--install-deps] [--language <value>] [--markets <value>] [--mock-shop]
1485-
[--path <value>] [--quickstart] [--routes] [--shortcut] [--styling <value>] [--template <value>]
1485+
[--path <value>] [--quickstart] [--shortcut] [--styling <value>] [--template <value>]
14861486
14871487
FLAGS
14881488
-f, --force [env: SHOPIFY_HYDROGEN_FLAG_FORCE] Overwrites the destination directory and files if they
@@ -1497,8 +1497,7 @@ FLAGS
14971497
--path=<value> [env: SHOPIFY_HYDROGEN_FLAG_PATH] The path to the directory of the new Hydrogen storefront.
14981498
--quickstart [env: SHOPIFY_HYDROGEN_FLAG_QUICKSTART] Scaffolds a new Hydrogen project with a set of
14991499
sensible defaults. Equivalent to `shopify hydrogen init --path hydrogen-quickstart
1500-
--mock-shop --language js --shortcut --routes --markets none`
1501-
--[no-]routes [env: SHOPIFY_HYDROGEN_FLAG_ROUTES] Generate routes for all pages.
1500+
--mock-shop --language js --shortcut --markets none`
15021501
--[no-]shortcut [env: SHOPIFY_HYDROGEN_FLAG_SHORTCUT] Creates a global h2 shortcut for Shopify CLI using
15031502
shell aliases. Deactivate with `--no-shortcut`.
15041503
--styling=<value> [env: SHOPIFY_HYDROGEN_FLAG_STYLING] Sets the styling strategy to use. One of `tailwind`,

packages/cli/oclif.manifest.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4537,18 +4537,11 @@
45374537
},
45384538
"quickstart": {
45394539
"allowNo": false,
4540-
"description": "Scaffolds a new Hydrogen project with a set of sensible defaults. Equivalent to `shopify hydrogen init --path hydrogen-quickstart --mock-shop --language js --shortcut --routes --markets none`",
4540+
"description": "Scaffolds a new Hydrogen project with a set of sensible defaults. Equivalent to `shopify hydrogen init --path hydrogen-quickstart --mock-shop --language js --shortcut --markets none`",
45414541
"env": "SHOPIFY_HYDROGEN_FLAG_QUICKSTART",
45424542
"name": "quickstart",
45434543
"type": "boolean"
45444544
},
4545-
"routes": {
4546-
"allowNo": true,
4547-
"description": "Generate routes for all pages.",
4548-
"env": "SHOPIFY_HYDROGEN_FLAG_ROUTES",
4549-
"name": "routes",
4550-
"type": "boolean"
4551-
},
45524545
"shortcut": {
45534546
"allowNo": true,
45544547
"description": "Creates a global h2 shortcut for Shopify CLI using shell aliases. Deactivate with `--no-shortcut`.",

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@shopify/plugin-cloudflare": "3.91.0",
6565
"@shopify/plugin-did-you-mean": "3.91.0",
6666
"@shopify/theme": "3.91.0",
67-
"@shopify/cli-hydrogen": "11.1.5",
67+
"@shopify/cli-hydrogen": "11.1.10",
6868
"@types/global-agent": "3.0.0",
6969
"@vitest/coverage-istanbul": "^3.1.4",
7070
"esbuild-plugin-copy": "^2.1.1"

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)