@faststore/core 2.2.42 → 2.2.44
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 +2 -2
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/eslint/.cache_1gneedd +1 -1
- package/.next/cache/next-server.js.nft.json +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/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/117.js +1 -1
- package/.next/server/chunks/312.js +4 -4
- package/.next/server/chunks/350.js +2650 -16
- package/.next/server/chunks/390.js +1 -1
- package/.next/server/chunks/404.js +434 -0
- package/.next/server/chunks/57.js +434 -0
- package/.next/server/chunks/732.js +3 -3
- package/.next/server/chunks/74.js +5 -5
- package/.next/server/chunks/988.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/[...slug].js +13 -21
- package/.next/server/pages/[...slug].js.nft.json +1 -1
- package/.next/server/pages/[slug]/p.js +15 -23
- package/.next/server/pages/[slug]/p.js.nft.json +1 -1
- package/.next/server/pages/api/graphql.js +2631 -96
- package/.next/server/pages/api/graphql.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-manifest.json +2 -2
- package/.next/trace +80 -78
- package/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-test.log +11 -16
- package/package.json +20 -16
- package/.next/server/chunks/52.js +0 -4007
- package/.next/server/chunks/817.js +0 -4007
- /package/.next/static/{A0luZO19pCRpHHJjixWd9 → MJDhrWnxP4OY6Sz-u3PEu}/_buildManifest.js +0 -0
- /package/.next/static/{A0luZO19pCRpHHJjixWd9 → MJDhrWnxP4OY6Sz-u3PEu}/_ssgManifest.js +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
$ yarn partytown & yarn generate && next build
|
|
2
|
-
$ faststore generate-graphql -c
|
|
3
2
|
$ partytown copylib ./public/~partytown
|
|
3
|
+
$ faststore generate-graphql -c
|
|
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.
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,28 +1,23 @@
|
|
|
1
|
-
$
|
|
2
|
-
|
|
3
|
-
ts-jest[versions] (WARN) Version 4.9.4 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=3.4.0 <4.0.0). Please do not report issues in ts-jest if you are using unsupported versions.
|
|
4
|
-
Browserslist: caniuse-lite is outdated. Please run:
|
|
5
|
-
npx update-browserslist-db@latest
|
|
6
|
-
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
7
|
-
PASS test/server/index.test.ts (6.153s)
|
|
1
|
+
$ jest
|
|
2
|
+
PASS test/server/index.test.ts (21.35 s)
|
|
8
3
|
FastStore GraphQL Layer
|
|
9
4
|
@faststore/api
|
|
10
|
-
✓ should return a valid GraphQL schema (
|
|
11
|
-
✓ should return a valid GraphQL schema contain all expected types (
|
|
12
|
-
✓ should return a valid GraphQL schema contain all expected queries (
|
|
5
|
+
✓ should return a valid GraphQL schema (9 ms)
|
|
6
|
+
✓ should return a valid GraphQL schema contain all expected types (19 ms)
|
|
7
|
+
✓ should return a valid GraphQL schema contain all expected queries (2 ms)
|
|
13
8
|
✓ should return a valid GraphQL schema contain all expected mutations
|
|
14
9
|
VTEX API Extension
|
|
15
|
-
✓ getTypeDefsFromFolder function should return an Array (
|
|
10
|
+
✓ getTypeDefsFromFolder function should return an Array (9 ms)
|
|
16
11
|
Third Party API Extension
|
|
17
|
-
✓ getTypeDefsFromFolder function should return an Array (
|
|
12
|
+
✓ getTypeDefsFromFolder function should return an Array (7 ms)
|
|
18
13
|
Final Schema after merging
|
|
19
|
-
✓ should return a valid merged GraphQL schema (
|
|
14
|
+
✓ should return a valid merged GraphQL schema (49 ms)
|
|
20
15
|
Envelop
|
|
21
|
-
✓ should exist with its plugins (
|
|
22
|
-
✓ should handle options and execute (
|
|
16
|
+
✓ should exist with its plugins (38 ms)
|
|
17
|
+
✓ should handle options and execute (251 ms)
|
|
23
18
|
|
|
24
19
|
Test Suites: 1 passed, 1 total
|
|
25
20
|
Tests: 9 passed, 9 total
|
|
26
21
|
Snapshots: 0 total
|
|
27
|
-
Time:
|
|
22
|
+
Time: 21.437 s
|
|
28
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.44",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "vtex/faststore",
|
|
6
6
|
"browserslist": "supports es6-module and not dead",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"clean": "rm -r .next",
|
|
18
18
|
"serve": "next start",
|
|
19
19
|
"test:e2e": "cypress open",
|
|
20
|
-
"test": "
|
|
20
|
+
"test": "jest",
|
|
21
21
|
"lhci": "lhci autorun",
|
|
22
22
|
"format": "prettier --write \"**/*.{ts,js,tsx,jsx,json}\"",
|
|
23
23
|
"format:generated": "prettier --write \"@generated/**/*.{ts,js,tsx,jsx,json}\" --loglevel error",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"partytown": "partytown copylib ./public/~partytown"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
|
-
"node": ">=
|
|
31
|
+
"node": ">=18"
|
|
32
32
|
},
|
|
33
33
|
"sideEffects": false,
|
|
34
34
|
"dependencies": {
|
|
@@ -37,18 +37,18 @@
|
|
|
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.44",
|
|
41
|
+
"@faststore/components": "^2.2.44",
|
|
42
|
+
"@faststore/graphql-utils": "^2.2.44",
|
|
43
|
+
"@faststore/sdk": "^2.2.44",
|
|
44
|
+
"@faststore/ui": "^2.2.44",
|
|
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",
|
|
48
48
|
"@graphql-tools/load-files": "^7.0.0",
|
|
49
49
|
"@graphql-tools/merge": "^9.0.0",
|
|
50
50
|
"@graphql-tools/utils": "^9.2.1",
|
|
51
|
-
"@types/react": "^18.
|
|
51
|
+
"@types/react": "^18.2.42",
|
|
52
52
|
"@vtex/client-cms": "^0.2.12",
|
|
53
53
|
"@vtex/prettier-config": "1.0.0",
|
|
54
54
|
"autoprefixer": "^10.4.0",
|
|
@@ -72,14 +72,14 @@
|
|
|
72
72
|
"sharp": "^0.32.6",
|
|
73
73
|
"style-loader": "^3.3.1",
|
|
74
74
|
"swr": "^1.3.0",
|
|
75
|
-
"tsx": "^
|
|
75
|
+
"tsx": "^4.6.2",
|
|
76
76
|
"typescript": "4.7.3"
|
|
77
77
|
},
|
|
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.44",
|
|
82
|
+
"@faststore/eslint-config": "^2.2.44",
|
|
83
83
|
"@faststore/lighthouse": "^1.12.32",
|
|
84
84
|
"@lhci/cli": "^0.9.0",
|
|
85
85
|
"@testing-library/cypress": "^10.0.1",
|
|
@@ -94,15 +94,15 @@
|
|
|
94
94
|
"eslint": "^7.32.0",
|
|
95
95
|
"husky": "^5.2.0",
|
|
96
96
|
"is-ci": "^3.0.0",
|
|
97
|
-
"jest": "29.
|
|
98
|
-
"lint-staged": "^
|
|
97
|
+
"jest": "^29.7.0",
|
|
98
|
+
"lint-staged": "^15.2.0",
|
|
99
99
|
"stylelint": "^14.6.0",
|
|
100
100
|
"stylelint-config-recess-order": "^3.0.0",
|
|
101
101
|
"stylelint-config-standard": "^24.0.0",
|
|
102
102
|
"stylelint-config-standard-scss": "^3.0.0",
|
|
103
103
|
"stylelint-order": "^5.0.0",
|
|
104
104
|
"stylelint-scss": "^4.0.1",
|
|
105
|
-
"ts-jest": "29.1.
|
|
105
|
+
"ts-jest": "29.1.1"
|
|
106
106
|
},
|
|
107
107
|
"lint-staged": {
|
|
108
108
|
"*.{ts,js,tsx,jsx}": [
|
|
@@ -119,5 +119,9 @@
|
|
|
119
119
|
"msw": {
|
|
120
120
|
"workerDirectory": "public"
|
|
121
121
|
},
|
|
122
|
-
"
|
|
122
|
+
"volta": {
|
|
123
|
+
"node": "18.19.0",
|
|
124
|
+
"yarn": "1.19.1"
|
|
125
|
+
},
|
|
126
|
+
"gitHead": "bd08f3e569344be1e02c65326feb320c544e5122"
|
|
123
127
|
}
|