@sapphire/plugin-pattern-commands 6.0.1-next.c8ee3e4.0 → 6.0.1

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-pattern-commands@6.0.1](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-pattern-commands@6.0.1...@sapphire/plugin-pattern-commands@6.0.1) - (2023-12-05)
6
+
7
+ ## ↩️ Revert
8
+
9
+ - "refactor(register): cleanup unnecessary side effect imports of index" ([c2af242](https://github.com/sapphiredev/plugins/commit/c2af24269956132237988d94e4d94719b2cd442c))
10
+
5
11
  # [@sapphire/plugin-pattern-commands@6.0.0](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-pattern-commands@6.0.0...@sapphire/plugin-pattern-commands@6.0.0) - (2023-12-05)
6
12
 
7
13
  ## 🏠 Refactor
@@ -10,7 +10,7 @@ var PluginPreCommandRun_cjs = require('./listeners/PluginPreCommandRun.cjs');
10
10
  var _load_cjs = require('./listeners/_load.cjs');
11
11
 
12
12
  // src/index.ts
13
- var version = "6.0.1-next.c8ee3e4.0";
13
+ var version = "6.0.1";
14
14
 
15
15
  Object.defineProperty(exports, 'PluginPatternCommandsCommandAcceptedListener', {
16
16
  enumerable: true,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"names":["PluginListener"],"mappings":";AAEA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,SAA2B,sBAAoD;AAC/E,SAA2B,kBAAlBA,uBAAmE;AAC5E,SAA2B,kBAAlBA,uBAAoE;AAE7E,SAAS,qBAAqB;AAevB,IAAM,UAAkB","sourcesContent":["import type { PatternCommandStore } from './lib/structures/PatternCommandStore';\n\nexport * from './lib/structures/PatternCommandStore';\nexport * from './lib/structures/PatternCommand';\nexport * from './lib/utils/PatternCommandEvents';\nexport * from './lib/utils/PatternCommandInterfaces';\nexport { PluginListener as PluginPatternCommandsCommandAcceptedListener } from './listeners/PluginCommandAccepted';\nexport { PluginListener as PluginPatternCommandsMessageParseListener } from './listeners/PluginMessageParse';\nexport { PluginListener as PluginPatternCommandsPreCommandRunListener } from './listeners/PluginPreCommandRun';\n\nexport { loadListeners } from './listeners/_load';\n\ndeclare module '@sapphire/pieces' {\n\tinterface StoreRegistryEntries {\n\t\t'pattern-commands': PatternCommandStore;\n\t}\n}\n\n/**\n * The [@sapphire/plugin-pattern-commands](https://github.com/sapphiredev/plugins/blob/main/packages/pattern-commands) 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 = '6.0.1-next.c8ee3e4.0';\n"]}
1
+ {"version":3,"sources":["../../src/index.ts"],"names":["PluginListener"],"mappings":";AAEA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,SAA2B,sBAAoD;AAC/E,SAA2B,kBAAlBA,uBAAmE;AAC5E,SAA2B,kBAAlBA,uBAAoE;AAE7E,SAAS,qBAAqB;AAevB,IAAM,UAAkB","sourcesContent":["import type { PatternCommandStore } from './lib/structures/PatternCommandStore';\n\nexport * from './lib/structures/PatternCommandStore';\nexport * from './lib/structures/PatternCommand';\nexport * from './lib/utils/PatternCommandEvents';\nexport * from './lib/utils/PatternCommandInterfaces';\nexport { PluginListener as PluginPatternCommandsCommandAcceptedListener } from './listeners/PluginCommandAccepted';\nexport { PluginListener as PluginPatternCommandsMessageParseListener } from './listeners/PluginMessageParse';\nexport { PluginListener as PluginPatternCommandsPreCommandRunListener } from './listeners/PluginPreCommandRun';\n\nexport { loadListeners } from './listeners/_load';\n\ndeclare module '@sapphire/pieces' {\n\tinterface StoreRegistryEntries {\n\t\t'pattern-commands': PatternCommandStore;\n\t}\n}\n\n/**\n * The [@sapphire/plugin-pattern-commands](https://github.com/sapphiredev/plugins/blob/main/packages/pattern-commands) 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 = '6.0.1';\n"]}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var framework = require('@sapphire/framework');
4
3
  var index_cjs = require('./index.cjs');
4
+ var framework = require('@sapphire/framework');
5
5
 
6
6
  var __defProp = Object.defineProperty;
7
7
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/register.ts"],"names":[],"mappings":";;;;AAAA,SAAS,QAAQ,oBAAoB,sBAAsB;AAE3D,SAAS,eAAe,2BAA2B;AAK5C,IAAM,wBAAN,MAAM,8BAA6B,OAAO;AAAA;AAAA;AAAA;AAAA,EAIhD,QAAe,kBAAkB,EAAwB,UAA+B;AACvF,SAAK,OAAO,SAAS,IAAI,oBAAoB,CAAC;AAC9C,kBAAc;AAAA,EACf;AACD;AARiD;AAA1C,IAAM,uBAAN;AAUP,eAAe,QAAQ,+BAA+B,qBAAqB,kBAAkB,GAAG,oCAAoC","sourcesContent":["import { Plugin, postInitialization, SapphireClient } from '@sapphire/framework';\nimport type { ClientOptions } from 'discord.js';\nimport { loadListeners, PatternCommandStore } from './index';\n\n/**\n * @since 1.0.0\n */\nexport class PatternCommandPlugin extends Plugin {\n\t/**\n\t * @since 1.0.0\n\t */\n\tpublic static [postInitialization](this: SapphireClient, _options: ClientOptions): void {\n\t\tthis.stores.register(new PatternCommandStore());\n\t\tloadListeners();\n\t}\n}\n\nSapphireClient.plugins.registerPostInitializationHook(PatternCommandPlugin[postInitialization], 'Pattern-Command-PostInitialization');\n"]}
1
+ {"version":3,"sources":["../../src/register.ts"],"names":[],"mappings":";;;;AAAA,OAAO;AAEP,SAAS,QAAQ,oBAAoB,sBAAsB;AAE3D,SAAS,eAAe,2BAA2B;AAK5C,IAAM,wBAAN,MAAM,8BAA6B,OAAO;AAAA;AAAA;AAAA;AAAA,EAIhD,QAAe,kBAAkB,EAAwB,UAA+B;AACvF,SAAK,OAAO,SAAS,IAAI,oBAAoB,CAAC;AAC9C,kBAAc;AAAA,EACf;AACD;AARiD;AAA1C,IAAM,uBAAN;AAUP,eAAe,QAAQ,+BAA+B,qBAAqB,kBAAkB,GAAG,oCAAoC","sourcesContent":["import './index';\n\nimport { Plugin, postInitialization, SapphireClient } from '@sapphire/framework';\nimport type { ClientOptions } from 'discord.js';\nimport { loadListeners, PatternCommandStore } from './index';\n\n/**\n * @since 1.0.0\n */\nexport class PatternCommandPlugin extends Plugin {\n\t/**\n\t * @since 1.0.0\n\t */\n\tpublic static [postInitialization](this: SapphireClient, _options: ClientOptions): void {\n\t\tthis.stores.register(new PatternCommandStore());\n\t\tloadListeners();\n\t}\n}\n\nSapphireClient.plugins.registerPostInitializationHook(PatternCommandPlugin[postInitialization], 'Pattern-Command-PostInitialization');\n"]}
@@ -1,3 +1,4 @@
1
+ import './index.cjs';
1
2
  import { Plugin, postInitialization, SapphireClient } from '@sapphire/framework';
2
3
  import { ClientOptions } from 'discord.js';
3
4
 
@@ -8,7 +8,7 @@ export { PluginListener as PluginPatternCommandsMessageParseListener } from './l
8
8
  export { PluginListener as PluginPatternCommandsPreCommandRunListener } from './listeners/PluginPreCommandRun.mjs';
9
9
  export { loadListeners } from './listeners/_load.mjs';
10
10
 
11
- var version = "6.0.1-next.c8ee3e4.0";
11
+ var version = "6.0.1";
12
12
 
13
13
  export { version };
14
14
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"names":["PluginListener"],"mappings":";;;AAEA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,SAA2B,sBAAoD;AAC/E,SAA2B,kBAAlBA,uBAAmE;AAC5E,SAA2B,kBAAlBA,uBAAoE;AAE7E,SAAS,qBAAqB;AAevB,IAAM,UAAkB","sourcesContent":["import type { PatternCommandStore } from './lib/structures/PatternCommandStore';\n\nexport * from './lib/structures/PatternCommandStore';\nexport * from './lib/structures/PatternCommand';\nexport * from './lib/utils/PatternCommandEvents';\nexport * from './lib/utils/PatternCommandInterfaces';\nexport { PluginListener as PluginPatternCommandsCommandAcceptedListener } from './listeners/PluginCommandAccepted';\nexport { PluginListener as PluginPatternCommandsMessageParseListener } from './listeners/PluginMessageParse';\nexport { PluginListener as PluginPatternCommandsPreCommandRunListener } from './listeners/PluginPreCommandRun';\n\nexport { loadListeners } from './listeners/_load';\n\ndeclare module '@sapphire/pieces' {\n\tinterface StoreRegistryEntries {\n\t\t'pattern-commands': PatternCommandStore;\n\t}\n}\n\n/**\n * The [@sapphire/plugin-pattern-commands](https://github.com/sapphiredev/plugins/blob/main/packages/pattern-commands) 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 = '6.0.1-next.c8ee3e4.0';\n"]}
1
+ {"version":3,"sources":["../../src/index.ts"],"names":["PluginListener"],"mappings":";;;AAEA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,SAA2B,sBAAoD;AAC/E,SAA2B,kBAAlBA,uBAAmE;AAC5E,SAA2B,kBAAlBA,uBAAoE;AAE7E,SAAS,qBAAqB;AAevB,IAAM,UAAkB","sourcesContent":["import type { PatternCommandStore } from './lib/structures/PatternCommandStore';\n\nexport * from './lib/structures/PatternCommandStore';\nexport * from './lib/structures/PatternCommand';\nexport * from './lib/utils/PatternCommandEvents';\nexport * from './lib/utils/PatternCommandInterfaces';\nexport { PluginListener as PluginPatternCommandsCommandAcceptedListener } from './listeners/PluginCommandAccepted';\nexport { PluginListener as PluginPatternCommandsMessageParseListener } from './listeners/PluginMessageParse';\nexport { PluginListener as PluginPatternCommandsPreCommandRunListener } from './listeners/PluginPreCommandRun';\n\nexport { loadListeners } from './listeners/_load';\n\ndeclare module '@sapphire/pieces' {\n\tinterface StoreRegistryEntries {\n\t\t'pattern-commands': PatternCommandStore;\n\t}\n}\n\n/**\n * The [@sapphire/plugin-pattern-commands](https://github.com/sapphiredev/plugins/blob/main/packages/pattern-commands) 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 = '6.0.1';\n"]}
@@ -1,3 +1,4 @@
1
+ import './index.mjs';
1
2
  import { Plugin, postInitialization, SapphireClient } from '@sapphire/framework';
2
3
  import { ClientOptions } from 'discord.js';
3
4
 
@@ -1,6 +1,6 @@
1
1
  import { __name } from './chunk-6QB3UK4Q.mjs';
2
- import { SapphireClient, postInitialization, Plugin } from '@sapphire/framework';
3
2
  import { PatternCommandStore, loadListeners } from './index.mjs';
3
+ import { SapphireClient, postInitialization, Plugin } from '@sapphire/framework';
4
4
 
5
5
  var _PatternCommandPlugin = class _PatternCommandPlugin extends Plugin {
6
6
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/register.ts"],"names":[],"mappings":";;;;;AAAA,SAAS,QAAQ,oBAAoB,sBAAsB;AAE3D,SAAS,eAAe,2BAA2B;AAK5C,IAAM,wBAAN,MAAM,8BAA6B,OAAO;AAAA;AAAA;AAAA;AAAA,EAIhD,QAAe,kBAAkB,EAAwB,UAA+B;AACvF,SAAK,OAAO,SAAS,IAAI,oBAAoB,CAAC;AAC9C,kBAAc;AAAA,EACf;AACD;AARiD;AAA1C,IAAM,uBAAN;AAUP,eAAe,QAAQ,+BAA+B,qBAAqB,kBAAkB,GAAG,oCAAoC","sourcesContent":["import { Plugin, postInitialization, SapphireClient } from '@sapphire/framework';\nimport type { ClientOptions } from 'discord.js';\nimport { loadListeners, PatternCommandStore } from './index';\n\n/**\n * @since 1.0.0\n */\nexport class PatternCommandPlugin extends Plugin {\n\t/**\n\t * @since 1.0.0\n\t */\n\tpublic static [postInitialization](this: SapphireClient, _options: ClientOptions): void {\n\t\tthis.stores.register(new PatternCommandStore());\n\t\tloadListeners();\n\t}\n}\n\nSapphireClient.plugins.registerPostInitializationHook(PatternCommandPlugin[postInitialization], 'Pattern-Command-PostInitialization');\n"]}
1
+ {"version":3,"sources":["../../src/register.ts"],"names":[],"mappings":";;;;;AAAA,OAAO;AAEP,SAAS,QAAQ,oBAAoB,sBAAsB;AAE3D,SAAS,eAAe,2BAA2B;AAK5C,IAAM,wBAAN,MAAM,8BAA6B,OAAO;AAAA;AAAA;AAAA;AAAA,EAIhD,QAAe,kBAAkB,EAAwB,UAA+B;AACvF,SAAK,OAAO,SAAS,IAAI,oBAAoB,CAAC;AAC9C,kBAAc;AAAA,EACf;AACD;AARiD;AAA1C,IAAM,uBAAN;AAUP,eAAe,QAAQ,+BAA+B,qBAAqB,kBAAkB,GAAG,oCAAoC","sourcesContent":["import './index';\n\nimport { Plugin, postInitialization, SapphireClient } from '@sapphire/framework';\nimport type { ClientOptions } from 'discord.js';\nimport { loadListeners, PatternCommandStore } from './index';\n\n/**\n * @since 1.0.0\n */\nexport class PatternCommandPlugin extends Plugin {\n\t/**\n\t * @since 1.0.0\n\t */\n\tpublic static [postInitialization](this: SapphireClient, _options: ClientOptions): void {\n\t\tthis.stores.register(new PatternCommandStore());\n\t\tloadListeners();\n\t}\n}\n\nSapphireClient.plugins.registerPostInitializationHook(PatternCommandPlugin[postInitialization], 'Pattern-Command-PostInitialization');\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire/plugin-pattern-commands",
3
- "version": "6.0.1-next.c8ee3e4.0",
3
+ "version": "6.0.1",
4
4
  "description": "Plugin for @sapphire/framework that adds support for pattern commands.",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",