@modernpoacher/deps 2.0.8 → 2.0.9

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.
package/bin/app.mjs CHANGED
@@ -81,13 +81,17 @@ async function app () {
81
81
  }
82
82
  } = process
83
83
 
84
- const PACKAGE = await hasPackage(DEPS_PATH)
85
- ? await getPackage(DEPS_PATH)
86
- : {}
87
-
88
- const CONFIGURATION = await hasConfiguration(DEPS_PATH)
89
- ? await getConfiguration(DEPS_PATH)
90
- : {}
84
+ const PACKAGE = (
85
+ await hasPackage(DEPS_PATH)
86
+ ? await getPackage(DEPS_PATH)
87
+ : {}
88
+ )
89
+
90
+ const CONFIGURATION = (
91
+ await hasConfiguration(DEPS_PATH)
92
+ ? await getConfiguration(DEPS_PATH)
93
+ : {}
94
+ )
91
95
 
92
96
  const {
93
97
  saveProd: P,
@@ -81,13 +81,17 @@ async function app () {
81
81
  }
82
82
  } = process
83
83
 
84
- const PACKAGE = await hasPackage(DEPS_PATH)
85
- ? await getPackage(DEPS_PATH)
86
- : {}
87
-
88
- const CONFIGURATION = await hasConfiguration(DEPS_PATH)
89
- ? await getConfiguration(DEPS_PATH)
90
- : {}
84
+ const PACKAGE = (
85
+ await hasPackage(DEPS_PATH)
86
+ ? await getPackage(DEPS_PATH)
87
+ : {}
88
+ )
89
+
90
+ const CONFIGURATION = (
91
+ await hasConfiguration(DEPS_PATH)
92
+ ? await getConfiguration(DEPS_PATH)
93
+ : {}
94
+ )
91
95
 
92
96
  const {
93
97
  prod: P,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/deps",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "description": "Update NPM package dependencies from the command line",
5
5
  "keywords": [
6
6
  "deps",
@@ -158,11 +158,11 @@ ${commands}
158
158
 
159
159
  export const getCommands = PLATFORM === 'win32'
160
160
  ? (directory = DIRECTORY, commands = 'npm i') => tidy(`
161
- echo Directory is \\"${directory}\\ (\\"%cd%\\")"
161
+ echo Directory is \\"${directory}\\"
162
162
  ${commands}
163
163
  `)
164
164
  : (directory = DIRECTORY, commands = 'npm i') => tidy(`
165
- echo Directory is \\"${directory}\\ (\\"$PWD\\")"
165
+ echo Directory is \\"${directory}\\"
166
166
  ${getExportPath(getNvm(commands))}
167
167
  `)
168
168