diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index 3c801ff930dfaa..3735b82c32ae9a 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -77,7 +77,8 @@ jobs: issue: if: > github.event_name == 'issues' && - github.event.label.name == 'bot: likely' + github.event.label.name == 'bot: likely' && + !contains(github.event.issue.labels.*.name, 'bot: skip') name: Comment and close issue runs-on: ubuntu-slim permissions: @@ -114,7 +115,8 @@ jobs: runs-on: ubuntu-slim if: > github.event_name == 'pull_request_target' && - github.event.label.name == 'bot: likely' + github.event.label.name == 'bot: likely' && + !contains(github.event.pull_request.labels.*.name, 'bot: skip') permissions: pull-requests: write steps: diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.yml index accfbc2a8b4637..7f46c8af113367 100644 --- a/.github/workflows/semantic-pull-request.yml +++ b/.github/workflows/semantic-pull-request.yml @@ -7,7 +7,7 @@ on: # - Only PR title is read # - No PR-supplied code is executed pull_request_target: - types: [opened, reopened, edited] + types: [opened, reopened, edited, synchronize] jobs: main: diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 9c9d0daba52f47..3351f68967d1a7 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -107,10 +107,8 @@ const config = defineConfig({ zh: { label: '简体中文', link: 'https://cn.vite.dev' }, ja: { label: '日本語', link: 'https://ja.vite.dev' }, es: { label: 'Español', link: 'https://es.vite.dev' }, - pt: { label: 'Português', link: 'https://pt.vite.dev' }, ko: { label: '한국어', link: 'https://ko.vite.dev' }, de: { label: 'Deutsch', link: 'https://de.vite.dev' }, - fa: { label: 'فارسی', link: 'https://fa.vite.dev' }, }, themeConfig: { diff --git a/docs/.vitepress/inlined-scripts/banner.d.ts b/docs/.vitepress/inlined-scripts/banner.d.ts deleted file mode 100644 index e2a57c149ea335..00000000000000 --- a/docs/.vitepress/inlined-scripts/banner.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -interface Window { - __VITE_BANNER_ID__: string -} diff --git a/docs/.vitepress/inlined-scripts/banner.js b/docs/.vitepress/inlined-scripts/banner.js deleted file mode 100644 index 94f82fff7a76ab..00000000000000 --- a/docs/.vitepress/inlined-scripts/banner.js +++ /dev/null @@ -1,11 +0,0 @@ -;(() => { - const restore = (key, cls, def = false) => { - const saved = localStorage.getItem(key) - if (saved ? saved !== 'false' : def) { - document.documentElement.classList.add(cls) - } - } - - window.__VITE_BANNER_ID__ = 'viteplusannouncement' - restore(`vite-docs-banner-${__VITE_BANNER_ID__}`, 'banner-dismissed') -})() diff --git a/docs/.vitepress/theme/components/SponsorBanner.vue b/docs/.vitepress/theme/components/SponsorBanner.vue deleted file mode 100644 index 410a7569031331..00000000000000 --- a/docs/.vitepress/theme/components/SponsorBanner.vue +++ /dev/null @@ -1,640 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The Unified Toolchain for the Web - - Learn more - - - - - - - - - - - - - - - diff --git a/docs/_data/acknowledgements.data.ts b/docs/_data/acknowledgements.data.ts index 5426a848a8e327..251cf8431226ee 100644 --- a/docs/_data/acknowledgements.data.ts +++ b/docs/_data/acknowledgements.data.ts @@ -13,7 +13,7 @@ const notableDependencies = [ // Dev tools used for development const devToolNames = [ 'eslint', - 'prettier', + 'oxfmt', 'typescript', 'vitest', 'playwright-chromium',
The Unified Toolchain for the Web