@sapphire/plugin-pattern-commands 2.2.0 → 2.2.1-next.09b336b.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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,51 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ # [2.2.0](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-pattern-commands@2.1.1...@sapphire/plugin-pattern-commands@2.2.0) (2022-03-06)
6
+
7
+ ### Features
8
+
9
+ - allow module: NodeNext ([#251](https://github.com/sapphiredev/plugins/issues/251)) ([31bab09](https://github.com/sapphiredev/plugins/commit/31bab09834ebc1bc646e4a2849dbd24c65f08c0e))
10
+
11
+ ## [2.1.1](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-pattern-commands@2.1.0...@sapphire/plugin-pattern-commands@2.1.1) (2022-01-23)
12
+
13
+ ### Bug Fixes
14
+
15
+ - **pattern-commands:** ensure duration isn't destructured when not available ([8f16d02](https://github.com/sapphiredev/plugins/commit/8f16d02053c2d7338ce644cf23cd9446df1d9cc1))
16
+
17
+ # [2.1.0](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-pattern-commands@2.0.0...@sapphire/plugin-pattern-commands@2.1.0) (2022-01-13)
18
+
19
+ ### Bug Fixes
20
+
21
+ - **scheduled-tasks and pattern-commands:** Add params to event typedocs ([#222](https://github.com/sapphiredev/plugins/issues/222)) ([e18509f](https://github.com/sapphiredev/plugins/commit/e18509f2df3d3b1fd146e21c6dc199170d671b15))
22
+
23
+ ### Features
24
+
25
+ - **pattern-commands:** Add duration to `CommandSuccess` event ([#225](https://github.com/sapphiredev/plugins/issues/225)) ([8a58c46](https://github.com/sapphiredev/plugins/commit/8a58c462f3d198febab8a330ee5fac26911a0085))
26
+
27
+ # [2.0.0](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-pattern-commands@1.0.2...@sapphire/plugin-pattern-commands@2.0.0) (2022-01-10)
28
+
29
+ ### Features
30
+
31
+ - add HMR plugin ([#209](https://github.com/sapphiredev/plugins/issues/209)) ([4a18bb1](https://github.com/sapphiredev/plugins/commit/4a18bb1377a8d506fddc5bb991430503902d393b))
32
+ - **pattern-commands:** add duration to finished and error events ([#219](https://github.com/sapphiredev/plugins/issues/219)) ([654c32e](https://github.com/sapphiredev/plugins/commit/654c32e17ab55a60b4593e4825e02feab10ee803))
33
+ - **pattern-commands:** Option for full match of command name ([#220](https://github.com/sapphiredev/plugins/issues/220)) ([832decb](https://github.com/sapphiredev/plugins/commit/832decb947c500c3299212e4d352fa10940dba4a))
34
+
35
+ ## [1.0.2](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-pattern-commands@1.0.1...@sapphire/plugin-pattern-commands@1.0.2) (2021-12-30)
36
+
37
+ ### Bug Fixes
38
+
39
+ - **pattern-commands:** resolve listener triggering twice in rare cases ([#203](https://github.com/sapphiredev/plugins/issues/203)) ([bf1ede1](https://github.com/sapphiredev/plugins/commit/bf1ede186bd85e6f135525ea5fdee8da08a94cf0))
40
+
41
+ ## [1.0.1](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-pattern-commands@1.0.0...@sapphire/plugin-pattern-commands@1.0.1) (2021-12-29)
42
+
43
+ ### Bug Fixes
44
+
45
+ - **pattern-commands:** fixed missing module augmentation for store ([e7d862b](https://github.com/sapphiredev/plugins/commit/e7d862b8d67d89caed5fec240f7dfc7746130210))
46
+
47
+ # 1.0.0 (2021-12-29)
48
+
49
+ ### Features
50
+
51
+ - add pattern commands plugin ([#192](https://github.com/sapphiredev/plugins/issues/192)) ([0db56ac](https://github.com/sapphiredev/plugins/commit/0db56ac5391b6959ff6f2627623ae8ae6eef2541))
@@ -1 +1 @@
1
- {"version":3,"file":"PluginPreCommandRun.d.ts","sourceRoot":"","sources":["../../src/listeners/PluginPreCommandRun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAEzF,qBAAa,qBAAsB,SAAQ,QAAQ,CAAC,OAAO,oBAAoB,CAAC,aAAa,CAAC;gBAC1E,OAAO,EAAE,YAAY;IAI3B,GAAG,CAAC,OAAO,EAAE,2BAA2B;CAmBrD"}
1
+ {"version":3,"file":"PluginPreCommandRun.d.ts","sourceRoot":"","sources":["../../src/listeners/PluginPreCommandRun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA0B,MAAM,qBAAqB,CAAC;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAEzF,qBAAa,qBAAsB,SAAQ,QAAQ,CAAC,OAAO,oBAAoB,CAAC,aAAa,CAAC;gBAC1E,OAAO,EAAE,YAAY;IAI3B,GAAG,CAAC,OAAO,EAAE,2BAA2B;CAmBrD"}
@@ -1 +1 @@
1
- {"version":3,"file":"PluginPreCommandRun.js","sourceRoot":"","sources":["../../src/listeners/PluginPreCommandRun.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAE/C,0EAAwE;AAGxE,MAAa,qBAAsB,SAAQ,oBAAmD;IAC7F,YAAmB,OAAqB;QACvC,KAAK,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,0CAAoB,CAAC,aAAa,EAAE,CAAC,CAAC;IAC/D,CAAC;IAEM,KAAK,CAAC,GAAG,CAAC,OAAoC;QACpD,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;QAErC,4BAA4B;QAC5B,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,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AAC;QAC9I,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE;YAC1B,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,0CAAoB,CAAC,aAAa,EAAE,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;YACrF,OAAO;SACP;QAED,sCAAsC;QACtC,MAAM,WAAW,GAAG,MAAM,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,OAAc,CAAC,CAAC;QACtF,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE;YACzB,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,0CAAoB,CAAC,aAAa,EAAE,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;YACpF,OAAO;SACP;QAED,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,0CAAoB,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACD;AAxBD,sDAwBC"}
package/package.json CHANGED
@@ -1,70 +1,76 @@
1
1
  {
2
- "name": "@sapphire/plugin-pattern-commands",
3
- "version": "2.2.0",
4
- "description": "Plugin for @sapphire/framework that adds support for pattern commands.",
5
- "author": "@sapphire",
6
- "license": "MIT",
7
- "main": "dist/index.js",
8
- "module": "dist/index.mjs",
9
- "types": "dist/index.d.ts",
10
- "typedocMain": "src/index.ts",
11
- "exports": {
12
- ".": {
13
- "import": "./dist/index.mjs",
14
- "require": "./dist/index.js",
15
- "types": "./dist/index.d.ts"
16
- },
17
- "./register": {
18
- "import": "./register.mjs",
19
- "require": "./register.js",
20
- "types": "./register.d.ts"
21
- }
22
- },
23
- "sideEffects": [
24
- "./dist/register.js",
25
- "./register.js",
26
- "./register.mjs"
27
- ],
28
- "homepage": "https://github.com/sapphiredev/plugins/tree/main/packages/pattern-commands",
29
- "scripts": {
30
- "lint": "eslint src --ext ts --fix",
31
- "build": "tsc -b src && yarn esm:register && yarn esm:default",
32
- "esm:register": "gen-esm-wrapper dist/register.js dist/register.mjs",
33
- "esm:default": "gen-esm-wrapper dist/index.js dist/index.mjs",
34
- "prepublishOnly": "yarn build"
35
- },
36
- "dependencies": {
37
- "tslib": "^2.3.1"
38
- },
39
- "repository": {
40
- "type": "git",
41
- "url": "git+https://github.com/sapphiredev/plugins.git",
42
- "directory": "packages/pattern-commands"
43
- },
44
- "files": [
45
- "dist",
46
- "!dist/*.tsbuildinfo",
47
- "register.*"
48
- ],
49
- "engines": {
50
- "node": ">=v14.0.0",
51
- "npm": ">=7.0.0"
52
- },
53
- "keywords": [
54
- "sapphiredev",
55
- "plugin",
56
- "bot",
57
- "typescript",
58
- "ts",
59
- "yarn",
60
- "discord",
61
- "sapphire",
62
- "pattern-commands"
63
- ],
64
- "bugs": {
65
- "url": "https://github.com/sapphiredev/plugins/issues"
66
- },
67
- "publishConfig": {
68
- "access": "public"
69
- }
70
- }
2
+ "name": "@sapphire/plugin-pattern-commands",
3
+ "version": "2.2.1-next.09b336b.0",
4
+ "description": "Plugin for @sapphire/framework that adds support for pattern commands.",
5
+ "author": "@sapphire",
6
+ "license": "MIT",
7
+ "main": "dist/index.js",
8
+ "module": "dist/index.mjs",
9
+ "types": "dist/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./dist/index.mjs",
13
+ "require": "./dist/index.js",
14
+ "types": "./dist/index.d.ts"
15
+ },
16
+ "./register": {
17
+ "import": "./register.mjs",
18
+ "require": "./register.js",
19
+ "types": "./register.d.ts"
20
+ }
21
+ },
22
+ "sideEffects": [
23
+ "./dist/register.js",
24
+ "./register.js",
25
+ "./register.mjs"
26
+ ],
27
+ "homepage": "https://github.com/sapphiredev/plugins/tree/main/packages/pattern-commands",
28
+ "scripts": {
29
+ "lint": "eslint src --ext ts --fix",
30
+ "build": "tsc -b src && yarn esm:register && yarn esm:default",
31
+ "esm:register": "gen-esm-wrapper dist/register.js dist/register.mjs",
32
+ "esm:default": "gen-esm-wrapper dist/index.js dist/index.mjs",
33
+ "prepack": "yarn build",
34
+ "bump": "cliff-jumper",
35
+ "check-update": "cliff-jumper --dry-run"
36
+ },
37
+ "dependencies": {
38
+ "tslib": "^2.4.0"
39
+ },
40
+ "repository": {
41
+ "type": "git",
42
+ "url": "git+https://github.com/sapphiredev/plugins.git",
43
+ "directory": "packages/pattern-commands"
44
+ },
45
+ "files": [
46
+ "dist/**/*.js*",
47
+ "dist/**/*.mjs*",
48
+ "dist/**/*.d*",
49
+ "./register.*"
50
+ ],
51
+ "engines": {
52
+ "node": ">=v14.0.0",
53
+ "npm": ">=7.0.0"
54
+ },
55
+ "keywords": [
56
+ "sapphiredev",
57
+ "plugin",
58
+ "bot",
59
+ "typescript",
60
+ "ts",
61
+ "yarn",
62
+ "discord",
63
+ "sapphire",
64
+ "pattern-commands"
65
+ ],
66
+ "bugs": {
67
+ "url": "https://github.com/sapphiredev/plugins/issues"
68
+ },
69
+ "publishConfig": {
70
+ "access": "public"
71
+ },
72
+ "devDependencies": {
73
+ "gen-esm-wrapper": "^1.1.3",
74
+ "typescript": "^4.7.3"
75
+ }
76
+ }