@faststore/core 3.0.42 → 3.0.43

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 +13 -13
  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/react-loadable-manifest.json +1 -1
  15. package/.next/routes-manifest.json +1 -1
  16. package/.next/server/chunks/96.js +1 -1
  17. package/.next/server/functions-config-manifest.json +1 -1
  18. package/.next/server/middleware-build-manifest.js +1 -1
  19. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  20. package/.next/server/pages/en-US/404.html +2 -2
  21. package/.next/server/pages/en-US/404.json +1 -1
  22. package/.next/server/pages/en-US/500.html +2 -2
  23. package/.next/server/pages/en-US/500.json +1 -1
  24. package/.next/server/pages/en-US/account.html +2 -2
  25. package/.next/server/pages/en-US/account.json +1 -1
  26. package/.next/server/pages/en-US/checkout.html +2 -2
  27. package/.next/server/pages/en-US/checkout.json +1 -1
  28. package/.next/server/pages/en-US/login.html +2 -2
  29. package/.next/server/pages/en-US/login.json +1 -1
  30. package/.next/server/pages/en-US/s.html +2 -2
  31. package/.next/server/pages/en-US/s.json +1 -1
  32. package/.next/server/pages/en-US.html +2 -2
  33. package/.next/server/pages/en-US.json +1 -1
  34. package/.next/server/pages-manifest.json +1 -1
  35. package/.next/static/chunks/{758.b53ee01b506973e0.js → 758.3ca049c36b5ddd7d.js} +1 -1
  36. package/.next/static/chunks/{webpack-b4a2fdf4ef127bb7.js → webpack-7dac2f602bb86d64.js} +1 -1
  37. package/.next/trace +91 -91
  38. package/.turbo/turbo-build.log +2 -2
  39. package/.turbo/turbo-test.log +7 -7
  40. package/package.json +9 -9
  41. package/src/components/product/ProductGrid/ProductGrid.tsx +1 -0
  42. /package/.next/static/{Z2oxDIl0yHmJzte2ZSGD9 → E-bEi7USPfUf8xGUhVYN_}/_buildManifest.js +0 -0
  43. /package/.next/static/{Z2oxDIl0yHmJzte2ZSGD9 → E-bEi7USPfUf8xGUhVYN_}/_ssgManifest.js +0 -0
@@ -1,7 +1,7 @@
1
1
  $ yarn partytown & yarn generate && next build
2
+ $ faststore generate-graphql -c
2
3
  $ partytown copylib ./public/~partytown
3
4
  Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
4
- $ faststore generate-graphql -c
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
7
7
  Attention: Next.js now collects completely anonymous telemetry regarding usage.
@@ -54,7 +54,7 @@ Route (pages) Size First Load JS
54
54
  ├ chunks/framework-8e279965036b6169.js 45.4 kB
55
55
  ├ chunks/main-6f63f6746cc029db.js 33.1 kB
56
56
  ├ chunks/pages/_app-ec0d2e833bd9cea0.js 12.6 kB
57
- ├ chunks/webpack-b4a2fdf4ef127bb7.js 2.45 kB
57
+ ├ chunks/webpack-7dac2f602bb86d64.js 2.45 kB
58
58
  └ css/5d1f64b61ea581f4.css 3.05 kB
59
59
 
60
60
  λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
@@ -1,23 +1,23 @@
1
1
  $ jest
2
- PASS test/server/index.test.ts (26.559 s)
2
+ PASS test/server/index.test.ts (26.133 s)
3
3
  FastStore GraphQL Layer
4
4
  @faststore/api
5
5
  ✓ should return a valid GraphQL schema (8 ms)
6
- ✓ should return a valid GraphQL schema contain all expected types (12 ms)
6
+ ✓ should return a valid GraphQL schema contain all expected types (13 ms)
7
7
  ✓ should return a valid GraphQL schema contain all expected queries (1 ms)
8
- ✓ should return a valid GraphQL schema contain all expected mutations
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 (7 ms)
10
+ ✓ getTypeDefsFromFolder function should return an Array (9 ms)
11
11
  Third Party API Extension
12
12
  ✓ getTypeDefsFromFolder function should return an Array (5 ms)
13
13
  Final Schema after merging
14
- ✓ should return a valid merged GraphQL schema (43 ms)
14
+ ✓ should return a valid merged GraphQL schema (40 ms)
15
15
  Envelop
16
16
  ✓ should exist with its plugins (47 ms)
17
- ✓ should handle options and execute (281 ms)
17
+ ✓ should handle options and execute (185 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: 26.676 s
22
+ Time: 26.276 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.42",
3
+ "version": "3.0.43",
4
4
  "license": "MIT",
5
5
  "repository": "vtex/faststore",
6
6
  "browserslist": "supports es6-module and not dead",
@@ -39,11 +39,11 @@
39
39
  "@envelop/graphql-jit": "^1.1.1",
40
40
  "@envelop/parser-cache": "^2.2.0",
41
41
  "@envelop/validation-cache": "^2.2.0",
42
- "@faststore/api": "^3.0.40",
43
- "@faststore/components": "^3.0.40",
44
- "@faststore/graphql-utils": "^3.0.40",
45
- "@faststore/sdk": "^3.0.40",
46
- "@faststore/ui": "^3.0.40",
42
+ "@faststore/api": "^3.0.43",
43
+ "@faststore/components": "^3.0.43",
44
+ "@faststore/graphql-utils": "^3.0.43",
45
+ "@faststore/sdk": "^3.0.43",
46
+ "@faststore/ui": "^3.0.43",
47
47
  "@graphql-codegen/cli": "^3.3.1",
48
48
  "@graphql-codegen/client-preset": "^4.1.0",
49
49
  "@graphql-codegen/typescript": "^3.0.4",
@@ -82,8 +82,8 @@
82
82
  "devDependencies": {
83
83
  "@cypress/code-coverage": "^3.12.1",
84
84
  "@envelop/testing": "^6.0.0",
85
- "@faststore/cli": "^3.0.40",
86
- "@faststore/eslint-config": "^3.0.40",
85
+ "@faststore/cli": "^3.0.43",
86
+ "@faststore/eslint-config": "^3.0.43",
87
87
  "@faststore/lighthouse": "^1.12.32",
88
88
  "@lhci/cli": "^0.9.0",
89
89
  "@testing-library/cypress": "^10.0.1",
@@ -124,5 +124,5 @@
124
124
  "node": "18.19.0",
125
125
  "yarn": "1.19.1"
126
126
  },
127
- "gitHead": "ab36e473922f5f7534c7efbeb3ee599816e6e0af"
127
+ "gitHead": "79c8f515cc9eeaac288354f4bc40c339ee124ef7"
128
128
  }
@@ -49,6 +49,7 @@ function ProductGrid({
49
49
  width: 150,
50
50
  height: 150,
51
51
  sizes: '30vw',
52
+ loading: idx === 0 ? 'eager' : 'lazy',
52
53
  }}
53
54
  {...ProductCard.props}
54
55
  bordered={bordered ?? ProductCard.props.bordered}