Skip to content

Commit ccf60bc

Browse files
committed
Merge remote-tracking branch 'origin/main' into refactor/named-routes
2 parents 2c15c09 + 6acba09 commit ccf60bc

File tree

11 files changed

+63
-11
lines changed

11 files changed

+63
-11
lines changed

app/components/Readme.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ function handleClick(event: MouseEvent) {
6161
<template>
6262
<article
6363
class="readme prose prose-invert max-w-[70ch] lg:max-w-none px-1"
64+
dir="auto"
6465
v-html="html"
6566
:style="{
6667
'--i18n-note': '\'' + $t('package.readme.callout.note') + '\'',

app/pages/package/[[org]]/[name].vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,11 +1120,11 @@ onKeyStroke(
11201120

11211121
<!-- README -->
11221122
<section id="readme" class="area-readme min-w-0 scroll-mt-20">
1123-
<div class="flex flex-wrap items-center justify-between mb-4 px-1">
1123+
<div class="flex flex-wrap items-center justify-between mb-3 px-1">
11241124
<h2 id="readme-heading" class="group text-xs text-fg-subtle uppercase tracking-wider">
11251125
<a
11261126
href="#readme"
1127-
class="inline-flex py-4 px-2 items-center gap-1.5 text-fg-subtle hover:text-fg-muted transition-colors duration-200 no-underline mt-1"
1127+
class="inline-flex items-center gap-1.5 text-fg-subtle hover:text-fg-muted transition-colors duration-200 no-underline mt-1"
11281128
>
11291129
{{ $t('package.readme.title') }}
11301130
<span

app/utils/install-command.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ export const packageManagers = [
5454
id: 'vlt',
5555
label: 'vlt',
5656
action: 'install',
57-
executeLocal: 'vlt x',
58-
executeRemote: 'vlt x',
59-
create: 'vlt x',
57+
executeLocal: 'vlx',
58+
executeRemote: 'vlx',
59+
create: 'vlx',
6060
icon: 'i-custom-vlt',
6161
},
6262
] as const

config/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const locales: (LocaleObjectData | (Omit<LocaleObjectData, 'code'> & { code: str
113113
},
114114
{
115115
code: 'az-AZ',
116-
file: 'az.json',
116+
file: 'az-AZ.json',
117117
name: 'Azərbaycanca',
118118
},
119119
/*{

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
"@vue/test-utils": "2.4.6",
115115
"axe-core": "4.11.1",
116116
"fast-check": "4.5.3",
117+
"h3": "1.15.5",
117118
"knip": "5.83.0",
118119
"lint-staged": "16.2.7",
119120
"oxfmt": "0.27.0",

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/unit/app/utils/install-command.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ describe('install command generation', () => {
295295
['yarn', ['npx', 'eslint']],
296296
['bun', ['bunx', 'eslint']],
297297
['deno', ['deno', 'run', 'npm:eslint']],
298-
['vlt', ['vlt', 'x', 'eslint']],
298+
['vlt', ['vlx', 'eslint']],
299299
] as const)('%s → %s', (pm, expected) => {
300300
expect(
301301
getExecuteCommandParts({
@@ -314,7 +314,7 @@ describe('install command generation', () => {
314314
['yarn', ['yarn', 'dlx', 'degit']],
315315
['bun', ['bunx', 'degit']],
316316
['deno', ['deno', 'run', 'npm:degit']],
317-
['vlt', ['vlt', 'x', 'degit']],
317+
['vlt', ['vlx', 'degit']],
318318
] as const)('%s → %s', (pm, expected) => {
319319
expect(
320320
getExecuteCommandParts({
@@ -333,7 +333,7 @@ describe('install command generation', () => {
333333
['yarn', ['yarn', 'create', 'vite']],
334334
['bun', ['bun', 'create', 'vite']],
335335
['deno', ['deno', 'run', 'vite']],
336-
['vlt', ['vlt', 'x', 'vite']],
336+
['vlt', ['vlx', 'vite']],
337337
] as const)('%s → %s', (pm, expected) => {
338338
expect(
339339
getExecuteCommandParts({

test/unit/app/utils/run-command.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describe('executable detection and run commands', () => {
8484
['yarn', ['npx', 'eslint']],
8585
['bun', ['bunx', 'eslint']],
8686
['deno', ['deno', 'run', 'npm:eslint']],
87-
['vlt', ['vlt', 'x', 'eslint']],
87+
['vlt', ['vlx', 'eslint']],
8888
] as const)('%s (local) → %s', (pm, expected) => {
8989
expect(
9090
getRunCommandParts({
@@ -102,7 +102,7 @@ describe('executable detection and run commands', () => {
102102
['yarn', ['yarn', 'dlx', 'create-vite']],
103103
['bun', ['bunx', 'create-vite']],
104104
['deno', ['deno', 'run', 'npm:create-vite']],
105-
['vlt', ['vlt', 'x', 'create-vite']],
105+
['vlt', ['vlx', 'create-vite']],
106106
] as const)('%s (remote) → %s', (pm, expected) => {
107107
expect(
108108
getRunCommandParts({

0 commit comments

Comments
 (0)