Skip to content

Commit 419296d

Browse files
authored
Merge branch 'main' into button-butter
2 parents b804219 + ff63e33 commit 419296d

File tree

11 files changed

+41
-10
lines changed

11 files changed

+41
-10
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ file-tree-sprite.svg
4545

4646
# output
4747
.vercel
48+
.nvmrc

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24

app/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ defineOgImageComponent('Default', {
110110
<ButtonBase
111111
type="submit"
112112
variant="primary"
113-
class="absolute inset-ie-2"
113+
class="absolute inset-ie-2 border-transparent"
114114
classicon="i-carbon:search"
115115
>
116116
<span class="sr-only sm:not-sr-only">

app/utils/prehydrate.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ export function initPreferencesOnPrehydrate() {
1616
const validPMs = new Set(['npm', 'pnpm', 'yarn', 'bun', 'deno', 'vlt'])
1717

1818
// Read settings from localStorage
19-
const settings = JSON.parse(localStorage.getItem('npmx-settings') || '{}')
19+
const settings = JSON.parse(
20+
localStorage.getItem('npmx-settings') || '{}',
21+
) as Partial<AppSettings>
2022

2123
const accentColorId = settings.accentColorId
2224
if (accentColorId && accentColorIds.has(accentColorId)) {

i18n/locales/es.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
"end_of_results": "Fin de los resultados",
126126
"try_again": "Intentar de nuevo",
127127
"close": "Cerrar",
128+
"or": "o",
128129
"retry": "Reintentar",
129130
"copy": "copiar",
130131
"copied": "¡copiado!",
@@ -296,7 +297,8 @@
296297
"recent_versions_only_tooltip": "Mostrar solo versiones publicadas en el último año.",
297298
"show_low_usage": "Mostrar versiones de bajo uso",
298299
"show_low_usage_tooltip": "Incluir grupos de versiones con menos del 1% de las descargas totales.",
299-
"date_range_tooltip": "Solo la última semana de distribución de versiones"
300+
"date_range_tooltip": "Solo la última semana de distribución de versiones",
301+
"y_axis_label": "Descargas"
300302
},
301303
"dependencies": {
302304
"title": "Dependencias ({count})",
@@ -471,7 +473,8 @@
471473
"warning": "ADVERTENCIA",
472474
"warning_text": "Esto permite a npmx acceder a tu CLI de npm. Conéctate solo a sitios en los que confíes.",
473475
"connect": "Conectar",
474-
"connecting": "Conectando..."
476+
"connecting": "Conectando...",
477+
"auto_open_url": "Abrir automáticamente la página de autenticación"
475478
}
476479
},
477480
"operations": {
@@ -487,7 +490,9 @@
487490
"otp_placeholder": "Introduce código OTP...",
488491
"otp_label": "Contraseña de un solo uso",
489492
"retry_otp": "Reintentar con OTP",
493+
"retry_web_auth": "Reintentar con autenticación web",
490494
"retrying": "Reintentando...",
495+
"open_web_auth": "Abrir enlace de autenticación web",
491496
"approve_operation": "Aprobar operación",
492497
"remove_operation": "Eliminar operación",
493498
"approve_all": "Aprobar Todo",

lunaria/files/es-419.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
"end_of_results": "Fin de los resultados",
125125
"try_again": "Intentar de nuevo",
126126
"close": "Cerrar",
127+
"or": "o",
127128
"retry": "Reintentar",
128129
"copy": "copiar",
129130
"copied": "¡copiado!",
@@ -295,7 +296,8 @@
295296
"recent_versions_only_tooltip": "Mostrar solo versiones publicadas en el último año.",
296297
"show_low_usage": "Mostrar versiones de bajo uso",
297298
"show_low_usage_tooltip": "Incluir grupos de versiones con menos del 1% de las descargas totales.",
298-
"date_range_tooltip": "Solo la última semana de distribución de versiones"
299+
"date_range_tooltip": "Solo la última semana de distribución de versiones",
300+
"y_axis_label": "Descargas"
299301
},
300302
"dependencies": {
301303
"title": "Dependencias ({count})",
@@ -470,7 +472,8 @@
470472
"warning": "ADVERTENCIA",
471473
"warning_text": "Esto permite a npmx acceder a tu CLI de npm. Conéctate solo a sitios en los que confíes.",
472474
"connect": "Conectar",
473-
"connecting": "Conectando..."
475+
"connecting": "Conectando...",
476+
"auto_open_url": "Abrir automáticamente la página de autenticación"
474477
}
475478
},
476479
"operations": {
@@ -486,7 +489,9 @@
486489
"otp_placeholder": "Introduce código OTP...",
487490
"otp_label": "Contraseña de un solo uso",
488491
"retry_otp": "Reintentar con OTP",
492+
"retry_web_auth": "Reintentar con autenticación web",
489493
"retrying": "Reintentando...",
494+
"open_web_auth": "Abrir enlace de autenticación web",
490495
"approve_operation": "Aprobar operación",
491496
"remove_operation": "Eliminar operación",
492497
"approve_all": "Aprobar Todo",

lunaria/files/es-ES.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
"end_of_results": "Fin de los resultados",
125125
"try_again": "Intentar de nuevo",
126126
"close": "Cerrar",
127+
"or": "o",
127128
"retry": "Reintentar",
128129
"copy": "copiar",
129130
"copied": "¡copiado!",
@@ -295,7 +296,8 @@
295296
"recent_versions_only_tooltip": "Mostrar solo versiones publicadas en el último año.",
296297
"show_low_usage": "Mostrar versiones de bajo uso",
297298
"show_low_usage_tooltip": "Incluir grupos de versiones con menos del 1% de las descargas totales.",
298-
"date_range_tooltip": "Solo la última semana de distribución de versiones"
299+
"date_range_tooltip": "Solo la última semana de distribución de versiones",
300+
"y_axis_label": "Descargas"
299301
},
300302
"dependencies": {
301303
"title": "Dependencias ({count})",
@@ -470,7 +472,8 @@
470472
"warning": "ADVERTENCIA",
471473
"warning_text": "Esto permite a npmx acceder a tu CLI de npm. Conéctate solo a sitios en los que confíes.",
472474
"connect": "Conectar",
473-
"connecting": "Conectando..."
475+
"connecting": "Conectando...",
476+
"auto_open_url": "Abrir automáticamente la página de autenticación"
474477
}
475478
},
476479
"operations": {
@@ -486,7 +489,9 @@
486489
"otp_placeholder": "Introduce código OTP...",
487490
"otp_label": "Contraseña de un solo uso",
488491
"retry_otp": "Reintentar con OTP",
492+
"retry_web_auth": "Reintentar con autenticación web",
489493
"retrying": "Reintentando...",
494+
"open_web_auth": "Abrir enlace de autenticación web",
490495
"approve_operation": "Aprobar operación",
491496
"remove_operation": "Eliminar operación",
492497
"approve_all": "Aprobar Todo",

nuxt.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ export default defineNuxtConfig({
227227

228228
htmlValidator: {
229229
enabled: !isCI || (provider !== 'vercel' && !!process.env.VALIDATE_HTML),
230+
options: {
231+
rules: { 'meta-refresh': 'off' },
232+
},
230233
failOnError: true,
231234
},
232235

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
"vue-tsc": "3.2.4"
143143
},
144144
"engines": {
145-
"node": ">=24"
145+
"node": "24"
146146
},
147147
"simple-git-hooks": {
148148
"pre-commit": "npx lint-staged"

server/plugins/fallback-ui.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export default defineNitroPlugin(nitroApp => {
2+
if (import.meta.prerender) {
3+
nitroApp.hooks.hook('render:html', (html, { event }) => {
4+
if (event.path === '/200.html') {
5+
html.head.push('<noscript><meta http-equiv="refresh" content="1"></noscript>')
6+
}
7+
})
8+
}
9+
})

0 commit comments

Comments
 (0)