@faststore/core 2.2.77 → 2.2.78

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 (41) 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/middleware-build-manifest.js +1 -1
  15. package/.next/server/pages/404.js.nft.json +1 -1
  16. package/.next/server/pages/500.js.nft.json +1 -1
  17. package/.next/server/pages/[...slug].js.nft.json +1 -1
  18. package/.next/server/pages/[slug]/p.js.nft.json +1 -1
  19. package/.next/server/pages/_app.js.nft.json +1 -1
  20. package/.next/server/pages/_error.js.nft.json +1 -1
  21. package/.next/server/pages/account.js.nft.json +1 -1
  22. package/.next/server/pages/api/graphql.js.nft.json +1 -1
  23. package/.next/server/pages/checkout.js.nft.json +1 -1
  24. package/.next/server/pages/en-US/404.html +2 -2
  25. package/.next/server/pages/en-US/500.html +2 -2
  26. package/.next/server/pages/en-US/account.html +2 -2
  27. package/.next/server/pages/en-US/checkout.html +2 -2
  28. package/.next/server/pages/en-US/login.html +2 -2
  29. package/.next/server/pages/en-US/s.html +2 -2
  30. package/.next/server/pages/en-US.html +2 -2
  31. package/.next/server/pages/index.js.nft.json +1 -1
  32. package/.next/server/pages/login.js.nft.json +1 -1
  33. package/.next/server/pages/s.js.nft.json +1 -1
  34. package/.next/trace +82 -82
  35. package/.turbo/turbo-build.log +2 -2
  36. package/.turbo/turbo-lint.log +1 -1
  37. package/.turbo/turbo-test.log +10 -10
  38. package/next.config.js +3 -0
  39. package/package.json +9 -9
  40. /package/.next/static/{RSHWlIOnC1jAGjYtzvUGP → JJRI44e-3F3WVhD-DxmO2}/_buildManifest.js +0 -0
  41. /package/.next/static/{RSHWlIOnC1jAGjYtzvUGP → JJRI44e-3F3WVhD-DxmO2}/_ssgManifest.js +0 -0
@@ -1,9 +1,9 @@
1
1
  $ yarn partytown & yarn generate && next build
2
- $ faststore generate-graphql -c
3
2
  $ partytown copylib ./public/~partytown
4
3
  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
- warn - You have enabled experimental feature (scrollRestoration) in next.config.js.
6
+ warn - You have enabled experimental features (scrollRestoration, outputFileTracingRoot) 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.
8
8
 
9
9
  warn - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
@@ -1,5 +1,5 @@
1
1
  $ next lint
2
- warn - You have enabled experimental feature (scrollRestoration) in next.config.js.
2
+ warn - You have enabled experimental features (scrollRestoration, outputFileTracingRoot) in next.config.js.
3
3
  warn - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
4
4
 
5
5
  ✔ No ESLint warnings or errors
@@ -1,23 +1,23 @@
1
1
  $ jest
2
- PASS test/server/index.test.ts (21.194 s)
2
+ PASS test/server/index.test.ts (21.476 s)
3
3
  FastStore GraphQL Layer
4
4
  @faststore/api
5
- ✓ should return a valid GraphQL schema (11 ms)
6
- ✓ should return a valid GraphQL schema contain all expected types (10 ms)
7
- ✓ should return a valid GraphQL schema contain all expected queries (2 ms)
5
+ ✓ should return a valid GraphQL schema (9 ms)
6
+ ✓ should return a valid GraphQL schema contain all expected types (7 ms)
7
+ ✓ should return a valid GraphQL schema contain all expected queries (1 ms)
8
8
  ✓ should return a valid GraphQL schema contain all expected mutations (1 ms)
9
9
  VTEX API Extension
10
- ✓ getTypeDefsFromFolder function should return an Array (9 ms)
11
- Third Party API Extension
12
10
  ✓ getTypeDefsFromFolder function should return an Array (8 ms)
11
+ Third Party API Extension
12
+ ✓ getTypeDefsFromFolder function should return an Array (7 ms)
13
13
  Final Schema after merging
14
- ✓ should return a valid merged GraphQL schema (90 ms)
14
+ ✓ should return a valid merged GraphQL schema (36 ms)
15
15
  Envelop
16
- ✓ should exist with its plugins (158 ms)
17
- ✓ should handle options and execute (484 ms)
16
+ ✓ should exist with its plugins (29 ms)
17
+ ✓ should handle options and execute (115 ms)
18
18
 
19
19
  Test Suites: 1 passed, 1 total
20
20
  Tests: 9 passed, 9 total
21
21
  Snapshots: 0 total
22
- Time: 21.329 s
22
+ Time: 21.565 s
23
23
  Ran all test suites.
package/next.config.js CHANGED
@@ -1,4 +1,5 @@
1
1
  // @ts-check
2
+ const path = require('path')
2
3
  const storeConfig = require('./faststore.config')
3
4
 
4
5
  /**
@@ -21,6 +22,8 @@ const nextConfig = {
21
22
  // TODO: We won't need to enable this experimental feature when migrating to Next.js 13
22
23
  experimental: {
23
24
  scrollRestoration: true,
25
+ // Trace user's `node_modules` dir
26
+ outputFileTracingRoot: path.join(__dirname, '../'),
24
27
  },
25
28
  webpack: (config, { isServer, dev }) => {
26
29
  // https://github.com/vercel/next.js/discussions/11267#discussioncomment-2479112
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "2.2.77",
3
+ "version": "2.2.78",
4
4
  "license": "MIT",
5
5
  "repository": "vtex/faststore",
6
6
  "browserslist": "supports es6-module and not dead",
@@ -37,11 +37,11 @@
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.69",
41
- "@faststore/components": "^2.2.69",
42
- "@faststore/graphql-utils": "^2.2.69",
43
- "@faststore/sdk": "^2.2.69",
44
- "@faststore/ui": "^2.2.69",
40
+ "@faststore/api": "^2.2.78",
41
+ "@faststore/components": "^2.2.78",
42
+ "@faststore/graphql-utils": "^2.2.78",
43
+ "@faststore/sdk": "^2.2.78",
44
+ "@faststore/ui": "^2.2.78",
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",
@@ -78,8 +78,8 @@
78
78
  "devDependencies": {
79
79
  "@cypress/code-coverage": "^3.12.1",
80
80
  "@envelop/testing": "^6.0.0",
81
- "@faststore/cli": "^2.2.73",
82
- "@faststore/eslint-config": "^2.2.69",
81
+ "@faststore/cli": "^2.2.78",
82
+ "@faststore/eslint-config": "^2.2.78",
83
83
  "@faststore/lighthouse": "^1.12.32",
84
84
  "@lhci/cli": "^0.9.0",
85
85
  "@testing-library/cypress": "^10.0.1",
@@ -123,5 +123,5 @@
123
123
  "node": "18.19.0",
124
124
  "yarn": "1.19.1"
125
125
  },
126
- "gitHead": "162bb86ca893949465f47929605b0477c384d195"
126
+ "gitHead": "3c62fe1c0b2432c97a93a2be93f4c761d0ed546c"
127
127
  }