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.
|
|
9 months ago | |
|---|---|---|
| .changeset | 9 months ago | |
| internal/tsconfig | 9 months ago | |
| packages | 9 months ago | |
| public | 11 months ago | |
| scripts | 10 months ago | |
| .gitignore | 10 months ago | |
| .npmrc | 10 months ago | |
| .prettierrc | 11 months ago | |
| package.json | 9 months ago | |
| pnpm-lock.yaml | 9 months ago | |
| pnpm-workspace.yaml | 11 months ago | |
| readme.md | 9 months ago | |
| vitest.shared.ts | 10 months ago | |
| vitest.workspace.ts | 11 months ago | |
readme.md
开发
开发新模块
- 在
packages\.vitepress\config.ts增加startsDirs和alias。 - 在
internal\tsconfig\tsconfig.json增加路径别名 - 在
vitest.shared.ts修改别名
本地调试工具
- yalc
据说是本地最好的link方案,有没有吹牛自己试试。
版本管理
- changeset
- pnpm publish -r --access=public --report-summary
可以尝试尝试
测试
- 运行指定模块的测试文件:
pnpm test core src/common