@faststore/core 2.2.41 → 2.2.43
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-build.log +25 -13
- package/.turbo/turbo-test.log +12 -14
- package/package.json +20 -16
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.
|
|
@@ -12,10 +12,22 @@ This information is used to shape Next.js' roadmap and prioritize features.
|
|
|
12
12
|
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
|
|
13
13
|
https://nextjs.org/telemetry
|
|
14
14
|
|
|
15
|
+
Browserslist: caniuse-lite is outdated. Please run:
|
|
16
|
+
npx browserslist@latest --update-db
|
|
17
|
+
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
15
18
|
info - Linting and checking validity of types...
|
|
19
|
+
Browserslist: caniuse-lite is outdated. Please run:
|
|
20
|
+
npx browserslist@latest --update-db
|
|
21
|
+
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
16
22
|
info - Creating an optimized production build...
|
|
17
23
|
info - Disabled SWC as replacement for Babel because of custom Babel configuration ".babelrc" https://nextjs.org/docs/messages/swc-disabled
|
|
24
|
+
Browserslist: caniuse-lite is outdated. Please run:
|
|
25
|
+
npx browserslist@latest --update-db
|
|
26
|
+
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
18
27
|
info - Using external babel configuration from /home/runner/work/faststore/faststore/packages/core/.babelrc
|
|
28
|
+
Browserslist: caniuse-lite is outdated. Please run:
|
|
29
|
+
npx update-browserslist-db@latest
|
|
30
|
+
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
19
31
|
info - Compiled successfully
|
|
20
32
|
info - Collecting page data...
|
|
21
33
|
info - Generating static pages (0/7)
|
|
@@ -26,28 +38,28 @@ info - Generating static pages (7/7)
|
|
|
26
38
|
info - Finalizing page optimization...
|
|
27
39
|
|
|
28
40
|
Route (pages) Size First Load JS
|
|
29
|
-
┌ ● / 3.
|
|
30
|
-
├ /_app 0 B 83.
|
|
31
|
-
├ ● /[...slug] 4.
|
|
41
|
+
┌ ● / 3.2 kB 128 kB
|
|
42
|
+
├ /_app 0 B 83.8 kB
|
|
43
|
+
├ ● /[...slug] 4.32 kB 140 kB
|
|
32
44
|
├ └ css/527e334fa69cf40a.css 1.85 kB
|
|
33
45
|
├ ● /[slug]/p 10.9 kB 136 kB
|
|
34
46
|
├ └ css/d7bbfbd552f407e9.css 11.3 kB
|
|
35
47
|
├ ○ /404 1.19 kB 112 kB
|
|
36
48
|
├ ● /500 1.21 kB 112 kB
|
|
37
|
-
├ ● /account
|
|
38
|
-
├ λ /api/graphql 0 B 83.
|
|
39
|
-
├ λ /api/health/live 0 B 83.
|
|
40
|
-
├ λ /api/health/ready 0 B 83.
|
|
41
|
-
├ λ /api/preview 0 B 83.
|
|
42
|
-
├ ● /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
|
|
43
55
|
├ ● /login 1.14 kB 112 kB
|
|
44
56
|
└ ● /s 4.57 kB 126 kB
|
|
45
57
|
+ First Load JS shared by all 86.8 kB
|
|
46
58
|
├ chunks/framework-dfd14d7ce6600b03.js 45.3 kB
|
|
47
|
-
├ chunks/main-e4e873ee741162eb.js 24.
|
|
59
|
+
├ chunks/main-e4e873ee741162eb.js 24.2 kB
|
|
48
60
|
├ chunks/pages/_app-30b9666307e4b3b1.js 12.1 kB
|
|
49
|
-
├ chunks/webpack-4ccaf6613cbd7224.js 2.
|
|
50
|
-
└ css/5d1f64b61ea581f4.css 3.
|
|
61
|
+
├ chunks/webpack-4ccaf6613cbd7224.js 2.27 kB
|
|
62
|
+
└ css/5d1f64b61ea581f4.css 3.05 kB
|
|
51
63
|
|
|
52
64
|
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
|
|
53
65
|
○ (Static) automatically rendered as static HTML (uses no initial props)
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,25 +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
|
-
PASS test/server/index.test.ts (6.082s)
|
|
1
|
+
$ jest
|
|
2
|
+
PASS test/server/index.test.ts (21.329 s)
|
|
5
3
|
FastStore GraphQL Layer
|
|
6
4
|
@faststore/api
|
|
7
|
-
✓ should return a valid GraphQL schema (
|
|
8
|
-
✓ should return a valid GraphQL schema contain all expected types (
|
|
9
|
-
✓ should return a valid GraphQL schema contain all expected queries (
|
|
10
|
-
✓ should return a valid GraphQL schema contain all expected mutations (
|
|
5
|
+
✓ should return a valid GraphQL schema (5 ms)
|
|
6
|
+
✓ should return a valid GraphQL schema contain all expected types (5 ms)
|
|
7
|
+
✓ should return a valid GraphQL schema contain all expected queries (1 ms)
|
|
8
|
+
✓ should return a valid GraphQL schema contain all expected mutations (1 ms)
|
|
11
9
|
VTEX API Extension
|
|
12
|
-
✓ getTypeDefsFromFolder function should return an Array (
|
|
10
|
+
✓ getTypeDefsFromFolder function should return an Array (5 ms)
|
|
13
11
|
Third Party API Extension
|
|
14
|
-
✓ getTypeDefsFromFolder function should return an Array (
|
|
12
|
+
✓ getTypeDefsFromFolder function should return an Array (5 ms)
|
|
15
13
|
Final Schema after merging
|
|
16
|
-
✓ should return a valid merged GraphQL schema (
|
|
14
|
+
✓ should return a valid merged GraphQL schema (24 ms)
|
|
17
15
|
Envelop
|
|
18
|
-
✓ should exist with its plugins (
|
|
19
|
-
✓ should handle options and execute (
|
|
16
|
+
✓ should exist with its plugins (28 ms)
|
|
17
|
+
✓ should handle options and execute (196 ms)
|
|
20
18
|
|
|
21
19
|
Test Suites: 1 passed, 1 total
|
|
22
20
|
Tests: 9 passed, 9 total
|
|
23
21
|
Snapshots: 0 total
|
|
24
|
-
Time:
|
|
22
|
+
Time: 21.498 s
|
|
25
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.43",
|
|
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.43",
|
|
41
|
+
"@faststore/components": "^2.2.43",
|
|
42
|
+
"@faststore/graphql-utils": "^2.2.43",
|
|
43
|
+
"@faststore/sdk": "^2.2.43",
|
|
44
|
+
"@faststore/ui": "^2.2.43",
|
|
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.43",
|
|
82
|
+
"@faststore/eslint-config": "^2.2.43",
|
|
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": "e29fb81077b919ae41bea77de10794fbf49cdad5"
|
|
123
127
|
}
|