@faststore/core 2.2.21 → 2.2.23

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.
Files changed (33) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +2 -2
  3. package/.next/cache/config.json +3 -3
  4. package/.next/cache/eslint/.cache_1gneedd +1 -1
  5. package/.next/cache/next-server.js.nft.json +1 -1
  6. package/.next/cache/webpack/client-production/0.pack +0 -0
  7. package/.next/cache/webpack/client-production/index.pack +0 -0
  8. package/.next/cache/webpack/server-production/0.pack +0 -0
  9. package/.next/cache/webpack/server-production/index.pack +0 -0
  10. package/.next/next-server.js.nft.json +1 -1
  11. package/.next/prerender-manifest.json +1 -1
  12. package/.next/required-server-files.json +1 -1
  13. package/.next/routes-manifest.json +1 -1
  14. package/.next/server/chunks/350.js +1 -1
  15. package/.next/server/middleware-build-manifest.js +1 -1
  16. package/.next/server/pages/[...slug].js.nft.json +1 -1
  17. package/.next/server/pages/[slug]/p.js.nft.json +1 -1
  18. package/.next/server/pages/api/graphql.js +1 -1
  19. package/.next/server/pages/en-US/404.html +2 -2
  20. package/.next/server/pages/en-US/500.html +2 -2
  21. package/.next/server/pages/en-US/account.html +2 -2
  22. package/.next/server/pages/en-US/checkout.html +2 -2
  23. package/.next/server/pages/en-US/login.html +2 -2
  24. package/.next/server/pages/en-US/s.html +2 -2
  25. package/.next/server/pages/en-US.html +2 -2
  26. package/.next/server/pages-manifest.json +4 -4
  27. package/.next/trace +78 -78
  28. package/.turbo/turbo-build.log +3 -3
  29. package/.turbo/turbo-test.log +10 -10
  30. package/next.config.js +1 -0
  31. package/package.json +9 -9
  32. /package/.next/static/{l5ofCQQvVmQNWMK4ps_PJ → N870BOZXD3VnjKNTRfXUY}/_buildManifest.js +0 -0
  33. /package/.next/static/{l5ofCQQvVmQNWMK4ps_PJ → N870BOZXD3VnjKNTRfXUY}/_ssgManifest.js +0 -0
@@ -1,7 +1,7 @@
1
1
  $ yarn partytown & yarn generate && next build
2
+ $ faststore generate-graphql -c
2
3
  $ partytown copylib ./public/~partytown
3
4
  Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
4
- $ faststore generate-graphql -c
5
5
  success - GraphQL schema, types, and optimizations successfully generated 🎉
6
6
  warn - You have enabled experimental feature (scrollRestoration) in next.config.js.
7
7
  warn - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
@@ -20,15 +20,15 @@ info - Compiled successfully
20
20
  info - Collecting page data...
21
21
  info - Generating static pages (0/7)
22
22
  warn - AlertSectionIcon not found. Add a new component for this section or remove it from the CMS
23
- info - Generating static pages (1/7)
24
23
  warn - AlertSectionIcon not found. Add a new component for this section or remove it from the CMS
25
24
  warn - AlertSectionIcon not found. Add a new component for this section or remove it from the CMS
25
+ info - Generating static pages (1/7)
26
+ warn - AlertSectionIcon not found. Add a new component for this section or remove it from the CMS
26
27
  info - Generating static pages (3/7)
27
28
  warn - AlertSectionIcon not found. Add a new component for this section or remove it from the CMS
28
29
  warn - AlertSectionIcon not found. Add a new component for this section or remove it from the CMS
29
30
  info - Generating static pages (5/7)
30
31
  warn - AlertSectionIcon not found. Add a new component for this section or remove it from the CMS
31
- warn - AlertSectionIcon not found. Add a new component for this section or remove it from the CMS
32
32
  info - Generating static pages (7/7)
33
33
  info - Finalizing page optimization...
34
34
 
@@ -1,25 +1,25 @@
1
1
  $ tsdx test
2
2
  ts-jest[versions] (WARN) Version 29.1.0 of jest installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=25.0.0 <26.0.0). Please do not report issues in ts-jest if you are using unsupported versions.
3
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 (16.932s)
4
+ PASS test/server/index.test.ts (19.498s)
5
5
  FastStore GraphQL Layer
6
6
  @faststore/api
7
- ✓ should return a valid GraphQL schema (33ms)
8
- ✓ should return a valid GraphQL schema contain all expected types (9ms)
9
- ✓ should return a valid GraphQL schema contain all expected queries (2ms)
7
+ ✓ should return a valid GraphQL schema (5ms)
8
+ ✓ should return a valid GraphQL schema contain all expected types (4ms)
9
+ ✓ should return a valid GraphQL schema contain all expected queries (1ms)
10
10
  ✓ should return a valid GraphQL schema contain all expected mutations
11
11
  VTEX API Extension
12
- ✓ getTypeDefsFromFolder function should return an Array (15ms)
12
+ ✓ getTypeDefsFromFolder function should return an Array (10ms)
13
13
  Third Party API Extension
14
- ✓ getTypeDefsFromFolder function should return an Array (29ms)
14
+ ✓ getTypeDefsFromFolder function should return an Array (4ms)
15
15
  Final Schema after merging
16
- ✓ should return a valid merged GraphQL schema (106ms)
16
+ ✓ should return a valid merged GraphQL schema (26ms)
17
17
  Envelop
18
- ✓ should exist with its plugins (85ms)
19
- ✓ should handle options and execute (296ms)
18
+ ✓ should exist with its plugins (25ms)
19
+ ✓ should handle options and execute (152ms)
20
20
 
21
21
  Test Suites: 1 passed, 1 total
22
22
  Tests: 9 passed, 9 total
23
23
  Snapshots: 0 total
24
- Time: 17.882s
24
+ Time: 20.493s
25
25
  Ran all test suites.
package/next.config.js CHANGED
@@ -44,6 +44,7 @@ const nextConfig = {
44
44
  return config
45
45
  },
46
46
  redirects: storeConfig.redirects,
47
+ rewrites: storeConfig.rewrites,
47
48
  }
48
49
 
49
50
  module.exports = nextConfig
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "2.2.21",
3
+ "version": "2.2.23",
4
4
  "license": "MIT",
5
5
  "browserslist": "supports es6-module and not dead",
6
6
  "exports": {
@@ -36,11 +36,11 @@
36
36
  "@envelop/graphql-jit": "^1.1.1",
37
37
  "@envelop/parser-cache": "^2.2.0",
38
38
  "@envelop/validation-cache": "^2.2.0",
39
- "@faststore/api": "^2.2.20",
40
- "@faststore/components": "^2.2.20",
41
- "@faststore/graphql-utils": "^2.2.20",
42
- "@faststore/sdk": "^2.2.20",
43
- "@faststore/ui": "^2.2.20",
39
+ "@faststore/api": "^2.2.22",
40
+ "@faststore/components": "^2.2.22",
41
+ "@faststore/graphql-utils": "^2.2.22",
42
+ "@faststore/sdk": "^2.2.22",
43
+ "@faststore/ui": "^2.2.22",
44
44
  "@graphql-codegen/cli": "^3.3.1",
45
45
  "@graphql-codegen/typescript": "^3.0.4",
46
46
  "@graphql-codegen/typescript-operations": "^3.0.4",
@@ -77,8 +77,8 @@
77
77
  "devDependencies": {
78
78
  "@cypress/code-coverage": "^3.12.1",
79
79
  "@envelop/testing": "^6.0.0",
80
- "@faststore/cli": "^2.2.20",
81
- "@faststore/eslint-config": "^2.2.20",
80
+ "@faststore/cli": "^2.2.23",
81
+ "@faststore/eslint-config": "^2.2.22",
82
82
  "@faststore/lighthouse": "^1.12.32",
83
83
  "@lhci/cli": "^0.9.0",
84
84
  "@testing-library/cypress": "^10.0.1",
@@ -118,5 +118,5 @@
118
118
  "msw": {
119
119
  "workerDirectory": "public"
120
120
  },
121
- "gitHead": "989edf1398897da07c47c068155dc7afcf7ef078"
121
+ "gitHead": "57bdd7b7fcdf9ac4a26b40029670dc2742fb670b"
122
122
  }