@sapphire/plugin-subcommands 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,108 @@
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-subcommands@2.1.3...@sapphire/plugin-subcommands@2.2.0) (2022-03-06)
6
+
7
+ ### Features
8
+
9
+ - add HMR plugin ([#209](https://github.com/sapphiredev/plugins/issues/209)) ([4a18bb1](https://github.com/sapphiredev/plugins/commit/4a18bb1377a8d506fddc5bb991430503902d393b))
10
+ - allow module: NodeNext ([#251](https://github.com/sapphiredev/plugins/issues/251)) ([31bab09](https://github.com/sapphiredev/plugins/commit/31bab09834ebc1bc646e4a2849dbd24c65f08c0e))
11
+
12
+ ## [2.1.3](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-subcommands@2.1.2...@sapphire/plugin-subcommands@2.1.3) (2021-12-21)
13
+
14
+ **Note:** Version bump only for package @sapphire/plugin-subcommands
15
+
16
+ ## [2.1.2](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-subcommands@2.1.1...@sapphire/plugin-subcommands@2.1.2) (2021-12-06)
17
+
18
+ ### Bug Fixes
19
+
20
+ - **subcommands:** TS Only - Fixed type of re-export of SubCommandPluginCommand.Context ([39004ac](https://github.com/sapphiredev/plugins/commit/39004ac0d334dc68d9ad53258ba297f22fb8a7c9))
21
+
22
+ ## [2.1.1](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-subcommands@2.1.0...@sapphire/plugin-subcommands@2.1.1) (2021-11-30)
23
+
24
+ ### Bug Fixes
25
+
26
+ - expose `Context`, `JSON` and `RunInTypes` in the `SubCommandPluginCommand` namespace ([9af2b57](https://github.com/sapphiredev/plugins/commit/9af2b57f8b1cf6bc483a75a5d7b80de0dbb0dbdb))
27
+
28
+ # [2.1.0](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-subcommands@2.0.2...@sapphire/plugin-subcommands@2.1.0) (2021-11-21)
29
+
30
+ ### Features
31
+
32
+ - expose and use namespaces for options, context, etc ([#176](https://github.com/sapphiredev/plugins/issues/176)) ([33452da](https://github.com/sapphiredev/plugins/commit/33452da808d91313a5d3bf680e11b5208ac67442))
33
+
34
+ ## [2.0.2](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-subcommands@2.0.1...@sapphire/plugin-subcommands@2.0.2) (2021-11-06)
35
+
36
+ ### Bug Fixes
37
+
38
+ - **docs:** replace command usage of `run` to `messageRun` ([#160](https://github.com/sapphiredev/plugins/issues/160)) ([415adb8](https://github.com/sapphiredev/plugins/commit/415adb85b884da5d0f1f2ce07a9d46134f2bcb12))
39
+
40
+ ## [2.0.1](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-subcommands@2.0.0...@sapphire/plugin-subcommands@2.0.1) (2021-10-17)
41
+
42
+ ### Bug Fixes
43
+
44
+ - allow more node & npm versions in engines field ([ce5b12f](https://github.com/sapphiredev/plugins/commit/ce5b12f8142297bceda49b85574a95a3cf9112ab))
45
+
46
+ # [2.0.0](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-subcommands@1.0.6...@sapphire/plugin-subcommands@2.0.0) (2021-10-16)
47
+
48
+ ### Code Refactoring
49
+
50
+ - **plugin-subcommands:** updated for discord.js@13 and framework@2 ([9ac515f](https://github.com/sapphiredev/plugins/commit/9ac515fa142d126a5448e092b0354d5f8a9bf5b8))
51
+
52
+ ### Features
53
+
54
+ - **i18next:** update i18next dependency ([#129](https://github.com/sapphiredev/plugins/issues/129)) ([96519de](https://github.com/sapphiredev/plugins/commit/96519de5de253db390ed9a76ed073ffe1eabd187))
55
+ - rename `Awaited` to `Awaitable` ([#152](https://github.com/sapphiredev/plugins/issues/152)) ([e8aabab](https://github.com/sapphiredev/plugins/commit/e8aababca760125fd3752a807ef26da16103dd65))
56
+ - **subcommands:** migrate `Command#run` to `Command#messageRun` ([#157](https://github.com/sapphiredev/plugins/issues/157)) ([2960711](https://github.com/sapphiredev/plugins/commit/29607111c4e4f61ece463e10854982f205879996))
57
+
58
+ ### BREAKING CHANGES
59
+
60
+ - **i18next:** i18next has been updated to v21.0.1. Please also seee the breaking changes for i18next [here](https://github.com/i18next/i18next/blob/master/CHANGELOG.md#2100) and their migration guide [here](https://www.i18next.com/misc/migration-guide#v-20-x-x-to-v-21-0-0)
61
+
62
+ - chore: activate renovate
63
+ - **plugin-subcommands:** Increase `@sapphire/framework` requirement to v2.
64
+
65
+ ## [1.0.6](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-subcommands@1.0.5...@sapphire/plugin-subcommands@1.0.6) (2021-06-19)
66
+
67
+ ### Bug Fixes
68
+
69
+ - remove peer deps, update dev deps, update READMEs ([#91](https://github.com/sapphiredev/plugins/issues/91)) ([3489b1d](https://github.com/sapphiredev/plugins/commit/3489b1dc1e8a7c64c255595b3d441cd0b5bac936))
70
+ - **subcommands:** fixed JavaScript usage in README ([#89](https://github.com/sapphiredev/plugins/issues/89)) ([73a35e9](https://github.com/sapphiredev/plugins/commit/73a35e98da56a27a05b2179188599fcaf1d87ff0))
71
+ - **subcommands:** mark package as side effect free ([7959288](https://github.com/sapphiredev/plugins/commit/7959288cb61131a75bd0692056e3764577cf5669))
72
+ - **subcommands:** respect caseInsensitive client option ([#84](https://github.com/sapphiredev/plugins/issues/84)) ([6fec28a](https://github.com/sapphiredev/plugins/commit/6fec28acdb2cd07013d4f7c64f2f985528727a53))
73
+
74
+ ## [1.0.5](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-subcommands@1.0.4...@sapphire/plugin-subcommands@1.0.5) (2021-05-02)
75
+
76
+ ### Bug Fixes
77
+
78
+ - drop the `www.` from the SapphireJS URL ([a86049f](https://github.com/sapphiredev/plugins/commit/a86049f185f0ccb12d61379dd82255b36d4fa145))
79
+ - update all the SapphireJS URLs from `.com` to `.dev` ([c5fd156](https://github.com/sapphiredev/plugins/commit/c5fd15691abb9a9712dc4b8aebd8400f6d91f719))
80
+
81
+ ## [1.0.4](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-subcommands@1.0.3...@sapphire/plugin-subcommands@1.0.4) (2021-04-21)
82
+
83
+ ### Bug Fixes
84
+
85
+ - change all Sapphire URLs from "project"->"community" & use our domain where applicable πŸ‘¨β€πŸŒΎπŸšœ ([#75](https://github.com/sapphiredev/plugins/issues/75)) ([e437dc4](https://github.com/sapphiredev/plugins/commit/e437dc45fcd4d22ab2dcdb0e70c67cc5856883c0))
86
+
87
+ ## [1.0.3](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-subcommands@1.0.2...@sapphire/plugin-subcommands@1.0.3) (2021-04-03)
88
+
89
+ **Note:** Version bump only for package @sapphire/plugin-subcommands
90
+
91
+ ## [1.0.2](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-subcommands@1.0.1...@sapphire/plugin-subcommands@1.0.2) (2021-03-16)
92
+
93
+ ### Bug Fixes
94
+
95
+ - update dependencies, add tslib, bump framework to v1.0.0 ([880b761](https://github.com/sapphiredev/plugins/commit/880b7614d857f23fcbcd351e69795c451a95f49c))
96
+
97
+ ## [1.0.1](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-subcommands@1.0.0...@sapphire/plugin-subcommands@1.0.1) (2021-02-12)
98
+
99
+ ### Bug Fixes
100
+
101
+ - **subcommands:** mark subCommands as optional in SubCommandPluginCommandOptions ([51c433d](https://github.com/sapphiredev/plugins/commit/51c433d963e1cdcb797eddef8dbd4ad3e634ec05))
102
+
103
+ # 1.0.0 (2021-02-12)
104
+
105
+ ### Features
106
+
107
+ - **subcommands:** type improvements & fix build ([#59](https://github.com/sapphiredev/plugins/issues/59)) ([1707d01](https://github.com/sapphiredev/plugins/commit/1707d013d06ae109ddcba83ead9e936a17ba56eb))
108
+ - add subcommands plugin ([#58](https://github.com/sapphiredev/plugins/issues/58)) ([74fa051](https://github.com/sapphiredev/plugins/commit/74fa05151a5267927ec1c792b9fd0b88a078c6fd))
@@ -1 +1 @@
1
- {"version":3,"file":"SubCommandEntryCommand.d.ts","sourceRoot":"","sources":["../../src/lib/SubCommandEntryCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAa,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD;;;;;;;;;;GAUG;AACH,qBAAa,sBAAsB,CAAC,OAAO,SAAS,IAAI,GAAG,IAAI,EAAE,WAAW,SAAS,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAE,SAAQ,eAAe,CAChJ,OAAO,EACP,WAAW,CACX;IACO,UAAU,CAAC,OAAO,EAAE,eAAe,CAAC,iBAAiB,CAAC,OAAO,EAAE,WAAW,CAAC,GAAG,OAAO;CAK5F"}
1
+ {"version":3,"file":"SubCommandEntryCommand.d.ts","sourceRoot":"","sources":["../../src/lib/SubCommandEntryCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAgC,MAAM,qBAAqB,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD;;;;;;;;;;GAUG;AACH,qBAAa,sBAAsB,CAAC,OAAO,SAAS,IAAI,GAAG,IAAI,EAAE,WAAW,SAAS,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAE,SAAQ,eAAe,CAChJ,OAAO,EACP,WAAW,CACX;IACO,UAAU,CAAC,OAAO,EAAE,eAAe,CAAC,iBAAiB,CAAC,OAAO,EAAE,WAAW,CAAC,GAAG,OAAO;CAK5F"}
@@ -1 +1 @@
1
- {"version":3,"file":"SubCommandEntryCommand.js","sourceRoot":"","sources":["../../src/lib/SubCommandEntryCommand.ts"],"names":[],"mappings":";;;AAAA,mDAA+D;AAC/D,uDAAoD;AAEpD;;;;;;;;;;GAUG;AACH,MAAa,sBAA6G,SAAQ,iCAGjI;IACO,UAAU,CAAC,OAAgE;QACjF,MAAM,OAAO,GAAG,qBAAS,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAClE,IAAI,OAAO;YAAE,OAAO,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QACvF,MAAM,IAAI,cAAc,CAAC,gBAAgB,IAAI,CAAC,KAAK,mBAAmB,CAAC,CAAC;IACzE,CAAC;CACD;AATD,wDASC"}
1
+ {"version":3,"file":"SubCommandEntryCommand.js","sourceRoot":"","sources":["../../src/lib/SubCommandEntryCommand.ts"],"names":[],"mappings":";;;AAAA,mDAAkF;AAClF,uDAAoD;AAEpD;;;;;;;;;;GAUG;AACH,MAAa,sBAA6G,SAAQ,iCAGjI;IACO,UAAU,CAAC,OAAgE;QACjF,MAAM,OAAO,GAAI,qBAAS,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,CAA6B,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC/F,IAAI,OAAO;YAAE,OAAO,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QACvF,MAAM,IAAI,cAAc,CAAC,gBAAgB,IAAI,CAAC,KAAK,mBAAmB,CAAC,CAAC;IACzE,CAAC;CACD;AATD,wDASC"}
@@ -47,7 +47,7 @@ class SubCommandManager {
47
47
  if (this.default)
48
48
  return this.default.messageRun(context);
49
49
  // No match and no subcommand, return an err:
50
- return (0, framework_1.err)(new framework_1.UserError({ identifier: "subCommandNoMatch" /* SubCommandNoMatch */, context }));
50
+ return (0, framework_1.err)(new framework_1.UserError({ identifier: "subCommandNoMatch" /* Identifiers.SubCommandNoMatch */, context }));
51
51
  }
52
52
  resolve(value) {
53
53
  if (typeof value !== 'string')
@@ -1 +1 @@
1
- {"version":3,"file":"SubCommandManager.js","sourceRoot":"","sources":["../../src/lib/SubCommandManager.ts"],"names":[],"mappings":";;;AAAA,mDAAiF;AAEjF,qEAAkE;AAClE,mEAAgE;AAEhE,MAAa,iBAAiB;IAI7B,YAAmB,OAA2D;QAH9E;;;;mBAAoE,EAAE;WAAC;QACvE;;;;mBAAyE,IAAI;WAAC;QAG7E,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE;YAC3B,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACjC,MAAM,IAAI,GAAG,iBAAiB,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC,CAAC;YACpE,IAAI,CAAC,IAAI;gBAAE,MAAM,IAAI,cAAc,CAAC,0CAA0C,KAAK,CAAC,IAAI,oCAAoC,CAAC,CAAC;YAE9H,MAAM,KAAK,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;YAC9B,IAAI,KAAK,CAAC,OAAO,EAAE;gBAClB,IAAI,IAAI,CAAC,OAAO;oBAAE,MAAM,IAAI,KAAK,CAAC,mCAAmC,IAAI,CAAC,OAAO,CAAC,KAAK,kBAAkB,KAAK,CAAC,KAAK,IAAI,CAAC,CAAC;gBAC1H,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;aACrB;YAED,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SACzB;IACF,CAAC;IAEM,KAAK,CAAC,UAAU,CAAC,OAAgE;QACvF,qDAAqD;QACrD,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QACpB,MAAM,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;QAEvC,IAAI,KAAK,CAAC,MAAM,EAAE;YACjB,KAAK,MAAM,KAAK,IAAI,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AI,OAAO,KAAK,KAAK,QAAQ;YAAE,OAAO,KAAK,CAAC;QAC5C,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;IACxD,CAAC;;AA1CF,8CAgDC;AAJA;;;;WAAkC,IAAI,GAAG,CAAC;QACzC,CAAC,SAAS,EAAE,+CAAsB,CAAC;QACnC,CAAC,QAAQ,EAAE,6CAAqB,CAAC;KACjC,CAAC;GAAC"}
package/package.json CHANGED
@@ -1,59 +1,65 @@
1
1
  {
2
- "name": "@sapphire/plugin-subcommands",
3
- "version": "2.2.0",
4
- "description": "Plugin for @sapphire/framework that adds support for subcommands.",
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
- },
18
- "sideEffects": false,
19
- "homepage": "https://github.com/sapphiredev/plugins/tree/main/packages/subcommands",
20
- "scripts": {
21
- "lint": "eslint src --ext ts --fix",
22
- "build": "tsc -b src && yarn esm:default",
23
- "esm:default": "gen-esm-wrapper dist/index.js dist/index.mjs",
24
- "prepublishOnly": "yarn build"
25
- },
26
- "dependencies": {
27
- "tslib": "^2.3.1"
28
- },
29
- "repository": {
30
- "type": "git",
31
- "url": "git+https://github.com/sapphiredev/plugins.git",
32
- "directory": "packages/subcommands"
33
- },
34
- "files": [
35
- "dist",
36
- "!dist/*.tsbuildinfo"
37
- ],
38
- "engines": {
39
- "node": ">=v14.0.0",
40
- "npm": ">=7.0.0"
41
- },
42
- "keywords": [
43
- "sapphiredev",
44
- "plugin",
45
- "bot",
46
- "typescript",
47
- "ts",
48
- "yarn",
49
- "discord",
50
- "sapphire",
51
- "subcommands"
52
- ],
53
- "bugs": {
54
- "url": "https://github.com/sapphiredev/plugins/issues"
55
- },
56
- "publishConfig": {
57
- "access": "public"
58
- }
59
- }
2
+ "name": "@sapphire/plugin-subcommands",
3
+ "version": "2.2.1-next.09b336b.0",
4
+ "description": "Plugin for @sapphire/framework that adds support for subcommands.",
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
+ },
17
+ "sideEffects": false,
18
+ "homepage": "https://github.com/sapphiredev/plugins/tree/main/packages/subcommands",
19
+ "scripts": {
20
+ "lint": "eslint src --ext ts --fix",
21
+ "build": "tsc -b src && yarn esm:default",
22
+ "esm:default": "gen-esm-wrapper dist/index.js dist/index.mjs",
23
+ "prepack": "yarn build",
24
+ "bump": "cliff-jumper",
25
+ "check-update": "cliff-jumper --dry-run"
26
+ },
27
+ "dependencies": {
28
+ "tslib": "^2.4.0"
29
+ },
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "git+https://github.com/sapphiredev/plugins.git",
33
+ "directory": "packages/subcommands"
34
+ },
35
+ "files": [
36
+ "dist/**/*.js*",
37
+ "dist/**/*.mjs*",
38
+ "dist/**/*.d*"
39
+ ],
40
+ "engines": {
41
+ "node": ">=v14.0.0",
42
+ "npm": ">=7.0.0"
43
+ },
44
+ "keywords": [
45
+ "sapphiredev",
46
+ "plugin",
47
+ "bot",
48
+ "typescript",
49
+ "ts",
50
+ "yarn",
51
+ "discord",
52
+ "sapphire",
53
+ "subcommands"
54
+ ],
55
+ "bugs": {
56
+ "url": "https://github.com/sapphiredev/plugins/issues"
57
+ },
58
+ "publishConfig": {
59
+ "access": "public"
60
+ },
61
+ "devDependencies": {
62
+ "gen-esm-wrapper": "^1.1.3",
63
+ "typescript": "^4.7.3"
64
+ }
65
+ }