一款 网页音频播放器 ,主要是用来学习 Web Audio API 和 File System API 。
- 使用 pnpm
- 初始化仓库
git init git add . git commit -am "feat: Initial commit 🎉."
- 配置 .editorconfig 对应 VS Code 插件
ext install EditorConfig.EditorConfig - 添加 .gitattributes 文件,保证 git 适配换行符(解决
Delete␍eslint错误) - 配置 ESLint
- 配置 Prettier
- 配置 CSS 相关
- 校验代码规范
- 校验提交规范
- 使用 commitlint 校验提交信息
- 使用 commitizen 交互式生成 commit-msg
- 自动生成 CHANGELOG
- 规范版本发布
- CI/CD
- TODO: 单元测试
- 《手摸手教你使用最新版 husky(v7.0.1)让代码更优雅规范》- 掘金
- 《详解如何使得代码提交更规范(lint-staged、commitlint、commitizen、conventional-changelog-cli)》- 掘金
- 《基于 Vite 从 0 到 1 搭建一个 Vue3 相关的工程化模板项目》- 掘金
- 《一文了解 VsCode、Eslint、Prettier、Husky 相关配置》- 掘金
- 《从 0 搭建 Vite 3 + Vue 3 前端工程化项目》- 掘金
- 《从零到一实现对 Git Commit Message 规范和校验,并生成 changelog 文档》- 掘金
- 《还在手动发包? 试试 release-it 自动发包吧 📦》- 掘金