Skip to content

Commit

Permalink
release: v0.13.9 (#121)
Browse files Browse the repository at this point in the history
【更新】v0.13.9
  • Loading branch information
crrashh1542 authored Aug 27, 2024
2 parents badb025 + a6e62d8 commit 499cd9e
Show file tree
Hide file tree
Showing 54 changed files with 5,784 additions and 8,006 deletions.
9 changes: 2 additions & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,12 @@
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:vue/vue3-essential"
],
"extends": ["eslint:recommended", "plugin:vue/vue3-essential"],
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"vue"
],
"plugins": ["vue"],
"rules": {}
}
91 changes: 45 additions & 46 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,54 +1,53 @@
name: 🐛 Bug 反馈
description: 遇到的任何问题都可以反馈!
labels: ["Bug"]
title: "【BUG】"
body:

- type: dropdown
attributes:
label: 出现位置
description: 你可以在此处指出该 Bug 出现于本项目的哪个位置。
options:
- 构建过程(Node)
- 生产模式页面(Browser)
- 开发模式页面(Browser)
- 操作逻辑
- 其它,请在后续详细补充
validations:
labels: ['Bug']
title: '【BUG】'
body:
- type: dropdown
attributes:
label: 出现位置
description: 你可以在此处指出该 Bug 出现于本项目的哪个位置。
options:
- 构建过程(Node)
- 生产模式页面(Browser)
- 开发模式页面(Browser)
- 操作逻辑
- 其它,请在后续详细补充
validations:
required: true

- type: input
attributes:
label: 项目版本
description: 你可以在此处输入 Bug 出现时项目的版本。若不填写则默认为 `dev` 分支最新版本。
placeholder: 格式为“包版本@hash (Build 构建数)”
- type: input
attributes:
label: 项目版本
description: 你可以在此处输入 Bug 出现时项目的版本。若不填写则默认为 `dev` 分支最新版本。
placeholder: 格式为“包版本@hash (Build 构建数)”

- type: textarea
attributes:
label: 具体表现
description: 你可以在此处描述该问题出现的具体情况,包括但不限于复现步骤、报错时的提示或日志等等。
validations:
required: true
- type: textarea
attributes:
label: 具体表现
description: 你可以在此处描述该问题出现的具体情况,包括但不限于复现步骤、报错时的提示或日志等等。
validations:
required: true

- type: textarea
attributes:
label: 预期表现
description: 你可以在此处描述你所希望的发生情形。
validations:
required: true
- type: textarea
attributes:
label: 预期表现
description: 你可以在此处描述你所希望的发生情形。
validations:
required: true

- type: dropdown
attributes:
label: 该 Bug 的优先级
description: 你可以在此处表述你希望该 Bug 得到开发者注意的优先级怎么样。
options:
-
-
-
- type: dropdown
attributes:
label: 该 Bug 的优先级
description: 你可以在此处表述你希望该 Bug 得到开发者注意的优先级怎么样。
options:
-
-
-

- type: checkboxes
attributes:
label: 提交 Issue 前须知
options:
- label: 我已经查看近期 Issues(包含 Open 和 Closed),未发现已存在此 Issue 或相似/同类型的 Issue。
required: true
- type: checkboxes
attributes:
label: 提交 Issue 前须知
options:
- label: 我已经查看近期 Issues(包含 Open 和 Closed),未发现已存在此 Issue 或相似/同类型的 Issue。
required: true
71 changes: 35 additions & 36 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,41 @@
name: 🚀 新功能提议
description: 想要啥新功能都可以建议!
labels: ["Feature"]
title: "【FEAT】"
body:
labels: ['Feature']
title: '【FEAT】'
body:
- type: dropdown
attributes:
label: 类型
description: 你可以在此处指出你想要的功能隶属于哪个类别。
options:
- UI & 设计
- 独立页面(如版本页面)
- 页内大版面组件
- 页内小部件
- 操作逻辑
- 其它,请在后续详细补充
validations:
required: true

- type: dropdown
attributes:
label: 类型
description: 你可以在此处指出你想要的功能隶属于哪个类别。
options:
- UI & 设计
- 独立页面(如版本页面)
- 页内大版面组件
- 页内小部件
- 操作逻辑
- 其它,请在后续详细补充
validations:
- type: textarea
attributes:
label: 具体要求
description: 你可以在此处描述你希望增加的功能的具体信息。
validations:
required: true

- type: textarea
attributes:
label: 具体要求
description: 你可以在此处描述你希望增加的功能的具体信息。
validations:
required: true

- type: dropdown
attributes:
label: 该请求的优先级
description: 你可以在此处表述你希望该功能请求得到注意的优先级怎么样。
options:
-
-
-
- type: dropdown
attributes:
label: 该请求的优先级
description: 你可以在此处表述你希望该功能请求得到注意的优先级怎么样。
options:
-
-
-

- type: checkboxes
attributes:
label: 提交 Issue 前须知
options:
- label: 我已经查看近期 Issues(包含 Open 和 Closed),未发现已存在此 Issue 或相似/同类型的 Issue。
required: true
- type: checkboxes
attributes:
label: 提交 Issue 前须知
options:
- label: 我已经查看近期 Issues(包含 Open 和 Closed),未发现已存在此 Issue 或相似/同类型的 Issue。
required: true
105 changes: 52 additions & 53 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
name: Build Production Page
on:
name: Build
on:
push:
# 由于其它分支为本地测试打包,故只 CI 主线变更
branches: [ wu_main ]
paths-ignore:
- '**.md'
- '**.txt'
- '.github/**'
- '!.github/workflows/**'
branches: [wu/main]
paths-ignore:
- '**.md'
- '**.txt'
- '.github/**'
- '!.github/workflows/**'
jobs:
setup:
name: Setup Project Info
runs-on: ubuntu-latest
outputs:
DIST_SUFFIX: ${{ steps.get-suffix.outputs.DIST_SUFFIX }}
steps:
- name: 🧐 Checkout
id: checkout
uses: actions/checkout@v4
with:
fetch-depth: '0'
name: Setup Project Info
runs-on: ubuntu-latest
outputs:
DIST_SUFFIX: ${{ steps.get-suffix.outputs.DIST_SUFFIX }}
steps:
- name: 🧐 Checkout
id: checkout
uses: actions/checkout@v4
with:
fetch-depth: '0'

- name: 📙 Get Package Suffix
id: get-suffix
run: |
# 此处通过 jq 从 package.json 获取版本,否则在 depth
# 为 1 时通过 git tag 所读取的版本不准确
sudo apt-get install jq
VERSION=$(jq -r '.version' ./package.json)
- name: 📙 Get Package Suffix
id: get-suffix
run: |
# 此处通过 jq 从 package.json 获取版本,否则在 depth
# 为 1 时通过 git tag 所读取的版本不准确
sudo apt-get install jq
VERSION=$(jq -r '.version' ./package.json)
COMMIT_COUNT=$(git rev-list --count HEAD)
BUILD_DATE=$(date "+%y%m%d")
HEAD_SHA=$(git rev-parse --short HEAD)
echo "DIST_SUFFIX=v${VERSION}-${COMMIT_COUNT}-${BUILD_DATE}-${HEAD_SHA}" >> $GITHUB_OUTPUT
COMMIT_COUNT=$(git rev-list --count HEAD)
BUILD_DATE=$(date "+%y%m%d")
HEAD_SHA=$(git rev-parse --short HEAD)
echo "DIST_SUFFIX=v${VERSION}-${COMMIT_COUNT}-${BUILD_DATE}-${HEAD_SHA}" >> $GITHUB_OUTPUT
build:
name: Build Production Page
Expand All @@ -41,29 +41,28 @@ jobs:
DIST_NAME: dist-${{ needs.setup.outputs.DIST_SUFFIX }}
runs-on: ubuntu-latest
steps:
- name: 🧐 Checkout
id: checkout
uses: actions/checkout@v4
with:
fetch-depth: '1'
- name: 🧐 Checkout
id: checkout
uses: actions/checkout@v4
with:
fetch-depth: '1'

- name: 🛠️ Setup environment
id: setup
uses: pnpm/action-setup@v3
with:
version: 8
- name: 🛠️ Setup environment
id: setup
uses: pnpm/action-setup@v3
with:
version: 8

- name: ⚙️ Build production pages
id: build
run: |
pnpm install
pnpm add @vue/cli
pnpm build
- name: ⚙️ Build production pages
id: build
run: |
pnpm install
pnpm add @vue/cli
pnpm build
- name: 🌐 Upload the build
id: upload
uses: actions/upload-artifact@v4
with:
name: ${{ env.DIST_NAME }}
path: dist
retention-days: 60
- name: 🌐 Upload the build
id: upload
uses: actions/upload-artifact@v4
with:
name: ${{ env.DIST_NAME }}
path: dist
13 changes: 2 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
.DS_Store
node_modules
/dist
/temp

# Yarn files
/.pnp
.pnp.js
.pnp.cjs
.pnp.loader.mjs
.yarn/cache
.yarn/unplugged
.yarn/install-state.gz
dist

# local env files
.env.local
Expand All @@ -30,3 +20,4 @@ pnpm-debug.log*
*.njsproj
*.sln
*.sw?
scripts/buildInfo.json
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "es5",
"tabWidth": 3,
"semi": false,
"singleQuote": true
}
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
"recommendations": ["Vue.volar"]
}
5 changes: 0 additions & 5 deletions .yarnrc.yml

This file was deleted.

Loading

0 comments on commit 499cd9e

Please sign in to comment.