@shopify/cli-hydrogen 5.2.0 → 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.
Files changed (33) hide show
  1. package/dist/commands/hydrogen/dev.js +1 -2
  2. package/dist/commands/hydrogen/generate/route.test.js +0 -1
  3. package/dist/commands/hydrogen/init.js +3 -3
  4. package/dist/commands/hydrogen/preview.js +1 -2
  5. package/dist/generator-templates/starter/app/entry.server.tsx +9 -1
  6. package/dist/generator-templates/starter/app/root.tsx +9 -6
  7. package/dist/generator-templates/starter/app/routes/blogs._index.tsx +1 -1
  8. package/dist/generator-templates/starter/app/routes/collections.$handle.tsx +1 -1
  9. package/dist/generator-templates/starter/package.json +5 -5
  10. package/dist/generator-templates/starter/storefrontapi.generated.d.ts +2 -2
  11. package/dist/generator-templates/starter/tsconfig.json +1 -0
  12. package/dist/lib/file.js +1 -1
  13. package/dist/lib/flags.js +3 -3
  14. package/dist/lib/format-code.js +4 -4
  15. package/dist/lib/graphql/admin/client.js +18 -0
  16. package/dist/lib/graphql/admin/client.test.js +28 -3
  17. package/dist/lib/mini-oxygen.js +1 -0
  18. package/dist/lib/setups/css/index.js +4 -2
  19. package/dist/lib/setups/routes/generate.js +11 -28
  20. package/dist/lib/setups/routes/generate.test.js +1 -3
  21. package/dist/lib/transpile-ts.js +4 -3
  22. package/dist/virtual-routes/components/HydrogenLogoBaseBW.jsx +22 -19
  23. package/dist/virtual-routes/components/HydrogenLogoBaseColor.jsx +37 -33
  24. package/dist/virtual-routes/components/IconBanner.jsx +282 -279
  25. package/dist/virtual-routes/components/IconDiscord.jsx +11 -10
  26. package/dist/virtual-routes/components/IconError.jsx +51 -48
  27. package/dist/virtual-routes/components/IconGithub.jsx +13 -12
  28. package/dist/virtual-routes/components/IconTwitter.jsx +11 -10
  29. package/dist/virtual-routes/components/Layout.jsx +2 -1
  30. package/dist/virtual-routes/routes/index.jsx +194 -105
  31. package/dist/virtual-routes/virtual-root.jsx +62 -8
  32. package/oclif.manifest.json +3 -3
  33. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.2.0",
2
+ "version": "5.2.2",
3
3
  "commands": {
4
4
  "hydrogen:build": {
5
5
  "id": "hydrogen:build",
@@ -266,7 +266,7 @@
266
266
  "styling": {
267
267
  "name": "styling",
268
268
  "type": "option",
269
- "description": "Sets the styling strategy to use. One of `tailwind`, `css-modules`, `vanilla-extract`, `postcss`.",
269
+ "description": "Sets the styling strategy to use. One of `tailwind`, `css-modules`, `vanilla-extract`, `postcss`, `none`.",
270
270
  "multiple": false
271
271
  },
272
272
  "markets": {
@@ -439,7 +439,7 @@
439
439
  "styling": {
440
440
  "name": "styling",
441
441
  "type": "option",
442
- "description": "Sets the styling strategy to use. One of `tailwind`, `css-modules`, `vanilla-extract`, `postcss`.",
442
+ "description": "Sets the styling strategy to use. One of `tailwind`, `css-modules`, `vanilla-extract`, `postcss`, `none`.",
443
443
  "multiple": false
444
444
  },
445
445
  "markets": {
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.0",
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.2",
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.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",
@@ -48,7 +48,7 @@
48
48
  "prettier": "^2.8.4",
49
49
  "recursive-readdir": "^2.2.3",
50
50
  "tar-fs": "^2.1.1",
51
- "typescript": "^4.9.5"
51
+ "typescript": "^5.2.2"
52
52
  },
53
53
  "bin": "dist/create-app.js",
54
54
  "exports": {