feat(sdk): add developer project tooling
docs(rfc): propose SDK developer project tooling feat: rename / docs ci: fix windows gates docs: revert
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
Changes were committed, but install failed: {{error}}
|
||||
Retry: {{packageManager}} {{installArgs}}
|
||||
@@ -0,0 +1,7 @@
|
||||
Usage: dsh <command> [options]
|
||||
|
||||
Commands:
|
||||
start [target] [-- args...] Import a built module, or boot cordis.yml
|
||||
dev [target] [-- args...] Start with TypeScript and local-plugin source resolution
|
||||
build [args...] Run the project's installed tsdown
|
||||
config Interactively edit project features
|
||||
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Package-owned terminal templates for the dsh launcher.
|
||||
*
|
||||
* @module @deepseek-ai/dsh-scripts/templates/dsh-templates
|
||||
*/
|
||||
|
||||
import { TextTemplate, type PackageManagerName } from '@deepseek-ai/dsh-helper'
|
||||
|
||||
interface ConfigInstallFailureTemplateModel {
|
||||
error: string
|
||||
packageManager: PackageManagerName
|
||||
installArgs: string
|
||||
}
|
||||
|
||||
/** Compiled dsh terminal templates. */
|
||||
export const DSH_TEMPLATES = {
|
||||
usage: TextTemplate.fromFile<Record<string, never>>(new URL('./assets/usage.txt.tpl', import.meta.url)),
|
||||
configInstallFailure: TextTemplate.fromFile<ConfigInstallFailureTemplateModel>(
|
||||
new URL('./assets/config-install-failure.txt.tpl', import.meta.url),
|
||||
),
|
||||
} as const
|
||||
Reference in New Issue
Block a user