Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 90295a79d9 | |||
| 270ff4bb40 |
2
dist/mod_test/index.js
vendored
2
dist/mod_test/index.js
vendored
@@ -14,7 +14,7 @@ const npmciMods = require("../npmci.mods");
|
|||||||
let npmDependencies = () => __awaiter(this, void 0, void 0, function* () {
|
let npmDependencies = () => __awaiter(this, void 0, void 0, function* () {
|
||||||
plugins.beautylog.info('now installing dependencies:');
|
plugins.beautylog.info('now installing dependencies:');
|
||||||
if (yield npmci_bash_1.yarnAvailable.promise) {
|
if (yield npmci_bash_1.yarnAvailable.promise) {
|
||||||
yield npmci_bash_1.bash('yarn upgrade');
|
yield npmci_bash_1.bash('yarn install');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
yield npmci_bash_1.bash('npm install');
|
yield npmci_bash_1.bash('npm install');
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "npmci",
|
"name": "npmci",
|
||||||
"version": "2.3.73",
|
"version": "2.3.74",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import { Dockerfile } from '../mod_docker/index'
|
|||||||
let npmDependencies = async (): Promise<void> => {
|
let npmDependencies = async (): Promise<void> => {
|
||||||
plugins.beautylog.info('now installing dependencies:')
|
plugins.beautylog.info('now installing dependencies:')
|
||||||
if (await yarnAvailable.promise) {
|
if (await yarnAvailable.promise) {
|
||||||
await bash('yarn upgrade')
|
await bash('yarn install')
|
||||||
} else {
|
} else {
|
||||||
await bash('npm install')
|
await bash('npm install')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user