ProjectFacts beta
Interface of @v12-engine/editor
export interface ProjectFactsWhat the Project panel says of a project, as its files say it (Project.facts)
Members
app
app?: CodePlace;Where it starts its app (startApp)
desktop
desktop?: string;The folder of its desktop app's shell (Electron's main process, electron/), where it has one
entries
entries: (CodePlace & {
entry: string;
files: number;
})[];The library's entries its code imports, each with how many files do and the first
file
file?: string;Its package.json, where it has one
layers
layers: string[];The layers of npm create @v12-engine that can be told from what they leave: editor, server, rooms, tests, assets, desktop, source
library
library: (CodePlace & {
name: string;
wanted: string;
installed?: string;
})[];The packages of the library it depends on: what it asks for, and what is installed
name
name?: string;The project's name, as its package.json says
node
node: {
running: string;
wanted?: string;
file?: string;
};The Node the dev server runs on, and the one asked for (.nvmrc, or engines)
scripts
scripts: (CodePlace & {
name: string;
command: string;
})[];The scripts of the project's package.json, each with its name, command and place
servers
servers: (Partial<CodePlace> & {
script?: string;
command?: string;
})[];Its scripts named for a server, and the files of its code that start one
version
version?: string;The project's version, as its package.json says
workspaces
workspaces?: CodePlace & {
patterns: string[];
};The workspaces of its package.json, or of the repository it is in