Skip to content

Commit f607e0b

Browse files
committed
chore: merge main
2 parents 6f99a1c + 946831f commit f607e0b

File tree

120 files changed

+2155
-2095
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+2155
-2095
lines changed

.github/workflows/issue-close-require.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
pull-requests: write # for actions-cool/issues-helper to update PRs
1414
steps:
1515
- name: needs reproduction
16-
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3
16+
uses: actions-cool/issues-helper@50068f49b7b2b3857270ead65e2d02e4459b022c # v3
1717
with:
1818
actions: "close-issues"
1919
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/issue-labeled.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- name: contribution welcome
1616
if: github.event.label.name == 'contribution welcome' || github.event.label.name == 'help wanted'
17-
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3
17+
uses: actions-cool/issues-helper@50068f49b7b2b3857270ead65e2d02e4459b022c # v3
1818
with:
1919
actions: "remove-labels"
2020
token: ${{ secrets.GITHUB_TOKEN }}
@@ -23,7 +23,7 @@ jobs:
2323

2424
- name: remove pending
2525
if: (github.event.label.name == 'enhancement' || contains(github.event.label.description, '(priority)')) && contains(github.event.issue.labels.*.name, 'pending triage')
26-
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3
26+
uses: actions-cool/issues-helper@50068f49b7b2b3857270ead65e2d02e4459b022c # v3
2727
with:
2828
actions: "remove-labels"
2929
token: ${{ secrets.GITHUB_TOKEN }}
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: needs reproduction
3434
if: github.event.label.name == 'needs reproduction'
35-
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3
35+
uses: actions-cool/issues-helper@50068f49b7b2b3857270ead65e2d02e4459b022c # v3
3636
with:
3737
actions: "create-comment, remove-labels"
3838
token: ${{ secrets.GITHUB_TOKEN }}

docs/.vitepress/config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
} from 'vitepress-plugin-group-icons'
1010
import llmstxt from 'vitepress-plugin-llms'
1111
import type { PluginOption } from 'vite'
12+
import { markdownItImageSize } from 'markdown-it-image-size'
1213
import { buildEnd } from './buildEnd.config'
1314

1415
const ogDescription = 'Next Generation Frontend Tooling'
@@ -482,6 +483,9 @@ export default defineConfig({
482483
codeTransformers: [transformerTwoslash()],
483484
config(md) {
484485
md.use(groupIconMdPlugin)
486+
md.use(markdownItImageSize, {
487+
publicDir: path.resolve(import.meta.dirname, '../public'),
488+
})
485489
},
486490
},
487491
vite: {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<template>
2+
<a
3+
href="/guide/api-environment#environments-configuration"
4+
class="ignore-header"
5+
>
6+
<Badge type="info" text="non-inherit" />
7+
</a>
8+
</template>

docs/.vitepress/theme/components/SponsorBanner.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function dismiss() {
8080
Register
8181
</a>
8282
</p>
83-
<button @click="dismiss">
83+
<button aria-label="close" @click="dismiss">
8484
<svg
8585
class="close"
8686
xmlns="http://www.w3.org/2000/svg"

docs/.vitepress/theme/components/landing/3. frameworks-section/FrameworkCard.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ const props = withDefaults(defineProps<Props>(), {
5656
v-if="props.framework.logo"
5757
:src="props.framework.logo"
5858
:alt="props.framework.name"
59+
loading="lazy"
5960
/>
6061
</component>
6162
</template>

docs/.vitepress/theme/components/landing/4. community-section/CommunityCard.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ defineProps<{
3636
:src="testimonial.avatar"
3737
:alt="testimonial.name"
3838
class="card__avatar"
39+
loading="lazy"
3940
/>
4041
<div class="card__meta">
4142
<span class="card__name">

docs/.vitepress/theme/components/landing/4. community-section/CommunitySection.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ SolidJS in mind, they should scale from our simplest template to opinionated sta
5353
name: 'David Cramer',
5454
handle: '@zeeg',
5555
avatar:
56-
'https://pbs.twimg.com/profile_images/1706891973553168384/zdAPOznc_400x400.jpg',
56+
'https://pbs.twimg.com/profile_images/1911613315765133312/HVkULegC_400x400.jpg',
5757
comment: ['Vite has been a game changer for the industry.'],
5858
},
5959
{
@@ -69,7 +69,7 @@ SolidJS in mind, they should scale from our simplest template to opinionated sta
6969
name: 'Christoph Nakazawa',
7070
handle: '@cpojer',
7171
avatar:
72-
'https://pbs.twimg.com/profile_images/1854151427595407360/4GyUCgEH_400x400.jpg',
72+
'https://pbs.twimg.com/profile_images/1910252462126313472/gXgT-jxL_400x400.jpg',
7373
comment: ['Vite is gonna eat the (JavaScript) world.'],
7474
},
7575
{

docs/.vitepress/theme/components/landing/5. sponsor-section/SponsorSection.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const { data } = useSponsor()
4545
alt="Vite is made possible by our contributors, partner companies, and sponsors"
4646
width="58"
4747
height="55"
48+
loading="lazy"
4849
/>
4950
<h2>Free &amp; open source</h2>
5051
<h4>
@@ -55,7 +56,7 @@ const { data } = useSponsor()
5556
<h4>Brought to you by</h4>
5657
<div class="voidzero">
5758
<a :href="voidZero.url" target="_blank">
58-
<img :src="voidZero.img" />
59+
<img :src="voidZero.img" alt="VoidZero logo" loading="lazy" />
5960
</a>
6061
</div>
6162

docs/.vitepress/theme/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import AsideSponsors from './components/AsideSponsors.vue'
99
import SvgImage from './components/SvgImage.vue'
1010
import YouTubeVideo from './components/YouTubeVideo.vue'
1111
import SponsorBanner from './components/SponsorBanner.vue'
12+
import NonInheritBadge from './components/NonInheritBadge.vue'
1213
import 'virtual:group-icons.css'
1314

1415
export default {
@@ -22,6 +23,7 @@ export default {
2223
enhanceApp({ app }) {
2324
app.component('SvgImage', SvgImage)
2425
app.component('YouTubeVideo', YouTubeVideo)
26+
app.component('NonInheritBadge', NonInheritBadge)
2527
app.use(TwoslashFloatingVue)
2628
},
2729
} satisfies Theme

0 commit comments

Comments
 (0)