@gluhar/cli 2.6.0 → 2.6.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gluhar/cli",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "Gluhar cli commands and scripts",
5
5
  "exports": {
6
6
  ".": "./src/index.ts",
@@ -44,5 +44,5 @@
44
44
  "tsconfig-paths": "^4.2.0",
45
45
  "typescript": "^5.5.4"
46
46
  },
47
- "gitHead": "72175524c372e2ad4fb7802436290bdd73ab8fd7"
47
+ "gitHead": "1e98651c34c86a0714119f6f4dfb0429ddcfe628"
48
48
  }
@@ -16,7 +16,7 @@ const deploy = async (options) => {
16
16
  if (options.ssr !== undefined) {
17
17
  log_1.log.info(`Setting ssr to ${options.ssr} and committing to git`);
18
18
  (0, setSsr_1.setSsr)(options.ssr);
19
- git_1.git.commit("chore: Set SSR to " + options.ssr);
19
+ git_1.git.commit({ m: `chore: Set SSR to ${options.ssr}` });
20
20
  }
21
21
  // Default Deploy app to web
22
22
  const fromBranch = options.from || "dev";
package/src/preAction.js CHANGED
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.preAction = void 0;
4
4
  const utils_1 = require("./utils");
5
- // import { getConfigOpt, setConfigOpt } from './config';
6
5
  const cmd_1 = require("./scripts/cmd");
7
6
  const constants_1 = require("./constants");
8
7
  const git_1 = require("./scripts/git");
8
+ // import { getConfigOpt, setConfigOpt } from './config';
9
9
  const getOptions = (command) => command.opts();
10
10
  const log = (0, utils_1.logger)("cli");
11
11
  // const loadConfig = (rootCmd: Command, actionCmd: Command) => {
@@ -51,7 +51,7 @@ const checkCliVersion = async () => {
51
51
  // If we are in a project, also update the local version
52
52
  const isLocal = !(0, cmd_1.getCmdOutput)("npm list @gluhar/cli --depth=0").includes("empty");
53
53
  if (isLocal)
54
- (0, cmd_1.executeCmd)("npm update @gluhar/cli@latest");
54
+ (0, cmd_1.executeCmd)("npm update @gluhar/cli");
55
55
  }
56
56
  };
57
57
  const preAction = async (rootCmd, actionCmd) => {