@faststore/core 3.0.86 → 3.0.88
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/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/next-minimal-server.js.nft.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/350.js +1 -1
- package/.next/server/chunks/640.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/500.js +1 -1
- package/.next/server/pages/api/graphql.js +1 -1
- package/.next/server/pages/en-US/404.html +2 -2
- package/.next/server/pages/en-US/404.json +1 -1
- package/.next/server/pages/en-US/500.html +2 -2
- package/.next/server/pages/en-US/500.json +1 -1
- package/.next/server/pages/en-US/account.html +2 -2
- package/.next/server/pages/en-US/account.json +1 -1
- package/.next/server/pages/en-US/checkout.html +2 -2
- package/.next/server/pages/en-US/checkout.json +1 -1
- package/.next/server/pages/en-US/login.html +2 -2
- package/.next/server/pages/en-US/login.json +1 -1
- package/.next/server/pages/en-US/s.html +2 -2
- package/.next/server/pages/en-US/s.json +1 -1
- package/.next/server/pages/en-US.html +2 -2
- package/.next/server/pages/en-US.json +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/trace +95 -95
- package/.turbo/turbo-build.log +7 -35
- package/.turbo/turbo-test.log +4 -4
- package/README.md +2 -0
- package/package.json +16 -15
- /package/.next/static/{BWrym7DqlLEOj9Qds0FG_ → VfIBS4ayHueKxfLS6XvCo}/_buildManifest.js +0 -0
- /package/.next/static/{BWrym7DqlLEOj9Qds0FG_ → VfIBS4ayHueKxfLS6XvCo}/_ssgManifest.js +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
$
|
|
1
|
+
$ na run partytown && na run generate
|
|
2
2
|
$ partytown copylib ./public/~partytown
|
|
3
3
|
Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
|
|
4
|
-
$
|
|
5
|
-
|
|
6
|
-
[STATUS] $ tsx src/server/generator/generateGraphQLSchemaFile.ts --debug --verbose
|
|
4
|
+
$ na run generate:schema && na run generate:codegen && na run format:generated
|
|
5
|
+
$ tsx src/server/generator/generateGraphQLSchemaFile.ts
|
|
7
6
|
Schema GraphQL file generated successfully
|
|
8
|
-
|
|
9
|
-
[FINISHED] yarn generate:schema
|
|
10
|
-
[STARTED] yarn generate:codegen
|
|
11
|
-
[STATUS] $ graphql-codegen --debug --verbose
|
|
7
|
+
$ graphql-codegen
|
|
12
8
|
[STARTED] Parse Configuration
|
|
13
9
|
[SUCCESS] Parse Configuration
|
|
14
10
|
[STARTED] Generate outputs
|
|
@@ -25,32 +21,8 @@ Running lifecycle hook "afterStart" scripts...
|
|
|
25
21
|
[CLI] Loading Schemas
|
|
26
22
|
[CLI] Loading Documents
|
|
27
23
|
[CLI] Generating output
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
[STARTED] yarn format:generated
|
|
31
|
-
[STATUS] $ prettier --write "@generated/**/*.{ts,js,tsx,jsx,json}" --loglevel error --debug --verbose
|
|
32
|
-
|
|
33
|
-
[FINISHED] yarn format:generated
|
|
34
|
-
[STARTED] DESTINATION=/home/runner/work/faststore/faststore/node_modules/@faststore/core yarn generate:copy-back
|
|
35
|
-
[STATUS] $ copyfiles "@generated/**/*" $DESTINATION --debug --verbose
|
|
36
|
-
unglobed path: @generated/gql.ts
|
|
37
|
-
unglobed path: @generated/graphql.ts
|
|
38
|
-
unglobed path: @generated/index.ts
|
|
39
|
-
unglobed path: @generated/persisted-documents.json
|
|
40
|
-
unglobed path: @generated/schema.graphql
|
|
41
|
-
copy from: @generated/gql.ts
|
|
42
|
-
copy to: /home/runner/work/faststore/faststore/node_modules/@faststore/core/@generated/gql.ts
|
|
43
|
-
copy from: @generated/graphql.ts
|
|
44
|
-
copy to: /home/runner/work/faststore/faststore/node_modules/@faststore/core/@generated/graphql.ts
|
|
45
|
-
copy from: @generated/index.ts
|
|
46
|
-
copy to: /home/runner/work/faststore/faststore/node_modules/@faststore/core/@generated/index.ts
|
|
47
|
-
copy from: @generated/persisted-documents.json
|
|
48
|
-
copy to: /home/runner/work/faststore/faststore/node_modules/@faststore/core/@generated/persisted-documents.json
|
|
49
|
-
copy from: @generated/schema.graphql
|
|
50
|
-
copy to: /home/runner/work/faststore/faststore/node_modules/@faststore/core/@generated/schema.graphql
|
|
51
|
-
|
|
52
|
-
[FINISHED] DESTINATION=/home/runner/work/faststore/faststore/node_modules/@faststore/core yarn generate:copy-back
|
|
53
|
-
success - GraphQL schema, types, and optimizations successfully generated 🎉
|
|
24
|
+
$ prettier --write "@generated/**/*.{ts,js,tsx,jsx,json}" --loglevel error
|
|
25
|
+
$ next build
|
|
54
26
|
⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
|
|
55
27
|
Attention: Next.js now collects completely anonymous telemetry regarding usage.
|
|
56
28
|
This information is used to shape Next.js' roadmap and prioritize features.
|
|
@@ -74,8 +46,8 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
74
46
|
Collecting page data ...
|
|
75
47
|
Generating static pages (0/7) ...
|
|
76
48
|
|
|
77
49
|
Generating static pages (1/7)
|
|
78
|
-
|
|
79
50
|
Generating static pages (3/7)
|
|
80
51
|
Warning: Dynamic Content not found for the page: home. Refer to the Dynamic Content documentation at https://developers.vtex.com/docs/guides/faststore/dynamic-content-overview for mapping the page and the corresponding data-fetching function.
|
|
52
|
+
|
|
81
53
|
Generating static pages (3/7)
|
|
82
54
|
|
|
83
55
|
Generating static pages (5/7)
|
|
84
56
|
|
|
85
57
|
✓ Generating static pages (7/7)
|
|
86
58
|
Finalizing page optimization ...
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
$ jest
|
|
2
|
-
PASS test/server/cms/index.test.ts (31.
|
|
3
|
-
PASS test/utils/multipleTemplates.test.ts (31.
|
|
4
|
-
PASS test/server/index.test.ts (
|
|
2
|
+
PASS test/server/cms/index.test.ts (31.725 s)
|
|
3
|
+
PASS test/utils/multipleTemplates.test.ts (31.834 s)
|
|
4
|
+
PASS test/server/index.test.ts (34.049 s)
|
|
5
5
|
|
|
6
6
|
Test Suites: 3 passed, 3 total
|
|
7
7
|
Tests: 19 passed, 19 total
|
|
8
8
|
Snapshots: 0 total
|
|
9
|
-
Time:
|
|
9
|
+
Time: 35.154 s
|
|
10
10
|
Ran all test suites.
|
package/README.md
CHANGED
|
@@ -14,6 +14,8 @@ This starter ships the main FastStore configuration files to get your store up a
|
|
|
14
14
|
|
|
15
15
|
1. **Install dependencies**
|
|
16
16
|
|
|
17
|
+
> PS: you can install dependencies using the package manager of your choosing. In this guide, we'll be using `yarn` as an example.
|
|
18
|
+
|
|
17
19
|
Install dependencies with yarn
|
|
18
20
|
|
|
19
21
|
```shell
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.88",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "vtex/faststore",
|
|
6
6
|
"browserslist": "supports es6-module and not dead",
|
|
@@ -13,17 +13,19 @@
|
|
|
13
13
|
"scripts": {
|
|
14
14
|
"generate:schema": "tsx src/server/generator/generateGraphQLSchemaFile.ts",
|
|
15
15
|
"generate:codegen": "graphql-codegen",
|
|
16
|
-
"
|
|
17
|
-
"generate": "
|
|
18
|
-
"
|
|
19
|
-
"
|
|
16
|
+
"format:generated": "prettier --write \"@generated/**/*.{ts,js,tsx,jsx,json}\" --loglevel error",
|
|
17
|
+
"generate": "na run generate:schema && na run generate:codegen && na run format:generated",
|
|
18
|
+
"prebuild": "na run partytown && na run generate",
|
|
19
|
+
"build": "next build",
|
|
20
|
+
"predev": "na run partytown && na run generate",
|
|
21
|
+
"dev": "next dev",
|
|
22
|
+
"dev-only": "next dev",
|
|
20
23
|
"clean": "rm -r .next",
|
|
21
24
|
"serve": "next start",
|
|
22
25
|
"test:e2e": "cypress open",
|
|
23
26
|
"test": "jest",
|
|
24
27
|
"lhci": "lhci autorun",
|
|
25
28
|
"format": "prettier --write \"**/*.{ts,js,tsx,jsx,json}\"",
|
|
26
|
-
"format:generated": "prettier --write \"@generated/**/*.{ts,js,tsx,jsx,json}\" --loglevel error",
|
|
27
29
|
"lint": "next lint",
|
|
28
30
|
"stylelint": "stylelint \"**/*.scss\"",
|
|
29
31
|
"stylelint:fix": "stylelint \"**/*.scss\" --fix",
|
|
@@ -35,16 +37,17 @@
|
|
|
35
37
|
},
|
|
36
38
|
"sideEffects": false,
|
|
37
39
|
"dependencies": {
|
|
40
|
+
"@antfu/ni": "^0.21.12",
|
|
38
41
|
"@builder.io/partytown": "^0.6.1",
|
|
39
42
|
"@envelop/core": "^1.2.0",
|
|
40
43
|
"@envelop/graphql-jit": "^1.1.1",
|
|
41
44
|
"@envelop/parser-cache": "^2.2.0",
|
|
42
45
|
"@envelop/validation-cache": "^2.2.0",
|
|
43
|
-
"@faststore/api": "^3.0.
|
|
44
|
-
"@faststore/components": "^3.0.
|
|
45
|
-
"@faststore/graphql-utils": "^3.0.
|
|
46
|
-
"@faststore/sdk": "^3.0.
|
|
47
|
-
"@faststore/ui": "^3.0.
|
|
46
|
+
"@faststore/api": "^3.0.88",
|
|
47
|
+
"@faststore/components": "^3.0.88",
|
|
48
|
+
"@faststore/graphql-utils": "^3.0.88",
|
|
49
|
+
"@faststore/sdk": "^3.0.88",
|
|
50
|
+
"@faststore/ui": "^3.0.88",
|
|
48
51
|
"@graphql-codegen/cli": "^5.0.2",
|
|
49
52
|
"@graphql-codegen/client-preset": "^4.2.6",
|
|
50
53
|
"@graphql-codegen/typescript": "^4.0.7",
|
|
@@ -60,7 +63,6 @@
|
|
|
60
63
|
"@vtex/prettier-config": "1.0.0",
|
|
61
64
|
"autoprefixer": "^10.4.0",
|
|
62
65
|
"chalk": "^5.2.0",
|
|
63
|
-
"copyfiles": "^2.4.1",
|
|
64
66
|
"css-loader": "^6.7.1",
|
|
65
67
|
"deepmerge": "^4.3.1",
|
|
66
68
|
"draftjs-to-html": "^0.9.1",
|
|
@@ -86,8 +88,7 @@
|
|
|
86
88
|
"devDependencies": {
|
|
87
89
|
"@cypress/code-coverage": "^3.12.1",
|
|
88
90
|
"@envelop/testing": "^6.0.0",
|
|
89
|
-
"@faststore/
|
|
90
|
-
"@faststore/eslint-config": "^3.0.68",
|
|
91
|
+
"@faststore/eslint-config": "^3.0.88",
|
|
91
92
|
"@faststore/lighthouse": "^1.12.32",
|
|
92
93
|
"@lhci/cli": "^0.9.0",
|
|
93
94
|
"@testing-library/cypress": "^10.0.1",
|
|
@@ -129,5 +130,5 @@
|
|
|
129
130
|
"node": "18.19.0",
|
|
130
131
|
"yarn": "1.19.1"
|
|
131
132
|
},
|
|
132
|
-
"gitHead": "
|
|
133
|
+
"gitHead": "31a958b995b2477f5c15b0b7dd8ec522e47629d9"
|
|
133
134
|
}
|
|
File without changes
|
|
File without changes
|