@uniflowed/config 0.0.0-alpha.40 → 0.0.0-alpha.41

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 +18 -1
  2. package/package.json +1 -1
@@ -544,6 +544,14 @@ export type UniflowedConfig = {
544
544
  * `"ignore"` when absent.
545
545
  */
546
546
  readonly trailingSlash?: RouterTrailingSlash,
547
+ /** HTTPS links explicitly claimed by the iOS and Android applications. */
548
+ readonly nativeLinks?: {|
549
+ readonly origins: $ReadOnlyArray<string>,
550
+ readonly routes: $ReadOnlyArray<string>,
551
+ readonly iosAppIds: $ReadOnlyArray<string>,
552
+ readonly androidPackage: string,
553
+ readonly androidSha256: $ReadOnlyArray<string>,
554
+ |},
547
555
  },
548
556
  readonly rendering?: {
549
557
  // `"csr"` is the one value that cannot share the list: it renders every
@@ -987,13 +995,22 @@ export type UniflowedConfig = {
987
995
  * `RuntimeSpec`.
988
996
  */
989
997
  readonly runtime?: RuntimeSpec,
998
+ /**
999
+ * Which application host `uf test` targets.
1000
+ *
1001
+ * `"auto"` follows `app.framework`: React Native projects target
1002
+ * `"react-native"`, and every other project targets `"web"`. Write
1003
+ * `"web"` in a React Native project only for tests that intentionally
1004
+ * target a document.
1005
+ */
1006
+ readonly target?: "auto" | "web" | "react-native",
990
1007
  /**
991
1008
  * What runs the suite: `"uf"`, the default, or `"bun[@version]"`. See
992
1009
  * `TestRunnerSpec`.
993
1010
  *
994
1011
  * The object is the old description of uf's own runner, field by field,
995
1012
  * and is **deprecated**: it still parses, and `applicationTarget` in it is
996
- * still read. ubugeeei-prod/uf#953 is where that one field goes next.
1013
+ * still read when `target` is absent.
997
1014
  */
998
1015
  readonly runner?:
999
1016
  | TestRunnerSpec
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniflowed/config",
3
- "version": "0.0.0-alpha.40",
3
+ "version": "0.0.0-alpha.41",
4
4
  "description": "Flow declarations for @uniflowed/config, part of the Unified Toolchain for Flow.",
5
5
  "type": "module",
6
6
  "license": "MIT",