@sapphire/plugin-hmr 3.0.2-next.68a7a96.0 → 3.0.2-next.7909d16.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.
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var hmr_cjs = require('./lib/hmr.cjs');
3
+ var hmr_mjs = require('./lib/hmr.mjs');
4
4
 
5
5
  // src/index.ts
6
- var version = "3.0.2-next.68a7a96.0";
6
+ var version = "3.0.2-next.7909d16.0";
7
7
 
8
8
  exports.version = version;
9
- Object.keys(hmr_cjs).forEach(function (k) {
9
+ Object.keys(hmr_mjs).forEach(function (k) {
10
10
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
11
11
  enumerable: true,
12
- get: function () { return hmr_cjs[k]; }
12
+ get: function () { return hmr_mjs[k]; }
13
13
  });
14
14
  });
15
15
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,cAAc;AAiBP,IAAM,UAAkB","sourcesContent":["export * from './lib/hmr';\n\nimport type { HMROptions } from './lib/hmr';\n\ndeclare module 'discord.js' {\n\texport interface ClientOptions {\n\t\thmr?: HMROptions;\n\t}\n}\n\n/**\n * The [@sapphire/plugin-hmr](https://github.com/sapphiredev/plugins/blob/main/packages/hmr) version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '3.0.2-next.68a7a96.0';\n"]}
1
+ {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,cAAc;AAiBP,IAAM,UAAkB","sourcesContent":["export * from './lib/hmr';\n\nimport type { HMROptions } from './lib/hmr';\n\ndeclare module 'discord.js' {\n\texport interface ClientOptions {\n\t\thmr?: HMROptions;\n\t}\n}\n\n/**\n * The [@sapphire/plugin-hmr](https://github.com/sapphiredev/plugins/blob/main/packages/hmr) version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '3.0.2-next.7909d16.0';\n"]}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index_cjs = require('./index.cjs');
3
+ var index_mjs = require('./index.mjs');
4
4
  var framework = require('@sapphire/framework');
5
5
 
6
6
  var __defProp = Object.defineProperty;
@@ -10,7 +10,7 @@ var _HmrPlugin = class _HmrPlugin extends framework.Plugin {
10
10
  * @since 1.0.0
11
11
  */
12
12
  static [framework.postLogin]() {
13
- index_cjs.start(this.options.hmr);
13
+ index_mjs.start(this.options.hmr);
14
14
  }
15
15
  };
16
16
  __name(_HmrPlugin, "HmrPlugin");
@@ -1,7 +1,7 @@
1
1
  import './chunk-G5GHKT7C.mjs';
2
2
  export * from './lib/hmr.mjs';
3
3
 
4
- var version = "3.0.2-next.68a7a96.0";
4
+ var version = "3.0.2-next.7909d16.0";
5
5
 
6
6
  export { version };
7
7
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,cAAc;AAiBP,IAAM,UAAkB","sourcesContent":["export * from './lib/hmr';\n\nimport type { HMROptions } from './lib/hmr';\n\ndeclare module 'discord.js' {\n\texport interface ClientOptions {\n\t\thmr?: HMROptions;\n\t}\n}\n\n/**\n * The [@sapphire/plugin-hmr](https://github.com/sapphiredev/plugins/blob/main/packages/hmr) version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '3.0.2-next.68a7a96.0';\n"]}
1
+ {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,cAAc;AAiBP,IAAM,UAAkB","sourcesContent":["export * from './lib/hmr';\n\nimport type { HMROptions } from './lib/hmr';\n\ndeclare module 'discord.js' {\n\texport interface ClientOptions {\n\t\thmr?: HMROptions;\n\t}\n}\n\n/**\n * The [@sapphire/plugin-hmr](https://github.com/sapphiredev/plugins/blob/main/packages/hmr) version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '3.0.2-next.7909d16.0';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire/plugin-hmr",
3
- "version": "3.0.2-next.68a7a96.0",
3
+ "version": "3.0.2-next.7909d16.0",
4
4
  "description": "Plugin for @sapphire/framework for hot module reloading for pieces",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",
@@ -84,7 +84,7 @@
84
84
  "@favware/rollup-type-bundler": "^3.3.0",
85
85
  "concurrently": "^8.2.2",
86
86
  "tsup": "^8.0.2",
87
- "tsx": "^4.9.1",
87
+ "tsx": "^4.10.5",
88
88
  "typedoc": "^0.25.13",
89
89
  "typedoc-json-parser": "^10.0.0",
90
90
  "typescript": "^5.4.5"