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
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,11 @@ export interface hydrogeninit {
'--path <value>'?: string

/**
* 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`
* 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`
* @environment SHOPIFY_HYDROGEN_FLAG_QUICKSTART
*/
'--quickstart'?: ''

/**
* Generate routes for all pages.
* @environment SHOPIFY_HYDROGEN_FLAG_ROUTES
*/
'--routes'?: ''

/**
* Creates a global h2 shortcut for Shopify CLI using shell aliases. Deactivate with `--no-shortcut`.
* @environment SHOPIFY_HYDROGEN_FLAG_SHORTCUT
Expand Down
13 changes: 2 additions & 11 deletions docs-shopify.dev/generated/generated_docs_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -4789,19 +4789,10 @@
"syntaxKind": "PropertySignature",
"name": "--quickstart",
"value": "\"\"",
"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`",
"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`",
"isOptional": true,
"environmentValue": "SHOPIFY_HYDROGEN_FLAG_QUICKSTART"
},
{
"filePath": "docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts",
"syntaxKind": "PropertySignature",
"name": "--routes",
"value": "\"\"",
"description": "Generate routes for all pages.",
"isOptional": true,
"environmentValue": "SHOPIFY_HYDROGEN_FLAG_ROUTES"
},
{
"filePath": "docs-shopify.dev/commands/interfaces/hydrogen-init.interface.ts",
"syntaxKind": "PropertySignature",
Expand Down Expand Up @@ -4839,7 +4830,7 @@
"environmentValue": "SHOPIFY_HYDROGEN_FLAG_FORCE"
}
],
"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}"
"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}"
}
}
}
Expand Down
5 changes: 2 additions & 3 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ Creates a new Hydrogen storefront.
```
USAGE
$ shopify hydrogen init [-f] [--git] [--install-deps] [--language <value>] [--markets <value>] [--mock-shop]
[--path <value>] [--quickstart] [--routes] [--shortcut] [--styling <value>] [--template <value>]
[--path <value>] [--quickstart] [--shortcut] [--styling <value>] [--template <value>]

FLAGS
-f, --force [env: SHOPIFY_HYDROGEN_FLAG_FORCE] Overwrites the destination directory and files if they
Expand All @@ -1497,8 +1497,7 @@ FLAGS
--path=<value> [env: SHOPIFY_HYDROGEN_FLAG_PATH] The path to the directory of the new Hydrogen storefront.
--quickstart [env: SHOPIFY_HYDROGEN_FLAG_QUICKSTART] 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`
--[no-]routes [env: SHOPIFY_HYDROGEN_FLAG_ROUTES] Generate routes for all pages.
--mock-shop --language js --shortcut --markets none`
--[no-]shortcut [env: SHOPIFY_HYDROGEN_FLAG_SHORTCUT] Creates a global h2 shortcut for Shopify CLI using
shell aliases. Deactivate with `--no-shortcut`.
--styling=<value> [env: SHOPIFY_HYDROGEN_FLAG_STYLING] Sets the styling strategy to use. One of `tailwind`,
Expand Down
9 changes: 1 addition & 8 deletions packages/cli/oclif.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4537,18 +4537,11 @@
},
"quickstart": {
"allowNo": false,
"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`",
"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`",
"env": "SHOPIFY_HYDROGEN_FLAG_QUICKSTART",
"name": "quickstart",
"type": "boolean"
},
"routes": {
"allowNo": true,
"description": "Generate routes for all pages.",
"env": "SHOPIFY_HYDROGEN_FLAG_ROUTES",
"name": "routes",
"type": "boolean"
},
"shortcut": {
"allowNo": true,
"description": "Creates a global h2 shortcut for Shopify CLI using shell aliases. Deactivate with `--no-shortcut`.",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@shopify/plugin-cloudflare": "3.91.0",
"@shopify/plugin-did-you-mean": "3.91.0",
"@shopify/theme": "3.91.0",
"@shopify/cli-hydrogen": "11.1.5",
"@shopify/cli-hydrogen": "11.1.10",
"@types/global-agent": "3.0.0",
"@vitest/coverage-istanbul": "^3.1.4",
"esbuild-plugin-copy": "^2.1.1"
Expand Down
27 changes: 14 additions & 13 deletions pnpm-lock.yaml

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

Loading