@shopify/hydrogen-react 0.0.0-next-e209d6b → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/hydrogen-react",
3
- "version": "0.0.0-next-e209d6b",
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 && yarn format",
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 && yarn format",
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": "yarn build",
93
+ "prepack": "npm run build",
94
94
  "test": "vitest",
95
95
  "test:ci": "vitest run --coverage",
96
96
  "typecheck": "run-p typecheck:*",
@@ -99,37 +99,37 @@
99
99
  },
100
100
  "devDependencies": {
101
101
  "@faker-js/faker": "^7.6.0",
102
- "@graphql-codegen/add": "^3.2.3",
103
- "@graphql-codegen/cli": "^2.16.4",
104
- "@graphql-codegen/introspection": "2.2.3",
105
- "@graphql-codegen/typescript": "^2.8.7",
106
- "@ladle/react": "^2.4.5",
107
- "@shopify/generate-docs": "^0.8.4",
102
+ "@graphql-codegen/add": "^4.0.1",
103
+ "@graphql-codegen/cli": "^3.2.1",
104
+ "@graphql-codegen/introspection": "3.0.1",
105
+ "@graphql-codegen/typescript": "^3.0.1",
106
+ "@ladle/react": "^2.9.0",
107
+ "@shopify/generate-docs": "^0.8.10",
108
108
  "@testing-library/jest-dom": "^5.16.5",
109
- "@testing-library/react": "^13.4.0",
109
+ "@testing-library/react": "^14.0.0",
110
110
  "@testing-library/user-event": "^14.4.3",
111
- "@types/jest": "^29.2.5",
112
- "@vitejs/plugin-react": "^3.0.1",
113
- "@vitest/coverage-c8": "^0.27.1",
114
- "c8": "^7.12.0",
115
- "eslint": "^8.31.0",
111
+ "@types/jest": "^29.4.0",
112
+ "@vitejs/plugin-react": "^3.1.0",
113
+ "@vitest/coverage-c8": "^0.28.5",
114
+ "c8": "^7.13.0",
115
+ "eslint": "^8.34.0",
116
116
  "eslint-plugin-hydrogen": "^0.12.3",
117
- "eslint-plugin-import": "^2.27.4",
117
+ "eslint-plugin-import": "^2.27.5",
118
118
  "eslint-plugin-jest": "^27.2.1",
119
119
  "eslint-plugin-node": "^11.1.0",
120
120
  "eslint-plugin-prettier": "^4.2.1",
121
- "eslint-plugin-react": "^7.32.0",
121
+ "eslint-plugin-react": "^7.32.2",
122
122
  "eslint-plugin-react-hooks": "^4.2.0",
123
123
  "eslint-plugin-simple-import-sort": "^10.0.0",
124
124
  "eslint-plugin-tsdoc": "^0.2.14",
125
- "happy-dom": "8.1.4",
125
+ "happy-dom": "8.7.2",
126
126
  "react": "^18.0.0",
127
127
  "react-dom": "^18.0.0",
128
- "rimraf": "^3.0.2",
128
+ "rimraf": "^4.1.2",
129
129
  "ts-expect": "^1.3.0",
130
- "typescript": "^4.9.4",
131
- "vite": "^4.0.4",
132
- "vitest": "^0.27.1"
130
+ "typescript": "^4.9.5",
131
+ "vite": "^4.1.4",
132
+ "vitest": "^0.28.5"
133
133
  },
134
134
  "peerDependencies": {
135
135
  "react": "^18.0.0",
@@ -138,9 +138,9 @@
138
138
  "dependencies": {
139
139
  "@google/model-viewer": "^1.12.1",
140
140
  "@xstate/fsm": "^2.0.0",
141
- "@xstate/react": "^3.0.1",
141
+ "@xstate/react": "^3.2.1",
142
142
  "graphql": "^16.6.0",
143
- "type-fest": "^3.5.1",
143
+ "type-fest": "^3.6.0",
144
144
  "worktop": "^0.7.3"
145
145
  },
146
146
  "repository": {