@sapphire/cli 1.3.0 → 1.3.1-next.a89b0ef.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire/cli",
3
- "version": "1.3.0",
3
+ "version": "1.3.1-next.a89b0ef.0",
4
4
  "description": "CLI for Sapphire Framework",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",
@@ -49,8 +49,8 @@
49
49
  "tslib": "^2.4.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@commitlint/cli": "^17.0.3",
53
- "@commitlint/config-conventional": "^17.0.3",
52
+ "@commitlint/cli": "^17.1.1",
53
+ "@commitlint/config-conventional": "^17.1.0",
54
54
  "@favware/cliff-jumper": "^1.8.7",
55
55
  "@favware/npm-deprecate": "^1.0.5",
56
56
  "@sapphire/eslint-config": "^4.3.8",
@@ -59,10 +59,10 @@
59
59
  "@types/js-yaml": "^4.0.5",
60
60
  "@types/node": "^18.7.8",
61
61
  "@types/prompts": "^2.0.14",
62
- "@typescript-eslint/eslint-plugin": "^5.33.1",
63
- "@typescript-eslint/parser": "^5.33.1",
62
+ "@typescript-eslint/eslint-plugin": "^5.35.1",
63
+ "@typescript-eslint/parser": "^5.35.1",
64
64
  "cz-conventional-changelog": "^3.3.0",
65
- "eslint": "^8.22.0",
65
+ "eslint": "^8.23.0",
66
66
  "eslint-config-prettier": "^8.5.0",
67
67
  "eslint-plugin-prettier": "^4.2.1",
68
68
  "globby": "^13.1.2",
@@ -72,7 +72,7 @@
72
72
  "prettier": "^2.7.1",
73
73
  "pretty-quick": "^3.1.3",
74
74
  "ts-node": "^10.9.1",
75
- "typescript": "^4.7.4"
75
+ "typescript": "^4.8.2"
76
76
  },
77
77
  "resolutions": {
78
78
  "ansi-regex": "^5.0.1",
@@ -117,5 +117,5 @@
117
117
  "access": "public"
118
118
  },
119
119
  "prettier": "@sapphire/prettier-config",
120
- "packageManager": "yarn@3.2.2"
120
+ "packageManager": "yarn@3.2.3"
121
121
  }
@@ -1,8 +1,8 @@
1
1
  { "category": "commands" }
2
2
  ---
3
- const { SubCommandPluginCommand } = require('@sapphire/plugin-subcommands');
3
+ const { Command } = require('@sapphire/framework');
4
4
 
5
- class UserCommand extends SubCommandPluginCommand {
5
+ class UserCommand extends Command {
6
6
  constructor(context, options) {
7
7
  super(context, {
8
8
  ...options
@@ -1,13 +1,13 @@
1
1
  { "category": "commands" }
2
2
  ---
3
3
  import { ApplyOptions } from '@sapphire/decorators';
4
- import { SubCommandPluginCommand, SubCommandPluginCommandOptions } from '@sapphire/plugin-subcommands';
4
+ import { Command } from '@sapphire/framework';
5
5
  import type { Message } from 'discord.js';
6
6
 
7
- @ApplyOptions<SubCommandPluginCommandOptions>({
7
+ @ApplyOptions<Command.Options>({
8
8
  description: 'A basic command'
9
9
  })
10
- export class UserCommand extends SubCommandPluginCommand {
10
+ export class UserCommand extends Command {
11
11
  public async messageRun(message: Message) {
12
12
  return message.channel.send('Hello world!');
13
13
  }