@sapphire/plugin-hmr 1.0.1 → 1.1.0-next.3fe7e48.0
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 +8 -12
- package/dist/index.d.ts +7 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -56
- package/dist/index.js.map +1 -1
- package/dist/lib/hmr.d.ts +16 -0
- package/dist/lib/hmr.d.ts.map +1 -0
- package/dist/lib/hmr.js +68 -0
- package/dist/lib/hmr.js.map +1 -0
- package/dist/register.d.ts +1 -0
- package/dist/register.d.ts.map +1 -1
- package/dist/register.js +3 -2
- package/dist/register.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -51,19 +51,17 @@ require('@sapphire/plugin-hmr/register');
|
|
|
51
51
|
Or if you want to make sure the plugin is only loaded in development, you can register it dynamically like so:
|
|
52
52
|
|
|
53
53
|
```javascript
|
|
54
|
-
|
|
54
|
+
require('@sapphire/plugin-hmr/register');
|
|
55
55
|
|
|
56
56
|
const client = new SapphireClient({
|
|
57
57
|
/* your bot options */
|
|
58
|
+
hmr: {
|
|
59
|
+
enabled: process.env.NODE_ENV === 'development'
|
|
60
|
+
}
|
|
58
61
|
});
|
|
59
62
|
|
|
60
63
|
async function main() {
|
|
61
64
|
await client.login();
|
|
62
|
-
|
|
63
|
-
// this has to be called after you have logged into your bot
|
|
64
|
-
if (process.env.NODE_ENV === 'development') {
|
|
65
|
-
start();
|
|
66
|
-
}
|
|
67
65
|
}
|
|
68
66
|
|
|
69
67
|
void main();
|
|
@@ -80,19 +78,17 @@ import '@sapphire/plugin-hmr/register';
|
|
|
80
78
|
Or if you want to make sure the plugin is only loaded in development, you can register it dynamically like so:
|
|
81
79
|
|
|
82
80
|
```typescript
|
|
83
|
-
import
|
|
81
|
+
import '@sapphire/plugin-hmr/register';
|
|
84
82
|
|
|
85
83
|
const client = new SapphireClient({
|
|
86
84
|
/* your bot options */
|
|
85
|
+
hmr: {
|
|
86
|
+
enabled: process.env.NODE_ENV === 'development'
|
|
87
|
+
}
|
|
87
88
|
});
|
|
88
89
|
|
|
89
90
|
async function main() {
|
|
90
91
|
await client.login();
|
|
91
|
-
|
|
92
|
-
// this has to be called after you have logged into your bot
|
|
93
|
-
if (process.env.NODE_ENV === 'development') {
|
|
94
|
-
start();
|
|
95
|
-
}
|
|
96
92
|
}
|
|
97
93
|
|
|
98
94
|
void main();
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export * from './lib/hmr';
|
|
2
|
+
import type { HMROptions } from './lib/hmr';
|
|
3
|
+
declare module 'discord.js' {
|
|
4
|
+
interface ClientOptions {
|
|
5
|
+
hmr?: HMROptions;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
5
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAE1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,QAAQ,YAAY,CAAC;IAC3B,UAAiB,aAAa;QAC7B,GAAG,CAAC,EAAE,UAAU,CAAC;KACjB;CACD"}
|
package/dist/index.js
CHANGED
|
@@ -1,59 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const chokidar_1 = require("chokidar");
|
|
6
|
-
const console_1 = require("console");
|
|
7
|
-
const path_1 = require("path");
|
|
8
|
-
/**
|
|
9
|
-
* Starts HMR for all registered {@link Store Stores} in {@link container.stores the main container}.
|
|
10
|
-
*/
|
|
11
|
-
function start() {
|
|
12
|
-
framework_1.container.logger.info('[HMR-Plugin]: Enabled. Watching for piece changes.');
|
|
13
|
-
for (const store of framework_1.container.stores.values()) {
|
|
14
|
-
const deleteCb = handlePiecePathDelete.bind(null, store);
|
|
15
|
-
const updateCb = handlePiecePathUpdate.bind(null, store);
|
|
16
|
-
(0, chokidar_1.watch)([...store.paths])
|
|
17
|
-
.on('change', updateCb)
|
|
18
|
-
.on('unlink', deleteCb);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.start = start;
|
|
22
|
-
async function handlePiecePathDelete(store, path) {
|
|
23
|
-
if (!store.strategy.filter(path))
|
|
24
|
-
return;
|
|
25
|
-
const pieceToDelete = store.find((piece) => piece.location.full === path);
|
|
26
|
-
if (!pieceToDelete)
|
|
27
|
-
return;
|
|
28
|
-
const result = await (0, framework_1.fromAsync)(async () => {
|
|
29
|
-
await pieceToDelete.unload();
|
|
30
|
-
framework_1.container.logger.info(`[HMR-Plugin]: Unloaded piece ${pieceToDelete.name} from ${pieceToDelete.store.name} store.`);
|
|
31
|
-
});
|
|
32
|
-
if ((0, framework_1.isErr)(result)) {
|
|
33
|
-
framework_1.container.logger.error(`[HMR-Plugin]: Failed to unload piece ${pieceToDelete.name} from ${pieceToDelete.store.name} store.`, console_1.error);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
async function handlePiecePathUpdate(store, path) {
|
|
37
|
-
if (!store.strategy.filter(path))
|
|
38
|
-
return;
|
|
39
|
-
const pieceToUpdate = store.find((piece) => piece.location.full === path);
|
|
40
|
-
const result = await (0, framework_1.fromAsync)(async () => {
|
|
41
|
-
if (pieceToUpdate) {
|
|
42
|
-
await pieceToUpdate.reload();
|
|
43
|
-
framework_1.container.logger.info(`[HMR-Plugin]: reloaded piece ${pieceToUpdate.name} from ${pieceToUpdate.store.name} store.`);
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
const rootPath = [...store.paths].find((storePath) => path.startsWith(storePath));
|
|
47
|
-
if (!rootPath)
|
|
48
|
-
throw new Error(`[HMR-Plugin]: Could not find root path for ${path}.`);
|
|
49
|
-
const piecesLoaded = await store.load(rootPath, (0, path_1.relative)(rootPath, path));
|
|
50
|
-
const piecesLoadedNames = piecesLoaded.map((piece) => piece.name);
|
|
51
|
-
const piecesLoadedStoreNames = piecesLoaded.map((piece) => piece.store.name);
|
|
52
|
-
framework_1.container.logger.info(`[HMR-Plugin]: Loaded ${piecesLoadedNames.join(', ')} piece(s) from ${[...new Set(piecesLoadedStoreNames)].join(', ')} store(s).`);
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
if ((0, framework_1.isErr)(result)) {
|
|
56
|
-
framework_1.container.logger.error(`[HMR-Plugin]: Failed to load pieces from ${path}.`, result.error);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
(0, tslib_1.__exportStar)(require("./lib/hmr"), exports);
|
|
59
5
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,yDAA0B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { WatchOptions } from 'chokidar';
|
|
2
|
+
export interface HMROptions extends WatchOptions {
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Starts HMR for all registered {@link Store Stores} in {@link container.stores the main container}.
|
|
7
|
+
*
|
|
8
|
+
* @param __namedParameter The {@link HMROptions}.
|
|
9
|
+
* This includes [all options from chokidar](https://github.com/paulmillr/chokidar#persistence),
|
|
10
|
+
* as well as whether the HMR should be enabled.
|
|
11
|
+
* The default options are `{ enabled: true }`,
|
|
12
|
+
* and if not provided in the object then `enabled` is also set to true.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare function start({ enabled, ...options }?: HMROptions): void;
|
|
16
|
+
//# sourceMappingURL=hmr.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hmr.d.ts","sourceRoot":"","sources":["../../src/lib/hmr.ts"],"names":[],"mappings":"AACA,OAAO,EAAS,YAAY,EAAE,MAAM,UAAU,CAAC;AAG/C,MAAM,WAAW,UAAW,SAAQ,YAAY;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;;;;GASG;AACH,wBAAgB,KAAK,CAAC,EAAE,OAAc,EAAE,GAAG,OAAO,EAAE,GAAE,UAA8B,QAcnF"}
|
package/dist/lib/hmr.js
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.start = void 0;
|
|
4
|
+
const framework_1 = require("@sapphire/framework");
|
|
5
|
+
const chokidar_1 = require("chokidar");
|
|
6
|
+
const node_path_1 = require("node:path");
|
|
7
|
+
/**
|
|
8
|
+
* Starts HMR for all registered {@link Store Stores} in {@link container.stores the main container}.
|
|
9
|
+
*
|
|
10
|
+
* @param __namedParameter The {@link HMROptions}.
|
|
11
|
+
* This includes [all options from chokidar](https://github.com/paulmillr/chokidar#persistence),
|
|
12
|
+
* as well as whether the HMR should be enabled.
|
|
13
|
+
* The default options are `{ enabled: true }`,
|
|
14
|
+
* and if not provided in the object then `enabled` is also set to true.
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
function start({ enabled = true, ...options } = { enabled: true }) {
|
|
18
|
+
// Do not enable plugin when enabled is false
|
|
19
|
+
if (!enabled)
|
|
20
|
+
return;
|
|
21
|
+
framework_1.container.logger.info('[HMR-Plugin]: Enabled. Watching for piece changes.');
|
|
22
|
+
for (const store of framework_1.container.stores.values()) {
|
|
23
|
+
const deleteCb = handlePiecePathDelete.bind(null, store);
|
|
24
|
+
const updateCb = handlePiecePathUpdate.bind(null, store);
|
|
25
|
+
(0, chokidar_1.watch)([...store.paths], options)
|
|
26
|
+
.on('change', updateCb)
|
|
27
|
+
.on('unlink', deleteCb);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.start = start;
|
|
31
|
+
async function handlePiecePathDelete(store, path) {
|
|
32
|
+
if (!store.strategy.filter(path))
|
|
33
|
+
return;
|
|
34
|
+
const pieceToDelete = store.find((piece) => piece.location.full === path);
|
|
35
|
+
if (!pieceToDelete)
|
|
36
|
+
return;
|
|
37
|
+
const result = await (0, framework_1.fromAsync)(async () => {
|
|
38
|
+
await pieceToDelete.unload();
|
|
39
|
+
framework_1.container.logger.info(`[HMR-Plugin]: Unloaded ${pieceToDelete.name} piece from ${pieceToDelete.store.name} store.`);
|
|
40
|
+
});
|
|
41
|
+
if ((0, framework_1.isErr)(result)) {
|
|
42
|
+
framework_1.container.logger.error(`[HMR-Plugin]: Failed to unload ${pieceToDelete.name} piece from ${pieceToDelete.store.name} store.`, result.error);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
async function handlePiecePathUpdate(store, path) {
|
|
46
|
+
if (!store.strategy.filter(path))
|
|
47
|
+
return;
|
|
48
|
+
const pieceToUpdate = store.find((piece) => piece.location.full === path);
|
|
49
|
+
const result = await (0, framework_1.fromAsync)(async () => {
|
|
50
|
+
if (pieceToUpdate) {
|
|
51
|
+
await pieceToUpdate.reload();
|
|
52
|
+
framework_1.container.logger.info(`[HMR-Plugin]: reloaded ${pieceToUpdate.name} piece from ${pieceToUpdate.store.name} store.`);
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
const rootPath = [...store.paths].find((storePath) => path.startsWith(storePath));
|
|
56
|
+
if (!rootPath)
|
|
57
|
+
throw new Error(`[HMR-Plugin]: Could not find root path for ${path}.`);
|
|
58
|
+
const piecesLoaded = await store.load(rootPath, (0, node_path_1.relative)(rootPath, path));
|
|
59
|
+
const piecesLoadedNames = piecesLoaded.map((piece) => piece.name);
|
|
60
|
+
const piecesLoadedStoreNames = piecesLoaded.map((piece) => piece.store.name);
|
|
61
|
+
framework_1.container.logger.info(`[HMR-Plugin]: Loaded ${piecesLoadedNames.join(', ')} piece(s) from ${[...new Set(piecesLoadedStoreNames)].join(', ')} store(s).`);
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
if ((0, framework_1.isErr)(result)) {
|
|
65
|
+
framework_1.container.logger.error(`[HMR-Plugin]: Failed to load pieces from ${path}.`, result.error);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=hmr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hmr.js","sourceRoot":"","sources":["../../src/lib/hmr.ts"],"names":[],"mappings":";;;AAAA,mDAAgF;AAChF,uCAA+C;AAC/C,yCAAqC;AAMrC;;;;;;;;;GASG;AACH,SAAgB,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,EAAE,GAAG,OAAO,KAAiB,EAAE,OAAO,EAAE,IAAI,EAAE;IACnF,6CAA6C;IAC7C,IAAI,CAAC,OAAO;QAAE,OAAO;IAErB,qBAAS,CAAC,MAAM,CAAC,IAAI,CAAC,oDAAoD,CAAC,CAAC;IAE5E,KAAK,MAAM,KAAK,IAAI,qBAAS,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE;QAC9C,MAAM,QAAQ,GAAG,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACzD,MAAM,QAAQ,GAAG,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAEzD,IAAA,gBAAK,EAAC,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;aAC9B,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;aACtB,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CA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["../src/register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../src/register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,SAAS,CAAC;AAGjB;;GAEG;AACH,qBAAa,SAAU,SAAQ,MAAM;IACpC;;OAEG;WACW,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI;CAGrD"}
|
package/dist/register.js
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HmrPlugin = void 0;
|
|
4
4
|
const framework_1 = require("@sapphire/framework");
|
|
5
|
-
|
|
5
|
+
require("./index");
|
|
6
|
+
const hmr_1 = require("./lib/hmr");
|
|
6
7
|
/**
|
|
7
8
|
* @since 1.0.0
|
|
8
9
|
*/
|
|
@@ -11,7 +12,7 @@ class HmrPlugin extends framework_1.Plugin {
|
|
|
11
12
|
* @since 1.0.0
|
|
12
13
|
*/
|
|
13
14
|
static [framework_1.postLogin]() {
|
|
14
|
-
(0,
|
|
15
|
+
(0, hmr_1.start)(this.options.hmr);
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
exports.HmrPlugin = HmrPlugin;
|
package/dist/register.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.js","sourceRoot":"","sources":["../src/register.ts"],"names":[],"mappings":";;;AAAA,mDAAwE;AACxE,
|
|
1
|
+
{"version":3,"file":"register.js","sourceRoot":"","sources":["../src/register.ts"],"names":[],"mappings":";;;AAAA,mDAAwE;AACxE,mBAAiB;AACjB,mCAAkC;AAElC;;GAEG;AACH,MAAa,SAAU,SAAQ,kBAAM;IACpC;;OAEG;IACI,MAAM,CAAC,CAAC,qBAAS,CAAC;QACxB,IAAA,WAAK,EAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC;CACD;AAPD,8BAOC;AAED,0BAAc,CAAC,OAAO,CAAC,qBAAqB,CAAC,SAAS,CAAC,qBAAS,CAAC,EAAE,eAAe,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapphire/plugin-hmr",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.1.0-next.3fe7e48.0",
|
|
4
4
|
"description": "Plugin for @sapphire/framework for hot module reloading for pieces",
|
|
5
5
|
"author": "@sapphire",
|
|
6
6
|
"license": "MIT",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "3fe7e48a3577df6d9addc613cae74ccb07e41639"
|
|
69
69
|
}
|