@graphcommerce/next-config 10.0.0-canary.67 → 10.0.0-canary.68

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/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Change Log
2
2
 
3
+ ## 10.0.0-canary.68
4
+
3
5
  ## 10.0.0-canary.67
4
6
 
5
7
  ## 10.0.0-canary.66
@@ -1,5 +1,6 @@
1
1
  import type { GraphCommerceConfig } from '../../src/generated/config'
2
2
  import { findPlugins } from '../../src/interceptors/findPlugins'
3
+
3
4
  const projectRoot = `${process.cwd()}/examples/magento-graphcms`
4
5
  it('finds plugins', () => {
5
6
  const fakeconfig = {
@@ -1,4 +1,5 @@
1
1
  import { resolveDependenciesSync, sortDependencies } from '../../src/utils/resolveDependenciesSync'
2
+
2
3
  const projectRoot = `${process.cwd()}/examples/magento-graphcms`
3
4
  it('It resolves and sorts dependencies beginning with the root example package and ending with the the packages used everywhere.', () => {
4
5
  const dependencies = resolveDependenciesSync(projectRoot)
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/next-config",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "10.0.0-canary.67",
5
+ "version": "10.0.0-canary.68",
6
6
  "type": "module",
7
7
  "types": "./src/index.ts",
8
8
  "exports": {
@@ -64,7 +64,7 @@
64
64
  },
65
65
  "peerDependencies": {
66
66
  "@apollo/client": "*",
67
- "@graphcommerce/prettier-config-pwa": "^10.0.0-canary.67",
67
+ "@graphcommerce/prettier-config-pwa": "^10.0.0-canary.68",
68
68
  "@lingui/loader": "*",
69
69
  "@lingui/macro": "*",
70
70
  "@lingui/react": "*",
@@ -82,7 +82,6 @@ function getSectionSchemaKeys(configKey: keyof GraphCommerceConfig): string[] {
82
82
  break
83
83
  }
84
84
 
85
-
86
85
  // Direct ZodObject
87
86
  if (unwrappedSchema && 'shape' in unwrappedSchema) {
88
87
  const shape =
@@ -1,5 +1,4 @@
1
1
  import { z } from 'zod'
2
-
3
2
  export type Maybe<T> = T | null
4
3
  export type InputMaybe<T> = Maybe<T>
5
4
  export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }
@@ -53,7 +52,8 @@ export type DatalayerConfig = {
53
52
  *
54
53
  * ## Using configuration
55
54
  *
56
- * Configuration can be accessed in your project with the `import.meta.graphCommerce` object.
55
+ * Configuration can be accessed in your project by importing the config from
56
+ * `@graphcommerce/next-config/config`.
57
57
  *
58
58
  * ```tsx
59
59
  * import {