/** * The CI pipeline execute `priority` as below * 1. Fixed module build depends on config : `fixedBuildModules` of `flatjs-evolve.config.ts` * 2. Dynamic build depends on commits (`flat build evolve --commits=""`) * 3. Normally build manually using (`flat build evolve -m "a;b"`) */ export type FlatEvolveCI = { /** * A function used to determine if a module (also include root node) should be included in the dependency tree * it should not work if you have `fixedBuildModules` definition. * @param moduleId The imported module * @default `() => true` */ graphTreeNodeFilter?: (moduleId: string) => boolean; /** * The build module patterns, `Highest Priority First` * Support "a;b;c" RegExp pattern; `new RegExp(`${pattern}`).test(entryKey)` */ fixedBuildModules?: string[]; /** * Dynamic build depends on persistent `branch`, e.g. `main`,`master`,`release` * @default `origin/master` */ basedBranch?: string; /** * The release version will setup to `process.env.FLAT_RELEASE_VERSION` * @default '' */ releaseVersion?: string; };