/** * Which toolchain compiles the project. * * Analog swaps Angular's build for Vite, and with it where Tailwind is * configured: a plugin in `vite.config.ts` instead of `.postcssrc.json`. */ export type ProjectFlavor = 'angular' | 'analog'; /** Um projeto declarado no workspace — `angular.json` ou `project.json` do Nx. */ export type WorkspaceProject = { name: string; projectType: 'application' | 'library'; /** Project root, relative to the workspace (`apps/web`, or `''` for a single app). */ root: string; sourceRoot: string; flavor: ProjectFlavor; /** Os `styles` do target de build, relativos ao workspace. */ styles: string[]; /** The build target's `index`, when declared. */ index: string | null; }; export type ProjectInfo = { framework: 'angular' | 'unknown'; /** Onde o package.json foi encontrado — a raiz do workspace. */ root: string; /** Quem gerencia o workspace: define onde os projetos e os paths do TS vivem. */ workspace: 'angular' | 'nx'; hasTypeScript: boolean; hasTailwind: boolean; hasNx: boolean; hasAnalog: boolean; /** O tsconfig que guarda `compilerOptions.paths` — `tsconfig.base.json` no Nx. */ tsconfigFile: string; angularVersion: string | null; angularVersionRaw: string | null; /** What the workspace declares, in the order it appears. Empty when there is none. */ projects: WorkspaceProject[]; }; export declare function getProjectInfo(cwd: string): Promise; //# sourceMappingURL=get-project-info.d.ts.map