@hile/cli 1.1.9 → 1.1.11

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 +1 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -113,7 +113,7 @@ program.command('registry')
113
113
  .description('启动注册中心')
114
114
  .action(async (options) => {
115
115
  const port = options.port ? Number(options.port) : 9876;
116
- const registry = new Registry();
116
+ const registry = new Registry({ advertiseHost: process.env.HILE_ADVERTISE_HOST ?? '127.0.0.1' });
117
117
  useExit(await registry.listen(port));
118
118
  console.log(`+ [registry] started on port ${port}`);
119
119
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hile/cli",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -26,11 +26,11 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@hile/core": "^1.1.2",
29
- "@hile/micro": "^1.0.3",
29
+ "@hile/micro": "^1.0.5",
30
30
  "async-exit-hook": "^2.0.1",
31
31
  "commander": "^14.0.3",
32
32
  "glob": "^13.0.6",
33
33
  "tsx": "^4.21.0"
34
34
  },
35
- "gitHead": "fc98c3e1ecf57f6cb4aded9caef28da0a35b7f30"
35
+ "gitHead": "ddc82850295d26358cbffbb695e642cdb748339d"
36
36
  }