# gold-tools **Repository Path**: hz-fly/gold-tools ## Basic Information - **Project Name**: gold-tools - **Description**: 基于 TypeScript 的工具库 - **Primary Language**: TypeScript - **License**: Not specified - **Default Branch**: master - **Homepage**: https://gitee.com/393187274/gold-tools/ - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-11 - **Last Updated**: 2025-12-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # gold-tools gold-core 导出内容详见 [Exports](docs/modules.md) gold-layout 导出内容详见 [Exports](docs-layout/modules.md) ## Git 使用 - `git add .` —— 添加所有代码更改 - `pnpm commit` —— 提交代码更改 - `git push origin master` —— 推送更改到远程仓库 ## 发布流程 - `pnpm changeset` —— 生成部分项目的 changelog - `pnpm changeset version` —— 更新部分项目的版本号 - `pnpm run build` —— 构建部分项目 - `pnpm -r publish --no-git-checks` —— 发布项目 ## husky 配置 ```shell # 新增一个 husky 的 hook npx husky add .husky/commit-msg 'npx --no-install commitlint --edit "$1"' # 在 husky 中增加 pre-commit 校验 npx husky add .husky/pre-commit "npx --no-install lint-staged" ``` ## 代码规范检查 ```shell pnpm i -wD eslint lint-staged @typescript-eslint/parser @typescript-eslint/eslint-plugin ```