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