create-seedcord 0.4.0 → 0.4.1
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/dist/index.mjs +2 -2
- package/package.json +3 -3
- package/templates/AGENTS.md.hbs +4 -0
package/dist/index.mjs
CHANGED
|
@@ -2465,7 +2465,7 @@ function isSeedcordError(error, type, code) {
|
|
|
2465
2465
|
|
|
2466
2466
|
//#endregion
|
|
2467
2467
|
//#region src/cli/banner.ts
|
|
2468
|
-
function banner(version = "0.4.
|
|
2468
|
+
function banner(version = "0.4.1") {
|
|
2469
2469
|
const wordmark = `${paint.flesh.bold("seed")}${paint.rind.bold("cord")}${paint.mute(" create")}`;
|
|
2470
2470
|
if (version === void 0) return wordmark;
|
|
2471
2471
|
return `${wordmark}${paint.pith(` • v${version}`)}`;
|
|
@@ -3682,7 +3682,7 @@ function silentSteps() {
|
|
|
3682
3682
|
|
|
3683
3683
|
//#endregion
|
|
3684
3684
|
//#region src/cli/version.ts
|
|
3685
|
-
const version = "0.4.
|
|
3685
|
+
const version = "0.4.1";
|
|
3686
3686
|
|
|
3687
3687
|
//#endregion
|
|
3688
3688
|
//#region src/cli/summary.ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-seedcord",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.1",
|
|
5
5
|
"description": "Scaffold a new seedcord bot",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"discord",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@clack/prompts": "^1.7.0",
|
|
43
43
|
"@seedcord/errors": "^0.12.0",
|
|
44
|
-
"@seedcord/eslint-config": "^2.
|
|
44
|
+
"@seedcord/eslint-config": "^2.4.0",
|
|
45
45
|
"@seedcord/tsconfig": "^2.0.5",
|
|
46
46
|
"@seedcord/tsdown-config": "^2.0.1",
|
|
47
|
-
"@seedcord/types": "^0.14.
|
|
47
|
+
"@seedcord/types": "^0.14.3",
|
|
48
48
|
"@seedcord/vitest-config": "^0.0.1",
|
|
49
49
|
"discord.js": "^14.27.0",
|
|
50
50
|
"handlebars": "^4.7.9",
|
package/templates/AGENTS.md.hbs
CHANGED
|
@@ -37,6 +37,10 @@ Run `{{ pm.run }} codegen` after you add a command or change its options. It wri
|
|
|
37
37
|
|
|
38
38
|
Anything that holds a connection, keeps state between interactions, or runs in the background belongs in a plugin, either an existing one or your own. Read <https://seedcord.org/guide/plugins.md> and <https://seedcord.org/guide/plugins/your-own.md> before you add one.
|
|
39
39
|
|
|
40
|
+
## Imports
|
|
41
|
+
|
|
42
|
+
Never import from a seedcord path ending in `/internal`, like `@seedcord/core/internal`. Those paths wire seedcord's own packages together and change without notice. If the only way to do something is through one of those imports, tell the user so they can open an issue at <https://github.com/seedcord/seedcord/issues>.
|
|
43
|
+
|
|
40
44
|
## Before you call it done
|
|
41
45
|
|
|
42
46
|
Run `{{ pm.run }} tc` and `{{ pm.run }} lint`. A wrong route or a wrong option name is a compile error, so a green type-check catches most of what an invented API gets wrong.
|