@shopify/hydrogen-react 0.0.0-next-7c06fa2 → 0.0.0-next-3687f77
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE IS AUTO-GENERATED, DO NOT EDIT
|
|
3
3
|
* Based on Storefront API 2023-01
|
|
4
|
-
* If changes need to happen to the types defined in this file, then generally the Storefront API needs to update. After it's updated, you can run `
|
|
4
|
+
* If changes need to happen to the types defined in this file, then generally the Storefront API needs to update. After it's updated, you can run `npm run graphql-types`.
|
|
5
5
|
* Except custom Scalars, which are defined in the `codegen.ts` file
|
|
6
6
|
*/
|
|
7
7
|
/* eslint-disable */
|
|
@@ -5253,6 +5253,7 @@ export type PageEdge = {
|
|
|
5253
5253
|
/**
|
|
5254
5254
|
* Returns information about pagination in a connection, in accordance with the
|
|
5255
5255
|
* [Relay specification](https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo).
|
|
5256
|
+
* For more information, please read our [GraphQL Pagination Usage Guide](https://shopify.dev/api/usage/pagination-graphql).
|
|
5256
5257
|
*
|
|
5257
5258
|
*/
|
|
5258
5259
|
export type PageInfo = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopify/hydrogen-react",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-3687f77",
|
|
4
4
|
"description": "React components, hooks, and utilities for creating custom Shopify storefronts",
|
|
5
5
|
"homepage": "https://github.com/Shopify/hydrogen-react/tree/main/packages/react",
|
|
6
6
|
"license": "MIT",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"dist/*/node_modules/use-sync-external-store/shim/with-selector.*js"
|
|
70
70
|
],
|
|
71
71
|
"scripts": {
|
|
72
|
-
"build-docs": "sh ./docs/build-docs.sh &&
|
|
72
|
+
"build-docs": "sh ./docs/build-docs.sh && npm run format",
|
|
73
73
|
"clean-dist": "rimraf ./dist",
|
|
74
74
|
"dev": "run-s clean-dist dev:demo",
|
|
75
75
|
"dev:story": "ladle serve",
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
"build:tsc:es": "tsc --emitDeclarationOnly --project tsconfig.typeoutput.json",
|
|
89
89
|
"copy-storefront-types": "cpy ./src/storefront-api-types.d.ts ./dist/types/ --flat",
|
|
90
90
|
"format": "prettier --write \"{src,docs}/**/*\" --ignore-unknown",
|
|
91
|
-
"graphql-types": "graphql-codegen --config codegen.ts &&
|
|
91
|
+
"graphql-types": "graphql-codegen --config codegen.ts && npm run format",
|
|
92
92
|
"lint": "eslint --no-error-on-unmatched-pattern --ext .js,.ts,.jsx,.tsx src",
|
|
93
|
-
"prepack": "
|
|
93
|
+
"prepack": "npm run build",
|
|
94
94
|
"test": "vitest",
|
|
95
95
|
"test:ci": "vitest run --coverage",
|
|
96
96
|
"typecheck": "run-p typecheck:*",
|