@e-mc/watch 0.10.2 → 0.10.3
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/README.md +6 -6
- package/filegroup/index.d.ts +1 -1
- package/filegroup/index.js +1 -1
- package/index.d.ts +4 -4
- package/index.js +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
## Interface
|
|
11
11
|
|
|
12
|
-
* [View Source](https://www.unpkg.com/@e-mc/types@0.10.
|
|
12
|
+
* [View Source](https://www.unpkg.com/@e-mc/types@0.10.3/lib/index.d.ts)
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
15
|
import type { IFileManager, ModuleConstructor } from "./index";
|
|
@@ -106,11 +106,11 @@ instance.start(assets, { disk_read: ["/path/workspace/output/**"] });
|
|
|
106
106
|
|
|
107
107
|
## References
|
|
108
108
|
|
|
109
|
-
- https://www.unpkg.com/@e-mc/types@0.10.
|
|
110
|
-
- https://www.unpkg.com/@e-mc/types@0.10.
|
|
111
|
-
- https://www.unpkg.com/@e-mc/types@0.10.
|
|
112
|
-
- https://www.unpkg.com/@e-mc/types@0.10.
|
|
113
|
-
- https://www.unpkg.com/@e-mc/types@0.10.
|
|
109
|
+
- https://www.unpkg.com/@e-mc/types@0.10.3/lib/asset.d.ts
|
|
110
|
+
- https://www.unpkg.com/@e-mc/types@0.10.3/lib/core.d.ts
|
|
111
|
+
- https://www.unpkg.com/@e-mc/types@0.10.3/lib/filemanager.d.ts
|
|
112
|
+
- https://www.unpkg.com/@e-mc/types@0.10.3/lib/settings.d.ts
|
|
113
|
+
- https://www.unpkg.com/@e-mc/types@0.10.3/lib/watch.d.ts
|
|
114
114
|
|
|
115
115
|
* https://www.npmjs.com/package/@types/ws
|
|
116
116
|
|
package/filegroup/index.d.ts
CHANGED
package/filegroup/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
var _a, _b, _c, _d, _e, _f;
|
|
3
3
|
const util = require("util");
|
|
4
4
|
const ws = require("ws");
|
|
5
|
-
const core_1 = require("@e-mc/core");
|
|
6
5
|
const types_1 = require("@e-mc/types");
|
|
6
|
+
const core_1 = require("@e-mc/core");
|
|
7
7
|
const kServer = Symbol('server');
|
|
8
8
|
const kStarted = Symbol('started');
|
|
9
9
|
const kPaused = Symbol('paused');
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IFileManager, WatchConstructor } from '
|
|
2
|
-
|
|
3
|
-
declare const Watch: WatchConstructor<IFileManager>;
|
|
4
|
-
|
|
1
|
+
import type { IFileManager, WatchConstructor } from '@e-mc/types/lib';
|
|
2
|
+
|
|
3
|
+
declare const Watch: WatchConstructor<IFileManager>;
|
|
4
|
+
|
|
5
5
|
export = Watch;
|
package/index.js
CHANGED
|
@@ -5,10 +5,10 @@ const fs = require("fs");
|
|
|
5
5
|
const https = require("https");
|
|
6
6
|
const ws = require("ws");
|
|
7
7
|
const pm = require("picomatch");
|
|
8
|
-
const core_1 = require("@e-mc/core");
|
|
9
|
-
const request_1 = require("@e-mc/request");
|
|
10
8
|
const types_1 = require("@e-mc/types");
|
|
9
|
+
const core_1 = require("@e-mc/core");
|
|
11
10
|
const util_1 = require("@e-mc/request/util");
|
|
11
|
+
const request_1 = require("@e-mc/request");
|
|
12
12
|
const filegroup_1 = require("@e-mc/watch/filegroup");
|
|
13
13
|
const kInterval = Symbol('interval');
|
|
14
14
|
const kPort = Symbol('port');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e-mc/watch",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.3",
|
|
4
4
|
"description": "Watch constructor for E-mc.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"squared-functions"
|
|
18
18
|
],
|
|
19
19
|
"author": "An Pham <anpham6@gmail.com>",
|
|
20
|
-
"license": "BSD
|
|
20
|
+
"license": "BSD-3-Clause",
|
|
21
21
|
"homepage": "https://github.com/anpham6/e-mc#readme",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@e-mc/core": "0.10.
|
|
24
|
-
"@e-mc/request": "0.10.
|
|
25
|
-
"@e-mc/types": "0.10.
|
|
23
|
+
"@e-mc/core": "0.10.3",
|
|
24
|
+
"@e-mc/request": "0.10.3",
|
|
25
|
+
"@e-mc/types": "0.10.3",
|
|
26
26
|
"picomatch": "^4.0.2",
|
|
27
27
|
"ws": "^8.18.0"
|
|
28
28
|
}
|