Skip to content

Commit e0768c5

Browse files
Revert Hydrogen docs dependency update
1 parent 8739115 commit e0768c5

5 files changed

Lines changed: 50 additions & 25 deletions

File tree

docs-shopify.dev/generated/generated_docs_data_v2.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3442,7 +3442,7 @@
34423442
"syntaxKind": "PropertySignature",
34433443
"name": "--adapter <value>",
34443444
"value": "string",
3445-
"description": "React Router adapter used in the route. The default is `react-router`.",
3445+
"description": "Remix adapter used in the route. The default is `@shopify/remix-oxygen`.",
34463446
"isOptional": true,
34473447
"environmentValue": "SHOPIFY_HYDROGEN_FLAG_ADAPTER"
34483448
},
@@ -3483,7 +3483,7 @@
34833483
"environmentValue": "SHOPIFY_HYDROGEN_FLAG_FORCE"
34843484
}
34853485
],
3486-
"value": "export interface hydrogengenerateroute {\n /**\n * React Router adapter used in the route. The default is `react-router`.\n * @environment SHOPIFY_HYDROGEN_FLAG_ADAPTER\n */\n '--adapter <value>'?: string\n\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 * The param name in Remix routes for the i18n locale, if any. Example: `locale` becomes ($locale).\n * @environment SHOPIFY_HYDROGEN_FLAG_ADAPTER\n */\n '--locale-param <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 * Generate TypeScript files\n * @environment SHOPIFY_HYDROGEN_FLAG_TYPESCRIPT\n */\n '--typescript'?: ''\n}"
3486+
"value": "export interface hydrogengenerateroute {\n /**\n * Remix adapter used in the route. The default is `@shopify/remix-oxygen`.\n * @environment SHOPIFY_HYDROGEN_FLAG_ADAPTER\n */\n '--adapter <value>'?: string\n\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 * The param name in Remix routes for the i18n locale, if any. Example: `locale` becomes ($locale).\n * @environment SHOPIFY_HYDROGEN_FLAG_ADAPTER\n */\n '--locale-param <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 * Generate TypeScript files\n * @environment SHOPIFY_HYDROGEN_FLAG_TYPESCRIPT\n */\n '--typescript'?: ''\n}"
34873487
}
34883488
},
34893489
"hydrogengenerateroutes": {
@@ -3498,7 +3498,7 @@
34983498
"syntaxKind": "PropertySignature",
34993499
"name": "--adapter <value>",
35003500
"value": "string",
3501-
"description": "React Router adapter used in the route. The default is `react-router`.",
3501+
"description": "Remix adapter used in the route. The default is `@shopify/remix-oxygen`.",
35023502
"isOptional": true,
35033503
"environmentValue": "SHOPIFY_HYDROGEN_FLAG_ADAPTER"
35043504
},
@@ -3539,7 +3539,7 @@
35393539
"environmentValue": "SHOPIFY_HYDROGEN_FLAG_FORCE"
35403540
}
35413541
],
3542-
"value": "export interface hydrogengenerateroutes {\n /**\n * React Router adapter used in the route. The default is `react-router`.\n * @environment SHOPIFY_HYDROGEN_FLAG_ADAPTER\n */\n '--adapter <value>'?: string\n\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 * The param name in Remix routes for the i18n locale, if any. Example: `locale` becomes ($locale).\n * @environment SHOPIFY_HYDROGEN_FLAG_ADAPTER\n */\n '--locale-param <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 * Generate TypeScript files\n * @environment SHOPIFY_HYDROGEN_FLAG_TYPESCRIPT\n */\n '--typescript'?: ''\n}"
3542+
"value": "export interface hydrogengenerateroutes {\n /**\n * Remix adapter used in the route. The default is `@shopify/remix-oxygen`.\n * @environment SHOPIFY_HYDROGEN_FLAG_ADAPTER\n */\n '--adapter <value>'?: string\n\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 * The param name in Remix routes for the i18n locale, if any. Example: `locale` becomes ($locale).\n * @environment SHOPIFY_HYDROGEN_FLAG_ADAPTER\n */\n '--locale-param <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 * Generate TypeScript files\n * @environment SHOPIFY_HYDROGEN_FLAG_TYPESCRIPT\n */\n '--typescript'?: ''\n}"
35433543
}
35443544
},
35453545
"hydrogeninit": {

packages/cli/README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1516,14 +1516,15 @@ USAGE
15161516
[--typescript]
15171517
15181518
ARGUMENTS
1519-
ROUTENAME (home|page|cart|products|collections|policies|blogs|account|search|robots|sitemap|all) The route to
1520-
generate. One of home,page,cart,products,collections,policies,blogs,account,search,robots,sitemap,all.
1519+
ROUTENAME (home|page|cart|products|collections|policies|blogs|account|search|robots|sitemap|tokenlessApi|all) The
1520+
route to generate. One of
1521+
home,page,cart,products,collections,policies,blogs,account,search,robots,sitemap,tokenlessApi,all.
15211522
15221523
FLAGS
15231524
-f, --force [env: SHOPIFY_HYDROGEN_FLAG_FORCE] Overwrites the destination directory and files if they
15241525
already exist.
1525-
--adapter=<value> [env: SHOPIFY_HYDROGEN_FLAG_ADAPTER] React Router adapter used in the route. The default
1526-
is `react-router`.
1526+
--adapter=<value> [env: SHOPIFY_HYDROGEN_FLAG_ADAPTER] Remix adapter used in the route. The default is
1527+
`@shopify/remix-oxygen`.
15271528
--locale-param=<value> [env: SHOPIFY_HYDROGEN_FLAG_ADAPTER] The param name in Remix routes for the i18n locale,
15281529
if any. Example: `locale` becomes ($locale).
15291530
--path=<value> [env: SHOPIFY_HYDROGEN_FLAG_PATH] The path to the directory of the Hydrogen storefront.
@@ -1545,8 +1546,8 @@ USAGE
15451546
FLAGS
15461547
-f, --force [env: SHOPIFY_HYDROGEN_FLAG_FORCE] Overwrites the destination directory and files if they
15471548
already exist.
1548-
--adapter=<value> [env: SHOPIFY_HYDROGEN_FLAG_ADAPTER] React Router adapter used in the route. The default
1549-
is `react-router`.
1549+
--adapter=<value> [env: SHOPIFY_HYDROGEN_FLAG_ADAPTER] Remix adapter used in the route. The default is
1550+
`@shopify/remix-oxygen`.
15501551
--locale-param=<value> [env: SHOPIFY_HYDROGEN_FLAG_ADAPTER] The param name in Remix routes for the i18n locale,
15511552
if any. Example: `locale` becomes ($locale).
15521553
--path=<value> [env: SHOPIFY_HYDROGEN_FLAG_PATH] The path to the directory of the Hydrogen storefront.

packages/cli/oclif.manifest.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4361,7 +4361,7 @@
43614361
],
43624362
"args": {
43634363
"routeName": {
4364-
"description": "The route to generate. One of home,page,cart,products,collections,policies,blogs,account,search,robots,sitemap,all.",
4364+
"description": "The route to generate. One of home,page,cart,products,collections,policies,blogs,account,search,robots,sitemap,tokenlessApi,all.",
43654365
"name": "routeName",
43664366
"options": [
43674367
"home",
@@ -4375,6 +4375,7 @@
43754375
"search",
43764376
"robots",
43774377
"sitemap",
4378+
"tokenlessApi",
43784379
"all"
43794380
],
43804381
"required": true
@@ -4386,7 +4387,7 @@
43864387
"enableJsonFlag": false,
43874388
"flags": {
43884389
"adapter": {
4389-
"description": "React Router adapter used in the route. The default is `react-router`.",
4390+
"description": "Remix adapter used in the route. The default is `@shopify/remix-oxygen`.",
43904391
"env": "SHOPIFY_HYDROGEN_FLAG_ADAPTER",
43914392
"hasDynamicHelp": false,
43924393
"multiple": false,
@@ -4444,7 +4445,7 @@
44444445
"enableJsonFlag": false,
44454446
"flags": {
44464447
"adapter": {
4447-
"description": "React Router adapter used in the route. The default is `react-router`.",
4448+
"description": "Remix adapter used in the route. The default is `@shopify/remix-oxygen`.",
44484449
"env": "SHOPIFY_HYDROGEN_FLAG_ADAPTER",
44494450
"hasDynamicHelp": false,
44504451
"multiple": false,

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.1.0",
6767
"@shopify/plugin-did-you-mean": "4.1.0",
6868
"@shopify/theme": "4.1.0",
69-
"@shopify/cli-hydrogen": "11.1.16",
69+
"@shopify/cli-hydrogen": "11.1.10",
7070
"@types/global-agent": "3.0.0",
7171
"@vitest/coverage-istanbul": "^3.2.6",
7272
"esbuild-plugin-copy": "^2.1.1"

pnpm-lock.yaml

Lines changed: 34 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)