@graphcommerce/next-config 9.1.0-canary.50 → 9.1.0-canary.52
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 +8 -0
- package/__tests__/interceptors/findPlugins.ts +16 -8
- package/dist/index.js +2 -2
- package/package.json +2 -2
- package/src/index.ts +8 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 9.1.0-canary.52
|
|
4
|
+
|
|
5
|
+
## 9.1.0-canary.51
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- [#2537](https://github.com/graphcommerce-org/graphcommerce/pull/2537) [`6492d81`](https://github.com/graphcommerce-org/graphcommerce/commit/6492d819a858ffdc01a97e6914053e9cc14c8fc5) - Reduce exported scope of config so we dont introduce a hidden dependency on Magento ([@paales](https://github.com/paales))
|
|
10
|
+
|
|
3
11
|
## 9.1.0-canary.50
|
|
4
12
|
|
|
5
13
|
## 9.1.0-canary.49
|
|
@@ -620,6 +620,14 @@ it('finds plugins', () => {
|
|
|
620
620
|
"targetModule": "@graphcommerce/graphql",
|
|
621
621
|
"type": "component",
|
|
622
622
|
},
|
|
623
|
+
{
|
|
624
|
+
"enabled": true,
|
|
625
|
+
"sourceExport": "getPrivateQueryContextMesh",
|
|
626
|
+
"sourceModule": "@graphcommerce/magento-customer/plugins/magentoCustomerPrivateQueryContext",
|
|
627
|
+
"targetExport": "getPrivateQueryContextMesh",
|
|
628
|
+
"targetModule": "@graphcommerce/graphql",
|
|
629
|
+
"type": "function",
|
|
630
|
+
},
|
|
623
631
|
{
|
|
624
632
|
"enabled": true,
|
|
625
633
|
"sourceExport": "getPrivateQueryContext",
|
|
@@ -672,6 +680,14 @@ it('finds plugins', () => {
|
|
|
672
680
|
"targetModule": "@graphcommerce/graphql",
|
|
673
681
|
"type": "function",
|
|
674
682
|
},
|
|
683
|
+
{
|
|
684
|
+
"enabled": true,
|
|
685
|
+
"sourceExport": "getPrivateQueryContextMesh",
|
|
686
|
+
"sourceModule": "@graphcommerce/magento-store/plugins/magentoCurrencyCode",
|
|
687
|
+
"targetExport": "getPrivateQueryContextMesh",
|
|
688
|
+
"targetModule": "@graphcommerce/graphql",
|
|
689
|
+
"type": "function",
|
|
690
|
+
},
|
|
675
691
|
{
|
|
676
692
|
"enabled": true,
|
|
677
693
|
"sourceExport": "getPrivateQueryContext",
|
|
@@ -720,14 +736,6 @@ it('finds plugins', () => {
|
|
|
720
736
|
"targetModule": "@graphcommerce/graphql",
|
|
721
737
|
"type": "function",
|
|
722
738
|
},
|
|
723
|
-
{
|
|
724
|
-
"enabled": true,
|
|
725
|
-
"sourceExport": "dataIdFromObject",
|
|
726
|
-
"sourceModule": "@graphcommerce/magento-graphql/plugins/magentoGraphqlConfig",
|
|
727
|
-
"targetExport": "dataIdFromObject",
|
|
728
|
-
"targetModule": "@graphcommerce/graphql",
|
|
729
|
-
"type": "function",
|
|
730
|
-
},
|
|
731
739
|
{
|
|
732
740
|
"enabled": true,
|
|
733
741
|
"sourceExport": "meshConfig",
|
package/dist/index.js
CHANGED
|
@@ -2,10 +2,10 @@ import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(im
|
|
|
2
2
|
import path from 'node:path';
|
|
3
3
|
import assert from 'assert';
|
|
4
4
|
import crypto from 'crypto';
|
|
5
|
+
import { GraphCommerceConfigSchema } from './generated/config.js';
|
|
6
|
+
export { GraphCommerceDebugConfigSchema, GraphCommerceStorefrontConfigSchema } from './generated/config.js';
|
|
5
7
|
import webpack from 'webpack';
|
|
6
8
|
import { cosmiconfigSync } from 'cosmiconfig';
|
|
7
|
-
import { GraphCommerceConfigSchema } from './generated/config.js';
|
|
8
|
-
export { CartPermissionsSchema, CompareVariantSchema, ContainerSizingSchema, CustomerAccountPermissionsSchema, DatalayerConfigSchema, GraphCommerceDebugConfigSchema, GraphCommerceGooglePlaystoreConfigSchema, GraphCommercePermissionsSchema, GraphCommerceStorefrontConfigSchema, MagentoConfigurableVariantValuesSchema, PaginationVariantSchema, ProductFiltersLayoutSchema, RecentlyViewedProductsConfigSchema, SidebarGalleryConfigSchema, SidebarGalleryPaginationVariantSchema, WebsitePermissionsSchema, definedNonNullAnySchema, isDefinedNonNullAny } from './generated/config.js';
|
|
9
9
|
import chalk from 'chalk';
|
|
10
10
|
import lodash from 'lodash';
|
|
11
11
|
import { z, ZodEffects, ZodOptional, ZodNullable, ZodDefault, ZodObject, ZodArray, ZodNumber, ZodString, ZodEnum, ZodBoolean } from 'zod';
|
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": "9.1.0-canary.
|
|
5
|
+
"version": "9.1.0-canary.52",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./src/index.ts",
|
|
8
8
|
"exports": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"zod": "^3.24.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@graphcommerce/prettier-config-pwa": "^9.1.0-canary.
|
|
46
|
+
"@graphcommerce/prettier-config-pwa": "^9.1.0-canary.52",
|
|
47
47
|
"@lingui/loader": "*",
|
|
48
48
|
"@lingui/macro": "*",
|
|
49
49
|
"@lingui/react": "*",
|
package/src/index.ts
CHANGED
|
@@ -7,8 +7,15 @@ export * from './utils/isMonorepo'
|
|
|
7
7
|
export * from './utils/resolveDependenciesSync'
|
|
8
8
|
export * from './utils/packageRoots'
|
|
9
9
|
export * from './utils/sig'
|
|
10
|
+
export {
|
|
11
|
+
type GraphCommerceConfig,
|
|
12
|
+
GraphCommerceConfigSchema,
|
|
13
|
+
type GraphCommerceStorefrontConfig,
|
|
14
|
+
GraphCommerceStorefrontConfigSchema,
|
|
15
|
+
type GraphCommerceDebugConfig,
|
|
16
|
+
GraphCommerceDebugConfigSchema,
|
|
17
|
+
} from './generated/config'
|
|
10
18
|
export * from './withGraphCommerce'
|
|
11
|
-
export * from './generated/config'
|
|
12
19
|
export * from './config'
|
|
13
20
|
export * from './interceptors/commands/codegenInterceptors'
|
|
14
21
|
export * from './commands/copyFiles'
|