@faststore/core 3.0.47 → 3.0.48

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 (44) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +2 -2
  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/next-minimal-server.js.nft.json +1 -1
  11. package/.next/next-server.js.nft.json +1 -1
  12. package/.next/prerender-manifest.js +1 -1
  13. package/.next/prerender-manifest.json +1 -1
  14. package/.next/routes-manifest.json +1 -1
  15. package/.next/server/app/_not-found.html +1 -1
  16. package/.next/server/app/_not-found.rsc +1 -1
  17. package/.next/server/app/fs-next-update.html +1 -1
  18. package/.next/server/app/fs-next-update.rsc +1 -1
  19. package/.next/server/chunks/9239.js +1 -1
  20. package/.next/server/middleware-build-manifest.js +1 -1
  21. package/.next/server/pages/404.html +1 -1
  22. package/.next/server/pages/api/graphql.js +1 -1
  23. package/.next/server/pages/en-US/404.html +2 -2
  24. package/.next/server/pages/en-US/404.json +1 -1
  25. package/.next/server/pages/en-US/500.html +2 -2
  26. package/.next/server/pages/en-US/500.json +1 -1
  27. package/.next/server/pages/en-US/account.html +2 -2
  28. package/.next/server/pages/en-US/account.json +1 -1
  29. package/.next/server/pages/en-US/checkout.html +2 -2
  30. package/.next/server/pages/en-US/checkout.json +1 -1
  31. package/.next/server/pages/en-US/login.html +2 -2
  32. package/.next/server/pages/en-US/login.json +1 -1
  33. package/.next/server/pages/en-US/s.html +2 -2
  34. package/.next/server/pages/en-US/s.json +1 -1
  35. package/.next/server/pages/en-US.html +3 -3
  36. package/.next/server/pages/en-US.json +1 -1
  37. package/.next/server/pages-manifest.json +1 -1
  38. package/.next/trace +113 -113
  39. package/.turbo/turbo-build.log +15 -1
  40. package/.turbo/turbo-test.log +9 -9
  41. package/package.json +2 -2
  42. package/src/components/cart/CartItem/CartItem.tsx +1 -1
  43. /package/.next/static/{ieYDvu46hXTqDayv0izz5 → S-n12r3ICzmxSZIG0sqmF}/_buildManifest.js +0 -0
  44. /package/.next/static/{ieYDvu46hXTqDayv0izz5 → S-n12r3ICzmxSZIG0sqmF}/_ssgManifest.js +0 -0
@@ -1,6 +1,6 @@
1
1
  $ yarn partytown & yarn generate && next build
2
- $ partytown copylib ./public/~partytown
3
2
  $ faststore generate-graphql -c
3
+ $ partytown copylib ./public/~partytown
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
  ⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
@@ -26,9 +26,23 @@ Browserslist: caniuse-lite is outdated. Please run:
26
26
  Collecting page data ...
27
27
  Generating static pages (0/9) ...
28
28
 
29
29
  Generating static pages (2/9)
30
+ warn - AlertWithImage not found. Add a new component for this section or remove it from the CMS
31
+ warn - CustomIconsAlert not found. Add a new component for this section or remove it from the CMS
32
+ warn - AlertWithImage not found. Add a new component for this section or remove it from the CMS
33
+ warn - CustomIconsAlert not found. Add a new component for this section or remove it from the CMS
34
+ warn - AlertWithImage not found. Add a new component for this section or remove it from the CMS
35
+ warn - CustomIconsAlert not found. Add a new component for this section or remove it from the CMS
30
36
 
31
37
  Generating static pages (4/9)
38
+ warn - AlertWithImage not found. Add a new component for this section or remove it from the CMS
39
+ warn - CustomIconsAlert not found. Add a new component for this section or remove it from the CMS
32
40
  Warning: Dynamic Content not found for the page: home. Refer to the Dynamic Content documentation at https://developers.vtex.com/docs/guides/faststore/dynamic-content-overview for mapping the page and the corresponding data-fetching function.
41
+ warn - AlertWithImage not found. Add a new component for this section or remove it from the CMS
42
+ warn - CustomIconsAlert not found. Add a new component for this section or remove it from the CMS
33
43
 
34
44
  Generating static pages (6/9)
45
+ warn - AlertWithImage not found. Add a new component for this section or remove it from the CMS
46
+ warn - CustomIconsAlert not found. Add a new component for this section or remove it from the CMS
47
+ warn - AlertWithImage not found. Add a new component for this section or remove it from the CMS
48
+ warn - CustomIconsAlert not found. Add a new component for this section or remove it from the CMS
35
49
 
36
50
  ✓ Generating static pages (9/9)
37
51
  Finalizing page optimization ...
38
52
  Collecting build traces ...
@@ -1,23 +1,23 @@
1
1
  $ jest
2
- PASS test/server/index.test.ts (27.469 s)
2
+ PASS test/server/index.test.ts (26.656 s)
3
3
  FastStore GraphQL Layer
4
4
  @faststore/api
5
- ✓ should return a valid GraphQL schema (13 ms)
6
- ✓ should return a valid GraphQL schema contain all expected types (19 ms)
7
- ✓ should return a valid GraphQL schema contain all expected queries (2 ms)
5
+ ✓ should return a valid GraphQL schema (9 ms)
6
+ ✓ should return a valid GraphQL schema contain all expected types (27 ms)
7
+ ✓ should return a valid GraphQL schema contain all expected queries (1 ms)
8
8
  ✓ should return a valid GraphQL schema contain all expected mutations (1 ms)
9
9
  VTEX API Extension
10
- ✓ getTypeDefsFromFolder function should return an Array (11 ms)
10
+ ✓ getTypeDefsFromFolder function should return an Array (12 ms)
11
11
  Third Party API Extension
12
12
  ✓ getTypeDefsFromFolder function should return an Array (9 ms)
13
13
  Final Schema after merging
14
- ✓ should return a valid merged GraphQL schema (47 ms)
14
+ ✓ should return a valid merged GraphQL schema (42 ms)
15
15
  Envelop
16
- ✓ should exist with its plugins (54 ms)
17
- ✓ should handle options and execute (706 ms)
16
+ ✓ should exist with its plugins (60 ms)
17
+ ✓ should handle options and execute (207 ms)
18
18
 
19
19
  Test Suites: 1 passed, 1 total
20
20
  Tests: 9 passed, 9 total
21
21
  Snapshots: 0 total
22
- Time: 27.645 s
22
+ Time: 26.762 s
23
23
  Ran all test suites.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "3.0.47",
3
+ "version": "3.0.48",
4
4
  "license": "MIT",
5
5
  "repository": "vtex/faststore",
6
6
  "browserslist": "supports es6-module and not dead",
@@ -124,5 +124,5 @@
124
124
  "node": "18.19.0",
125
125
  "yarn": "1.19.1"
126
126
  },
127
- "gitHead": "bdb7b6cc92d39717ab8f583586859f5d34b85f16"
127
+ "gitHead": "b9f3d0a140309be1a31e17a15890403bc6f5ea36"
128
128
  }
@@ -62,7 +62,7 @@ function useCartItemEvent() {
62
62
 
63
63
  interface Props {
64
64
  item: ICartItem
65
- useUnitMultiplier: boolean
65
+ useUnitMultiplier?: boolean
66
66
  }
67
67
 
68
68
  function CartItem({ item, useUnitMultiplier = false }: Props) {