@faststore/core 4.1.1-dev.0 → 4.1.1-dev.1
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/.turbo/turbo-generate.log +3 -3
- package/.turbo/turbo-test.log +23 -23
- package/CHANGELOG.md +16 -4
- package/index.ts +1 -1
- package/package.json +8 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@4.1.0 generate /home/runner/work/faststore/faststore/packages/core
|
|
2
|
+
> @faststore/core@4.1.1-dev.0 generate /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> pnpm run gen-types && pnpm run cache-graphql
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @faststore/core@4.1.0 gen-types /home/runner/work/faststore/faststore/packages/core
|
|
6
|
+
> @faststore/core@4.1.1-dev.0 gen-types /home/runner/work/faststore/faststore/packages/core
|
|
7
7
|
> node ../cli/bin/run generate-types .
|
|
8
8
|
|
|
9
9
|
[33m[STARTED][39m Parse Configuration
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
[32m[COMPLETED][39m Generate to /home/runner/work/faststore/faststore/packages/core/@generated/
|
|
20
20
|
[32m[COMPLETED][39m Generate outputs
|
|
21
21
|
|
|
22
|
-
> @faststore/core@4.1.0 cache-graphql /home/runner/work/faststore/faststore/packages/core
|
|
22
|
+
> @faststore/core@4.1.1-dev.0 cache-graphql /home/runner/work/faststore/faststore/packages/core
|
|
23
23
|
> node ../cli/bin/run cache-graphql --config=./discovery.config.default.js --queries=./@generated/persisted-documents.json
|
|
24
24
|
|
|
25
25
|
[Info] - Config file location: /home/runner/work/faststore/faststore/packages/core/discovery.config.default.js
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@4.1.0 test /home/runner/work/faststore/faststore/packages/core
|
|
2
|
+
> @faststore/core@4.1.1-dev.0 test /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> vitest run
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
[1m[46m RUN [49m[22m [36mv4.0.7 [39m[90m/home/runner/work/faststore/faststore/packages/core[39m
|
|
7
7
|
|
|
8
|
-
[32m✓[39m [30m[43m node [49m[39m test/utils/match-url.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m
|
|
9
|
-
[32m✓[39m [30m[43m node [49m[39m test/utils/localization/bindingPaths.test.ts [2m([22m[2m71 tests[22m[2m)[22m[32m
|
|
10
|
-
[32m✓[39m [30m[43m node [49m[39m test/sdk/localization/bindingSelector.test.ts [2m([22m[2m18 tests[22m[2m)[22m[32m
|
|
8
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/match-url.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m 57[2mms[22m[39m
|
|
9
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/localization/bindingPaths.test.ts [2m([22m[2m71 tests[22m[2m)[22m[32m 150[2mms[22m[39m
|
|
10
|
+
[32m✓[39m [30m[43m node [49m[39m test/sdk/localization/bindingSelector.test.ts [2m([22m[2m18 tests[22m[2m)[22m[32m 33[2mms[22m[39m
|
|
11
11
|
[90mstderr[2m | test/sdk/localization/store-url.browser.test.ts
|
|
12
12
|
[22m[39mError in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
|
|
13
13
|
at validateCart [90m(/home/runner/work/faststore/faststore/packages/core/[39msrc/sdk/cart/index.ts:119:27[90m)[39m
|
|
@@ -23,26 +23,26 @@
|
|
|
23
23
|
at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:353:23)
|
|
24
24
|
[90m at processTicksAndRejections (node:internal/process/task_queues:103:5)[39m
|
|
25
25
|
|
|
26
|
-
[32m✓[39m [30m[46m browser [49m[39m test/sdk/localization/store-url.browser.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m
|
|
27
|
-
[32m✓[39m [30m[43m node [49m[39m test/utils/cookieCacheBusting.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m
|
|
28
|
-
[32m✓[39m [30m[43m node [49m[39m test/sdk/localization/useBindingSelector.test.tsx [2m([22m[2m12 tests[22m[2m)[22m[32m
|
|
29
|
-
[32m✓[39m [30m[43m node [49m[39m test/sdk/search/useSearchHistory.test.ts [2m([22m[2m13 tests[22m[2m)[22m[32m
|
|
30
|
-
[32m✓[39m [30m[43m node [49m[39m test/utils/multipleTemplates.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m
|
|
31
|
-
[32m✓[39m [30m[43m node [49m[39m test/utils/clearCookies.test.ts [2m([22m[2m20 tests[22m[2m)[22m[32m
|
|
32
|
-
[32m✓[39m [30m[43m node [49m[39m test/server/cms/global.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m
|
|
33
|
-
[32m✓[39m [30m[43m node [49m[39m test/server/content/service.test.ts [2m([22m[2m5 tests[22m[2m)[22m[32m
|
|
34
|
-
[32m✓[39m [30m[43m node [49m[39m test/
|
|
35
|
-
[32m✓[39m [30m[43m node [49m[39m test/
|
|
36
|
-
[32m✓[39m [30m[43m node [49m[39m test/utils/validateSessionRefreshToken.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m
|
|
37
|
-
[32m✓[39m [30m[43m node [49m[39m test/pages/api/preview.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m
|
|
38
|
-
[32m✓[39m [30m[43m node [49m[39m test/server/cms/index.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m
|
|
39
|
-
[32m✓[39m [30m[43m node [49m[39m test/server/index.test.ts [2m([22m[2m7 tests[22m[2m)[22m[33m
|
|
40
|
-
[33m[2m✓[22m[39m should return a valid merged GraphQL schema [33m
|
|
41
|
-
[33m[2m✓[22m[39m should exist with its plugins [33m
|
|
42
|
-
[33m[2m✓[22m[39m should handle options and execute [33m
|
|
26
|
+
[32m✓[39m [30m[46m browser [49m[39m test/sdk/localization/store-url.browser.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 17[2mms[22m[39m
|
|
27
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/cookieCacheBusting.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m 71[2mms[22m[39m
|
|
28
|
+
[32m✓[39m [30m[43m node [49m[39m test/sdk/localization/useBindingSelector.test.tsx [2m([22m[2m12 tests[22m[2m)[22m[32m 46[2mms[22m[39m
|
|
29
|
+
[32m✓[39m [30m[43m node [49m[39m test/sdk/search/useSearchHistory.test.ts [2m([22m[2m13 tests[22m[2m)[22m[32m 241[2mms[22m[39m
|
|
30
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/multipleTemplates.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m 26[2mms[22m[39m
|
|
31
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/clearCookies.test.ts [2m([22m[2m20 tests[22m[2m)[22m[32m 146[2mms[22m[39m
|
|
32
|
+
[32m✓[39m [30m[43m node [49m[39m test/server/cms/global.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 23[2mms[22m[39m
|
|
33
|
+
[32m✓[39m [30m[43m node [49m[39m test/server/content/service.test.ts [2m([22m[2m5 tests[22m[2m)[22m[32m 19[2mms[22m[39m
|
|
34
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/getRequestHostname.test.ts [2m([22m[2m12 tests[22m[2m)[22m[32m 27[2mms[22m[39m
|
|
35
|
+
[32m✓[39m [30m[43m node [49m[39m test/sdk/localization/store-url.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 15[2mms[22m[39m
|
|
36
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/validateSessionRefreshToken.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 21[2mms[22m[39m
|
|
37
|
+
[32m✓[39m [30m[43m node [49m[39m test/pages/api/preview.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 21[2mms[22m[39m
|
|
38
|
+
[32m✓[39m [30m[43m node [49m[39m test/server/cms/index.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 13[2mms[22m[39m
|
|
39
|
+
[32m✓[39m [30m[43m node [49m[39m test/server/index.test.ts [2m([22m[2m7 tests[22m[2m)[22m[33m 1419[2mms[22m[39m
|
|
40
|
+
[33m[2m✓[22m[39m should return a valid merged GraphQL schema [33m 369[2mms[22m[39m
|
|
41
|
+
[33m[2m✓[22m[39m should exist with its plugins [33m 510[2mms[22m[39m
|
|
42
|
+
[33m[2m✓[22m[39m should handle options and execute [33m 523[2mms[22m[39m
|
|
43
43
|
|
|
44
44
|
[2m Test Files [22m [1m[32m17 passed[39m[22m[90m (17)[39m
|
|
45
45
|
[2m Tests [22m [1m[32m203 passed[39m[22m[90m (203)[39m
|
|
46
|
-
[2m Start at [22m
|
|
47
|
-
[2m Duration [22m 15.
|
|
46
|
+
[2m Start at [22m 21:39:03
|
|
47
|
+
[2m Duration [22m 15.20s[2m (transform 6.23s, setup 0ms, collect 18.23s, tests 2.34s, environment 9.58s, prepare 858ms)[22m
|
|
48
48
|
|
package/CHANGELOG.md
CHANGED
|
@@ -3,15 +3,21 @@
|
|
|
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
|
-
## [4.1.1-dev.
|
|
6
|
+
## [4.1.1-dev.1](https://github.com/vtex/faststore/compare/v4.1.0-dev.11...v4.1.1-dev.1) (2026-05-15)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @faststore/core
|
|
9
9
|
|
|
10
|
-
# 4.1.0 (2026-05-
|
|
10
|
+
# 4.1.0-dev.11 (2026-05-15)
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
**Note:** Version bump only for package @faststore/core
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
# [4.1.0-dev.10](https://github.com/vtex/faststore/compare/v4.1.0...v4.1.0-dev.10) (2026-05-15)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @faststore/core
|
|
17
|
+
|
|
18
|
+
# [4.1.0-dev.9](https://github.com/vtex/faststore/compare/v4.1.0-dev.8...v4.1.0-dev.9) (2026-05-15)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @faststore/core
|
|
15
21
|
|
|
16
22
|
# [4.1.0-dev.8](https://github.com/vtex/faststore/compare/v4.1.0-dev.7...v4.1.0-dev.8) (2026-05-15)
|
|
17
23
|
|
|
@@ -45,6 +51,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
45
51
|
|
|
46
52
|
- allow_all_components for CMS ([#3312](https://github.com/vtex/faststore/issues/3312)) ([eadeaa3](https://github.com/vtex/faststore/commit/eadeaa36782b40be0fe7fb16604f7a5bc3da2b79))
|
|
47
53
|
|
|
54
|
+
# 4.1.0 (2026-05-11)
|
|
55
|
+
|
|
56
|
+
### Features
|
|
57
|
+
|
|
58
|
+
- version bump 4.1.0 ([#3310](https://github.com/vtex/faststore/issues/3310)) ([1ea7bac](https://github.com/vtex/faststore/commit/1ea7bac649d783e50a9e79f8fe412009ae4a87f7)), closes [#3309](https://github.com/vtex/faststore/issues/3309) [#3308](https://github.com/vtex/faststore/issues/3308) [#3306](https://github.com/vtex/faststore/issues/3306) [#3304](https://github.com/vtex/faststore/issues/3304) [#3301](https://github.com/vtex/faststore/issues/3301)
|
|
59
|
+
|
|
48
60
|
# [4.1.0-dev.1](https://github.com/vtex/faststore/compare/v4.1.0-dev.0...v4.1.0-dev.1) (2026-05-11)
|
|
49
61
|
|
|
50
62
|
**Note:** Version bump only for package @faststore/core
|
package/index.ts
CHANGED
|
@@ -27,7 +27,7 @@ export { default as ProductShelfSection } from './src/components/sections/Produc
|
|
|
27
27
|
export { default as RegionBarSection } from './src/components/sections/RegionBar'
|
|
28
28
|
export { default as Section } from './src/components/sections/Section'
|
|
29
29
|
|
|
30
|
-
// Delivery Promise
|
|
30
|
+
// Delivery Promise.
|
|
31
31
|
export {
|
|
32
32
|
PICKUP_IN_POINT_FACET_VALUE,
|
|
33
33
|
PICKUP_POINT_FACET_KEY,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/core",
|
|
3
|
-
"version": "4.1.1-dev.
|
|
3
|
+
"version": "4.1.1-dev.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
"style-loader": "^3.3.1",
|
|
71
71
|
"swr": "^2.2.5",
|
|
72
72
|
"use-sync-external-store": "^1.6.0",
|
|
73
|
-
"@faststore/
|
|
74
|
-
"@faststore/
|
|
75
|
-
"@faststore/
|
|
76
|
-
"@faststore/
|
|
77
|
-
"@faststore/
|
|
73
|
+
"@faststore/api": "4.1.1-dev.1",
|
|
74
|
+
"@faststore/diagnostics": "4.1.1-dev.1",
|
|
75
|
+
"@faststore/lighthouse": "4.1.1-dev.1",
|
|
76
|
+
"@faststore/ui": "4.1.1-dev.1",
|
|
77
|
+
"@faststore/sdk": "4.1.1-dev.1"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@cypress/code-coverage": "^3.12.1",
|
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
"@types/fs-extra": "^9.0.13",
|
|
86
86
|
"@types/node": "20.19.13",
|
|
87
87
|
"@vitejs/plugin-react": "^5.1.2",
|
|
88
|
+
"@vitest/coverage-v8": "4.0.7",
|
|
88
89
|
"@vtex/prettier-config": "1.0.0",
|
|
89
90
|
"axe-core": "^4.8.1",
|
|
90
91
|
"cypress": "12.17.4",
|
|
@@ -105,6 +106,7 @@
|
|
|
105
106
|
"scripts": {
|
|
106
107
|
"test:e2e": "cypress open",
|
|
107
108
|
"test": "vitest run",
|
|
109
|
+
"test:coverage": "vitest run --coverage",
|
|
108
110
|
"lhci": "lhci autorun",
|
|
109
111
|
"partytown": "partytown copylib ./public/~partytown",
|
|
110
112
|
"gen-types": "node ../cli/bin/run generate-types .",
|