Worktile & PingCode 前端团队开发的快速且可靠的企业级 Tethys Angular 组件库。
English | 中文文档
- 📦 开箱即用
- 🚀 强大且包含 60+ 个丰富组件
- 🔰 完美支持 TypeScrip,提供完整的类型定义
- 🎨 提炼企业级交互语言和设计风格
- 💫 和 Angular 版本保持同步
- ❤️ 高质量,每个组件都具备完善的测试覆盖率和文档,高质量等于放心使用
仅为类库贡献者阅读。
$ git clone git@github.com:atinc/ngx-tethys.git
$ cd ngx-tethys
$ npm install
$ npm run start
-
Run
npm run release
to release new version, this command will does the following:- Checkout to
master
and identifies current version and latest tag. - Prompts for a new version to select.
- Create a release branch as
release-v1.0.0
- Modifies package metadata (package.json, version.ts) to reflect new release and generate changelog
- Commits those changes to release branch.
- Pushes to the git remote.
You can run
npm run release -- [patch|minor|major|2.0.0]
to skip the version selection prompt and increment the version by that keyword or specify version. - Checkout to
-
Submit pull request from release branch to master(don't merge it)
-
GitHub Actions will auto build and publish lib
Release the next version requires executing npm run release-next
Manually release version requires executing npm run release-manual
npm run release -- --dry-run
or npm run pub -- --dry-run
running with the flag --dry-run
allows you to see what commands would be run, without committing to git or updating files. (意思就是打印一下日志让你看看做了哪些步骤,但是并不会真的执行脚本,你可以放心的执行)
- Don't use
barrel index
(should directly import specify component in module, don't importindex.ts
) - Should exports component module in
public-api.ts