@faststore/core 3.70.0 → 3.70.2
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 +3 -3
- 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/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/2778.js +1 -1
- package/.next/server/chunks/3918.js +1 -1
- package/.next/server/functions-config-manifest.json +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/[slug]/p.js +1 -1
- package/.next/server/pages/en-US/404.html +1 -1
- package/.next/server/pages/en-US/500.html +1 -1
- package/.next/server/pages/en-US/checkout.html +1 -1
- package/.next/server/pages/en-US/login.html +1 -1
- package/.next/server/pages/en-US/s.html +1 -1
- package/.next/server/pages/en-US.html +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/static/{T-feA7OkkJoZOJ4u9O47z → PMA4vxtNVTnn3Nf8M-XvX}/_buildManifest.js +1 -1
- package/.next/static/chunks/pages/[slug]/{p-3c16bf4c43aefc51.js → p-73a253032aaf8ce2.js} +1 -1
- package/.next/trace +135 -135
- package/.turbo/turbo-build.log +7 -7
- package/.turbo/turbo-test.log +5 -5
- package/CHANGELOG.md +12 -0
- package/package.json +3 -3
- package/src/components/search/SearchDropdown/SearchDropdown.tsx +1 -1
- package/src/components/search/SearchProductItem/SearchProductItem.tsx +2 -2
- package/src/components/sections/Navbar/Navbar.tsx +3 -3
- package/src/pages/[slug]/p.tsx +2 -2
- /package/.next/static/{T-feA7OkkJoZOJ4u9O47z → PMA4vxtNVTnn3Nf8M-XvX}/_ssgManifest.js +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@3.
|
|
2
|
+
> @faststore/core@3.70.1 prebuild /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> na run partytown && na run generate
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @faststore/core@3.
|
|
6
|
+
> @faststore/core@3.70.1 partytown /home/runner/work/faststore/faststore/packages/core
|
|
7
7
|
> partytown copylib ./public/~partytown
|
|
8
8
|
|
|
9
9
|
Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
|
|
10
10
|
|
|
11
|
-
> @faststore/core@3.
|
|
11
|
+
> @faststore/core@3.70.1 generate /home/runner/work/faststore/faststore/packages/core
|
|
12
12
|
> na run generate:schema && na run generate:codegen && na run format:generated
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
> @faststore/core@3.
|
|
15
|
+
> @faststore/core@3.70.1 generate:schema /home/runner/work/faststore/faststore/packages/core
|
|
16
16
|
> tsx src/server/generator/generateGraphQLSchemaFile.ts
|
|
17
17
|
|
|
18
18
|
Schema GraphQL file generated successfully
|
|
19
19
|
|
|
20
|
-
> @faststore/core@3.
|
|
20
|
+
> @faststore/core@3.70.1 generate:codegen /home/runner/work/faststore/faststore/packages/core
|
|
21
21
|
> graphql-codegen
|
|
22
22
|
|
|
23
23
|
[STARTED] Parse Configuration
|
|
@@ -37,11 +37,11 @@ Running lifecycle hook "afterStart" scripts...
|
|
|
37
37
|
[CLI] Loading Documents
|
|
38
38
|
[CLI] Generating output
|
|
39
39
|
|
|
40
|
-
> @faststore/core@3.
|
|
40
|
+
> @faststore/core@3.70.1 format:generated /home/runner/work/faststore/faststore/packages/core
|
|
41
41
|
> prettier --write "@generated/**/*.{ts,js,tsx,jsx,json}" --loglevel error
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
> @faststore/core@3.
|
|
44
|
+
> @faststore/core@3.70.1 build /home/runner/work/faststore/faststore/packages/core
|
|
45
45
|
> next build
|
|
46
46
|
|
|
47
47
|
⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@3.
|
|
2
|
+
> @faststore/core@3.70.1 test /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
|
-
PASS test/server/cms/global.test.ts (26.
|
|
6
|
-
PASS test/utils/multipleTemplates.test.ts (27.
|
|
5
|
+
PASS test/server/cms/global.test.ts (26.699 s)
|
|
6
|
+
PASS test/utils/multipleTemplates.test.ts (27.266 s)
|
|
7
7
|
PASS test/server/cms/index.test.ts
|
|
8
|
-
PASS test/server/index.test.ts (30.
|
|
8
|
+
PASS test/server/index.test.ts (30.781 s)
|
|
9
9
|
|
|
10
10
|
Test Suites: 4 passed, 4 total
|
|
11
11
|
Tests: 22 passed, 22 total
|
|
12
12
|
Snapshots: 0 total
|
|
13
|
-
Time:
|
|
13
|
+
Time: 32.023 s
|
|
14
14
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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.70.2](https://github.com/vtex/faststore/compare/v3.70.1...v3.70.2) (2025-08-05)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- Quick Order typings ([#2974](https://github.com/vtex/faststore/issues/2974)) ([e28c523](https://github.com/vtex/faststore/commit/e28c523bdc83273ad7cbb7d08cfdeb99ad676ede))
|
|
11
|
+
|
|
12
|
+
## [3.70.1](https://github.com/vtex/faststore/compare/v3.70.0...v3.70.1) (2025-08-04)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- Using SEO product name and description input if available ([#2969](https://github.com/vtex/faststore/issues/2969)) ([590000d](https://github.com/vtex/faststore/commit/590000d63539e0ce476018027a7ed2fdd2589c45)), closes [#2701](https://github.com/vtex/faststore/issues/2701)
|
|
17
|
+
|
|
6
18
|
# [3.70.0](https://github.com/vtex/faststore/compare/v3.69.1...v3.70.0) (2025-08-01)
|
|
7
19
|
|
|
8
20
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/core",
|
|
3
|
-
"version": "3.70.
|
|
3
|
+
"version": "3.70.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "vtex/faststore",
|
|
6
6
|
"browserslist": "supports es6-module and not dead",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@faststore/graphql-utils": "^3.56.1",
|
|
49
49
|
"@faststore/lighthouse": "^3.56.1",
|
|
50
50
|
"@faststore/sdk": "^3.68.0",
|
|
51
|
-
"@faststore/ui": "^3.
|
|
51
|
+
"@faststore/ui": "^3.70.2",
|
|
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",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"ts-jest": "29.1.1",
|
|
108
108
|
"typescript": "5.3.2"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "9388d1dd171b76fa3ccb77ec3a5327b2ca9a01fc"
|
|
111
111
|
}
|
|
@@ -24,7 +24,7 @@ interface SearchDropdownProps {
|
|
|
24
24
|
sort: SearchState['sort']
|
|
25
25
|
quickOrderSettings?: NavbarProps['searchInput']['quickOrderSettings']
|
|
26
26
|
[key: string]: any
|
|
27
|
-
onChangeCustomSearchDropdownVisible
|
|
27
|
+
onChangeCustomSearchDropdownVisible?: Dispatch<SetStateAction<boolean>>
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export function sendAutocompleteClickEvent({
|
|
@@ -33,11 +33,11 @@ type SearchProductItemProps = {
|
|
|
33
33
|
/**
|
|
34
34
|
* Quick Order settings.
|
|
35
35
|
*/
|
|
36
|
-
quickOrderSettings
|
|
36
|
+
quickOrderSettings?: NavbarProps['searchInput']['quickOrderSettings']
|
|
37
37
|
/**
|
|
38
38
|
* Method to manage the visibility state of the dropdown when SKU Matrix is active.
|
|
39
39
|
*/
|
|
40
|
-
onChangeCustomSearchDropdownVisible
|
|
40
|
+
onChangeCustomSearchDropdownVisible?: Dispatch<SetStateAction<boolean>>
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
function SearchProductItem({
|
|
@@ -23,15 +23,15 @@ export interface NavbarProps {
|
|
|
23
23
|
searchInput: {
|
|
24
24
|
placeholder?: string
|
|
25
25
|
sort: string
|
|
26
|
-
quickOrderSettings
|
|
26
|
+
quickOrderSettings?: {
|
|
27
27
|
quickOrder: boolean
|
|
28
28
|
skuMatrix: {
|
|
29
29
|
triggerButtonLabel: string
|
|
30
30
|
columns: {
|
|
31
31
|
name: string
|
|
32
32
|
additionalColumns: Array<{ label: string; value: string }>
|
|
33
|
-
price:
|
|
34
|
-
quantitySelector:
|
|
33
|
+
price: string
|
|
34
|
+
quantitySelector: string
|
|
35
35
|
availability: {
|
|
36
36
|
label: string
|
|
37
37
|
stockDisplaySettings: 'showAvailability' | 'showStockQuantity'
|
package/src/pages/[slug]/p.tsx
CHANGED
|
@@ -192,8 +192,8 @@ function Page({
|
|
|
192
192
|
mainEntityOfPage={`${meta.canonical}${
|
|
193
193
|
settings?.seo?.mainEntityOfPage ?? ''
|
|
194
194
|
}`}
|
|
195
|
-
productName={
|
|
196
|
-
description={
|
|
195
|
+
productName={title}
|
|
196
|
+
description={description}
|
|
197
197
|
brand={product.brand.name}
|
|
198
198
|
sku={product.sku}
|
|
199
199
|
gtin={product.gtin}
|
|
File without changes
|