hunter-mate 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -61,12 +61,14 @@ const extras_1 = require("./commands/extras");
61
61
  const ops_1 = require("./commands/ops");
62
62
  const addons_1 = require("./commands/addons");
63
63
  const i18n_1 = require("./i18n");
64
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
65
+ const { version: CLI_VERSION } = require('../package.json');
64
66
  (0, sentry_1.initSentry)();
65
67
  const program = new commander_1.Command();
66
68
  program
67
69
  .name('hunter-mate')
68
70
  .description(i18n_1.i18n.t('cli.description') + '(已对齐 ChromePilot: init/install/start/stop/status/recordings/control/adapter/run/memory/trace/autofix/external/plugin/skill/open-ext/doctor/reload)')
69
- .version('0.1.0')
71
+ .version(CLI_VERSION)
70
72
  .option('--lang <lang>', i18n_1.i18n.t('cli.langOption'), 'zh-CN')
71
73
  .hook('preAction', async (thisCommand) => {
72
74
  const lang = thisCommand.opts().lang;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hunter-mate",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "HiredChina 猎头 Agent 数据助手 CLI:人才库/客户/职位数据访问,浏览器录制解析简历,server/扩展一致性自愈",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -30,7 +30,7 @@
30
30
  "open": "^8.4.0",
31
31
  "uuid": "^9.0.0",
32
32
  "ws": "^8.21.3",
33
- "@hunter-mate/shared": "0.1.1"
33
+ "@hunter-mate/shared": "0.1.2"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/better-sqlite3": "^7.6.0",