@faststore/core 2.2.10 → 2.2.12

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 (43) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +5 -5
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/config.json +3 -3
  5. package/.next/cache/eslint/.cache_1gneedd +1 -1
  6. package/.next/cache/webpack/client-production/0.pack +0 -0
  7. package/.next/cache/webpack/client-production/index.pack +0 -0
  8. package/.next/cache/webpack/server-production/0.pack +0 -0
  9. package/.next/cache/webpack/server-production/index.pack +0 -0
  10. package/.next/prerender-manifest.json +1 -1
  11. package/.next/required-server-files.json +1 -1
  12. package/.next/routes-manifest.json +1 -1
  13. package/.next/server/chunks/979.js +2 -1
  14. package/.next/server/middleware-build-manifest.js +1 -1
  15. package/.next/server/pages/404.js.nft.json +1 -1
  16. package/.next/server/pages/500.js.nft.json +1 -1
  17. package/.next/server/pages/[...slug].js.nft.json +1 -1
  18. package/.next/server/pages/[slug]/p.js.nft.json +1 -1
  19. package/.next/server/pages/_app.js.nft.json +1 -1
  20. package/.next/server/pages/_error.js.nft.json +1 -1
  21. package/.next/server/pages/account.js.nft.json +1 -1
  22. package/.next/server/pages/checkout.js.nft.json +1 -1
  23. package/.next/server/pages/en-US/404.html +2 -2
  24. package/.next/server/pages/en-US/500.html +2 -2
  25. package/.next/server/pages/en-US/account.html +2 -2
  26. package/.next/server/pages/en-US/checkout.html +2 -2
  27. package/.next/server/pages/en-US/login.html +2 -2
  28. package/.next/server/pages/en-US/s.html +2 -2
  29. package/.next/server/pages/en-US.html +3 -3
  30. package/.next/server/pages/en-US.json +1 -1
  31. package/.next/server/pages/index.js.nft.json +1 -1
  32. package/.next/server/pages/login.js.nft.json +1 -1
  33. package/.next/server/pages/s.js.nft.json +1 -1
  34. package/.next/server/pages-manifest.json +5 -5
  35. package/.next/static/chunks/{783-e26f8f831db78ded.js → 783-864ba18fdcdc2649.js} +1 -1
  36. package/.next/static/{ztLSe4FT287QVm4KXs6gF → wnDMTkLZe_9NScXzDFYjI}/_buildManifest.js +1 -1
  37. package/.next/trace +77 -77
  38. package/.turbo/turbo-build.log +1 -1
  39. package/.turbo/turbo-test.log +10 -10
  40. package/package.json +3 -3
  41. package/src/components/ui/ProductShelf/ProductShelf.tsx +5 -1
  42. package/public/robots.txt +0 -5
  43. /package/.next/static/{ztLSe4FT287QVm4KXs6gF → wnDMTkLZe_9NScXzDFYjI}/_ssgManifest.js +0 -0
@@ -1,6 +1,6 @@
1
1
  $ yarn partytown & yarn generate && next build
2
- $ faststore generate-graphql -c
3
2
  $ partytown copylib ./public/~partytown
3
+ $ faststore generate-graphql -c
4
4
  Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
5
5
  success - GraphQL schema, types, and optimizations successfully generated 🎉
6
6
  warn - You have enabled experimental feature (scrollRestoration) in next.config.js.
@@ -1,25 +1,25 @@
1
1
  $ tsdx test
2
2
  ts-jest[versions] (WARN) Version 29.1.0 of jest installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=25.0.0 <26.0.0). Please do not report issues in ts-jest if you are using unsupported versions.
3
3
  ts-jest[versions] (WARN) Version 4.9.4 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=3.4.0 <4.0.0). Please do not report issues in ts-jest if you are using unsupported versions.
4
- PASS test/server/index.test.ts (6.237s)
4
+ PASS test/server/index.test.ts (11.654s)
5
5
  FastStore GraphQL Layer
6
6
  @faststore/api
7
- ✓ should return a valid GraphQL schema (5ms)
8
- ✓ should return a valid GraphQL schema contain all expected types (9ms)
9
- ✓ should return a valid GraphQL schema contain all expected queries (2ms)
7
+ ✓ should return a valid GraphQL schema (8ms)
8
+ ✓ should return a valid GraphQL schema contain all expected types (6ms)
9
+ ✓ should return a valid GraphQL schema contain all expected queries (3ms)
10
10
  ✓ should return a valid GraphQL schema contain all expected mutations (1ms)
11
11
  VTEX API Extension
12
- ✓ getTypeDefsFromFolder function should return an Array (6ms)
12
+ ✓ getTypeDefsFromFolder function should return an Array (18ms)
13
13
  Third Party API Extension
14
- ✓ getTypeDefsFromFolder function should return an Array (5ms)
14
+ ✓ getTypeDefsFromFolder function should return an Array (7ms)
15
15
  Final Schema after merging
16
- ✓ should return a valid merged GraphQL schema (26ms)
16
+ ✓ should return a valid merged GraphQL schema (46ms)
17
17
  Envelop
18
- ✓ should exist with its plugins (27ms)
19
- ✓ should handle options and execute (215ms)
18
+ ✓ should exist with its plugins (40ms)
19
+ ✓ should handle options and execute (161ms)
20
20
 
21
21
  Test Suites: 1 passed, 1 total
22
22
  Tests: 9 passed, 9 total
23
23
  Snapshots: 0 total
24
- Time: 6.671s
24
+ Time: 12.591s
25
25
  Ran all test suites.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "2.2.10",
3
+ "version": "2.2.12",
4
4
  "license": "MIT",
5
5
  "browserslist": "supports es6-module and not dead",
6
6
  "exports": {
@@ -80,7 +80,7 @@
80
80
  "devDependencies": {
81
81
  "@cypress/code-coverage": "^3.12.1",
82
82
  "@envelop/testing": "^6.0.0",
83
- "@faststore/cli": "^2.2.9",
83
+ "@faststore/cli": "^2.2.12",
84
84
  "@faststore/eslint-config": "^2.2.0",
85
85
  "@faststore/lighthouse": "^1.12.32",
86
86
  "@lhci/cli": "^0.9.0",
@@ -129,5 +129,5 @@
129
129
  "msw": {
130
130
  "workerDirectory": "public"
131
131
  },
132
- "gitHead": "a0774a2e911ebcdf167e0456b53ef0be84c58a99"
132
+ "gitHead": "65a601dcf517516259a7224c91fcfe4d107b8d9d"
133
133
  }
@@ -86,7 +86,11 @@ function ProductShelf({
86
86
  itemsPerPage={itemsPerPage}
87
87
  >
88
88
  <ProductShelfWrapper.Component {...ProductShelfWrapper.props}>
89
- <Carousel.Component id={titleId || id} {...Carousel.props}>
89
+ <Carousel.Component
90
+ id={titleId || id}
91
+ itemsPerPage={itemsPerPage}
92
+ {...Carousel.props}
93
+ >
90
94
  {productEdges.map((product, idx) => (
91
95
  <ProductCard.Component
92
96
  aspectRatio={aspectRatio}
package/public/robots.txt DELETED
@@ -1,5 +0,0 @@
1
- User-agent: *
2
- Allow: /
3
- Disallow: /checkout/*
4
- Sitemap: https://vtexfaststore.com/sitemap/sitemap-index.xml
5
- Host: https://vtexfaststore.com