@graphcommerce/next-config 8.1.0-canary.8 → 8.1.0-canary.9
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 +7 -0
- package/Config.graphqls +5 -5
- package/dist/generated/config.js +2 -1
- package/package.json +1 -1
- package/src/generated/config.ts +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.1.0-canary.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2223](https://github.com/graphcommerce-org/graphcommerce/pull/2223) [`4f7fe02`](https://github.com/graphcommerce-org/graphcommerce/commit/4f7fe02c6f0f017d7a52559df1972551eb0cba47) - Added robotsAllow to storefront config
|
|
8
|
+
([@bramvanderholst](https://github.com/bramvanderholst))
|
|
9
|
+
|
|
3
10
|
## 8.1.0-canary.8
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/Config.graphqls
CHANGED
|
@@ -138,11 +138,11 @@ input GraphCommerceStorefrontConfig {
|
|
|
138
138
|
"""
|
|
139
139
|
locale: String!
|
|
140
140
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
141
|
+
"""
|
|
142
|
+
Allow the site to be indexed by search engines.
|
|
143
|
+
If false, the robots.txt file will be set to disallow all.
|
|
144
|
+
"""
|
|
145
|
+
robotsAllow: Boolean
|
|
146
146
|
|
|
147
147
|
"""
|
|
148
148
|
The canonical base URL is used for SEO purposes.
|
package/dist/generated/config.js
CHANGED
|
@@ -74,7 +74,8 @@ function GraphCommerceStorefrontConfigSchema() {
|
|
|
74
74
|
hygraphLocales: zod_1.z.array(zod_1.z.string().min(1)).nullish(),
|
|
75
75
|
linguiLocale: zod_1.z.string().nullish(),
|
|
76
76
|
locale: zod_1.z.string().min(1),
|
|
77
|
-
magentoStoreCode: zod_1.z.string().min(1)
|
|
77
|
+
magentoStoreCode: zod_1.z.string().min(1),
|
|
78
|
+
robotsAllow: zod_1.z.boolean().nullish()
|
|
78
79
|
});
|
|
79
80
|
}
|
|
80
81
|
exports.GraphCommerceStorefrontConfigSchema = GraphCommerceStorefrontConfigSchema;
|
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": "8.1.0-canary.
|
|
5
|
+
"version": "8.1.0-canary.9",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "src/index.ts",
|
package/src/generated/config.ts
CHANGED
|
@@ -384,6 +384,11 @@ export type GraphCommerceStorefrontConfig = {
|
|
|
384
384
|
* - b2b-us
|
|
385
385
|
*/
|
|
386
386
|
magentoStoreCode: Scalars['String']['input'];
|
|
387
|
+
/**
|
|
388
|
+
* Allow the site to be indexed by search engines.
|
|
389
|
+
* If false, the robots.txt file will be set to disallow all.
|
|
390
|
+
*/
|
|
391
|
+
robotsAllow?: InputMaybe<Scalars['Boolean']['input']>;
|
|
387
392
|
};
|
|
388
393
|
|
|
389
394
|
/** Options to configure which values will be replaced when a variant is selected on the product page. */
|
|
@@ -508,7 +513,8 @@ export function GraphCommerceStorefrontConfigSchema(): z.ZodObject<Properties<Gr
|
|
|
508
513
|
hygraphLocales: z.array(z.string().min(1)).nullish(),
|
|
509
514
|
linguiLocale: z.string().nullish(),
|
|
510
515
|
locale: z.string().min(1),
|
|
511
|
-
magentoStoreCode: z.string().min(1)
|
|
516
|
+
magentoStoreCode: z.string().min(1),
|
|
517
|
+
robotsAllow: z.boolean().nullish()
|
|
512
518
|
})
|
|
513
519
|
}
|
|
514
520
|
|