@shopify/cli-hydrogen 5.2.1 → 5.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generator-templates/starter/app/routes/collections.$handle.tsx +1 -1
- package/dist/generator-templates/starter/package.json +2 -2
- package/dist/generator-templates/starter/storefrontapi.generated.d.ts +2 -2
- package/dist/lib/mini-oxygen.js +1 -0
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@remix-run/react": "1.19.1",
|
|
17
17
|
"@shopify/cli": "3.48.0",
|
|
18
|
-
"@shopify/cli-hydrogen": "^5.2.
|
|
19
|
-
"@shopify/hydrogen": "^2023.7.
|
|
18
|
+
"@shopify/cli-hydrogen": "^5.2.2",
|
|
19
|
+
"@shopify/hydrogen": "^2023.7.6",
|
|
20
20
|
"@shopify/remix-oxygen": "^1.1.3",
|
|
21
21
|
"graphql": "^16.6.0",
|
|
22
22
|
"graphql-tag": "^2.12.6",
|
|
@@ -1227,7 +1227,7 @@ export type CollectionQuery = {
|
|
|
1227
1227
|
>;
|
|
1228
1228
|
pageInfo: Pick<
|
|
1229
1229
|
StorefrontAPI.PageInfo,
|
|
1230
|
-
'hasPreviousPage' | 'hasNextPage' | 'endCursor'
|
|
1230
|
+
'hasPreviousPage' | 'hasNextPage' | 'endCursor' | 'startCursor'
|
|
1231
1231
|
>;
|
|
1232
1232
|
};
|
|
1233
1233
|
}
|
|
@@ -1819,7 +1819,7 @@ interface GeneratedQueryTypes {
|
|
|
1819
1819
|
return: BlogsQuery;
|
|
1820
1820
|
variables: BlogsQueryVariables;
|
|
1821
1821
|
};
|
|
1822
|
-
'#graphql\n #graphql\n fragment MoneyProductItem on MoneyV2 {\n amount\n currencyCode\n }\n fragment ProductItem on Product {\n id\n handle\n title\n featuredImage {\n id\n altText\n url\n width\n height\n }\n priceRange {\n minVariantPrice {\n ...MoneyProductItem\n }\n maxVariantPrice {\n ...MoneyProductItem\n }\n }\n variants(first: 1) {\n nodes {\n selectedOptions {\n name\n value\n }\n }\n }\n }\n\n query Collection(\n $handle: String!\n $country: CountryCode\n $language: LanguageCode\n $first: Int\n $last: Int\n $startCursor: String\n $endCursor: String\n ) @inContext(country: $country, language: $language) {\n collection(handle: $handle) {\n id\n handle\n title\n description\n products(\n first: $first,\n last: $last,\n before: $startCursor,\n after: $endCursor\n ) {\n nodes {\n ...ProductItem\n }\n pageInfo {\n hasPreviousPage\n hasNextPage\n
|
|
1822
|
+
'#graphql\n #graphql\n fragment MoneyProductItem on MoneyV2 {\n amount\n currencyCode\n }\n fragment ProductItem on Product {\n id\n handle\n title\n featuredImage {\n id\n altText\n url\n width\n height\n }\n priceRange {\n minVariantPrice {\n ...MoneyProductItem\n }\n maxVariantPrice {\n ...MoneyProductItem\n }\n }\n variants(first: 1) {\n nodes {\n selectedOptions {\n name\n value\n }\n }\n }\n }\n\n query Collection(\n $handle: String!\n $country: CountryCode\n $language: LanguageCode\n $first: Int\n $last: Int\n $startCursor: String\n $endCursor: String\n ) @inContext(country: $country, language: $language) {\n collection(handle: $handle) {\n id\n handle\n title\n description\n products(\n first: $first,\n last: $last,\n before: $startCursor,\n after: $endCursor\n ) {\n nodes {\n ...ProductItem\n }\n pageInfo {\n hasPreviousPage\n hasNextPage\n endCursor\n startCursor\n }\n }\n }\n }\n': {
|
|
1823
1823
|
return: CollectionQuery;
|
|
1824
1824
|
variables: CollectionQueryVariables;
|
|
1825
1825
|
};
|
package/dist/lib/mini-oxygen.js
CHANGED
|
@@ -18,6 +18,7 @@ async function startMiniOxygen({
|
|
|
18
18
|
const dotenvPath = resolvePath(root, ".env");
|
|
19
19
|
const miniOxygen = await startServer({
|
|
20
20
|
script: await readFile(buildPathWorkerFile),
|
|
21
|
+
workerFile: buildPathWorkerFile,
|
|
21
22
|
assetsDir: buildPathClient,
|
|
22
23
|
publicPath: "",
|
|
23
24
|
port,
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public",
|
|
5
5
|
"@shopify:registry": "https://registry.npmjs.org"
|
|
6
6
|
},
|
|
7
|
-
"version": "5.2.
|
|
7
|
+
"version": "5.2.2",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"scripts": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@remix-run/react": "1.19.1",
|
|
31
|
-
"@shopify/hydrogen-react": "^2023.7.
|
|
31
|
+
"@shopify/hydrogen-react": "^2023.7.4",
|
|
32
32
|
"@shopify/remix-oxygen": "^1.1.3"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@remix-run/dev": "1.19.1",
|
|
39
39
|
"@shopify/cli-kit": "3.48.0",
|
|
40
40
|
"@shopify/hydrogen-codegen": "^0.0.2",
|
|
41
|
-
"@shopify/mini-oxygen": "^2.1
|
|
41
|
+
"@shopify/mini-oxygen": "^2.2.1",
|
|
42
42
|
"ansi-escapes": "^6.2.0",
|
|
43
43
|
"diff": "^5.1.0",
|
|
44
44
|
"fast-glob": "^3.2.12",
|