added ProjectInfo main class
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import * as plugins from './projectinfo.plugins'
|
||||
import { ProjectinfoNpm } from './projectinfo.classes.npm'
|
||||
|
||||
import { ProjectinfoGit } from './projectinfo.classes.git'
|
||||
export type TProjectType = 'git' | 'npm'
|
||||
|
||||
/**
|
||||
@@ -9,13 +9,12 @@ export type TProjectType = 'git' | 'npm'
|
||||
export class ProjectInfo {
|
||||
type: TProjectType
|
||||
npm: ProjectinfoNpm
|
||||
git: ProjectinfoGit
|
||||
/**
|
||||
* this constructor
|
||||
* constructor of class ProjectInfo
|
||||
*/
|
||||
constructor(cwdArg: string) {
|
||||
this.npm = new ProjectinfoNpm(cwdArg)
|
||||
this.git = new ProjectinfoGit(cwdArg)
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user