mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-22 06:41:45 +08:00
8 lines
210 B
TypeScript
8 lines
210 B
TypeScript
import { findUp } from './find-up';
|
|
|
|
export function insideProject(): boolean {
|
|
const possibleConfigFiles = ['angular.json', '.angular.json'];
|
|
|
|
return findUp(possibleConfigFiles, process.cwd()) !== null;
|
|
}
|