mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-24 16:06:34 +00:00
feat(core): a folder with index.html is one a step can work on, apart from finding projects (#7734)
* feat(core): a folder with index.html is one a step can work on, apart from finding projects isHyperframesProject needs index.html and a marker file, which is right for finding projects on a computer (a website's folder must not be listed) but not for what a step works on. isCompositionFolder says that: any folder whose index.html is the composition. * build(core): raise core's unpacked size budget for the step folder rule
This commit is contained in:
@@ -3,9 +3,9 @@ import type { Dirent } from "node:fs";
|
||||
import { readFile, readdir, realpath, stat } from "node:fs/promises";
|
||||
import { homedir } from "node:os";
|
||||
import { basename, dirname, isAbsolute, join, relative, sep } from "node:path";
|
||||
import { isHyperframesProject, PROJECT_MARKER_FILES } from "./projectRule";
|
||||
import { isCompositionFolder, isHyperframesProject, PROJECT_MARKER_FILES } from "./projectRule";
|
||||
|
||||
export { isHyperframesProject, PROJECT_MARKER_FILES };
|
||||
export { isCompositionFolder, isHyperframesProject, PROJECT_MARKER_FILES };
|
||||
|
||||
export interface FoundProject {
|
||||
path: string;
|
||||
|
||||
Reference in New Issue
Block a user