update to meet newest standards
This commit is contained in:
21
ts/projectinfo.classes.projectinfo.ts
Normal file
21
ts/projectinfo.classes.projectinfo.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import * as plugins from './projectinfo.plugins'
|
||||
import { ProjectinfoNpm } from './projectinfo.classes.npm'
|
||||
|
||||
export type TProjectType = 'git' | 'npm'
|
||||
|
||||
/**
|
||||
* class projectinfo automatically examines a given directory and exposes relevant info about it
|
||||
*/
|
||||
export class ProjectInfo {
|
||||
type: TProjectType
|
||||
npm: ProjectinfoNpm
|
||||
/**
|
||||
* this constructor
|
||||
*/
|
||||
constructor(cwdArg: string) {
|
||||
this.npm = new ProjectinfoNpm(cwdArg)
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user