@uniflowed/config 0.0.0-alpha.10 → 0.0.0-alpha.11

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 (2) hide show
  1. package/internal/schema.js +13 -0
  2. package/package.json +1 -1
@@ -223,6 +223,19 @@ export type UniflowedConfig = {
223
223
  >,
224
224
  },
225
225
  },
226
+ // Where the built site is served from, and what `uf build` may therefore
227
+ // write for a crawler. `url` is the switch: without it no `sitemap.xml` and
228
+ // no `robots.txt` are written at all, because a build cannot guess the host
229
+ // it will be deployed to and a wrong `<loc>` is worse than a missing one.
230
+ readonly site?: {
231
+ readonly url?: string,
232
+ readonly sitemap?: boolean,
233
+ readonly robots?: {
234
+ readonly enabled?: boolean,
235
+ readonly allow?: $ReadOnlyArray<string>,
236
+ readonly disallow?: $ReadOnlyArray<string>,
237
+ },
238
+ },
226
239
  readonly std?: {
227
240
  readonly module?: "@uniflowed/std",
228
241
  readonly wintertcAligned?: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniflowed/config",
3
- "version": "0.0.0-alpha.10",
3
+ "version": "0.0.0-alpha.11",
4
4
  "description": "Flow declarations for @uniflowed/config, part of the Unified Toolchain for Flow.",
5
5
  "type": "module",
6
6
  "license": "MIT",