Skip to content

Commit f601fee

Browse files
committed
Merge branch 'main' into feat/recent-viewed-packages
2 parents 7991451 + 6ce52be commit f601fee

File tree

84 files changed

+2627
-2347
lines changed

Some content is hidden

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

84 files changed

+2627
-2347
lines changed

.github/workflows/autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-24.04-arm
1919

2020
steps:
21-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
21+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222

2323
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
2424
with:

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-24.04-arm
2626

2727
steps:
28-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
28+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2929

3030
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
3131
with:
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-24.04-arm
4848

4949
steps:
50-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
50+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5151

5252
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
5353
with:
@@ -69,7 +69,7 @@ jobs:
6969
runs-on: ubuntu-24.04-arm
7070

7171
steps:
72-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
72+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7373

7474
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
7575
with:
@@ -97,7 +97,7 @@ jobs:
9797
runs-on: ubuntu-24.04-arm
9898

9999
steps:
100-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
100+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
101101

102102
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
103103
with:
@@ -133,10 +133,10 @@ jobs:
133133
name: 🖥️ Browser tests
134134
runs-on: ubuntu-24.04-arm
135135
container:
136-
image: mcr.microsoft.com/playwright:v1.58.0-noble
136+
image: mcr.microsoft.com/playwright:v1.58.2-noble
137137

138138
steps:
139-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
139+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
140140

141141
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
142142
with:
@@ -166,7 +166,7 @@ jobs:
166166
mode: [dark, light]
167167

168168
steps:
169-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
169+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
170170

171171
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
172172
with:
@@ -194,7 +194,7 @@ jobs:
194194
runs-on: ubuntu-24.04-arm
195195

196196
steps:
197-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
197+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
198198

199199
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
200200
with:
@@ -219,7 +219,7 @@ jobs:
219219
runs-on: ubuntu-24.04-arm
220220

221221
steps:
222-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
222+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
223223

224224
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
225225
with:

.github/workflows/lunaria.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
25+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2626
with:
2727
# Necessary for Lunaria to work properly
2828
# Makes the action clone the entire git history

.github/workflows/mirror-tangled.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-24.04-arm
1818

1919
steps:
20-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
20+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2121
with:
2222
fetch-depth: 0
2323

.github/workflows/provenance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
name: 🔒 Check provenance downgrades
2424
runs-on: ubuntu-slim
2525
steps:
26-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
26+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2727
with:
2828
fetch-depth: 0
2929

.github/workflows/semantic-pull-requests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,10 @@ jobs:
3434
The subject "{subject}" found in the pull request title "{title}"
3535
didn't match the configured pattern. Please ensure that the subject
3636
doesn't start with an uppercase character.
37+
38+
Examples:
39+
✅ chore(ui): fix button spacing
40+
✅ docs: update README
41+
❌ chore(ui): Fix button spacing
3742
env:
3843
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CONTRIBUTING.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -289,18 +289,6 @@ import { hasProtocol } from 'ufo'
289289
| Constants | SCREAMING_SNAKE_CASE | `NPM_REGISTRY`, `ALLOWED_TAGS` |
290290
| Types/Interfaces | PascalCase | `NpmSearchResponse` |
291291

292-
> [!TIP]
293-
> Exports in `app/composables/`, `app/utils/`, and `server/utils/` are auto-imported by Nuxt. To prevent [knip](https://knip.dev/) from flagging them as unused, add a `@public` JSDoc annotation:
294-
>
295-
> ```typescript
296-
> /**
297-
> * @public
298-
> */
299-
> export function myAutoImportedFunction() {
300-
> // ...
301-
> }
302-
> ```
303-
304292
### Vue components
305293

306294
- Use Composition API with `<script setup lang="ts">`

app/components/Button/Group.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const props = defineProps<{
77
<template>
88
<component
99
:is="props.as || 'div'"
10-
class="flex items-center shrink-0 ms-auto [&>*:not(:first-child)]:rounded-s-none [&>*:not(:first-child)]:border-s-0 [&>*:not(:last-child)]:rounded-e-none"
10+
class="flex items-center shrink-0 [&>*:not(:first-child)]:rounded-s-none [&>*:not(:first-child)]:border-s-0 [&>*:not(:last-child)]:rounded-e-none"
1111
>
1212
<slot />
1313
</component>

app/components/Header/AuthModal.client.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ watch(handleInput, newHandleInput => {
5050
handleInput.value = normalized
5151
}
5252
})
53+
54+
watch(user, async newUser => {
55+
if (newUser?.relogin) {
56+
await authRedirect(newUser.did, {
57+
redirectTo: route.fullPath,
58+
})
59+
}
60+
})
5361
</script>
5462

5563
<template>

app/components/Package/Playgrounds.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ const providerIcons: Record<string, string> = {
1616
'nuxt-new': 'i-simple-icons:nuxtdotjs',
1717
'vite-new': 'i-simple-icons:vite',
1818
'jsfiddle': 'i-lucide:code',
19+
'typescript-playground': 'i-simple-icons:typescript',
20+
'solid-playground': 'i-simple-icons:solid',
21+
'svelte-playground': 'i-simple-icons:svelte',
22+
'tailwind-playground': 'i-simple-icons:tailwindcss',
1923
}
2024
2125
// Map provider id to color class
@@ -29,6 +33,10 @@ const providerColors: Record<string, string> = {
2933
'nuxt-new': 'text-provider-nuxt',
3034
'vite-new': 'text-provider-vite',
3135
'jsfiddle': 'text-provider-jsfiddle',
36+
'typescript-playground': 'text-provider-typescript',
37+
'solid-playground': 'text-provider-solid',
38+
'svelte-playground': 'text-provider-svelte',
39+
'tailwind-playground': 'text-provider-tailwind',
3240
}
3341
3442
function getIcon(provider: string): string {

0 commit comments

Comments
 (0)