@sapphire/cli 1.7.0-next.f2005be.0 → 1.7.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 CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ # [1.7.0](https://github.com/sapphiredev/cli/compare/v1.7.0...v1.7.0) - (2023-11-16)
6
+
7
+ ## 🐛 Bug Fixes
8
+
9
+ - Update default JS templates to use new `LoaderContext` in doc comments ([47d5911](https://github.com/sapphiredev/cli/commit/47d5911bc0114161b951561ee6aa86043587804c))
10
+ - **deps:** Update dependency execa to v8 (#254) ([88880b2](https://github.com/sapphiredev/cli/commit/88880b29595236ef552573c54a718a6e262f820b))
11
+ - **deps:** Update dependency commander to v11 (#235) ([76d0719](https://github.com/sapphiredev/cli/commit/76d0719ed55e2e7ae43aba5c21c4843bd7660af7))
12
+ - **deps:** Update all non-major dependencies ([d647d3f](https://github.com/sapphiredev/cli/commit/d647d3f9fbefa118348543bba2c098ed84604071))
13
+
14
+ ## 🚀 Features
15
+
16
+ - Bump minimum nodejs version to 16.17.0 ([28a4cc8](https://github.com/sapphiredev/cli/commit/28a4cc806aeb993a924ee52fc448655a6db157a0))
17
+
5
18
  # [1.6.1](https://github.com/sapphiredev/cli/compare/v1.6.0...v1.6.1) - (2023-05-02)
6
19
 
7
20
  ## 🏃 Performance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire/cli",
3
- "version": "1.7.0-next.f2005be.0",
3
+ "version": "1.7.0",
4
4
  "description": "CLI for Sapphire Framework",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",
@@ -30,9 +30,7 @@
30
30
  "watch": "tsc -b src -w",
31
31
  "bump": "cliff-jumper",
32
32
  "check-update": "cliff-jumper --dry-run",
33
- "_postinstall": "husky install .github/husky",
34
- "prepack": "yarn build && pinst --disable",
35
- "postpack": "pinst --enable"
33
+ "prepack": "yarn build"
36
34
  },
37
35
  "dependencies": {
38
36
  "@favware/colorette-spinner": "^1.0.1",
@@ -46,9 +44,9 @@
46
44
  "tslib": "^2.6.2"
47
45
  },
48
46
  "devDependencies": {
49
- "@commitlint/cli": "^17.8.0",
50
- "@commitlint/config-conventional": "^17.8.0",
51
- "@favware/cliff-jumper": "^2.2.0",
47
+ "@commitlint/cli": "^18.4.2",
48
+ "@commitlint/config-conventional": "^18.4.2",
49
+ "@favware/cliff-jumper": "^2.2.3",
52
50
  "@favware/npm-deprecate": "^1.0.7",
53
51
  "@sapphire/decorators": "*",
54
52
  "@sapphire/eslint-config": "^5.0.2",
@@ -56,21 +54,19 @@
56
54
  "@sapphire/plugin-api": "*",
57
55
  "@sapphire/prettier-config": "^2.0.0",
58
56
  "@sapphire/ts-config": "^5.0.0",
59
- "@types/js-yaml": "^4.0.7",
60
- "@types/node": "^20.8.6",
61
- "@types/prompts": "^2.4.6",
62
- "@typescript-eslint/eslint-plugin": "^6.7.5",
63
- "@typescript-eslint/parser": "^6.7.5",
57
+ "@types/js-yaml": "^4.0.9",
58
+ "@types/node": "^20.9.1",
59
+ "@types/prompts": "^2.4.8",
60
+ "@typescript-eslint/eslint-plugin": "^6.11.0",
61
+ "@typescript-eslint/parser": "^6.11.0",
64
62
  "cz-conventional-changelog": "^3.3.0",
65
63
  "discord.js": "*",
66
- "eslint": "^8.51.0",
64
+ "eslint": "^8.53.0",
67
65
  "eslint-config-prettier": "^9.0.0",
68
66
  "eslint-plugin-prettier": "^5.0.1",
69
- "globby": "^13.2.2",
70
- "husky": "^8.0.3",
71
- "lint-staged": "^14.0.1",
72
- "pinst": "^3.0.0",
73
- "prettier": "^3.0.3",
67
+ "globby": "^14.0.0",
68
+ "lint-staged": "^15.1.0",
69
+ "prettier": "^3.1.0",
74
70
  "ts-node": "^10.9.1",
75
71
  "typescript": "^5.2.2"
76
72
  },
@@ -118,5 +114,5 @@
118
114
  "access": "public"
119
115
  },
120
116
  "prettier": "@sapphire/prettier-config",
121
- "packageManager": "yarn@3.6.4"
117
+ "packageManager": "yarn@4.0.1"
122
118
  }
@@ -4,7 +4,7 @@ const { Argument } = require('@sapphire/framework');
4
4
 
5
5
  class UserArgument extends Argument {
6
6
  /**
7
- * @param {Argument.Context} context
7
+ * @param {Argument.LoaderContext} context
8
8
  */
9
9
  constructor(context) {
10
10
  super(context, {
@@ -5,7 +5,7 @@ const { InteractionHandler, InteractionHandlerTypes } = require('@sapphire/frame
5
5
 
6
6
  class AutocompleteHandler extends InteractionHandler {
7
7
  /**
8
- * @param {InteractionHandler.Context} context
8
+ * @param {InteractionHandler.LoaderContext} context
9
9
  * @param {InteractionHandler.Options} options
10
10
  */
11
11
  constructor(context, options) {
@@ -4,7 +4,7 @@ const { InteractionHandler, InteractionHandlerTypes } = require('@sapphire/frame
4
4
 
5
5
  class ButtonHandler extends InteractionHandler {
6
6
  /**
7
- * @param {InteractionHandler.Context} context
7
+ * @param {InteractionHandler.LoaderContext} context
8
8
  * @param {InteractionHandler.Options} options
9
9
  */
10
10
  constructor(context, options) {
@@ -5,7 +5,7 @@ const { ApplicationCommandType } = require('discord.js');
5
5
 
6
6
  class UserCommand extends Command {
7
7
  /**
8
- * @param {Command.Context} context
8
+ * @param {Command.LoaderContext} context
9
9
  */
10
10
  constructor(context) {
11
11
  super(context, {
@@ -4,7 +4,7 @@ const { Listener } = require('@sapphire/framework');
4
4
 
5
5
  class UserEvent extends Listener {
6
6
  /**
7
- * @param {Listener.Context} context
7
+ * @param {Listener.LoaderContext} context
8
8
  */
9
9
  constructor(context) {
10
10
  super(context, {
@@ -4,7 +4,7 @@ const { Command } = require('@sapphire/framework');
4
4
 
5
5
  class UserCommand extends Command {
6
6
  /**
7
- * @param {Command.Context} context
7
+ * @param {Command.LoaderContext} context
8
8
  */
9
9
  constructor(context) {
10
10
  super(context, {
@@ -4,7 +4,7 @@ const { InteractionHandler, InteractionHandlerTypes } = require('@sapphire/frame
4
4
 
5
5
  class ModalHandler extends InteractionHandler {
6
6
  /**
7
- * @param {InteractionHandler.Context} context
7
+ * @param {InteractionHandler.LoaderContext} context
8
8
  * @param {InteractionHandler.Options} options
9
9
  */
10
10
  constructor(context, options) {
@@ -29,7 +29,7 @@ class ModalHandler extends InteractionHandler {
29
29
  */
30
30
  parse(interaction) {
31
31
  if (interaction.customId !== 'hello-popup') return this.none();
32
-
32
+
33
33
  return this.some();
34
34
  }
35
35
  }
@@ -4,7 +4,7 @@ const { methods, Route } = require('@sapphire/plugin-api');
4
4
 
5
5
  class UserRoute extends Route {
6
6
  /**
7
- * @param {Route.Context} context
7
+ * @param {Route.LoaderContext} context
8
8
  * @param {Route.Options} options
9
9
  */
10
10
  constructor(context, options) {
@@ -4,7 +4,7 @@ const { InteractionHandler, InteractionHandlerTypes } = require('@sapphire/frame
4
4
 
5
5
  class MenuHandler extends InteractionHandler {
6
6
  /**
7
- * @param {InteractionHandler.Context} context
7
+ * @param {InteractionHandler.LoaderContext} context
8
8
  * @param {InteractionHandler.Options} options
9
9
  */
10
10
  constructor(context, options) {
@@ -4,7 +4,7 @@ const { Command } = require('@sapphire/framework')
4
4
 
5
5
  class UserCommand extends Command {
6
6
  /**
7
- * @param {Command.Context} context
7
+ * @param {Command.LoaderContext} context
8
8
  */
9
9
  constructor(context) {
10
10
  super(context, {