@faststore/core 3.0.108 → 3.0.110

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 (35) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  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/chunks/350.js +1 -1
  16. package/.next/server/chunks/933.js +1 -1
  17. package/.next/server/middleware-build-manifest.js +1 -1
  18. package/.next/server/pages/api/graphql.js +1 -1
  19. package/.next/server/pages/en-US/404.html +2 -2
  20. package/.next/server/pages/en-US/500.html +2 -2
  21. package/.next/server/pages/en-US/account.html +2 -2
  22. package/.next/server/pages/en-US/checkout.html +2 -2
  23. package/.next/server/pages/en-US/login.html +2 -2
  24. package/.next/server/pages/en-US/s.html +2 -2
  25. package/.next/server/pages/en-US.html +2 -2
  26. package/.next/server/pages-manifest.json +1 -1
  27. package/.next/static/chunks/pages/{_app-8adad0ff3ff11810.js → _app-aeb8a1c6bff23375.js} +1 -1
  28. package/.next/trace +95 -95
  29. package/.turbo/turbo-build.log +2 -7
  30. package/.turbo/turbo-lint.log +1 -5
  31. package/.turbo/turbo-test.log +4 -4
  32. package/package.json +9 -9
  33. package/src/sdk/analytics/hooks/usePageViewEvent.ts +1 -1
  34. /package/.next/static/{AQludCvB2MWgdqYw5C2Np → H5K8q90rkY6ZN9z-hpcSd}/_buildManifest.js +0 -0
  35. /package/.next/static/{AQludCvB2MWgdqYw5C2Np → H5K8q90rkY6ZN9z-hpcSd}/_ssgManifest.js +0 -0
@@ -30,11 +30,6 @@ You can learn more, including how to opt-out if you'd not like to participate in
30
30
  https://nextjs.org/telemetry
31
31
 
32
32
  Linting and checking validity of types ...
33
-
34
- ./src/sdk/analytics/hooks/usePageViewEvent.ts
35
- 26:6 Warning: React Hook useEffect has a missing dependency: 'sendPageViewEvent'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
36
-
37
- info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
38
33
  Creating an optimized production build ...
39
34
  Disabled SWC as replacement for Babel because of custom Babel configuration ".babelrc.js" https://nextjs.org/docs/messages/swc-disabled
40
35
  Using external babel configuration from /home/runner/work/faststore/faststore/packages/core/.babelrc.js
@@ -42,8 +37,8 @@ info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/d
42
37
  Collecting page data ...
43
38
  Generating static pages (0/7) ...
44
39
 
45
40
  Generating static pages (1/7)
46
- 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.
47
41
 
48
42
  Generating static pages (3/7)
43
+ 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.
49
44
 
50
45
  Generating static pages (5/7)
51
46
 
52
47
  ✓ Generating static pages (7/7)
53
48
  Finalizing page optimization ...
@@ -70,7 +65,7 @@ Route (pages) Size First Load JS
70
65
  + First Load JS shared by all 96.8 kB
71
66
  ├ chunks/framework-8e279965036b6169.js 45.4 kB
72
67
  ├ chunks/main-6f63f6746cc029db.js 33.1 kB
73
- ├ chunks/pages/_app-8adad0ff3ff11810.js 12.8 kB
68
+ ├ chunks/pages/_app-aeb8a1c6bff23375.js 12.8 kB
74
69
  ├ chunks/webpack-38982d1550c1a866.js 2.45 kB
75
70
  └ css/ee0556daedda6306.css 3.07 kB
76
71
 
@@ -1,6 +1,2 @@
1
1
  $ next lint
2
-
3
- ./src/sdk/analytics/hooks/usePageViewEvent.ts
4
- 26:6 Warning: React Hook useEffect has a missing dependency: 'sendPageViewEvent'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
5
-
6
- info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
2
+ ✔ No ESLint warnings or errors
@@ -1,10 +1,10 @@
1
1
  $ jest
2
- PASS test/server/cms/index.test.ts (34.205 s)
3
- PASS test/utils/multipleTemplates.test.ts (34.855 s)
4
- PASS test/server/index.test.ts (37.894 s)
2
+ PASS test/utils/multipleTemplates.test.ts (35.523 s)
3
+ PASS test/server/cms/index.test.ts (35.605 s)
4
+ PASS test/server/index.test.ts (39.003 s)
5
5
 
6
6
  Test Suites: 3 passed, 3 total
7
7
  Tests: 19 passed, 19 total
8
8
  Snapshots: 0 total
9
- Time: 38.983 s
9
+ Time: 40.16 s
10
10
  Ran all test suites.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "3.0.108",
3
+ "version": "3.0.110",
4
4
  "license": "MIT",
5
5
  "repository": "vtex/faststore",
6
6
  "browserslist": "supports es6-module and not dead",
@@ -43,12 +43,12 @@
43
43
  "@envelop/graphql-jit": "^1.1.1",
44
44
  "@envelop/parser-cache": "^2.2.0",
45
45
  "@envelop/validation-cache": "^2.2.0",
46
- "@faststore/api": "^3.0.108",
47
- "@faststore/components": "^3.0.103",
48
- "@faststore/graphql-utils": "^3.0.97",
49
- "@faststore/lighthouse": "^3.0.97",
50
- "@faststore/sdk": "^3.0.108",
51
- "@faststore/ui": "^3.0.103",
46
+ "@faststore/api": "^3.0.110",
47
+ "@faststore/components": "^3.0.110",
48
+ "@faststore/graphql-utils": "^3.0.110",
49
+ "@faststore/lighthouse": "^3.0.110",
50
+ "@faststore/sdk": "^3.0.110",
51
+ "@faststore/ui": "^3.0.110",
52
52
  "@graphql-codegen/cli": "^5.0.2",
53
53
  "@graphql-codegen/client-preset": "^4.2.6",
54
54
  "@graphql-codegen/typescript": "^4.0.7",
@@ -89,7 +89,7 @@
89
89
  "devDependencies": {
90
90
  "@cypress/code-coverage": "^3.12.1",
91
91
  "@envelop/testing": "^6.0.0",
92
- "@faststore/eslint-config": "^3.0.97",
92
+ "@faststore/eslint-config": "^3.0.110",
93
93
  "@lhci/cli": "^0.9.0",
94
94
  "@testing-library/cypress": "^10.0.1",
95
95
  "@types/cypress": "^1.1.3",
@@ -130,5 +130,5 @@
130
130
  "node": "18.19.0",
131
131
  "yarn": "1.19.1"
132
132
  },
133
- "gitHead": "300edadb11511cf916d3770fb6f59194b3b38653"
133
+ "gitHead": "c2922d7fe5a93f027d95e4566481559025df2133"
134
134
  }
@@ -23,7 +23,7 @@ export const usePageViewEvent = () => {
23
23
  return () => {
24
24
  router.events.off('routeChangeComplete', sendPageViewEvent)
25
25
  }
26
- }, [router])
26
+ }, [router, sendPageViewEvent])
27
27
 
28
28
  return { sendPageViewEvent }
29
29
  }