@faststore/core 4.1.0-dev.8 → 4.1.1-dev.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/.turbo/turbo-generate.log +3 -3
- package/.turbo/turbo-test.log +22 -22
- package/CHANGELOG.md +10 -0
- package/package.json +42 -46
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@4.1.0
|
|
2
|
+
> @faststore/core@4.1.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
|
|
6
|
+
> @faststore/core@4.1.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
|
|
22
|
+
> @faststore/core@4.1.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
|
|
2
|
+
> @faststore/core@4.1.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 46[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 135[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 25[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
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:353:23)
|
|
16
16
|
[90m at processTicksAndRejections (node:internal/process/task_queues:103:5)[39m
|
|
17
17
|
|
|
18
|
-
[32m✓[39m [30m[43m node [49m[39m test/utils/cookieCacheBusting.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m 51[2mms[22m[39m
|
|
19
18
|
[90mstderr[2m | test/sdk/localization/store-url.browser.test.ts
|
|
20
19
|
[22m[39mError in optimistic validation: ReferenceError: Cannot access '__vite_ssr_import_4__' before initialization
|
|
21
20
|
at getSettings [90m(/home/runner/work/faststore/faststore/packages/core/[39msrc/sdk/localization/useLocalizationConfig.tsx:126:45[90m)[39m
|
|
@@ -24,25 +23,26 @@
|
|
|
24
23
|
at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:353:23)
|
|
25
24
|
[90m at processTicksAndRejections (node:internal/process/task_queues:103:5)[39m
|
|
26
25
|
|
|
27
|
-
[32m✓[39m [30m[46m browser [49m[39m test/sdk/localization/store-url.browser.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m
|
|
28
|
-
[32m✓[39m [30m[43m node [49m[39m test/
|
|
29
|
-
[32m✓[39m [30m[43m node [49m[39m test/sdk/localization/useBindingSelector.test.tsx [2m([22m[2m12 tests[22m[2m)[22m[32m
|
|
30
|
-
[32m✓[39m [30m[43m node [49m[39m test/
|
|
31
|
-
[32m✓[39m [30m[43m node [49m[39m test/utils/
|
|
32
|
-
[32m✓[39m [30m[43m node [49m[39m test/
|
|
33
|
-
[32m✓[39m [30m[43m node [49m[39m test/server/
|
|
34
|
-
[32m✓[39m [30m[43m node [49m[39m test/
|
|
35
|
-
[32m✓[39m [30m[43m node [49m[39m test/sdk/localization/store-url.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m
|
|
26
|
+
[32m✓[39m [30m[46m browser [49m[39m test/sdk/localization/store-url.browser.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 18[2mms[22m[39m
|
|
27
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/cookieCacheBusting.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m 46[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 28[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 143[2mms[22m[39m
|
|
30
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/multipleTemplates.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m 8[2mms[22m[39m
|
|
31
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/clearCookies.test.ts [2m([22m[2m20 tests[22m[2m)[22m[32m 122[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 9[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 11[2mms[22m[39m
|
|
34
|
+
[32m✓[39m [30m[43m node [49m[39m test/sdk/localization/store-url.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 18[2mms[22m[39m
|
|
35
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/getRequestHostname.test.ts [2m([22m[2m12 tests[22m[2m)[22m[32m 24[2mms[22m[39m
|
|
36
36
|
[32m✓[39m [30m[43m node [49m[39m test/utils/validateSessionRefreshToken.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 15[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
|
|
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
|
|
37
|
+
[32m✓[39m [30m[43m node [49m[39m test/pages/api/preview.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 23[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 14[2mms[22m[39m
|
|
39
|
+
[32m✓[39m [30m[43m node [49m[39m test/server/index.test.ts [2m([22m[2m7 tests[22m[2m)[22m[33m 2005[2mms[22m[39m
|
|
40
|
+
[33m[2m✓[22m[39m should return a valid merged GraphQL schema [33m 454[2mms[22m[39m
|
|
41
|
+
[33m[2m✓[22m[39m should exist with its plugins [33m 661[2mms[22m[39m
|
|
42
|
+
[33m[2m✓[22m[39m should handle options and execute [33m 873[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
|
|
46
|
+
[2m Start at [22m 20:15:35
|
|
47
|
+
[2m Duration [22m 15.13s[2m (transform 6.49s, setup 0ms, collect 17.30s, tests 2.69s, environment 9.54s, prepare 716ms)[22m
|
|
48
48
|
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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.0](https://github.com/vtex/faststore/compare/v4.1.0...v4.1.1-dev.0) (2026-05-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @faststore/core
|
|
9
|
+
|
|
10
|
+
# 4.1.0 (2026-05-11)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- 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)
|
|
15
|
+
|
|
6
16
|
# [4.1.0-dev.8](https://github.com/vtex/faststore/compare/v4.1.0-dev.7...v4.1.0-dev.8) (2026-05-15)
|
|
7
17
|
|
|
8
18
|
**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": "4.1.
|
|
3
|
+
"version": "4.1.1-dev.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,24 +8,12 @@
|
|
|
8
8
|
"directory": "packages/core"
|
|
9
9
|
},
|
|
10
10
|
"browserslist": "supports es6-module and not dead",
|
|
11
|
-
"packageManager": "pnpm@10.28.0",
|
|
12
11
|
"exports": {
|
|
13
12
|
".": "./index.ts",
|
|
14
13
|
"./api": "./api/index.ts",
|
|
15
14
|
"./experimental": "./src/experimental/index.ts",
|
|
16
15
|
"./experimental/server": "./src/experimental/server/index.ts"
|
|
17
16
|
},
|
|
18
|
-
"scripts": {
|
|
19
|
-
"test:e2e": "cypress open",
|
|
20
|
-
"test": "vitest run",
|
|
21
|
-
"test:coverage": "vitest run --coverage",
|
|
22
|
-
"lhci": "lhci autorun",
|
|
23
|
-
"partytown": "partytown copylib ./public/~partytown",
|
|
24
|
-
"gen-types": "node ../cli/bin/run generate-types .",
|
|
25
|
-
"cache-graphql": "node ../cli/bin/run cache-graphql --config=./discovery.config.default.js --queries=./@generated/persisted-documents.json",
|
|
26
|
-
"generate": "pnpm run gen-types && pnpm run cache-graphql ",
|
|
27
|
-
"dev": "pnpm run generate && next dev"
|
|
28
|
-
},
|
|
29
17
|
"engines": {
|
|
30
18
|
"node": ">=20"
|
|
31
19
|
},
|
|
@@ -34,25 +22,20 @@
|
|
|
34
22
|
},
|
|
35
23
|
"sideEffects": false,
|
|
36
24
|
"dependencies": {
|
|
37
|
-
"@antfu/ni": "
|
|
25
|
+
"@antfu/ni": "0.21.12",
|
|
38
26
|
"@builder.io/partytown": "^0.6.1",
|
|
39
|
-
"@envelop/core": "
|
|
40
|
-
"@envelop/graphql-jit": "
|
|
41
|
-
"@envelop/parser-cache": "
|
|
42
|
-
"@envelop/validation-cache": "
|
|
43
|
-
"@
|
|
44
|
-
"@faststore/diagnostics": "4.1.0-dev.8",
|
|
45
|
-
"@faststore/lighthouse": "4.1.0-dev.8",
|
|
46
|
-
"@faststore/sdk": "4.1.0-dev.8",
|
|
47
|
-
"@faststore/ui": "4.1.0-dev.8",
|
|
48
|
-
"@graphql-codegen/cli": "catalog:",
|
|
27
|
+
"@envelop/core": "^5",
|
|
28
|
+
"@envelop/graphql-jit": "^11",
|
|
29
|
+
"@envelop/parser-cache": "^10",
|
|
30
|
+
"@envelop/validation-cache": "^10",
|
|
31
|
+
"@graphql-codegen/cli": "6.1.1",
|
|
49
32
|
"@graphql-codegen/client-preset": "4.2.6",
|
|
50
|
-
"@graphql-codegen/typescript": "
|
|
33
|
+
"@graphql-codegen/typescript": "4.0.7",
|
|
51
34
|
"@graphql-codegen/typescript-operations": "4.2.1",
|
|
52
35
|
"@graphql-tools/load-files": "^7.0.0",
|
|
53
|
-
"@graphql-tools/merge": "
|
|
54
|
-
"@graphql-tools/schema": "
|
|
55
|
-
"@graphql-tools/utils": "
|
|
36
|
+
"@graphql-tools/merge": "9.1.1",
|
|
37
|
+
"@graphql-tools/schema": "10.0.25",
|
|
38
|
+
"@graphql-tools/utils": "10.10.1",
|
|
56
39
|
"@graphql-typed-document-node/core": "^3.2.0",
|
|
57
40
|
"@lexical/code": "^0.34.0",
|
|
58
41
|
"@lexical/headless": "^0.34.0",
|
|
@@ -62,58 +45,71 @@
|
|
|
62
45
|
"@lexical/react": "^0.34.0",
|
|
63
46
|
"@lexical/rich-text": "^0.34.0",
|
|
64
47
|
"@lhci/cli": "^0.15.1",
|
|
65
|
-
"@types/react": "
|
|
48
|
+
"@types/react": "^18.3.27",
|
|
66
49
|
"@vtex/client-cms": "^0.2.16",
|
|
67
50
|
"@vtex/client-cp": "0.5.1",
|
|
68
51
|
"@vtex/prettier-config": "1.0.0",
|
|
69
52
|
"autoprefixer": "^10.4.0",
|
|
70
|
-
"cookie": "
|
|
53
|
+
"cookie": "^0.7.0",
|
|
71
54
|
"css-loader": "^6.7.1",
|
|
72
55
|
"deepmerge": "^4.3.1",
|
|
73
56
|
"draftjs-to-html": "^0.9.1",
|
|
74
|
-
"fast-deep-equal": "
|
|
57
|
+
"fast-deep-equal": "^3.1.3",
|
|
75
58
|
"fs-extra": "^10.1.0",
|
|
76
59
|
"idb-keyval": "^5.1.3",
|
|
77
60
|
"isomorphic-unfetch": "^3.1.0",
|
|
78
61
|
"lexical": "^0.34.0",
|
|
79
|
-
"next": "
|
|
62
|
+
"next": "^16.2.6",
|
|
80
63
|
"next-seo": "^6.6.0",
|
|
81
64
|
"postcss": "^8.4.4",
|
|
82
65
|
"prettier": "^2.2.0",
|
|
83
|
-
"react-intersection-observer": "
|
|
66
|
+
"react-intersection-observer": "^8.32.5",
|
|
84
67
|
"sass": "^1.97.0",
|
|
85
68
|
"sass-loader": "^12.6.0",
|
|
86
69
|
"sharp": "^0.32.6",
|
|
87
70
|
"style-loader": "^3.3.1",
|
|
88
71
|
"swr": "^2.2.5",
|
|
89
|
-
"use-sync-external-store": "^1.6.0"
|
|
72
|
+
"use-sync-external-store": "^1.6.0",
|
|
73
|
+
"@faststore/lighthouse": "4.1.1-dev.0",
|
|
74
|
+
"@faststore/api": "4.1.1-dev.0",
|
|
75
|
+
"@faststore/diagnostics": "4.1.1-dev.0",
|
|
76
|
+
"@faststore/sdk": "4.1.1-dev.0",
|
|
77
|
+
"@faststore/ui": "4.1.1-dev.0"
|
|
90
78
|
},
|
|
91
79
|
"devDependencies": {
|
|
92
80
|
"@cypress/code-coverage": "^3.12.1",
|
|
93
|
-
"@envelop/testing": "
|
|
81
|
+
"@envelop/testing": "^10",
|
|
94
82
|
"@testing-library/cypress": "^10.0.1",
|
|
95
|
-
"@testing-library/react": "
|
|
83
|
+
"@testing-library/react": "14.3.1",
|
|
96
84
|
"@types/cookie": "^0.6.0",
|
|
97
85
|
"@types/fs-extra": "^9.0.13",
|
|
98
|
-
"@types/node": "
|
|
86
|
+
"@types/node": "20.19.13",
|
|
99
87
|
"@vitejs/plugin-react": "^5.1.2",
|
|
100
|
-
"@vitest/coverage-v8": "catalog:",
|
|
101
88
|
"@vtex/prettier-config": "1.0.0",
|
|
102
89
|
"axe-core": "^4.8.1",
|
|
103
90
|
"cypress": "12.17.4",
|
|
104
91
|
"cypress-axe": "^1.5.0",
|
|
105
92
|
"cypress-wait-until": "^2.0.1",
|
|
106
93
|
"dotenv": "^8.2.0",
|
|
107
|
-
"graphql": "
|
|
94
|
+
"graphql": "16.11.0",
|
|
108
95
|
"is-ci": "^3.0.0",
|
|
109
96
|
"jsdom": "^27.4.0",
|
|
110
|
-
"typescript": "
|
|
111
|
-
"vitest": "
|
|
97
|
+
"typescript": "5.9.3",
|
|
98
|
+
"vitest": "4.0.7"
|
|
112
99
|
},
|
|
113
100
|
"peerDependencies": {
|
|
114
|
-
"graphql": "
|
|
115
|
-
"react": "
|
|
116
|
-
"react-dom": "
|
|
101
|
+
"graphql": "16.11.0",
|
|
102
|
+
"react": "18.2.0",
|
|
103
|
+
"react-dom": "18.2.0"
|
|
117
104
|
},
|
|
118
|
-
"
|
|
119
|
-
|
|
105
|
+
"scripts": {
|
|
106
|
+
"test:e2e": "cypress open",
|
|
107
|
+
"test": "vitest run",
|
|
108
|
+
"lhci": "lhci autorun",
|
|
109
|
+
"partytown": "partytown copylib ./public/~partytown",
|
|
110
|
+
"gen-types": "node ../cli/bin/run generate-types .",
|
|
111
|
+
"cache-graphql": "node ../cli/bin/run cache-graphql --config=./discovery.config.default.js --queries=./@generated/persisted-documents.json",
|
|
112
|
+
"generate": "pnpm run gen-types && pnpm run cache-graphql ",
|
|
113
|
+
"dev": "pnpm run generate && next dev"
|
|
114
|
+
}
|
|
115
|
+
}
|