@sapphire/plugin-hmr 2.0.2-pr-465.0a92431.0 → 2.0.2

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ # [@sapphire/plugin-hmr@2.0.2](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-hmr@2.0.1...@sapphire/plugin-hmr@2.0.2) - (2023-08-23)
6
+
7
+ ## 🏠 Refactor
8
+
9
+ - ***:** Cleanup plugin registry files (#469) ([215b334](https://github.com/sapphiredev/plugins/commit/215b3348b30077238147dbc643769d960b856ba1))
10
+
5
11
  # [@sapphire/plugin-hmr@2.0.1](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-hmr@2.0.0...@sapphire/plugin-hmr@2.0.1) - (2023-04-10)
6
12
 
7
13
  ## 🐛 Bug Fixes
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import 'tslib';
2
1
  export * from './lib/hmr';
3
2
  import type { HMROptions } from './lib/hmr';
4
3
  declare module 'discord.js' {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,CAAC;AAEf,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"}
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,5 +1,18 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
3
- require("tslib");
4
17
  __exportStar(require("./lib/hmr"), exports);
5
18
  //# 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,iBAAe;AAEf,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire/plugin-hmr",
3
- "version": "2.0.2-pr-465.0a92431.0",
3
+ "version": "2.0.2",
4
4
  "description": "Plugin for @sapphire/framework for hot module reloading for pieces",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",
@@ -9,20 +9,19 @@
9
9
  "types": "dist/index.d.ts",
10
10
  "exports": {
11
11
  ".": {
12
+ "types": "./dist/index.d.ts",
12
13
  "import": "./dist/index.mjs",
13
- "require": "./dist/index.js",
14
- "types": "./dist/index.d.ts"
14
+ "require": "./dist/index.js"
15
15
  },
16
16
  "./register": {
17
- "import": "./register.mjs",
18
- "require": "./register.js",
19
- "types": "./register.d.ts"
17
+ "types": "./dist/register.d.ts",
18
+ "import": "./dist/register.mjs",
19
+ "require": "./dist/register.js"
20
20
  }
21
21
  },
22
22
  "sideEffects": [
23
23
  "./dist/register.js",
24
- "./register.js",
25
- "./register.mjs"
24
+ "./dist/register.mjs"
26
25
  ],
27
26
  "homepage": "https://sapphirejs.dev",
28
27
  "scripts": {
@@ -36,8 +35,7 @@
36
35
  "check-update": "cliff-jumper --dry-run"
37
36
  },
38
37
  "dependencies": {
39
- "chokidar": "^3.5.3",
40
- "tslib": "2.x"
38
+ "chokidar": "^3.5.3"
41
39
  },
42
40
  "repository": {
43
41
  "type": "git",
@@ -45,10 +43,8 @@
45
43
  "directory": "packages/hmr"
46
44
  },
47
45
  "files": [
48
- "dist/**/*.js*",
49
- "dist/**/*.mjs*",
50
- "dist/**/*.d*",
51
- "./register.*"
46
+ "dist/",
47
+ "!dist/.tsbuildinfo"
52
48
  ],
53
49
  "engines": {
54
50
  "node": ">=16.6.0",
package/register.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './dist/register';
package/register.js DELETED
@@ -1,4 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-var-requires */
2
- const tslib = require('tslib');
3
-
4
- tslib.__exportStar(require('./dist/register.js'), exports);
package/register.mjs DELETED
@@ -1 +0,0 @@
1
- export * from './dist/register.mjs';