@sapphire/cli 1.4.0-next.8646ff0.0 → 1.4.0-next.891ffa5.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.
@@ -1,5 +1,6 @@
1
1
  const tsTemplates = [
2
- { title: 'Default template (Recommended)', value: 'with-typescript-recommended' },
2
+ { title: 'Starter template (Recommended)', value: 'with-typescript-starter' },
3
+ { title: 'Complete template', value: 'with-typescript-complete' },
3
4
  { title: 'with Docker', value: 'with-docker' },
4
5
  { title: 'with tsup', value: 'with-tsup' },
5
6
  { title: 'with SWC', value: 'with-swc' }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire/cli",
3
- "version": "1.4.0-next.8646ff0.0",
3
+ "version": "1.4.0-next.891ffa5.0",
4
4
  "description": "CLI for Sapphire Framework",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "find-up": "^5.0.0",
47
47
  "js-yaml": "^4.1.0",
48
48
  "prompts": "^2.4.2",
49
- "tslib": "^2.4.1"
49
+ "tslib": "^2.5.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@commitlint/cli": "^17.4.2",
@@ -59,10 +59,10 @@
59
59
  "@types/js-yaml": "^4.0.5",
60
60
  "@types/node": "^18.11.18",
61
61
  "@types/prompts": "^2.4.2",
62
- "@typescript-eslint/eslint-plugin": "^5.48.1",
63
- "@typescript-eslint/parser": "^5.48.1",
62
+ "@typescript-eslint/eslint-plugin": "^5.49.0",
63
+ "@typescript-eslint/parser": "^5.49.0",
64
64
  "cz-conventional-changelog": "^3.3.0",
65
- "eslint": "^8.32.0",
65
+ "eslint": "^8.33.0",
66
66
  "eslint-config-prettier": "^8.6.0",
67
67
  "eslint-plugin-prettier": "^4.2.1",
68
68
  "globby": "^13.1.3",
@@ -1,7 +1,7 @@
1
1
  { "category": "commands" }
2
2
  ---
3
3
  const { Command } = require('@sapphire/framework');
4
- const { ApplicationCommandType } = require('discord-api-types/v10');
4
+ const { ApplicationCommandType } = require('discord.js');
5
5
 
6
6
  class UserCommand extends Command {
7
7
  /**
@@ -2,7 +2,7 @@
2
2
  ---
3
3
  import { ApplyOptions } from '@sapphire/decorators';
4
4
  import { Command } from '@sapphire/framework';
5
- import { ApplicationCommandType } from 'discord-api-types/v10';
5
+ import { ApplicationCommandType } from 'discord.js';
6
6
 
7
7
  @ApplyOptions<Command.Options>({
8
8
  description: 'A basic contextMenu command'