Skip to content

Commit 830f66e

Browse files
authored
Merge branch 'main' into 01-09-chore_test_rolldown_ci
2 parents dacf3ba + 90c302f commit 830f66e

63 files changed

Lines changed: 3796 additions & 2926 deletions

Some content is hidden

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
issues: write # for actions-cool/issues-helper to update issues
1212
steps:
1313
- name: needs reproduction
14-
uses: actions-cool/issues-helper@9861779a695cf1898bd984c727f685f351cfc372 # v3.7.2
14+
uses: actions-cool/issues-helper@e2ff99831a4f13625d35064e2b3dfe65c07a0396 # v3.7.5
1515
with:
1616
actions: close-issues
1717
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/issue-labeled.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- name: needs reproduction
1414
if: github.event.label.name == 'needs reproduction'
15-
uses: actions-cool/issues-helper@9861779a695cf1898bd984c727f685f351cfc372 # v3.7.2
15+
uses: actions-cool/issues-helper@e2ff99831a4f13625d35064e2b3dfe65c07a0396 # v3.7.5
1616
with:
1717
actions: create-comment
1818
token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ bench/test/*/*/
2121
**/bench.json
2222
**/browser/browser.json
2323
docs/public/user-avatars
24-
docs/public/sponsors
2524
.eslintcache
2625
docs/.vitepress/cache/
2726
!test/cli/fixtures/dotted-files/**/.cache

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
<p align="center">
2-
<a href="https://vitest.dev">
3-
<img src="https://user-images.githubusercontent.com/11247099/145112184-a9ff6727-661c-439d-9ada-963124a281f7.png" height="150">
4-
</a>
2+
<br>
3+
<br>
4+
<a href="https://vitest.dev" target="_blank" rel="noopener noreferrer">
5+
<picture>
6+
<source media="(prefers-color-scheme: dark)" srcset="https://vitest.dev/vitest-light.svg">
7+
<source media="(prefers-color-scheme: light)" srcset="https://vitest.dev/vitest-dark.svg">
8+
<img alt="rolldown logo" src="https://vitest.dev/vitest-dark.svg" height="60">
9+
</picture>
10+
</a>
11+
<br>
12+
<br>
13+
<br>
514
</p>
615

716
<h1 align="center">
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
<template>
2-
<Badge type="danger" title="This is an advanced API intended for library authors and framework integrations. Most users should not need this." class="cursor-help">
2+
<Badge type="danger" title="This is an advanced API intended for library authors and framework integrations. Most users should not need this." class="advanced-badge">
33
advanced
44
</Badge>
55
</template>
6+
7+
<style scoped>
8+
.advanced-badge {
9+
cursor: help;
10+
}
11+
</style>
Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
1+
<script setup>
2+
import { Icon } from '@iconify/vue'
3+
</script>
4+
15
<template>
2-
<Badge type="warning" title="This options is only available in the top level config. You cannot specify it as an option of a test project." class="underline decoration-dotted cursor-help">
3-
<div i-carbon:document-configuration class="my-1 -mx-1" />
6+
<Badge type="warning" title="This options is only available in the top level config. You cannot specify it as an option of a test project." class="croot-badge">
7+
<Icon icon="carbon:document-configuration" class="croot-icon" />
48
</Badge>
59
</template>
10+
11+
<style scoped>
12+
.croot-badge {
13+
text-decoration: underline;
14+
text-decoration-style: dotted;
15+
cursor: help;
16+
}
17+
.croot-icon {
18+
margin-top: 0.25rem;
19+
margin-bottom: 0.25rem;
20+
margin-left: -0.25rem;
21+
margin-right: -0.25rem;
22+
}
23+
</style>
Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,31 @@
11
<script setup lang="ts">
2+
import { Icon } from '@iconify/vue'
3+
24
defineProps<{
35
href: string
46
}>()
57
</script>
68

79
<template>
8-
<a :href="href" target="_blank" bg-green:10 px4 py3 rounded block mt2 flex items-center gap2>
9-
<div i-carbon:play-filled flex-none text-lg />
10+
<a :href="href" target="_blank" class="course-link">
11+
<Icon icon="carbon:play-filled" class="course-icon" />
1012
<slot />
1113
</a>
1214
</template>
15+
16+
<style scoped>
17+
.course-link {
18+
background-color: rgb(34 197 94 / 0.1);
19+
padding: 0.75rem 1rem;
20+
border-radius: 0.25rem;
21+
display: flex;
22+
align-items: center;
23+
gap: 0.5rem;
24+
margin-top: 0.5rem;
25+
}
26+
27+
.course-icon {
28+
flex: none;
29+
font-size: 1.125rem;
30+
}
31+
</style>
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
<template>
2-
<Badge type="warning" title="This feature is experimental and does not follow SemVer." class="cursor-help">
2+
<Badge type="warning" title="This feature is experimental and does not follow SemVer." class="experimental-badge">
33
experimental
44
</Badge>
55
</template>
6+
7+
<style scoped>
8+
.experimental-badge {
9+
cursor: help;
10+
}
11+
</style>

docs/.vitepress/components/FeaturesList.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import ListItem from './ListItem.vue'
66
<ul
77
class="features-list"
88
dir="auto"
9-
flex="~ col gap2 md:gap-3"
109
>
1110
<ListItem><a target="_blank" href="https://vitejs.dev" rel="noopener noreferrer">Vite</a>'s config, transformers, resolvers, and plugins</ListItem>
1211
<ListItem>Use the same setup from your app to run the tests!</ListItem>
@@ -44,5 +43,8 @@ import ListItem from './ListItem.vue'
4443
4544
.features-list {
4645
padding: 0;
46+
display: flex;
47+
flex-direction: column;
48+
gap: 0.5rem;
4749
}
4850
</style>

docs/.vitepress/components/HomePage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { VPHomeSponsors } from 'vitepress/theme'
2+
import { VPHomeSponsors } from '@voidzero-dev/vitepress-theme'
33
import { sponsors } from '../sponsors'
44
</script>
55

0 commit comments

Comments
 (0)