@sapphire/plugin-editable-commands 4.0.0-next.e11b911.0 → 4.0.0-pr-513.97f3b7c.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,10 @@
1
1
  'use strict';
2
2
 
3
3
  var editableCommands = require('@skyra/editable-commands');
4
- var _load_cjs = require('./listeners/_load.cjs');
5
4
 
6
5
  // src/index.ts
7
- var version = "4.0.0-next.e11b911.0";
6
+ var version = "4.0.0-pr-513.97f3b7c.0";
8
7
 
9
- Object.defineProperty(exports, 'loadListeners', {
10
- enumerable: true,
11
- get: function () { return _load_cjs.loadListeners; }
12
- });
13
8
  exports.version = version;
14
9
  Object.keys(editableCommands).forEach(function (k) {
15
10
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
@@ -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.0-next.e11b911.0';\n"]}
1
+ {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,cAAc;AAUP,IAAM,UAAkB","sourcesContent":["export * from '@skyra/editable-commands';\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.0-pr-513.97f3b7c.0';\n"]}
@@ -1,7 +1,5 @@
1
1
  export * from '@skyra/editable-commands';
2
2
 
3
- declare function loadListeners(): void;
4
-
5
3
  /**
6
4
  * The [@sapphire/plugin-editable-commands](https://github.com/sapphiredev/plugins/blob/main/packages/editable-commands)
7
5
  * version that you are currently using.
@@ -11,4 +9,4 @@ declare function loadListeners(): void;
11
9
  */
12
10
  declare const version: string;
13
11
 
14
- export { loadListeners, version };
12
+ export { version };
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var framework = require('@sapphire/framework');
4
- var index_cjs = require('./index.cjs');
4
+ var _load_cjs = require('./listeners/_load.cjs');
5
5
 
6
6
  var __defProp = Object.defineProperty;
7
7
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -10,7 +10,7 @@ var _EditableCommandsPlugin = class _EditableCommandsPlugin extends framework.Pl
10
10
  * @since 1.0.0
11
11
  */
12
12
  static [framework.postInitialization]() {
13
- index_cjs.loadListeners();
13
+ _load_cjs.loadListeners();
14
14
  }
15
15
  };
16
16
  __name(_EditableCommandsPlugin, "EditableCommandsPlugin");
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/register.ts"],"names":[],"mappings":";;;;AAAA,SAAS,QAAQ,oBAAoB,sBAAsB;AAC3D,SAAS,qBAAqB;AAKvB,IAAM,0BAAN,MAAM,gCAA+B,OAAO;AAAA;AAAA;AAAA;AAAA,EAIlD,QAAe,kBAAkB,IAA8B;AAC9D,kBAAc;AAAA,EACf;AACD;AAPmD;AAA5C,IAAM,yBAAN;AASP,eAAe,QAAQ,+BAA+B,uBAAuB,kBAAkB,GAAG,qCAAqC","sourcesContent":["import { Plugin, postInitialization, SapphireClient } from '@sapphire/framework';\nimport { loadListeners } from './index';\n\n/**\n * @since 1.0.0\n */\nexport class EditableCommandsPlugin extends Plugin {\n\t/**\n\t * @since 1.0.0\n\t */\n\tpublic static [postInitialization](this: SapphireClient): void {\n\t\tloadListeners();\n\t}\n}\n\nSapphireClient.plugins.registerPostInitializationHook(EditableCommandsPlugin[postInitialization], 'EditableCommands-PostInitialization');\n"]}
1
+ {"version":3,"sources":["../../src/register.ts"],"names":[],"mappings":";;;;AAAA,SAAS,QAAQ,oBAAoB,sBAAsB;AAC3D,SAAS,qBAAqB;AAKvB,IAAM,0BAAN,MAAM,gCAA+B,OAAO;AAAA;AAAA;AAAA;AAAA,EAIlD,QAAe,kBAAkB,IAA8B;AAC9D,kBAAc;AAAA,EACf;AACD;AAPmD;AAA5C,IAAM,yBAAN;AASP,eAAe,QAAQ,+BAA+B,uBAAuB,kBAAkB,GAAG,qCAAqC","sourcesContent":["import { Plugin, postInitialization, SapphireClient } from '@sapphire/framework';\nimport { loadListeners } from './listeners/_load';\n\n/**\n * @since 1.0.0\n */\nexport class EditableCommandsPlugin extends Plugin {\n\t/**\n\t * @since 1.0.0\n\t */\n\tpublic static [postInitialization](this: SapphireClient): void {\n\t\tloadListeners();\n\t}\n}\n\nSapphireClient.plugins.registerPostInitializationHook(EditableCommandsPlugin[postInitialization], 'EditableCommands-PostInitialization');\n"]}
@@ -1,7 +1,5 @@
1
1
  export * from '@skyra/editable-commands';
2
2
 
3
- declare function loadListeners(): void;
4
-
5
3
  /**
6
4
  * The [@sapphire/plugin-editable-commands](https://github.com/sapphiredev/plugins/blob/main/packages/editable-commands)
7
5
  * version that you are currently using.
@@ -11,4 +9,4 @@ declare function loadListeners(): void;
11
9
  */
12
10
  declare const version: string;
13
11
 
14
- export { loadListeners, version };
12
+ export { version };
@@ -1,8 +1,7 @@
1
1
  import './chunk-G5GHKT7C.mjs';
2
2
  export * from '@skyra/editable-commands';
3
- export { loadListeners } from './listeners/_load.mjs';
4
3
 
5
- var version = "4.0.0-next.e11b911.0";
4
+ var version = "4.0.0-pr-513.97f3b7c.0";
6
5
 
7
6
  export { version };
8
7
  //# 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.0-next.e11b911.0';\n"]}
1
+ {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,cAAc;AAUP,IAAM,UAAkB","sourcesContent":["export * from '@skyra/editable-commands';\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.0-pr-513.97f3b7c.0';\n"]}
@@ -1,6 +1,6 @@
1
1
  import { __name } from './chunk-G5GHKT7C.mjs';
2
2
  import { SapphireClient, postInitialization, Plugin } from '@sapphire/framework';
3
- import { loadListeners } from './index.mjs';
3
+ import { loadListeners } from './listeners/_load.mjs';
4
4
 
5
5
  var _EditableCommandsPlugin = class _EditableCommandsPlugin extends Plugin {
6
6
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/register.ts"],"names":[],"mappings":";;;;;AAAA,SAAS,QAAQ,oBAAoB,sBAAsB;AAC3D,SAAS,qBAAqB;AAKvB,IAAM,0BAAN,MAAM,gCAA+B,OAAO;AAAA;AAAA;AAAA;AAAA,EAIlD,QAAe,kBAAkB,IAA8B;AAC9D,kBAAc;AAAA,EACf;AACD;AAPmD;AAA5C,IAAM,yBAAN;AASP,eAAe,QAAQ,+BAA+B,uBAAuB,kBAAkB,GAAG,qCAAqC","sourcesContent":["import { Plugin, postInitialization, SapphireClient } from '@sapphire/framework';\nimport { loadListeners } from './index';\n\n/**\n * @since 1.0.0\n */\nexport class EditableCommandsPlugin extends Plugin {\n\t/**\n\t * @since 1.0.0\n\t */\n\tpublic static [postInitialization](this: SapphireClient): void {\n\t\tloadListeners();\n\t}\n}\n\nSapphireClient.plugins.registerPostInitializationHook(EditableCommandsPlugin[postInitialization], 'EditableCommands-PostInitialization');\n"]}
1
+ {"version":3,"sources":["../../src/register.ts"],"names":[],"mappings":";;;;;AAAA,SAAS,QAAQ,oBAAoB,sBAAsB;AAC3D,SAAS,qBAAqB;AAKvB,IAAM,0BAAN,MAAM,gCAA+B,OAAO;AAAA;AAAA;AAAA;AAAA,EAIlD,QAAe,kBAAkB,IAA8B;AAC9D,kBAAc;AAAA,EACf;AACD;AAPmD;AAA5C,IAAM,yBAAN;AASP,eAAe,QAAQ,+BAA+B,uBAAuB,kBAAkB,GAAG,qCAAqC","sourcesContent":["import { Plugin, postInitialization, SapphireClient } from '@sapphire/framework';\nimport { loadListeners } from './listeners/_load';\n\n/**\n * @since 1.0.0\n */\nexport class EditableCommandsPlugin extends Plugin {\n\t/**\n\t * @since 1.0.0\n\t */\n\tpublic static [postInitialization](this: SapphireClient): void {\n\t\tloadListeners();\n\t}\n}\n\nSapphireClient.plugins.registerPostInitializationHook(EditableCommandsPlugin[postInitialization], 'EditableCommands-PostInitialization');\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire/plugin-editable-commands",
3
- "version": "4.0.0-next.e11b911.0",
3
+ "version": "4.0.0-pr-513.97f3b7c.0",
4
4
  "description": "Plugin for @sapphire/framework to have editable commands",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",
@@ -56,7 +56,8 @@
56
56
  "directory": "packages/editable-commands"
57
57
  },
58
58
  "files": [
59
- "dist/"
59
+ "dist/",
60
+ "!dist/.tsbuildinfo"
60
61
  ],
61
62
  "engines": {
62
63
  "node": ">=v18",
@@ -80,7 +81,7 @@
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.2.0",
84
85
  "concurrently": "^8.2.2",
85
86
  "tsup": "^8.0.1",
86
87
  "tsx": "^4.6.2",