@gluhar/cli 2.3.1 → 2.3.2
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/package.json +2 -2
- package/src/preAction.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gluhar/cli",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "Gluhar cli commands and scripts",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./src/index.ts",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"tsconfig-paths": "^4.2.0",
|
|
44
44
|
"typescript": "^5.5.4"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "1ade1c2c6ebb8dffa3261352ab6258aea045fe38"
|
|
47
47
|
}
|
package/src/preAction.js
CHANGED
|
@@ -48,7 +48,7 @@ const checkCliVersion = async () => {
|
|
|
48
48
|
// If we are in a project, also update the local version
|
|
49
49
|
const isLocal = !(0, cmd_1.getCmdOutput)("npm list @gluhar/cli --depth=0").includes("empty");
|
|
50
50
|
if (isLocal)
|
|
51
|
-
(0, cmd_1.executeCmd)("npm
|
|
51
|
+
(0, cmd_1.executeCmd)("npm update @gluhar/cli@latest");
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
const preAction = async (rootCmd, actionCmd) => {
|