@faststore/core 3.0.52 → 3.0.53

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 (37) 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/fetch-cache/50912854cb7c781522a6ff8792d714e549515fcbbbfd660761961b06afe01c07 +1 -1
  7. package/.next/cache/webpack/client-production/0.pack +0 -0
  8. package/.next/cache/webpack/client-production/index.pack +0 -0
  9. package/.next/cache/webpack/server-production/0.pack +0 -0
  10. package/.next/cache/webpack/server-production/index.pack +0 -0
  11. package/.next/next-minimal-server.js.nft.json +1 -1
  12. package/.next/next-server.js.nft.json +1 -1
  13. package/.next/prerender-manifest.js +1 -1
  14. package/.next/prerender-manifest.json +1 -1
  15. package/.next/routes-manifest.json +1 -1
  16. package/.next/server/app/_not-found.html +2 -2
  17. package/.next/server/app/_not-found.rsc +2 -2
  18. package/.next/server/app/fs-next-update.html +2 -2
  19. package/.next/server/app/fs-next-update.rsc +2 -2
  20. package/.next/server/chunks/334.js +2 -2
  21. package/.next/server/middleware-build-manifest.js +1 -1
  22. package/.next/server/pages/404.html +2 -2
  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 +2 -2
  30. package/.next/server/pages-manifest.json +1 -1
  31. package/.next/trace +132 -132
  32. package/.turbo/turbo-build.log +3 -3
  33. package/.turbo/turbo-test.log +10 -10
  34. package/app/layout.tsx +19 -3
  35. package/package.json +2 -2
  36. /package/.next/static/{jSa0D6EYVF6ZyY9xud-2S → HJeKQVDu72pcragJS7Wv_}/_buildManifest.js +0 -0
  37. /package/.next/static/{jSa0D6EYVF6ZyY9xud-2S → HJeKQVDu72pcragJS7Wv_}/_ssgManifest.js +0 -0
@@ -32,16 +32,16 @@ warn - CustomIconsAlert not found. Add a new component for this section or remov
32
32
  warn - AlertWithImage not found. Add a new component for this section or remove it from the CMS
33
33
  warn - CustomIconsAlert not found. Add a new component for this section or remove it from the CMS
34
34
 
35
35
  Generating static pages (2/9)
36
- warn - AlertWithImage not found. Add a new component for this section or remove it from the CMS
37
- warn - CustomIconsAlert not found. Add a new component for this section or remove it from the CMS
38
36
 
39
37
  Generating static pages (4/9)
40
38
  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
39
  warn - AlertWithImage not found. Add a new component for this section or remove it from the CMS
42
40
  warn - CustomIconsAlert not found. Add a new component for this section or remove it from the CMS
43
-
44
41
  Generating static pages (6/9)
45
42
  warn - AlertWithImage not found. Add a new component for this section or remove it from the CMS
46
43
  warn - CustomIconsAlert not found. Add a new component for this section or remove it from the CMS
47
44
  warn - AlertWithImage not found. Add a new component for this section or remove it from the CMS
45
+ warn - CustomIconsAlert not found. Add a new component for this section or remove it from the CMS
46
+
48
47
  Generating static pages (6/9)
48
+ warn - AlertWithImage not found. Add a new component for this section or remove it from the CMS
49
49
  warn - CustomIconsAlert not found. Add a new component for this section or remove it from the CMS
50
50
 
51
51
  ✓ Generating static pages (9/9)
52
52
  Finalizing page optimization ...
@@ -1,23 +1,23 @@
1
1
  $ jest
2
- PASS test/server/index.test.ts (26.466 s)
2
+ PASS test/server/index.test.ts (26.319 s)
3
3
  FastStore GraphQL Layer
4
4
  @faststore/api
5
- ✓ should return a valid GraphQL schema (5 ms)
6
- ✓ should return a valid GraphQL schema contain all expected types (18 ms)
7
- ✓ should return a valid GraphQL schema contain all expected queries (3 ms)
5
+ ✓ should return a valid GraphQL schema (11 ms)
6
+ ✓ should return a valid GraphQL schema contain all expected types (12 ms)
7
+ ✓ should return a valid GraphQL schema contain all expected queries (2 ms)
8
8
  ✓ should return a valid GraphQL schema contain all expected mutations
9
9
  VTEX API Extension
10
- ✓ getTypeDefsFromFolder function should return an Array (9 ms)
10
+ ✓ getTypeDefsFromFolder function should return an Array (13 ms)
11
11
  Third Party API Extension
12
- ✓ getTypeDefsFromFolder function should return an Array (5 ms)
12
+ ✓ getTypeDefsFromFolder function should return an Array (7 ms)
13
13
  Final Schema after merging
14
- ✓ should return a valid merged GraphQL schema (51 ms)
14
+ ✓ should return a valid merged GraphQL schema (45 ms)
15
15
  Envelop
16
- ✓ should exist with its plugins (32 ms)
17
- ✓ should handle options and execute (550 ms)
16
+ ✓ should exist with its plugins (56 ms)
17
+ ✓ should handle options and execute (325 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.575 s
22
+ Time: 26.468 s
23
23
  Ran all test suites.
package/app/layout.tsx CHANGED
@@ -3,6 +3,8 @@ import 'src/styles/global/index.scss'
3
3
 
4
4
  import 'src/customizations/src/themes/index.scss'
5
5
 
6
+ import { Metadata } from 'next'
7
+
6
8
  import ThirdPartyScripts from 'app/components/ThirdPartyScripts'
7
9
  import AnalyticsHandler from 'app/sdk/analytics'
8
10
  import ErrorBoundary from 'app/sdk/error/ErrorBoundary'
@@ -47,6 +49,23 @@ async function getGlobalSectionsData() {
47
49
  return { sections }
48
50
  }
49
51
 
52
+ // SEO metadata and tags
53
+ export const metadata: Metadata = {
54
+ robots: {
55
+ /*******************
56
+ * TODO: This will be the default config when the `app` directory be in use
57
+ * // index: !storeConfig.experimental.noRobots,
58
+ * // follow: !storeConfig.experimental.noRobots,
59
+ */
60
+ index: false,
61
+ follow: false,
62
+ googleBot: {
63
+ index: false,
64
+ follow: false,
65
+ },
66
+ },
67
+ }
68
+
50
69
  export default async function RootLayout({
51
70
  children,
52
71
  }: {
@@ -56,9 +75,6 @@ export default async function RootLayout({
56
75
 
57
76
  return (
58
77
  <ErrorBoundary>
59
- {/* TODO: we should use metadata api from Next 13 */}
60
- {/* <DefaultSeo norobots={storeConfig.experimental.noRobots} /> */}
61
-
62
78
  <AnalyticsHandler />
63
79
 
64
80
  <html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "3.0.52",
3
+ "version": "3.0.53",
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": "edb19bceb845435894c31ef2fa13e38fff092a24"
127
+ "gitHead": "83ceac1d47b4c3b2151ea6b9ef47c92dd84b9480"
128
128
  }