mono项目开发模板,内置cli管理构建
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
谢亚昕 39970b3a1b refactor: rename packages and update dependencies for consistency 3 weeks ago
.changeset feat: 更新依赖项,优化配置,添加 README 文档 1 month ago
.vscode feat: add crypto-wasm package for SM4 encryption/decryption, update dependencies, and enhance build scripts 1 month ago
buildin/dm refactor: rename packages and update dependencies for consistency 3 weeks ago
docs/superpowers/specs feat: add xllm package with streaming provider adapters 1 month ago
packages refactor: rename packages and update dependencies for consistency 3 weeks ago
.gitignore feat: enhance example package with new demos and environment configuration 1 month ago
.oxlintrc.json init 2 months ago
.prettierrc.json init 2 months ago
bun.lock refactor: rename packages and update dependencies for consistency 3 weeks ago
lefthook.yml init 2 months ago
package.json refactor: rename packages and update dependencies for consistency 3 weeks ago
readme.md feat: add crypto-wasm package for SM4 encryption/decryption, update dependencies, and enhance build scripts 1 month ago
tsconfig.base.json refactor: rename packages and update dependencies for consistency 3 weeks ago
tsconfig.json fix: update TypeScript configuration and enhance provider handling 4 weeks ago
tsconfig.node.json fix: update TypeScript configuration and enhance provider handling 4 weeks ago
vitest.workspace.ts feat: rename package to dm-root and update workspace scripts 1 month ago

readme.md

要求

  • bun@1.3.11

wasm

  • 安装rust环境
  • cargo install wasm-pack

开发

安装依赖bun install,之后需要运行bun run cli:build命令安装内部命令行.

注意

  1. 开发时不同包之间的的引用最好直接写报名,不要携带路径,统一导出
  2. 最好统一包的入口为src/index.ts
  3. 包的导出记得加上"development": "./src/index.ts"
  4. wasm包文件夹类似与*-wasm

子包安装依赖

cd packages/stuff-a
bun add zod