From 1c2389f57dc68dac84a20669b959c0fef76c5180 Mon Sep 17 00:00:00 2001
From: m1-dev <140819896+m1-dev@users.noreply.github.com>
Date: Sat, 3 Feb 2024 22:20:49 +0200
Subject: [PATCH 1/7] docs: add create-commandkit lang
---
apps/docs/pages/guide/create-commandkit.mdx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/apps/docs/pages/guide/create-commandkit.mdx b/apps/docs/pages/guide/create-commandkit.mdx
index cb1ca829..f0d37c06 100644
--- a/apps/docs/pages/guide/create-commandkit.mdx
+++ b/apps/docs/pages/guide/create-commandkit.mdx
@@ -16,10 +16,12 @@ This will start the CLI in the current directory.
When running create-commandkit, you should be asked the following questions:
-- **Project Directory:** Defines where your project will be located. It defaults to the current working directory.
+- **Directory:** Defines where your project will be located. It defaults to the current working directory.
- **Package Manager:** Lets you choose which package manager to use — npm, pnpm, or Yarn.
+- **Language:** The language to use for your project — JavaScript or TypeScript.
+
- **Module Type:** Allows you to pick between CommonJS (using require and module.exports), and ESM (using import and export).
- **Bot Token:** Asks you for your bot token, and writes it into the `.env` file where it will be stored.
From 60af5a20ac667028bb00ac46b861918a49e5ac3c Mon Sep 17 00:00:00 2001
From: m1-dev <140819896+m1-dev@users.noreply.github.com>
Date: Sat, 3 Feb 2024 22:25:56 +0200
Subject: [PATCH 2/7] docs: create-commandkit dev versions
---
apps/docs/pages/guide/create-commandkit.mdx | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/apps/docs/pages/guide/create-commandkit.mdx b/apps/docs/pages/guide/create-commandkit.mdx
index f0d37c06..e6dce0b7 100644
--- a/apps/docs/pages/guide/create-commandkit.mdx
+++ b/apps/docs/pages/guide/create-commandkit.mdx
@@ -12,6 +12,16 @@ npm create commandkit@latest
This will start the CLI in the current directory.
+### Development version
+
+Similar to the main package, you could try the `dev` or `next` versions of create-commandkit:
+
+```sh copy
+npm create commandkit@next
+# or
+npm create commandkit@dev
+```
+
## Prompts
When running create-commandkit, you should be asked the following questions:
From eda625f39c557450fdb234fcb5b6be2b179004c0 Mon Sep 17 00:00:00 2001
From: m1-dev <140819896+m1-dev@users.noreply.github.com>
Date: Sat, 3 Feb 2024 22:36:20 +0200
Subject: [PATCH 3/7] docs: remove development version section
---
apps/docs/pages/guide/create-commandkit.mdx | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/apps/docs/pages/guide/create-commandkit.mdx b/apps/docs/pages/guide/create-commandkit.mdx
index e6dce0b7..f0d37c06 100644
--- a/apps/docs/pages/guide/create-commandkit.mdx
+++ b/apps/docs/pages/guide/create-commandkit.mdx
@@ -12,16 +12,6 @@ npm create commandkit@latest
This will start the CLI in the current directory.
-### Development version
-
-Similar to the main package, you could try the `dev` or `next` versions of create-commandkit:
-
-```sh copy
-npm create commandkit@next
-# or
-npm create commandkit@dev
-```
-
## Prompts
When running create-commandkit, you should be asked the following questions:
From f205cdc97b446038523d5cbb553b0f62cf8d8491 Mon Sep 17 00:00:00 2001
From: m1-dev <140819896+m1-dev@users.noreply.github.com>
Date: Sat, 3 Feb 2024 22:37:33 +0200
Subject: [PATCH 4/7] docs: dev version callout
---
apps/docs/pages/guide/create-commandkit.mdx | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/apps/docs/pages/guide/create-commandkit.mdx b/apps/docs/pages/guide/create-commandkit.mdx
index f0d37c06..85523db6 100644
--- a/apps/docs/pages/guide/create-commandkit.mdx
+++ b/apps/docs/pages/guide/create-commandkit.mdx
@@ -1,3 +1,5 @@
+import { Callout } from 'nextra/components';
+
# create-commandkit
Besides installing CommandKit to your existing project, you can also start a new one with `create-commandkit` — a command-line utility used for creating new discord.js bots with CommandKit.
@@ -12,6 +14,18 @@ npm create commandkit@latest
This will start the CLI in the current directory.
+### Development version
+
+Similar to the main package, you could try the `dev` or `next` versions of create-commandkit:
+
+
+ This version is likely to have issues. Be careful!
+
+
+```sh copy
+npm create commandkit@dev
+```
+
## Prompts
When running create-commandkit, you should be asked the following questions:
From 887017db4bf1b2f4e86245e2bd143cd1cc14d097 Mon Sep 17 00:00:00 2001
From: m1-dev <140819896+m1-dev@users.noreply.github.com>
Date: Sat, 3 Feb 2024 22:53:58 +0200
Subject: [PATCH 5/7] refactor: consistent warning message
---
apps/docs/pages/guide/create-commandkit.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/docs/pages/guide/create-commandkit.mdx b/apps/docs/pages/guide/create-commandkit.mdx
index 85523db6..f1445751 100644
--- a/apps/docs/pages/guide/create-commandkit.mdx
+++ b/apps/docs/pages/guide/create-commandkit.mdx
@@ -19,7 +19,7 @@ This will start the CLI in the current directory.
Similar to the main package, you could try the `dev` or `next` versions of create-commandkit:
- This version is likely to have issues. Be careful!
+ The development version is likely to have bugs.
```sh copy
From bc03217df2a371c90779b55da748140be9f001b9 Mon Sep 17 00:00:00 2001
From: m1-dev <140819896+m1-dev@users.noreply.github.com>
Date: Sat, 3 Feb 2024 22:55:30 +0200
Subject: [PATCH 6/7] docs: create-commandkit lang dev warning
---
apps/docs/pages/guide/create-commandkit.mdx | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/apps/docs/pages/guide/create-commandkit.mdx b/apps/docs/pages/guide/create-commandkit.mdx
index f1445751..04c8cfdd 100644
--- a/apps/docs/pages/guide/create-commandkit.mdx
+++ b/apps/docs/pages/guide/create-commandkit.mdx
@@ -34,6 +34,10 @@ When running create-commandkit, you should be asked the following questions:
- **Package Manager:** Lets you choose which package manager to use — npm, pnpm, or Yarn.
+
+ Currently, the language feature is only available in the development version.
+
+
- **Language:** The language to use for your project — JavaScript or TypeScript.
- **Module Type:** Allows you to pick between CommonJS (using require and module.exports), and ESM (using import and export).
From 4e001e01b9f159e7c7a503f2d0df978bac1f000c Mon Sep 17 00:00:00 2001
From: Avraj
Date: Sun, 4 Feb 2024 00:14:57 +0300
Subject: [PATCH 7/7] docs: replace callout
---
apps/docs/pages/guide/create-commandkit.mdx | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/apps/docs/pages/guide/create-commandkit.mdx b/apps/docs/pages/guide/create-commandkit.mdx
index 04c8cfdd..d6933689 100644
--- a/apps/docs/pages/guide/create-commandkit.mdx
+++ b/apps/docs/pages/guide/create-commandkit.mdx
@@ -34,11 +34,7 @@ When running create-commandkit, you should be asked the following questions:
- **Package Manager:** Lets you choose which package manager to use — npm, pnpm, or Yarn.
-
- Currently, the language feature is only available in the development version.
-
-
-- **Language:** The language to use for your project — JavaScript or TypeScript.
+- **Language ([Development version](/guide/installation#development-version) only):** The language to use for your project — JavaScript or TypeScript.
- **Module Type:** Allows you to pick between CommonJS (using require and module.exports), and ESM (using import and export).