adapt-cli 3.2.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,8 @@ export default async function npmInstall ({
|
|
11
11
|
logger?.log(chalk.cyan('installing node dependencies'))
|
12
12
|
const npm = spawn((process.platform === 'win32' ? 'npm.cmd' : 'npm'), ['--unsafe-perm', 'install'], {
|
13
13
|
stdio: 'inherit',
|
14
|
-
cwd
|
14
|
+
cwd,
|
15
|
+
shell: true
|
15
16
|
})
|
16
17
|
npm.on('close', code => {
|
17
18
|
if (code) return reject(new Error('npm install failed'))
|
@@ -3,7 +3,7 @@ import { eachOfSeries } from 'async'
|
|
3
3
|
import path from 'path'
|
4
4
|
import Project from '../Project.js'
|
5
5
|
import { createPromptTask } from '../../util/createPromptTask.js'
|
6
|
-
import { errorPrinter, packageNamePrinter,
|
6
|
+
import { errorPrinter, packageNamePrinter, existingVersionPrinter } from './print.js'
|
7
7
|
import { eachOfLimitProgress, eachOfSeriesProgress } from '../../util/promises.js'
|
8
8
|
/** @typedef {import("../Target.js").default} Target */
|
9
9
|
|
@@ -189,7 +189,7 @@ function summariseDryRun ({ logger, targets }) {
|
|
189
189
|
summarise(logger, localSources, packageNamePrinter, 'The following plugins were installed from a local source and cannot be updated:')
|
190
190
|
summarise(logger, toBeSkipped, packageNamePrinter, 'The following plugins will be skipped:')
|
191
191
|
summarise(logger, missing, packageNamePrinter, 'There was a problem locating the following plugins:')
|
192
|
-
summarise(logger, toBeInstalled,
|
192
|
+
summarise(logger, toBeInstalled, existingVersionPrinter, 'The following plugins will be updated:')
|
193
193
|
}
|
194
194
|
|
195
195
|
/**
|