@sapphire/cli 1.1.0-next.625dd8e.0 → 1.1.0-next.d75ea1b.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 +1 -0
- package/dist/prompts/PromptNew.js +4 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -55,6 +55,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
55
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
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
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>
|
|
58
59
|
</tr>
|
|
59
60
|
</table>
|
|
60
61
|
|
|
@@ -4,7 +4,10 @@ const tsTemplates = [
|
|
|
4
4
|
{ title: 'with tsup', value: 'with-tsup' },
|
|
5
5
|
{ title: 'with SWC', value: 'with-swc' }
|
|
6
6
|
];
|
|
7
|
-
const jsTemplates = [
|
|
7
|
+
const jsTemplates = [
|
|
8
|
+
{ title: 'with ESM (Recommended)', value: 'with-esm' },
|
|
9
|
+
{ title: 'with CommonJS', value: 'with-javascript' }
|
|
10
|
+
];
|
|
8
11
|
export const PromptNew = (projectName, yarn) => {
|
|
9
12
|
const pmChoices = [
|
|
10
13
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapphire/cli",
|
|
3
|
-
"version": "1.1.0-next.
|
|
3
|
+
"version": "1.1.0-next.d75ea1b.0",
|
|
4
4
|
"description": "CLI for Sapphire Framework",
|
|
5
5
|
"author": "@sapphire",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"chalk": "^4.1.2",
|
|
44
|
-
"commander": "^
|
|
44
|
+
"commander": "^9.0.0",
|
|
45
45
|
"find-up": "^5.0.0",
|
|
46
46
|
"ora": "^6.0.1",
|
|
47
47
|
"prompts": "^2.4.2",
|
|
@@ -52,20 +52,20 @@
|
|
|
52
52
|
"@commitlint/cli": "^16.1.0",
|
|
53
53
|
"@commitlint/config-conventional": "^16.0.0",
|
|
54
54
|
"@favware/npm-deprecate": "^1.0.4",
|
|
55
|
-
"@sapphire/eslint-config": "^4.0
|
|
56
|
-
"@sapphire/prettier-config": "^1.
|
|
57
|
-
"@sapphire/ts-config": "^3.
|
|
55
|
+
"@sapphire/eslint-config": "^4.1.0",
|
|
56
|
+
"@sapphire/prettier-config": "^1.3.0",
|
|
57
|
+
"@sapphire/ts-config": "^3.2.0",
|
|
58
58
|
"@types/node": "^17.0.8",
|
|
59
59
|
"@types/prompts": "^2.0.14",
|
|
60
|
-
"@typescript-eslint/eslint-plugin": "^5.10.
|
|
61
|
-
"@typescript-eslint/parser": "^5.10.
|
|
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.
|
|
63
|
+
"eslint": "~8.8.0",
|
|
64
64
|
"eslint-config-prettier": "^8.3.0",
|
|
65
65
|
"eslint-plugin-prettier": "^4.0.0",
|
|
66
|
-
"globby": "^
|
|
66
|
+
"globby": "^13.1.0",
|
|
67
67
|
"husky": "^7.0.4",
|
|
68
|
-
"lint-staged": "^12.
|
|
68
|
+
"lint-staged": "^12.3.2",
|
|
69
69
|
"prettier": "^2.5.1",
|
|
70
70
|
"pretty-quick": "^3.1.3",
|
|
71
71
|
"standard-version": "^9.3.2",
|