@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,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.
|
|
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
|
+
"@graphcommerce/prettier-config-pwa": "^10.0.0-canary.68",
|
|
68
68
|
"@lingui/loader": "*",
|
|
69
69
|
"@lingui/macro": "*",
|
|
70
70
|
"@lingui/react": "*",
|
package/src/generated/config.ts
CHANGED
|
@@ -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
|
|
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 {
|