@sapphire/cli 1.0.3-next.eb98a1b.0 β†’ 1.1.0-next.04602fc.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/README.md CHANGED
@@ -42,12 +42,20 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
42
42
  <!-- markdownlint-disable -->
43
43
  <table>
44
44
  <tr>
45
- <td align="center"><a href="https://favware.tech/"><img src="https://avatars3.githubusercontent.com/u/4019718?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jeroen Claassens</b></sub></a><br /><a href="https://github.com/sapphiredev/cli/commits?author=Favna" title="Code">πŸ’»</a> <a href="https://github.com/sapphiredev/cli/commits?author=Favna" title="Documentation">πŸ“–</a> <a href="#infra-Favna" title="Infrastructure (Hosting, Build-Tools, etc)">πŸš‡</a> <a href="#projectManagement-Favna" title="Project Management">πŸ“†</a> <a href="#plugin-Favna" title="Plugin/utility libraries">πŸ”Œ</a></td>
45
+ <td align="center"><a href="https://favware.tech/"><img src="https://avatars3.githubusercontent.com/u/4019718?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jeroen Claassens</b></sub></a><br /><a href="https://github.com/sapphiredev/cli/commits?author=favna" title="Code">πŸ’»</a> <a href="https://github.com/sapphiredev/cli/commits?author=favna" title="Documentation">πŸ“–</a> <a href="#infra-favna" title="Infrastructure (Hosting, Build-Tools, etc)">πŸš‡</a> <a href="#projectManagement-favna" title="Project Management">πŸ“†</a> <a href="#plugin-favna" title="Plugin/utility libraries">πŸ”Œ</a></td>
46
46
  <td align="center"><a href="https://github.com/enxg"><img src="https://avatars.githubusercontent.com/u/61084101?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Enes GenΓ§</b></sub></a><br /><a href="https://github.com/sapphiredev/cli/commits?author=enxg" title="Code">πŸ’»</a> <a href="https://github.com/sapphiredev/cli/commits?author=enxg" title="Documentation">πŸ“–</a> <a href="#infra-enxg" title="Infrastructure (Hosting, Build-Tools, etc)">πŸš‡</a> <a href="#ideas-enxg" title="Ideas, Planning, & Feedback">πŸ€”</a> <a href="#example-enxg" title="Examples">πŸ’‘</a> <a href="#tutorial-enxg" title="Tutorials">βœ…</a></td>
47
47
  <td align="center"><a href="https://kaname.netlify.app"><img src="https://avatars.githubusercontent.com/u/56084970?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kaname</b></sub></a><br /><a href="https://github.com/sapphiredev/cli/commits?author=kaname-png" title="Code">πŸ’»</a></td>
48
48
  <td align="center"><a href="https://github.com/UndiedGamer"><img src="https://avatars.githubusercontent.com/u/84702365?v=4?s=100" width="100px;" alt=""/><br /><sub><b>UndiedGamer</b></sub></a><br /><a href="https://github.com/sapphiredev/cli/commits?author=UndiedGamer" title="Documentation">πŸ“–</a></td>
49
49
  <td align="center"><a href="https://github.com/Lioness100"><img src="https://avatars.githubusercontent.com/u/65814829?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Lioness100</b></sub></a><br /><a href="https://github.com/sapphiredev/cli/commits?author=Lioness100" title="Documentation">πŸ“–</a></td>
50
- <td align="center"><a href="https://megatank58.me/"><img src="https://avatars.githubusercontent.com/u/51410502?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Megatank58</b></sub></a><br /><a href="https://github.com/sapphiredev/cli/commits?author=Megatank58" title="Code">πŸ’»</a></td>
50
+ <td align="center"><a href="https://megatank58.me/"><img src="https://avatars.githubusercontent.com/u/51410502?v=4?s=100" width="100px;" alt=""/><br /><sub><b>megatank58</b></sub></a><br /><a href="https://github.com/sapphiredev/cli/commits?author=megatank58" title="Code">πŸ’»</a></td>
51
+ <td align="center"><a href="https://renovate.whitesourcesoftware.com/"><img src="https://avatars.githubusercontent.com/u/25180681?v=4?s=100" width="100px;" alt=""/><br /><sub><b>WhiteSource Renovate</b></sub></a><br /><a href="#maintenance-renovate-bot" title="Maintenance">🚧</a></td>
52
+ </tr>
53
+ <tr>
54
+ <td align="center"><a href="https://github.com/apps/renovate"><img src="https://avatars.githubusercontent.com/in/2740?v=4?s=100" width="100px;" alt=""/><br /><sub><b>renovate[bot]</b></sub></a><br /><a href="#maintenance-renovate[bot]" title="Maintenance">🚧</a></td>
55
+ <td align="center"><a href="https://github.com/apps/allcontributors"><img src="https://avatars.githubusercontent.com/in/23186?v=4?s=100" width="100px;" alt=""/><br /><sub><b>allcontributors[bot]</b></sub></a><br /><a href="https://github.com/sapphiredev/cli/commits?author=allcontributors[bot]" title="Documentation">πŸ“–</a></td>
56
+ <td align="center"><a href="https://github.com/apps/depfu"><img src="https://avatars.githubusercontent.com/in/715?v=4?s=100" width="100px;" alt=""/><br /><sub><b>depfu[bot]</b></sub></a><br /><a href="#maintenance-depfu[bot]" title="Maintenance">🚧</a></td>
57
+ <td align="center"><a href="https://allianaab2m.github.io/"><img src="https://avatars.githubusercontent.com/u/56180684?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Alliana</b></sub></a><br /><a href="https://github.com/sapphiredev/cli/commits?author=Allianaab2m" title="Code">πŸ’»</a></td>
58
+ <td align="center"><a href="https://github.com/MajesticString"><img src="https://avatars.githubusercontent.com/u/66224939?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Harry Allen</b></sub></a><br /><a href="https://github.com/sapphiredev/cli/commits?author=MajesticString" title="Code">πŸ’»</a></td>
51
59
  </tr>
52
60
  </table>
53
61
 
@@ -1,8 +1,13 @@
1
1
  const tsTemplates = [
2
2
  { title: 'Default template (Recommended)', value: 'with-typescript-recommended' },
3
- { title: 'with Docker', value: 'with-docker' }
3
+ { title: 'with Docker', value: 'with-docker' },
4
+ { title: 'with tsup', value: 'with-tsup' },
5
+ { title: 'with SWC', value: 'with-swc' }
6
+ ];
7
+ const jsTemplates = [
8
+ { title: 'with ESM (Recommended)', value: 'with-esm' },
9
+ { title: 'with CommonJS', value: 'with-javascript' }
4
10
  ];
5
- const jsTemplates = [{ title: 'Default template (Recommended)', value: 'with-javascript' }];
6
11
  export const PromptNew = (projectName, yarn) => {
7
12
  const pmChoices = [
8
13
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire/cli",
3
- "version": "1.0.3-next.eb98a1b.0",
3
+ "version": "1.1.0-next.04602fc.0",
4
4
  "description": "CLI for Sapphire Framework",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",
@@ -49,28 +49,28 @@
49
49
  "yaml": "^1.10.2"
50
50
  },
51
51
  "devDependencies": {
52
- "@commitlint/cli": "^15.0.0",
53
- "@commitlint/config-conventional": "^15.0.0",
52
+ "@commitlint/cli": "^16.1.0",
53
+ "@commitlint/config-conventional": "^16.0.0",
54
54
  "@favware/npm-deprecate": "^1.0.4",
55
- "@sapphire/eslint-config": "^4.0.7",
56
- "@sapphire/prettier-config": "^1.2.6",
57
- "@sapphire/ts-config": "^3.1.6",
58
- "@types/node": "^16.11.11",
55
+ "@sapphire/eslint-config": "^4.1.0",
56
+ "@sapphire/prettier-config": "^1.3.0",
57
+ "@sapphire/ts-config": "^3.2.0",
58
+ "@types/node": "^17.0.8",
59
59
  "@types/prompts": "^2.0.14",
60
- "@typescript-eslint/eslint-plugin": "^5.5.0",
61
- "@typescript-eslint/parser": "^5.5.0",
60
+ "@typescript-eslint/eslint-plugin": "^5.10.1",
61
+ "@typescript-eslint/parser": "^5.10.1",
62
62
  "cz-conventional-changelog": "^3.3.0",
63
- "eslint": "^8.4.0",
63
+ "eslint": "~8.8.0",
64
64
  "eslint-config-prettier": "^8.3.0",
65
65
  "eslint-plugin-prettier": "^4.0.0",
66
- "globby": "^12.0.2",
66
+ "globby": "^13.1.0",
67
67
  "husky": "^7.0.4",
68
- "lint-staged": "^12.1.2",
68
+ "lint-staged": "^12.3.2",
69
69
  "prettier": "^2.5.1",
70
- "pretty-quick": "^3.1.2",
70
+ "pretty-quick": "^3.1.3",
71
71
  "standard-version": "^9.3.2",
72
72
  "ts-node": "^10.4.0",
73
- "typescript": "^4.5.2"
73
+ "typescript": "^4.5.5"
74
74
  },
75
75
  "engines": {
76
76
  "node": ">=v16.6.0",
@@ -2,7 +2,7 @@
2
2
  ---
3
3
  import { ApplyOptions } from '@sapphire/decorators';
4
4
  import { SubCommandPluginCommand, SubCommandPluginCommandOptions } from '@sapphire/plugin-subcommands';
5
- import { Message } from 'discord.js';
5
+ import type { Message } from 'discord.js';
6
6
 
7
7
  @ApplyOptions<SubCommandPluginCommandOptions>({
8
8
  description: 'A basic command'