@modernpoacher/deps 2.1.19 → 2.1.20
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/deps/install.mjs +19 -19
- package/package.json +1 -1
package/bin/deps/install.mjs
CHANGED
|
@@ -74,25 +74,6 @@ async function app () {
|
|
|
74
74
|
* Any other command will continue
|
|
75
75
|
*/
|
|
76
76
|
|
|
77
|
-
const {
|
|
78
|
-
env: {
|
|
79
|
-
PWD,
|
|
80
|
-
DEPS_PATH = PWD
|
|
81
|
-
}
|
|
82
|
-
} = process
|
|
83
|
-
|
|
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
|
-
)
|
|
95
|
-
|
|
96
77
|
const {
|
|
97
78
|
prod: P,
|
|
98
79
|
dev: D,
|
|
@@ -115,6 +96,25 @@ async function app () {
|
|
|
115
96
|
...(force ? { force } : {})
|
|
116
97
|
})
|
|
117
98
|
|
|
99
|
+
const {
|
|
100
|
+
env: {
|
|
101
|
+
PWD,
|
|
102
|
+
DEPS_PATH = PWD
|
|
103
|
+
}
|
|
104
|
+
} = process
|
|
105
|
+
|
|
106
|
+
const PACKAGE = (
|
|
107
|
+
await hasPackage(DEPS_PATH)
|
|
108
|
+
? await getPackage(DEPS_PATH)
|
|
109
|
+
: {}
|
|
110
|
+
)
|
|
111
|
+
|
|
112
|
+
const CONFIGURATION = (
|
|
113
|
+
await hasConfiguration(DEPS_PATH)
|
|
114
|
+
? await getConfiguration(DEPS_PATH)
|
|
115
|
+
: {}
|
|
116
|
+
)
|
|
117
|
+
|
|
118
118
|
if (P) {
|
|
119
119
|
log('Prod')
|
|
120
120
|
|