Skip to content

Commit

Permalink
Merge branch 'dev' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
jiayun zhang committed Sep 23, 2022
2 parents 9623dae + 69ac15a commit f5d9b57
Show file tree
Hide file tree
Showing 51 changed files with 3,659 additions and 97 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
template
src/components/meKeepAlive
dist
vite.config.ts.*
vite.config.ts.*
src/components/meVxeTable/vxe-table-plugin-element
13 changes: 6 additions & 7 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,15 @@ module.exports = {
'vue/no-parsing-error': 'off',
'vue/require-default-prop': 'off',
'vue/no-v-html': 'off',
'no-unused-vars': [
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
// we are only using this rule to check for unused arguments since TS
// catches unused variables but not args.
{ varsIgnorePattern: '.*', args: 'none' },
],
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'no-undef': 'off', // ts(2304)
'@typescript-eslint/naming-convention': [
'error',
Expand All @@ -65,7 +64,7 @@ module.exports = {
leadingUnderscore: 'allow',
filter: {
// you can expand this regex to add more allowed names
regex: '^__v_.*$',
regex: '^((__v_.*)|[0-9]+)$',
match: false,
},
},
Expand All @@ -81,7 +80,7 @@ module.exports = {
leadingUnderscore: 'allow',
filter: {
// you can expand this regex to add more allowed names
regex: '^__v_.*$',
regex: '^((__v_.*)|[0-9]+)$',
match: false,
},
},
Expand Down
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
npx vue-tsc --noEmit
37 changes: 33 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Me-admin template是一个免费开源的中后台模板,基于vue3、vite3、 p
- clone 代码
```
git clone https://github.com/meadmin-cn/meadmin-template.git
```
- 安装依赖
```
Expand All @@ -54,13 +53,43 @@ git clone https://github.com/meadmin-cn/meadmin-template.git

## 贡献代码

规范文档正在整理中
- 只允许向main分支贡献代码,template分支由作者自行维护,如果template分支有bug提issus,作者会及时跟进。
- main分支只允许对不在template分支中的文件(不包括语言包文件)/新文件贡献代码
- 贡献代码统一在github而非gitee
### Pull Request:
1.Fork 代码!

2.创建自己的分支: `git checkout -b feat/xxxx`

3.初始化:(`npm run i`) 或( `npm install` `npx husky install`)

4.eslint检查:`npm run eslint`(husky 会自动运行eslint、prettier、type-check,但是不会自动修复eslint的warn,需要自己运行解决下warn)

5.提交修改: git commit -am 'feat: add xxxxx'

6.推送: `git push origin feat/xxxx`

7.提交`pull request`

## Git 贡献提交规范
- 需符合 [commitlint](https://commitlint.js.org/#/concepts-commit-conventions)规范,建议安装`vscode``Conventional Commits`扩展
- `feat` 新功能
- `fix` Bug 修复
- `chore` 其他
- `docs` 文档更改
- `style` 样式更改
- `refactor` 重构
- `perf` 性能改进
- `test` 测试添加/更正
- `revert` 还原提交
- `ignore` 临时暂存可忽略
- `ci` CI发版

## 打赏作者

作者还在为孩子奶粉钱苦苦挣扎,如果能帮到您欢迎打赏。
作者还在为孩子奶粉钱苦苦挣扎,如果能帮到您欢迎打赏。打赏时请务必备注github name 后续会维护到打赏鸣谢列表

![](./payCode.jpg)
![./payCode.jpg](https://gitee.com/meadmin-cn/meadmin-template/raw/main/payCode.jpg)


## License
Expand Down
49 changes: 49 additions & 0 deletions TEMPLATE-CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,54 @@


## [1.0.7](https://github.com/meadmin-cn/meadmin-template/compare/template-1.0.6...template-1.0.7) (2022-09-23)


### 新功能[feat]

* 加上请求成功提示 ([683c69a](https://github.com/meadmin-cn/meadmin-template/commit/683c69af8716bfc3cb39212fdbcaaadab2268b40))
* 加上全局popover-scrollbar-y 类 ([af84a4b](https://github.com/meadmin-cn/meadmin-template/commit/af84a4bc06b06ad09ab20eca6edcbdd227647744))
* 全局语言包支持引入ts、json格式,支持子孙文件夹引入 ([b92081a](https://github.com/meadmin-cn/meadmin-template/commit/b92081a5c9f7a2b3970fd80fd0c4a8bf9fa9b2d6))
* 自动生成加载组件类型 ([9d7f3d9](https://github.com/meadmin-cn/meadmin-template/commit/9d7f3d93906f8a63df376e9a97dd9bc30d452f16))
* page 背景色更改 ([ecaa1d9](https://github.com/meadmin-cn/meadmin-template/commit/ecaa1d95ccef5f7eb7e066ef0c4103ac084511c2))


### CI发版[ci]

* 去掉无用eslint规则,加上提交自动vue-tsc ([32f2bfe](https://github.com/meadmin-cn/meadmin-template/commit/32f2bfec1710b97e5365d09ed1ff960e66a073e5))


### 文档更改[docs]

* 格式优化 ([e612861](https://github.com/meadmin-cn/meadmin-template/commit/e612861fe93491e637c1c320b39337c029565f02))
* 加上贡献说明 ([2e8472b](https://github.com/meadmin-cn/meadmin-template/commit/2e8472b05d5f2e1bf108c2ef0dd1a684007b2e08))
* 说明更改 ([99569c4](https://github.com/meadmin-cn/meadmin-template/commit/99569c4927b65e4f81b2fb8f46b472859fbadc43))


### 其他[chore]

* 加上element函数声明 ([a1b08a6](https://github.com/meadmin-cn/meadmin-template/commit/a1b08a6e3bda3da9e732c90ed318bf4e5b7998c7))


### 性能改进[perf]

* 加上element动态函数默认缓存 ([34da538](https://github.com/meadmin-cn/meadmin-template/commit/34da538019ddfa77ee65f15caf6af7d647305edc))
* 强制依赖项扫描src,会导致首次启动变慢,但是不会每次第一次打开新页面都刷新 ([5635d36](https://github.com/meadmin-cn/meadmin-template/commit/5635d36df0c12dcdfa75a9a9130f09c6a697d570))


### Bug 修复[fix]

* 修复菜单收起时,感觉卡顿问题 ([81a18a3](https://github.com/meadmin-cn/meadmin-template/commit/81a18a31385dc84250e66dce55bf86b52201b4c8))
* 修复跟字体不生效bug ([fe8c558](https://github.com/meadmin-cn/meadmin-template/commit/fe8c558f76378d1c9266016989713d34aabfcaf1))
* 修复两个组件引入通一子组件热更新报错问题 ([add16a9](https://github.com/meadmin-cn/meadmin-template/commit/add16a923c320c8dce0ee82c38ba5ce64c47df1d))
* a标签默认样式去除修复 ([f758914](https://github.com/meadmin-cn/meadmin-template/commit/f758914f340b0fd43dcbf5172bb21562740d2b58))
* eslint检查支持数字属性 ([e0e5a4b](https://github.com/meadmin-cn/meadmin-template/commit/e0e5a4bc074759534b96744d06701d769fbec692))


### 重构[refactor]

* 移除vite-plugin-mock包改为@meadmin-cn/vite-plugin-mock ([8fd1bf6](https://github.com/meadmin-cn/meadmin-template/commit/8fd1bf65d3c4bd16ebae6311f621a7970ca54700))
* logo ico添加,登录页背景色设为page color ([f292910](https://github.com/meadmin-cn/meadmin-template/commit/f2929100aaaa2fde01ba9db2a01f3326194f4bff))

## [1.0.6](https://github.com/meadmin-cn/meadmin-template/compare/template-1.0.5...template-1.0.6) (2022-09-16)


Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/logo.svg" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<base target="_blank" />
<title>me-admin</title>
Expand Down
Loading

0 comments on commit f5d9b57

Please sign in to comment.