refactor: improve version number management #2943
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
已知问题
版本号管理不规范
环境变量管理存在安全隐患
.env.local
被错误地加入版本控制解决方案
将版本号管理从
.env.local
迁移到package.json
package.json
读取版本号规范配置文件的管理
.env.local
从版本控制.env.example
的示例说明.gitignore
配置改动收益
更规范的版本管理
package.json
读取更好的开发体验
具体改动
blog.config.js
.env.local
、.env.example
和.gitignore
.env.local
文件.env.example
示例CONTRIBUTING.md
测试确认