@faststore/core 2.2.44 → 2.2.45
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 +17 -17
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/eslint/.cache_1gneedd +1 -1
- 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.json +1 -1
- package/.next/react-loadable-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/289.js +2 -2
- package/.next/server/chunks/350.js +1 -1
- package/.next/server/chunks/732.js +56 -64
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/404.js.nft.json +1 -1
- package/.next/server/pages/500.js.nft.json +1 -1
- package/.next/server/pages/[...slug].js.nft.json +1 -1
- package/.next/server/pages/[slug]/p.js.nft.json +1 -1
- package/.next/server/pages/_app.js.nft.json +1 -1
- package/.next/server/pages/_error.js.nft.json +1 -1
- package/.next/server/pages/account.js.nft.json +1 -1
- package/.next/server/pages/api/graphql.js +1 -1
- package/.next/server/pages/checkout.js.nft.json +1 -1
- package/.next/server/pages/en-US/404.html +2 -2
- package/.next/server/pages/en-US/500.html +2 -2
- package/.next/server/pages/en-US/account.html +2 -2
- package/.next/server/pages/en-US/checkout.html +2 -2
- package/.next/server/pages/en-US/login.html +2 -2
- package/.next/server/pages/en-US/s.html +2 -2
- package/.next/server/pages/en-US.html +2 -2
- package/.next/server/pages/index.js.nft.json +1 -1
- package/.next/server/pages/login.js.nft.json +1 -1
- package/.next/server/pages/s.js.nft.json +1 -1
- package/.next/static/chunks/{400-d4daabcd57b2ea80.js → 497-5f7bf41345a56013.js} +1 -1
- package/.next/static/chunks/{800.ee4f8b9622001e8c.js → 800.f63caad837409c7e.js} +1 -1
- package/.next/static/chunks/pages/{[...slug]-3eed3497c887fae5.js → [...slug]-92810abb37fa7bda.js} +1 -1
- package/.next/static/chunks/pages/{s-2374cff2e39ed624.js → s-8575d9c5780684d0.js} +1 -1
- package/.next/static/chunks/{webpack-4ccaf6613cbd7224.js → webpack-181f40c3719492e1.js} +1 -1
- package/.next/static/{MJDhrWnxP4OY6Sz-u3PEu → yZT3-xw6wnppSjWwARSPZ}/_buildManifest.js +1 -1
- package/.next/trace +80 -80
- package/.turbo/turbo-build.log +13 -13
- package/.turbo/turbo-test.log +9 -9
- package/package.json +9 -9
- package/src/components/sections/ProductGallery/Overrides.tsx +4 -0
- package/src/components/sections/ProductGallery/ProductGallery.tsx +4 -2
- package/src/typings/overrides.ts +1 -0
- /package/.next/static/{MJDhrWnxP4OY6Sz-u3PEu → yZT3-xw6wnppSjWwARSPZ}/_ssgManifest.js +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
$ yarn partytown & yarn generate && next build
|
|
2
|
-
$ partytown copylib ./public/~partytown
|
|
3
2
|
$ faststore generate-graphql -c
|
|
3
|
+
$ partytown copylib ./public/~partytown
|
|
4
4
|
Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
|
|
5
5
|
success - GraphQL schema, types, and optimizations successfully generated 🎉
|
|
6
6
|
warn - You have enabled experimental feature (scrollRestoration) in next.config.js.
|
|
@@ -38,28 +38,28 @@ info - Generating static pages (7/7)
|
|
|
38
38
|
info - Finalizing page optimization...
|
|
39
39
|
|
|
40
40
|
Route (pages) Size First Load JS
|
|
41
|
-
┌ ● / 3.
|
|
42
|
-
├ /_app 0 B 83.
|
|
43
|
-
├ ● /[...slug] 4.
|
|
41
|
+
┌ ● / 3.2 kB 128 kB
|
|
42
|
+
├ /_app 0 B 83.8 kB
|
|
43
|
+
├ ● /[...slug] 4.32 kB 140 kB
|
|
44
44
|
├ └ css/527e334fa69cf40a.css 1.85 kB
|
|
45
45
|
├ ● /[slug]/p 10.9 kB 136 kB
|
|
46
46
|
├ └ css/d7bbfbd552f407e9.css 11.3 kB
|
|
47
47
|
├ ○ /404 1.19 kB 112 kB
|
|
48
48
|
├ ● /500 1.21 kB 112 kB
|
|
49
|
-
├ ● /account
|
|
50
|
-
├ λ /api/graphql 0 B 83.
|
|
51
|
-
├ λ /api/health/live 0 B 83.
|
|
52
|
-
├ λ /api/health/ready 0 B 83.
|
|
53
|
-
├ λ /api/preview 0 B 83.
|
|
54
|
-
├ ● /checkout
|
|
49
|
+
├ ● /account 676 B 111 kB
|
|
50
|
+
├ λ /api/graphql 0 B 83.8 kB
|
|
51
|
+
├ λ /api/health/live 0 B 83.8 kB
|
|
52
|
+
├ λ /api/health/ready 0 B 83.8 kB
|
|
53
|
+
├ λ /api/preview 0 B 83.8 kB
|
|
54
|
+
├ ● /checkout 661 B 111 kB
|
|
55
55
|
├ ● /login 1.14 kB 112 kB
|
|
56
56
|
└ ● /s 4.57 kB 126 kB
|
|
57
57
|
+ First Load JS shared by all 86.8 kB
|
|
58
58
|
├ chunks/framework-dfd14d7ce6600b03.js 45.3 kB
|
|
59
|
-
├ chunks/main-e4e873ee741162eb.js 24.
|
|
59
|
+
├ chunks/main-e4e873ee741162eb.js 24.2 kB
|
|
60
60
|
├ chunks/pages/_app-30b9666307e4b3b1.js 12.1 kB
|
|
61
|
-
├ chunks/webpack-
|
|
62
|
-
└ css/5d1f64b61ea581f4.css 3.
|
|
61
|
+
├ chunks/webpack-181f40c3719492e1.js 2.27 kB
|
|
62
|
+
└ css/5d1f64b61ea581f4.css 3.05 kB
|
|
63
63
|
|
|
64
64
|
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
|
|
65
65
|
○ (Static) automatically rendered as static HTML (uses no initial props)
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
$ jest
|
|
2
|
-
PASS test/server/index.test.ts (
|
|
2
|
+
PASS test/server/index.test.ts (20.743 s)
|
|
3
3
|
FastStore GraphQL Layer
|
|
4
4
|
@faststore/api
|
|
5
5
|
✓ should return a valid GraphQL schema (9 ms)
|
|
6
|
-
✓ should return a valid GraphQL schema contain all expected types (
|
|
7
|
-
✓ should return a valid GraphQL schema contain all expected queries (
|
|
6
|
+
✓ should return a valid GraphQL schema contain all expected types (11 ms)
|
|
7
|
+
✓ should return a valid GraphQL schema contain all expected queries (1 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 (
|
|
10
|
+
✓ getTypeDefsFromFolder function should return an Array (8 ms)
|
|
11
11
|
Third Party API Extension
|
|
12
|
-
✓ getTypeDefsFromFolder function should return an Array (
|
|
12
|
+
✓ getTypeDefsFromFolder function should return an Array (14 ms)
|
|
13
13
|
Final Schema after merging
|
|
14
|
-
✓ should return a valid merged GraphQL schema (
|
|
14
|
+
✓ should return a valid merged GraphQL schema (56 ms)
|
|
15
15
|
Envelop
|
|
16
|
-
✓ should exist with its plugins (
|
|
17
|
-
✓ should handle options and execute (
|
|
16
|
+
✓ should exist with its plugins (64 ms)
|
|
17
|
+
✓ should handle options and execute (282 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:
|
|
22
|
+
Time: 20.877 s
|
|
23
23
|
Ran all test suites.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/core",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.45",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "vtex/faststore",
|
|
6
6
|
"browserslist": "supports es6-module and not dead",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"@envelop/graphql-jit": "^1.1.1",
|
|
38
38
|
"@envelop/parser-cache": "^2.2.0",
|
|
39
39
|
"@envelop/validation-cache": "^2.2.0",
|
|
40
|
-
"@faststore/api": "^2.2.
|
|
41
|
-
"@faststore/components": "^2.2.
|
|
42
|
-
"@faststore/graphql-utils": "^2.2.
|
|
43
|
-
"@faststore/sdk": "^2.2.
|
|
44
|
-
"@faststore/ui": "^2.2.
|
|
40
|
+
"@faststore/api": "^2.2.45",
|
|
41
|
+
"@faststore/components": "^2.2.45",
|
|
42
|
+
"@faststore/graphql-utils": "^2.2.45",
|
|
43
|
+
"@faststore/sdk": "^2.2.45",
|
|
44
|
+
"@faststore/ui": "^2.2.45",
|
|
45
45
|
"@graphql-codegen/cli": "^3.3.1",
|
|
46
46
|
"@graphql-codegen/typescript": "^3.0.4",
|
|
47
47
|
"@graphql-codegen/typescript-operations": "^3.0.4",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@cypress/code-coverage": "^3.12.1",
|
|
80
80
|
"@envelop/testing": "^6.0.0",
|
|
81
|
-
"@faststore/cli": "^2.2.
|
|
82
|
-
"@faststore/eslint-config": "^2.2.
|
|
81
|
+
"@faststore/cli": "^2.2.45",
|
|
82
|
+
"@faststore/eslint-config": "^2.2.45",
|
|
83
83
|
"@faststore/lighthouse": "^1.12.32",
|
|
84
84
|
"@lhci/cli": "^0.9.0",
|
|
85
85
|
"@testing-library/cypress": "^10.0.1",
|
|
@@ -123,5 +123,5 @@
|
|
|
123
123
|
"node": "18.19.0",
|
|
124
124
|
"yarn": "1.19.1"
|
|
125
125
|
},
|
|
126
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "ab5f894845fed109c1748705b0badfd0d100f197"
|
|
127
127
|
}
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
|
|
9
9
|
import ProductCard from 'src/components/product/ProductCard'
|
|
10
10
|
import FilterDesktop from 'src/components/search/Filter/FilterDesktop'
|
|
11
|
+
import EmptyGallery from './EmptyGallery'
|
|
11
12
|
|
|
12
13
|
const FilterSlider = lazy(
|
|
13
14
|
() => import('src/components/search/Filter/FilterSlider')
|
|
@@ -29,6 +30,7 @@ const {
|
|
|
29
30
|
__experimentalFilterDesktop,
|
|
30
31
|
__experimentalFilterSlider,
|
|
31
32
|
__experimentalProductCard,
|
|
33
|
+
__experimentalEmptyGallery,
|
|
32
34
|
} = getSectionOverrides(
|
|
33
35
|
{
|
|
34
36
|
MobileFilterButton: UIButton,
|
|
@@ -42,6 +44,7 @@ const {
|
|
|
42
44
|
__experimentalFilterDesktop: FilterDesktop,
|
|
43
45
|
__experimentalFilterSlider: FilterSlider,
|
|
44
46
|
__experimentalProductCard: ProductCard,
|
|
47
|
+
__experimentalEmptyGallery: EmptyGallery,
|
|
45
48
|
},
|
|
46
49
|
override as SectionOverrideDefinition<'ProductGallery'>
|
|
47
50
|
)
|
|
@@ -58,4 +61,5 @@ export {
|
|
|
58
61
|
__experimentalFilterDesktop,
|
|
59
62
|
__experimentalFilterSlider,
|
|
60
63
|
__experimentalProductCard,
|
|
64
|
+
__experimentalEmptyGallery,
|
|
61
65
|
}
|
|
@@ -4,7 +4,9 @@ import ProductGallery, {
|
|
|
4
4
|
ProductGalleryProps,
|
|
5
5
|
} from 'src/components/ui/ProductGallery/ProductGallery'
|
|
6
6
|
import Section from '../Section'
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
import { __experimentalEmptyGallery as EmptyGallery } from 'src/components/sections/ProductGallery/Overrides'
|
|
9
|
+
|
|
8
10
|
import styles from './section.module.scss'
|
|
9
11
|
import {
|
|
10
12
|
PLPContext,
|
|
@@ -39,7 +41,7 @@ function ProductGallerySection({ ...otherProps }: ProductGallerySectionProps) {
|
|
|
39
41
|
return (
|
|
40
42
|
<Section className={`${styles.section} section-product-gallery`}>
|
|
41
43
|
<section data-testid="product-gallery" data-fs-product-listing>
|
|
42
|
-
<EmptyGallery />
|
|
44
|
+
<EmptyGallery.Component />
|
|
43
45
|
</section>
|
|
44
46
|
</Section>
|
|
45
47
|
)
|
package/src/typings/overrides.ts
CHANGED
|
@@ -207,6 +207,7 @@ export type SectionsOverrides = {
|
|
|
207
207
|
__experimentalFilterDesktop: ComponentOverrideDefinition<any, any>
|
|
208
208
|
__experimentalFilterSlider: ComponentOverrideDefinition<any, any>
|
|
209
209
|
__experimentalProductCard: ComponentOverrideDefinition<any, any>
|
|
210
|
+
__experimentalEmptyGallery: ComponentOverrideDefinition<any, any>
|
|
210
211
|
}
|
|
211
212
|
ProductShelf: {
|
|
212
213
|
ProductShelf: ComponentOverrideDefinition<
|
|
File without changes
|