@sapphire/cli 1.4.0-next.fbc82a4.0 → 1.4.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,56 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ # [1.4.0](https://github.com/sapphiredev/cli/compare/v1.3.1...v1.4.0) - (2023-01-29)
6
+
7
+ ## 🏠 Refactor
8
+
9
+ - Import discord types from discord.js ([542b63e](https://github.com/sapphiredev/cli/commit/542b63e1070f70cddc31e9c1b349c47f2de2f438))
10
+ - Update template to v14/djs and sapphire/v4 (#181) ([7c2d28b](https://github.com/sapphiredev/cli/commit/7c2d28b4b3fbae511c2e68aa237983f373cde032))
11
+
12
+ ## 🐛 Bug Fixes
13
+
14
+ - **deps:** Update dependency commander to v10 (#196) ([8646ff0](https://github.com/sapphiredev/cli/commit/8646ff0187db16d5da2f7aae0a30ee1d9164e01a))
15
+ - **deps:** Update dependency @sapphire/result to ^2.6.0 (#176) ([309768b](https://github.com/sapphiredev/cli/commit/309768bdfebb22001c14f84cd46a1f750ae1afbd))
16
+ - **deps:** Update dependency @sapphire/result to ^2.5.0 ([c501908](https://github.com/sapphiredev/cli/commit/c50190879f6ffa1708a972c717cb3dd84eca0248))
17
+
18
+ ## 📝 Documentation
19
+
20
+ - Add @BashGuy10 as a contributor ([2343600](https://github.com/sapphiredev/cli/commit/234360035defce7cb150e836ac7b8e2cf3d64dee))
21
+
22
+ ## 🚀 Features
23
+
24
+ - Add typescript starter example ([2dedf93](https://github.com/sapphiredev/cli/commit/2dedf93f3a82b2853a8f8f142de57e0d25caf3f0))
25
+ - Add pnpm support (#191) ([1eec4e6](https://github.com/sapphiredev/cli/commit/1eec4e6e2c59676bb9ca46a4de2f23c6a726e1bb))
26
+
27
+ # [1.3.1](https://github.com/sapphiredev/cli/compare/v1.3.0...v1.3.1) - (2022-09-06)
28
+
29
+ ## 🐛 Bug Fixes
30
+
31
+ - Fixed core templates (#159) ([85ea98b](https://github.com/sapphiredev/cli/commit/85ea98babb5197e041367f3d47e12c18f753e4ea))
32
+ - **deps:** Update dependency @sapphire/result to ^2.4.1 ([1960263](https://github.com/sapphiredev/cli/commit/1960263268e38dfc8ccfb91a8b3621d4d0c3bf76))
33
+ - Update messagecommand to v3 and use Command (#152) ([f897118](https://github.com/sapphiredev/cli/commit/f897118b7edd9129068dea71dca865dc5c7b39ab))
34
+
35
+ # [1.3.0](https://github.com/sapphiredev/cli/compare/v1.2.0...v1.3.0) - (2022-08-21)
36
+
37
+ ## 🏠 Refactor
38
+
39
+ - Switch to @favware/colorette-spinner ([e52962d](https://github.com/sapphiredev/cli/commit/e52962d53bc11af482c4ba60186f411d94f29b0b))
40
+
41
+ ## 🐛 Bug Fixes
42
+
43
+ - **deps:** Update dependency @sapphire/result to ^2.3.3 ([4c6891b](https://github.com/sapphiredev/cli/commit/4c6891b28134120969975b00ab474683eaa9cedd))
44
+ - **deps:** Update dependency @sapphire/result to ^2.1.1 ([e42c188](https://github.com/sapphiredev/cli/commit/e42c188b05ec2f4a68403f94cfa6333e9d5421fd))
45
+ - **deps:** Update dependency @sapphire/result to v2 (#135) ([025c7ca](https://github.com/sapphiredev/cli/commit/025c7caed86e17e4b9e20def743e7c33d9b81589))
46
+
47
+ ## 📝 Documentation
48
+
49
+ - Add @boingtheboeing as a contributor ([ac6088c](https://github.com/sapphiredev/cli/commit/ac6088c557800b25f3da1bd561de3941298e5f22))
50
+
51
+ ## 🚀 Features
52
+
53
+ - Add templates for slash commands and context menu commands (#141) ([b97aeac](https://github.com/sapphiredev/cli/commit/b97aeac80999e81a3ae80e0dc7c749d6474945a8))
54
+
5
55
  # [1.3.1](https://github.com/sapphiredev/cli/compare/v1.3.0...v1.3.1) - (2022-09-06)
6
56
 
7
57
  ## 🐛 Bug Fixes
@@ -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.fbc82a4.0",
3
+ "version": "1.4.0",
4
4
  "description": "CLI for Sapphire Framework",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",
@@ -41,12 +41,12 @@
41
41
  "@favware/colorette-spinner": "^1.0.1",
42
42
  "@sapphire/result": "^2.6.0",
43
43
  "colorette": "^2.0.19",
44
- "commander": "^9.5.0",
44
+ "commander": "^10.0.0",
45
45
  "execa": "^6.1.0",
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.31.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'