@sapphire/plugin-editable-commands 4.0.2-pr-534.00b527b.0 → 4.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-editable-commands@4.0.2](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-editable-commands@4.0.2...@sapphire/plugin-editable-commands@4.0.2) - (2024-01-19)
6
+
7
+ ## 🐛 Bug Fixes
8
+
9
+ - Ensure cts file extensions in dist/cjs (#537) ([6f863f8](https://github.com/sapphiredev/plugins/commit/6f863f8187b7028cf6464dd04f197dd1be6ca1dd))
10
+
5
11
  # [@sapphire/plugin-editable-commands@4.0.0](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-editable-commands@4.0.0...@sapphire/plugin-editable-commands@4.0.0) - (2023-12-05)
6
12
 
7
13
  ## 🐛 Bug Fixes
@@ -11,8 +17,8 @@ All notable changes to this project will be documented in this file.
11
17
  ## 🚀 Features
12
18
 
13
19
  - Split ESM and CJS bundles for proper ESM and CJS loading (#512) ([d9aa006](https://github.com/sapphiredev/plugins/commit/d9aa006ff8c7f78a613dcca605d3353b992b7a46))
14
- - 💥 **BREAKING CHANGE:** This ensures that the plugins will properly load the
15
- either only ESM or only CJS files. This is done by outputting
20
+ - 💥 **BREAKING CHANGE:** This ensures that the plugins will properly load the
21
+ either only ESM or only CJS files. This is done by outputting
16
22
  dist/cjs and dist/esm folders. This requires @sapphire/framework v5.x!
17
23
 
18
24
  # [@sapphire/plugin-editable-commands@3.1.0](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-editable-commands@3.1.0...@sapphire/plugin-editable-commands@3.1.0) - (2023-11-16)
@@ -4,9 +4,9 @@ var editableCommands = require('@skyra/editable-commands');
4
4
  var _load_cjs = require('./listeners/_load.cjs');
5
5
 
6
6
  // src/index.ts
7
- var version = "4.0.2-pr-534.00b527b.0";
7
+ var version = "4.0.2";
8
8
 
9
- Object.defineProperty(exports, 'loadListeners', {
9
+ Object.defineProperty(exports, "loadListeners", {
10
10
  enumerable: true,
11
11
  get: function () { return _load_cjs.loadListeners; }
12
12
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,cAAc;AAEd,SAAS,qBAAqB;AAUvB,IAAM,UAAkB","sourcesContent":["export * from '@skyra/editable-commands';\n\nexport { loadListeners } from './listeners/_load';\n\n/**\n * The [@sapphire/plugin-editable-commands](https://github.com/sapphiredev/plugins/blob/main/packages/editable-commands)\n * 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 = '4.0.2-pr-534.00b527b.0';\n"]}
1
+ {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,cAAc;AAEd,SAAS,qBAAqB;AAUvB,IAAM,UAAkB","sourcesContent":["export * from '@skyra/editable-commands';\n\nexport { loadListeners } from './listeners/_load';\n\n/**\n * The [@sapphire/plugin-editable-commands](https://github.com/sapphiredev/plugins/blob/main/packages/editable-commands)\n * 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 = '4.0.2';\n"]}
@@ -2,7 +2,7 @@ import './chunk-G5GHKT7C.mjs';
2
2
  export * from '@skyra/editable-commands';
3
3
  export { loadListeners } from './listeners/_load.mjs';
4
4
 
5
- var version = "4.0.2-pr-534.00b527b.0";
5
+ var version = "4.0.2";
6
6
 
7
7
  export { version };
8
8
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,cAAc;AAEd,SAAS,qBAAqB;AAUvB,IAAM,UAAkB","sourcesContent":["export * from '@skyra/editable-commands';\n\nexport { loadListeners } from './listeners/_load';\n\n/**\n * The [@sapphire/plugin-editable-commands](https://github.com/sapphiredev/plugins/blob/main/packages/editable-commands)\n * 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 = '4.0.2-pr-534.00b527b.0';\n"]}
1
+ {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,cAAc;AAEd,SAAS,qBAAqB;AAUvB,IAAM,UAAkB","sourcesContent":["export * from '@skyra/editable-commands';\n\nexport { loadListeners } from './listeners/_load';\n\n/**\n * The [@sapphire/plugin-editable-commands](https://github.com/sapphiredev/plugins/blob/main/packages/editable-commands)\n * 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 = '4.0.2';\n"]}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sapphire/plugin-editable-commands",
3
- "version": "4.0.2-pr-534.00b527b.0",
3
+ "version": "4.0.2",
4
4
  "description": "Plugin for @sapphire/framework to have editable commands",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",
7
7
  "main": "dist/cjs/index.cjs",
8
8
  "module": "dist/esm/index.mjs",
9
- "types": "dist/cjs/index.d.ts",
9
+ "types": "dist/cjs/index.d.cts",
10
10
  "exports": {
11
11
  ".": {
12
12
  "import": {
@@ -14,7 +14,7 @@
14
14
  "default": "./dist/esm/index.mjs"
15
15
  },
16
16
  "require": {
17
- "types": "./dist/cjs/index.d.ts",
17
+ "types": "./dist/cjs/index.d.cts",
18
18
  "default": "./dist/cjs/index.cjs"
19
19
  }
20
20
  },
@@ -24,7 +24,7 @@
24
24
  "default": "./dist/esm/register.mjs"
25
25
  },
26
26
  "require": {
27
- "types": "./dist/cjs/register.d.ts",
27
+ "types": "./dist/cjs/register.d.cts",
28
28
  "default": "./dist/cjs/register.cjs"
29
29
  }
30
30
  }
@@ -36,11 +36,12 @@
36
36
  "homepage": "https://github.com/sapphiredev/plugins/tree/main/packages/editable-commands",
37
37
  "scripts": {
38
38
  "lint": "eslint src --ext ts --fix",
39
- "build": "tsup && yarn build:types",
39
+ "build": "tsup && yarn build:types && yarn build:rename-cjs-register",
40
40
  "build:types": "concurrently \"yarn:build:types:*\"",
41
- "build:types:cjs": "rollup-type-bundler -d dist/cjs",
41
+ "build:types:cjs": "rollup-type-bundler -d dist/cjs -ot .cts",
42
42
  "build:types:esm": "rollup-type-bundler -d dist/esm -t .mts",
43
43
  "build:types:cleanup": "tsx ../../scripts/clean-register-imports.mts",
44
+ "build:rename-cjs-register": "tsx ../../scripts/rename-cjs-register.mts",
44
45
  "typecheck": "tsc -b src",
45
46
  "docs": "typedoc-json-parser",
46
47
  "prepack": "yarn build",
@@ -80,11 +81,11 @@
80
81
  },
81
82
  "devDependencies": {
82
83
  "@favware/cliff-jumper": "^2.2.3",
83
- "@favware/rollup-type-bundler": "^3.2.1",
84
+ "@favware/rollup-type-bundler": "^3.3.0",
84
85
  "concurrently": "^8.2.2",
85
86
  "tsup": "^8.0.1",
86
87
  "tsx": "^4.7.0",
87
- "typedoc": "^0.25.6",
88
+ "typedoc": "^0.25.7",
88
89
  "typedoc-json-parser": "^9.0.1",
89
90
  "typescript": "^5.3.3"
90
91
  }
File without changes
File without changes