Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Sep 21, 2024
1 parent d60224b commit 992e174
Show file tree
Hide file tree
Showing 21 changed files with 400 additions and 413 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 🐞 Bug Report
description: Report an issue with Vben Admin to help us make it better.
title: "Bug: "
labels: ["bug: pending triage"]
title: 'Bug: '
labels: ['bug: pending triage']

body:
- type: markdown
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 📚 Documentation
description: Report an issue with Vben Admin Website to help us make it better.
title: "Docs: "
title: 'Docs: '
labels: [documentation]
body:
- type: markdown
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: ✨ New Feature Proposal
description: Propose a new feature to be added to Vben Admin
title: "FEATURE: "
labels: ["enhancement: pending triage"]
title: 'FEATURE: '
labels: ['enhancement: pending triage']
body:
- type: markdown
attributes:
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: "Setup Node"
name: 'Setup Node'

description: "Setup node and pnpm"
description: 'Setup node and pnpm'

runs:
using: "composite"
using: 'composite'
steps:
- name: Install pnpm
uses: pnpm/action-setup@v4
Expand All @@ -12,7 +12,7 @@ runs:
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: "pnpm"
cache: 'pnpm'

- name: Get pnpm store directory
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
directory: '/'
schedule:
interval: daily
groups:
non-breaking-changes:
update-types: [minor, patch]

- package-ecosystem: github-actions
directory: "/"
directory: '/'
schedule:
interval: weekly
groups:
Expand Down
64 changes: 32 additions & 32 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name-template: "v$RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
version-template: $MAJOR.$MINOR.$PATCH
change-template: "* $TITLE (#$NUMBER) @$AUTHOR"
change-template: '* $TITLE (#$NUMBER) @$AUTHOR'
template: |
# What's Changed
Expand All @@ -10,52 +10,52 @@ template: |
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
categories:
- title: "🚀 Features"
- title: '🚀 Features'
labels:
- "feature"
- title: "🐞 Bug Fixes"
- 'feature'
- title: '🐞 Bug Fixes'
labels:
- "bug"
- title: "📈 Performance"
- 'bug'
- title: '📈 Performance'
labels:
- "perf"
- "enhancement"
- 'perf'
- 'enhancement'
- title: 📝 Documentation
labels:
- "documentation"
- 'documentation'
- title: 👻 Maintenance
labels:
- "chore"
- "dependencies"
- 'chore'
- 'dependencies'
# collapse-after: 12
- title: 🚦 Tests
labels:
- "tests"
- title: "Breaking"
label: "breaking"
- 'tests'
- title: 'Breaking'
label: 'breaking'

version-resolver:
major:
labels:
- "major"
- "breaking"
- 'major'
- 'breaking'
minor:
labels:
- "minor"
- 'minor'
patch:
labels:
- "feature"
- "patch"
- "bug"
- "maintenance"
- "docs"
- "dependencies"
- "security"
- 'feature'
- 'patch'
- 'bug'
- 'maintenance'
- 'docs'
- 'dependencies'
- 'security'

exclude-labels:
- "skip-changelog"
- "no-changelog"
- "changelog"
- "bump versions"
- "reverted"
- "invalid"
- 'skip-changelog'
- 'no-changelog'
- 'changelog'
- 'bump versions'
- 'reverted'
- 'invalid'
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main

env:
HUSKY: "0"
HUSKY: '0'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/changeset-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: changesets/action@v1
with:
version: pnpm run version
commit: "chore: bump versions"
title: "chore: bump versions"
commit: 'chore: bump versions'
title: 'chore: bump versions'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches:
- main
- "releases/*"
- 'releases/*'

permissions:
contents: read
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
name: 'CodeQL'

on:
push:
branches: ["main"]
branches: ['main']
pull_request:
branches: ["main"]
branches: ['main']
schedule:
- cron: "35 0 * * 0"
- cron: '35 0 * * 0'

jobs:
analyze:
Expand Down Expand Up @@ -90,4 +90,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
category: '/language:${{matrix.language}}'
6 changes: 3 additions & 3 deletions .github/workflows/issue-close-require.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Issue Close Require
# 触发条件:每天零点
on:
schedule:
- cron: "0 0 * * *"
- cron: '0 0 * * *'

permissions:
pull-requests: write
Expand All @@ -19,7 +19,7 @@ jobs:
- name: Close Inactive Issues
uses: actions-cool/issues-helper@v3
with:
actions: "close-issues" # 执行动作:关闭 Issues
actions: 'close-issues' # 执行动作:关闭 Issues
token: ${{ secrets.GITHUB_TOKEN }} # GitHub Token,用于认证
labels: "needs reproduction" # 目标标签
labels: 'needs reproduction' # 目标标签
inactive-day: 3 # 未活动天数阈值
12 changes: 6 additions & 6 deletions .github/workflows/issue-labeled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@ jobs:
if: github.event.label.name == 'enhancement'
uses: actions-cool/issues-helper@v3
with:
actions: "remove-labels"
actions: 'remove-labels'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
labels: "enhancement: pending triage"
labels: 'enhancement: pending triage'

- name: remove bug pending
if: github.event.label.name == 'bug'
uses: actions-cool/issues-helper@v3
with:
actions: "remove-labels"
actions: 'remove-labels'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
labels: "bug: pending triage"
labels: 'bug: pending triage'

- name: needs reproduction
if: github.event.label.name == 'needs reproduction'
uses: actions-cool/issues-helper@v3
with:
actions: "create-comment, remove-labels"
actions: 'create-comment, remove-labels'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Hello @${{ github.event.issue.user.login }}. Please provide the complete reproduction steps and code. Issues labeled by `needs reproduction` will be closed if no activities in 3 days.
labels: "bug: pending triage"
labels: 'bug: pending triage'
12 changes: 6 additions & 6 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Lock Threads

on:
schedule:
- cron: "0 0 * * *"
- cron: '0 0 * * *'
workflow_dispatch:

permissions:
Expand All @@ -16,8 +16,8 @@ jobs:
- uses: dessant/lock-threads@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-inactive-days: "30"
issue-lock-reason: ""
pr-inactive-days: "30"
pr-lock-reason: ""
process-only: "issues, prs"
issue-inactive-days: '30'
issue-lock-reason: ''
pr-inactive-days: '30'
pr-lock-reason: ''
process-only: 'issues, prs'
4 changes: 2 additions & 2 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Create Release Tag
on:
push:
tags:
- "v*.*.*" # Push events to matching v*, i.e. v1.0, v20.15.10
- 'v*.*.*' # Push events to matching v*, i.e. v1.0, v20.15.10

env:
HUSKY: "0"
HUSKY: '0'

permissions:
pull-requests: write
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: "Close stale issues"
name: 'Close stale issues'

on:
schedule:
- cron: "0 1 * * *"
- cron: '0 1 * * *'

jobs:
stale:
Expand All @@ -11,8 +11,8 @@ jobs:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days"
stale-pr-message: "This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days"
exempt-issue-labels: "bug,enhancement"
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days'
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days'
exempt-issue-labels: 'bug,enhancement'
days-before-stale: 60
days-before-close: 7
10 changes: 6 additions & 4 deletions docs/src/commercial/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,18 @@

免费QQ群人数上限200,将会不定期清理。推荐加入QQ频道进行交流

:::

## 微信群

作者主要通过微信群提供帮助,如果你有问题,可以通过以下方式加入微信群。

通过微信联系作者,注明加群来意:

::: tip

因为微信群人数有限制,加微信群前,你可以通过[赞助](../sponsor/personal.md)任意金额,主动发送截图给作者,备注`加入微信群`即可。

:::

作者主要通过微信群提供帮助,如果你有问题,可以通过以下方式加入微信群。

通过微信联系作者,注明加群来意:

<img src="https://unpkg.com/@vbenjs/static-source@0.1.6/source/wechat.jpg" style="width: 300px;"/>
6 changes: 0 additions & 6 deletions internal/lint-configs/prettier-config/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ export default {
singleQuote: false,
},
},
{
files: ['*.yaml', '*.yml'],
options: {
singleQuote: false,
},
},
],
plugins: ['prettier-plugin-tailwindcss'],
printWidth: 80,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@
"vue-tsc": "catalog:"
},
"engines": {
"node": ">=20",
"node": ">=20.10.0",
"pnpm": ">=9.5.0"
},
"packageManager": "pnpm@9.10.0",
"packageManager": "pnpm@9.11.0",
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
Expand Down
Loading

0 comments on commit 992e174

Please sign in to comment.