@seedcord/cli 0.3.1-next.0 → 0.3.1-next.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/LICENSE
CHANGED
|
@@ -175,7 +175,7 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
|
175
175
|
|
|
176
176
|
END OF TERMS AND CONDITIONS
|
|
177
177
|
|
|
178
|
-
Copyright
|
|
178
|
+
Copyright 2026 Dhruv Jain (materwelonDhruv)
|
|
179
179
|
|
|
180
180
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
181
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
_This repository is a work in progress._
|
|
8
8
|
|
|
9
9
|
- There are no stable releases yet but changes are being made actively.
|
|
10
|
-
-
|
|
10
|
+
- Until a major v1.0.0 release for seedcord, expect breaking changes in minor versions.
|
|
11
11
|
- Documentation will come soon as well!
|
|
12
12
|
|
|
13
13
|
If you'd like to try it out, you can check out the code in `mock`
|
package/dist/cli.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as SEEDCORD_CONFIG_FILENAMES, t as version } from "./src-
|
|
1
|
+
import { n as SEEDCORD_CONFIG_FILENAMES, t as version } from "./src-rlXXtAiI.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import { Command } from "@commander-js/extra-typings";
|
|
4
4
|
import { Logger, LoggerChannelRegistry, StrictEventEmitter } from "@seedcord/services";
|
package/dist/index.mjs
CHANGED
|
@@ -13,8 +13,8 @@ function defineConfig(config) {
|
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/index.ts
|
|
15
15
|
/** Package version. Falls back to '0.0.0' when run unbuilt (dev); the real value is injected at build time. */
|
|
16
|
-
const version = "0.3.1-next.
|
|
16
|
+
const version = "0.3.1-next.1";
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
19
|
export { SEEDCORD_CONFIG_FILENAMES as n, defineConfig as r, version as t };
|
|
20
|
-
//# sourceMappingURL=src-
|
|
20
|
+
//# sourceMappingURL=src-rlXXtAiI.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"src-
|
|
1
|
+
{"version":3,"file":"src-rlXXtAiI.mjs","names":[],"sources":["../src/core/config/schema.ts","../src/index.ts"],"sourcesContent":["/**\n * Build configuration used by the Seedcord CLI.\n */\nexport interface SeedcordBuildConfig {\n /**\n * Directory where build artifacts should be emitted.\n *\n * @defaultValue `./dist` relative to the config directory\n */\n outDir?: string;\n /**\n * Optional tsconfig path to use for builds.\n *\n * @defaultValue the nearest `tsconfig.build.json` or `tsconfig.json`\n */\n tsconfig?: string;\n /**\n * File name (or relative path) for the bootstrap file emitted inside the build output.\n */\n bootstrap?: string;\n}\n\n/**\n * HMR configuration used by the Seedcord CLI.\n */\nexport interface SeedcordHmrConfig {\n /**\n * Glob patterns for files that should trigger a full restart when changed.\n */\n restart?: string[];\n\n /**\n * Optional tsconfig path to use for type checking in dev mode.\n *\n * @defaultValue the nearest `tsconfig.json`\n */\n tsconfig?: string;\n}\n\n/**\n * Configuration used by the Seedcord CLI when running `seedcord dev` or `seedcord build`.\n */\nexport interface SeedcordDevConfig {\n /**\n * Root directory used for resolving relative paths.\n *\n * @defaultValue the config directory\n */\n root?: string;\n /**\n * Path to the module whose default export is a configured Seedcord instance.\n */\n instance: string;\n /**\n * Entry file that should be executed when starting the bot (and copied into the build output).\n */\n entry: string;\n /**\n * Optional build configuration overrides.\n */\n build?: SeedcordBuildConfig;\n /**\n * Optional HMR configuration.\n */\n hmr?: SeedcordHmrConfig;\n}\n\nexport interface ResolvedSeedcordBuildConfig {\n outDir: string;\n bootstrap: string;\n tsconfig?: string;\n}\n\n/**\n * Fully resolved configuration with absolute file system paths.\n */\nexport interface ResolvedSeedcordDevConfig extends Required<Omit<SeedcordDevConfig, 'build' | 'hmr'>> {\n /**\n * Absolute path to the config file that produced this resolution.\n */\n configFile: string;\n /**\n * Resolved build options with absolute paths.\n */\n build: ResolvedSeedcordBuildConfig;\n /**\n * Resolved tsconfig path to use for type checking in dev mode.\n */\n tsconfig?: string | undefined;\n /**\n * HMR configuration carried through from the user config (restart globs are matched as-is).\n */\n hmr?: SeedcordHmrConfig | undefined;\n}\n\n/**\n * Supported configuration filenames discovered by the CLI.\n */\nexport const SEEDCORD_CONFIG_FILENAMES = ['seedcord.config.ts', 'seedcord.config.mts'] as const;\n\n/**\n * Helper so config files receive proper type inference.\n */\nexport function defineConfig(config: SeedcordDevConfig): SeedcordDevConfig {\n return config;\n}\n","export {\n defineConfig,\n SEEDCORD_CONFIG_FILENAMES,\n type SeedcordBuildConfig,\n type SeedcordDevConfig,\n type SeedcordHmrConfig\n} from '@core/config/schema';\n\n/** Package version. Falls back to '0.0.0' when run unbuilt (dev); the real value is injected at build time. */\nexport const version = process.env.PACKAGE_VERSION ?? '0.0.0';\n"],"mappings":";;;;AAkGA,MAAa,4BAA4B,CAAC,sBAAsB,qBAAqB;;;;AAKrF,SAAgB,aAAa,QAA8C;CACvE,OAAO;AACX;;;;;AChGA,MAAa"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seedcord/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.3.1-next.
|
|
4
|
+
"version": "0.3.1-next.1",
|
|
5
5
|
"description": "CLI for seedcord",
|
|
6
6
|
"bin": {
|
|
7
7
|
"seedcord": "./bin/seedcord.mjs"
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"react": "^19.2.7",
|
|
51
51
|
"tsx": "^4.22.4",
|
|
52
52
|
"vite": "^8.0.16",
|
|
53
|
-
"@seedcord/errors": "0.2.1-next.
|
|
54
|
-
"@seedcord/services": "0.8.2-next.
|
|
55
|
-
"@seedcord/types": "0.7.0",
|
|
56
|
-
"@seedcord/utils": "0.
|
|
53
|
+
"@seedcord/errors": "0.2.1-next.1",
|
|
54
|
+
"@seedcord/services": "0.8.2-next.1",
|
|
55
|
+
"@seedcord/types": "0.7.1-next.0",
|
|
56
|
+
"@seedcord/utils": "0.7.0-next.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/react": "^19.2.17",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
63
63
|
"ink-testing-library": "^4.0.0",
|
|
64
64
|
"typescript": "^6.0.3",
|
|
65
|
-
"@seedcord/eslint-config": "1.4.
|
|
66
|
-
"@seedcord/tsconfig": "2.0.0",
|
|
67
|
-
"@seedcord/tsdown-config": "2.0.0"
|
|
65
|
+
"@seedcord/eslint-config": "1.4.3-next.0",
|
|
66
|
+
"@seedcord/tsconfig": "2.0.1-next.0",
|
|
67
|
+
"@seedcord/tsdown-config": "2.0.1-next.0"
|
|
68
68
|
},
|
|
69
69
|
"publishConfig": {
|
|
70
70
|
"access": "public",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"test:watch": "vitest dev",
|
|
85
85
|
"coverage": "vitest run --coverage"
|
|
86
86
|
},
|
|
87
|
-
"readme": "<p align=\"center\">\n <img src=\"https://cdn.seedcord.org/assets/banner.webp\" alt=\"seedcord\" width=\"100%\" />\n</p>\n\n---\n\n_This repository is a work in progress._\n\n- There are no stable releases yet but changes are being made actively.\n-
|
|
87
|
+
"readme": "<p align=\"center\">\n <img src=\"https://cdn.seedcord.org/assets/banner.webp\" alt=\"seedcord\" width=\"100%\" />\n</p>\n\n---\n\n_This repository is a work in progress._\n\n- There are no stable releases yet but changes are being made actively.\n- Until a major v1.0.0 release for seedcord, expect breaking changes in minor versions.\n- Documentation will come soon as well!\n\nIf you'd like to try it out, you can check out the code in `mock`\n"
|
|
88
88
|
}
|