fix(core): update

This commit is contained in:
2019-08-29 20:26:23 +02:00
parent 9a4611b70f
commit 7191b172a4
34 changed files with 1157 additions and 988 deletions

View File

@@ -0,0 +1,18 @@
import * as plugins from './npmci.plugins';
import * as paths from './npmci.paths';
import { logger } from "./npmci.logging";
import { Npmci } from './npmci.classes.npmci';
export class NpmciInfo {
public npmciRef: Npmci;
public projectInfo = new plugins.projectinfo.ProjectinfoNpm(paths.NpmciPackageRoot);
constructor(npmciArg: Npmci) {
this.npmciRef = npmciArg;
}
public printToConsole () {
logger.log('info', `npmci version: ${this.projectInfo.version}`);
}
}