@uniflowed/config 0.3.0 → 0.5.0
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/internal/schema.js +18 -0
- package/package.json +1 -1
package/internal/schema.js
CHANGED
|
@@ -1071,6 +1071,13 @@ export type UniflowedConfig = {
|
|
|
1071
1071
|
readonly officialFlowParser?: true,
|
|
1072
1072
|
},
|
|
1073
1073
|
readonly reactTestingLibraryNative?: true,
|
|
1074
|
+
/**
|
|
1075
|
+
* Let `uf test` split a long test file into shares that run on several
|
|
1076
|
+
* workers at once, each importing the file and running its own contiguous
|
|
1077
|
+
* run of cases. Off by default: turn it on only when no case relies on
|
|
1078
|
+
* one written above it having run in the same process.
|
|
1079
|
+
*/
|
|
1080
|
+
readonly splitFiles?: boolean,
|
|
1074
1081
|
/**
|
|
1075
1082
|
* What `uf test --coverage` measures, writes and fails on.
|
|
1076
1083
|
*
|
|
@@ -1101,6 +1108,17 @@ export type UniflowedConfig = {
|
|
|
1101
1108
|
* with it; a fix to a half-staged one is not kept, and stops the commit.
|
|
1102
1109
|
*/
|
|
1103
1110
|
readonly staged?: { readonly [string]: string | $ReadOnlyArray<string> },
|
|
1111
|
+
/**
|
|
1112
|
+
* The release of uf this project runs on: `"0.3.0"`.
|
|
1113
|
+
*
|
|
1114
|
+
* Any uf started inside the project — whichever release is on `PATH` —
|
|
1115
|
+
* hands the command to this one, from the installer's store, installing it
|
|
1116
|
+
* first. Nothing global changes; outside the project the machine's own uf
|
|
1117
|
+
* runs. An exact release only: a prefix or a range is refused.
|
|
1118
|
+
* `UF_TOOLCHAIN=<version>` overrides it for one command, and
|
|
1119
|
+
* `UF_TOOLCHAIN=current` runs the uf that was started.
|
|
1120
|
+
*/
|
|
1121
|
+
readonly uf?: string,
|
|
1104
1122
|
/**
|
|
1105
1123
|
* Where `uf ui add` writes the components a project owns, and where
|
|
1106
1124
|
* `uf ui list` and `uf ui diff` look for them.
|