@faststore/core 3.12.1 → 3.13.0
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.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +15 -15
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/next-minimal-server.js.nft.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/react-loadable-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/371.js +1 -1
- package/.next/server/chunks/5430.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/en-US/404.html +1 -1
- package/.next/server/pages/en-US/404.json +1 -1
- package/.next/server/pages/en-US/500.html +1 -1
- package/.next/server/pages/en-US/500.json +1 -1
- package/.next/server/pages/en-US/account.html +1 -1
- package/.next/server/pages/en-US/account.json +1 -1
- package/.next/server/pages/en-US/checkout.html +1 -1
- package/.next/server/pages/en-US/checkout.json +1 -1
- package/.next/server/pages/en-US/login.html +1 -1
- package/.next/server/pages/en-US/login.json +1 -1
- package/.next/server/pages/en-US/s.html +1 -1
- package/.next/server/pages/en-US/s.json +1 -1
- package/.next/server/pages/en-US.html +1 -1
- package/.next/server/pages/en-US.json +1 -1
- package/.next/server/pages/s.js +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/static/chunks/{1153.7f616071da309cf5.js → 1153.d7522522b6c917ed.js} +1 -1
- package/.next/static/chunks/pages/{_app-cf18278fd3aa3fb4.js → _app-ad26196b45938c7e.js} +1 -1
- package/.next/static/chunks/pages/{s-f7e39acf5e07a979.js → s-8ef137ece5fa7310.js} +1 -1
- package/.next/static/chunks/{webpack-ed53dd91aa26df33.js → webpack-3dba1df37fe304db.js} +1 -1
- package/.next/static/{s6UxedSYV9iXHkWl4YlAS → zBILPL-XmsxkIHd0jXDzt}/_buildManifest.js +1 -1
- package/.next/trace +102 -102
- package/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-test.log +5 -5
- package/CHANGELOG.md +6 -0
- package/discovery.config.default.js +1 -0
- package/package.json +2 -2
- package/src/pages/s.tsx +7 -2
- /package/.next/static/{s6UxedSYV9iXHkWl4YlAS → zBILPL-XmsxkIHd0jXDzt}/_ssgManifest.js +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -39,8 +39,8 @@ https://nextjs.org/telemetry
|
|
|
39
39
|
Collecting page data ...
|
|
40
40
|
Generating static pages (0/7) ...
|
|
41
41
|
|
|
42
42
|
Generating static pages (1/7)
|
|
43
|
-
|
|
44
43
|
Generating static pages (3/7)
|
|
45
44
|
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.
|
|
45
|
+
|
|
46
46
|
Generating static pages (3/7)
|
|
47
47
|
|
|
48
48
|
Generating static pages (5/7)
|
|
49
49
|
|
|
50
50
|
✓ Generating static pages (7/7)
|
|
51
51
|
Finalizing page optimization ...
|
|
@@ -64,16 +64,16 @@ Route (pages) Size First Load JS
|
|
|
64
64
|
├ λ /api/preview 0 B 92 kB
|
|
65
65
|
├ ● /checkout 695 B 120 kB
|
|
66
66
|
├ ● /login 1.59 kB 121 kB
|
|
67
|
-
└ ● /s
|
|
67
|
+
└ ● /s 3.02 kB 132 kB
|
|
68
68
|
+ First Load JS shared by all 95.1 kB
|
|
69
69
|
├ chunks/framework-12a146e94cfcf7c4.js 45.4 kB
|
|
70
70
|
├ chunks/main-48d1188fa94dad34.js 33.1 kB
|
|
71
|
-
├ chunks/pages/_app-
|
|
72
|
-
├ chunks/webpack-
|
|
71
|
+
├ chunks/pages/_app-ad26196b45938c7e.js 9.98 kB
|
|
72
|
+
├ chunks/webpack-3dba1df37fe304db.js 3.57 kB
|
|
73
73
|
└ css/ee0556daedda6306.css 3.07 kB
|
|
74
74
|
|
|
75
75
|
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
|
|
76
76
|
○ (Static) automatically rendered as static HTML (uses no initial props)
|
|
77
77
|
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
|
|
78
78
|
|
|
79
|
-
Done in
|
|
79
|
+
Done in 83.38s.
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
yarn run v1.22.22
|
|
2
2
|
$ jest
|
|
3
|
-
PASS test/utils/multipleTemplates.test.ts (33.
|
|
4
|
-
PASS test/server/cms/index.test.ts (
|
|
5
|
-
PASS test/server/index.test.ts (
|
|
3
|
+
PASS test/utils/multipleTemplates.test.ts (33.812 s)
|
|
4
|
+
PASS test/server/cms/index.test.ts (34.285 s)
|
|
5
|
+
PASS test/server/index.test.ts (39.15 s)
|
|
6
6
|
|
|
7
7
|
Test Suites: 3 passed, 3 total
|
|
8
8
|
Tests: 19 passed, 19 total
|
|
9
9
|
Snapshots: 0 total
|
|
10
|
-
Time:
|
|
10
|
+
Time: 40.545 s
|
|
11
11
|
Ran all test suites.
|
|
12
|
-
Done in
|
|
12
|
+
Done in 42.02s.
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.13.0](https://github.com/vtex/faststore/compare/v3.12.1...v3.13.0) (2025-01-31)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- enables search seo `noFollow` from config ([#2656](https://github.com/vtex/faststore/issues/2656)) ([96ba214](https://github.com/vtex/faststore/commit/96ba2142c9255a67456e95f0600f21eb60681441))
|
|
11
|
+
|
|
6
12
|
## [3.12.1](https://github.com/vtex/faststore/compare/v3.12.0...v3.12.1) (2025-01-30)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @faststore/core
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.13.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "vtex/faststore",
|
|
6
6
|
"browserslist": "supports es6-module and not dead",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"jest": "^29.7.0",
|
|
102
102
|
"ts-jest": "29.1.1"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "2f900c9628aa39394116a73bd4b05b797bc7c699"
|
|
105
105
|
}
|
package/src/pages/s.tsx
CHANGED
|
@@ -58,6 +58,7 @@ function generateSEOData(storeConfig: StoreConfig, searchTerm?: string) {
|
|
|
58
58
|
if (!isSSREnabled) {
|
|
59
59
|
return {
|
|
60
60
|
noindex: searchSeo?.noIndex ?? true,
|
|
61
|
+
nofollow: searchSeo?.noFollow ?? true,
|
|
61
62
|
title: seo.title,
|
|
62
63
|
description: seo.description,
|
|
63
64
|
titleTemplate: seo.titleTemplate,
|
|
@@ -81,6 +82,7 @@ function generateSEOData(storeConfig: StoreConfig, searchTerm?: string) {
|
|
|
81
82
|
|
|
82
83
|
return {
|
|
83
84
|
noindex: searchSeo?.noIndex ?? true,
|
|
85
|
+
nofollow: searchSeo?.noFollow ?? true,
|
|
84
86
|
title,
|
|
85
87
|
description,
|
|
86
88
|
titleTemplate,
|
|
@@ -110,7 +112,10 @@ function Page({
|
|
|
110
112
|
return null
|
|
111
113
|
}
|
|
112
114
|
|
|
113
|
-
const { noindex, ...seoData } = generateSEOData(
|
|
115
|
+
const { noindex, nofollow, ...seoData } = generateSEOData(
|
|
116
|
+
storeConfig,
|
|
117
|
+
searchTerm
|
|
118
|
+
)
|
|
114
119
|
|
|
115
120
|
return (
|
|
116
121
|
<SearchProvider
|
|
@@ -119,7 +124,7 @@ function Page({
|
|
|
119
124
|
{...searchParams}
|
|
120
125
|
>
|
|
121
126
|
{/* SEO */}
|
|
122
|
-
<NextSeo noindex={noindex} {...seoData} />
|
|
127
|
+
<NextSeo noindex={noindex} nofollow={nofollow} {...seoData} />
|
|
123
128
|
|
|
124
129
|
<UISROnly text={seoData.title} />
|
|
125
130
|
|
|
File without changes
|