epos 1.2.3 → 1.2.4

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": "epos",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "author": "imkost",
5
5
  "description": "",
6
6
  "keywords": [],
@@ -10,7 +10,7 @@
10
10
  "dev": "node ./src/kit/kit-bin.js"
11
11
  },
12
12
  "bin": {
13
- "epos": "./src/kit/kit-bin.js"
13
+ "epos": "src/kit/kit-bin.js"
14
14
  },
15
15
  "exports": {
16
16
  ".": {
@@ -6,11 +6,13 @@ import $yaml from 'js-yaml'
6
6
  import $chokidar from 'chokidar'
7
7
  import * as $ws from 'ws'
8
8
 
9
+ // TODO: handle 'port in use' error
10
+ // TODO: epos-kit as separate package (?) but bin: epos
9
11
  const $server = {
10
12
  async init(dir = '/Users/imkost/z/epos') {
11
13
  this._dir = dir
12
- this._wsPort = 2217
13
- this._httpPort = 2218
14
+ this._wsPort = 2076
15
+ this._httpPort = 2077
14
16
  this._maxFiles = 10_000
15
17
  this._pkgs = {} // { [path]: { name, dir, watcher } }
16
18
  await this._start()