This project is for own use, changelog is artificial.
git clone https://github.com/HcySunYang/template-ts.git
rm -rf .git
git remote add origin {https://github.com/user/repo.git}
- name
- repository
- author
- types
Describe your project
Currently it is the basic configuration, you can modify it according to your needs.
yarn dev
for devyarn build
for buildyarn test
for tests- write test files in the
tests
folder ((\\.|/)(test|spec))\\.tsx?$
- writing dts tests in the
test-dts
folder
- write test files in the
- rollup
dts
(thanks to api-extractor) yarn commit
for commit- pre-commit hook & lint-staged
- format on save when using vscode(
prettier
) - integrate github action(only work on the
main
branch) yarn release
for releasing your package--dry
dry run--skipTests
skip tests--skipBuild
skip build--preId
specify pre-release preid:yarn release --preId alpha
- changelog will be automatically generated
- You can specify the version:
yarn release [version]