Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(es): May 16 - May 23 #75

Open
wants to merge 8 commits into
base: spanish-translation
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.vue
11 changes: 10 additions & 1 deletion .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ const nav: ThemeConfig['nav'] = [
items: [
{ text: 'Socios', link: '/partners/' },
{ text: 'Temas', link: '/ecosystem/themes' },
{ text: 'Componentes de IU', link: 'https://ui-libs.vercel.app' },
{
text: 'Componentes de IU',
link: 'https://ui-libs.vercel.app'
},
{
text: 'Certificación',
link: 'https://certification.vuejs.org/?ref=vuejs-nav'
Expand Down Expand Up @@ -686,6 +689,11 @@ export default defineConfigWithTheme<ThemeConfig>({
text: 'Italiano',
repo: 'https://github.com/vuejs-translations/docs-it'
},
{
link: 'https://zh-hk.vuejs.org',
text: '繁體中文',
repo: 'https://github.com/vuejs-translations/docs-zh-hk'
},
{
link: '/translations/',
text: '¡Ayúdanos a traducir!',
Expand Down Expand Up @@ -729,6 +737,7 @@ export default defineConfigWithTheme<ThemeConfig>({

markdown: {
config(md) {
// @ts-expect-error - broken type output in vitepress
md.use(headerPlugin)
// .use(textAdPlugin)
}
Expand Down
2 changes: 1 addition & 1 deletion .vitepress/theme/styles/inline-demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
content: '▶';
width: 20px;
height: 20px;
display: inline-block;
display: inline-flex;
border-radius: 10px;
vertical-align: middle;
position: relative;
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ pnpm i
pnpm run dev
```

Este proyecto requiere que Node.js sea `v14.0.0` o superior, porque usamos nuevas características de JavaScript en nuestro código, como el encadenamiento opcional.
Este proyecto requiere que Node.js sea `v18` o superior. Y se recomienda activar corepack:

```bash
corepack enable
```

## Trabajando en el contenido

Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build.environment]
NODE_VERSION = "16"
NODE_VERSION = "20"

[build]
publish = ".vitepress/dist"
Expand Down
37 changes: 14 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,24 @@
"dev": "vitepress",
"build": "vitepress build",
"preview": "vitepress preview",
"preinstall": "npx only-allow pnpm"
"preinstall": "npx only-allow pnpm",
"type": "vue-tsc --noEmit"
},
"dependencies": {
"@vue/repl": "^3.0.0",
"@vue/theme": "^2.2.5",
"@vue/repl": "^4.1.2",
"@vue/theme": "^2.2.11",
"dynamics.js": "^1.1.5",
"gsap": "^3.9.0",
"vitepress": "1.0.0-rc.33",
"vue": "^3.4.0-rc.3"
"gsap": "^3.12.5",
"vitepress": "^1.2.2",
"vue": "^3.4.27"
},
"devDependencies": {
"@types/markdown-it": "^12.2.3",
"@types/node": "^20.10.1",
"terser": "^5.14.2"
"@types/body-scroll-lock": "^3.1.2",
"@types/markdown-it": "^14.1.1",
"@types/node": "^20.12.12",
"terser": "^5.31.0",
"typescript": "^5.4.5",
"vue-tsc": "^2.0.19"
},
"pnpm": {
"overrides": {
"@vitejs/plugin-vue": "5.0.0-beta.1"
},
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search",
"react",
"react-dom",
"@types/react",
"search-insights"
]
}
}
"packageManager": "[email protected]"
}
Loading