|
|
|
@ -14,7 +14,8 @@ const meta = require('../meta');
|
|
|
|
|
const pubsub = require('../pubsub');
|
|
|
|
|
const { paths } = require('../constants');
|
|
|
|
|
|
|
|
|
|
const supportedPackageManagerList = require('../cli/package-install').supportedPackageManager; // load config from src/cli/package-install.js
|
|
|
|
|
const supportedPackageManagerList = require('../cli/package-install').supportedPackageManager;
|
|
|
|
|
// load config from src/cli/package-install.js
|
|
|
|
|
const packageManager = supportedPackageManagerList.indexOf(nconf.get('package_manager')) >= 0 ? nconf.get('package_manager') : 'npm';
|
|
|
|
|
let packageManagerExecutable = packageManager;
|
|
|
|
|
const packageManagerCommands = {
|
|
|
|
|