@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 +11 -7
- package/bin/install/app.mjs +11 -7
- package/package.json +1 -1
- package/src/common/index.mjs +2 -2
package/bin/app.mjs
CHANGED
|
@@ -81,13 +81,17 @@ async function app () {
|
|
|
81
81
|
}
|
|
82
82
|
} = process
|
|
83
83
|
|
|
84
|
-
const PACKAGE =
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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,
|
package/bin/install/app.mjs
CHANGED
|
@@ -81,13 +81,17 @@ async function app () {
|
|
|
81
81
|
}
|
|
82
82
|
} = process
|
|
83
83
|
|
|
84
|
-
const PACKAGE =
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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
package/src/common/index.mjs
CHANGED
|
@@ -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}\\
|
|
161
|
+
echo Directory is \\"${directory}\\"
|
|
162
162
|
${commands}
|
|
163
163
|
`)
|
|
164
164
|
: (directory = DIRECTORY, commands = 'npm i') => tidy(`
|
|
165
|
-
echo Directory is \\"${directory}\\
|
|
165
|
+
echo Directory is \\"${directory}\\"
|
|
166
166
|
${getExportPath(getNvm(commands))}
|
|
167
167
|
`)
|
|
168
168
|
|