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 days ago
.changeset feat: 更新依赖项,优化配置,添加 README 文档 3 weeks ago
.vscode feat: add crypto-wasm package for SM4 encryption/decryption, update dependencies, and enhance build scripts 3 weeks ago
buildin/dm refactor: rename packages and update dependencies for consistency 3 days ago
docs/superpowers/specs feat: add xllm package with streaming provider adapters 2 weeks ago
packages refactor: rename packages and update dependencies for consistency 3 days ago
.gitignore feat: enhance example package with new demos and environment configuration 2 weeks ago
.oxlintrc.json init 4 weeks ago
.prettierrc.json init 4 weeks ago
bun.lock refactor: rename packages and update dependencies for consistency 3 days ago
lefthook.yml init 4 weeks ago
package.json refactor: rename packages and update dependencies for consistency 3 days ago
readme.md feat: add crypto-wasm package for SM4 encryption/decryption, update dependencies, and enhance build scripts 3 weeks ago
tsconfig.base.json refactor: rename packages and update dependencies for consistency 3 days ago
tsconfig.json fix: update TypeScript configuration and enhance provider handling 1 week ago
tsconfig.node.json fix: update TypeScript configuration and enhance provider handling 1 week ago
vitest.workspace.ts feat: rename package to dm-root and update workspace scripts 3 weeks 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