@4verburga/alpine-spanishplus 1.10.0 → 2.0.0-dev.7ab3971
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +72 -1
- package/nuxt.config.ts +1 -3
- package/package.json +42 -15
package/README.md
CHANGED
|
@@ -1 +1,72 @@
|
|
|
1
|
-
|
|
1
|
+
# Alpine Spanish Plus
|
|
2
|
+
|
|
3
|
+
Fork en español del tema [Alpine](https://github.com/nuxt-themes/alpine) de Nuxt, empaquetado como capa reutilizable para sitios basados en Nuxt Content.
|
|
4
|
+
|
|
5
|
+
## Características
|
|
6
|
+
|
|
7
|
+
- Capa de tema Nuxt: extiende configuración, layouts, componentes, estilos y utilidades
|
|
8
|
+
- Traducciones y adaptaciones al español
|
|
9
|
+
- Starter interno en `.starters/default` para validación de build
|
|
10
|
+
|
|
11
|
+
## Instalación
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install @4verburga/alpine-spanishplus
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Luego extiende tu proyecto en `nuxt.config.ts`:
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
export default defineNuxtConfig({
|
|
21
|
+
extends: '@4verburga/alpine-spanishplus'
|
|
22
|
+
})
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Desarrollo local
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pnpm install
|
|
29
|
+
pnpm dev # Levanta el starter interno
|
|
30
|
+
pnpm build # Compila el starter interno
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Probar cambios sin publicar en npm
|
|
34
|
+
|
|
35
|
+
**Opción 1: tarball (recomendada)**
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
# En este repo
|
|
39
|
+
pnpm pack
|
|
40
|
+
|
|
41
|
+
# En tu proyecto consumidor
|
|
42
|
+
npm install ../nuxt-alpine-spanishplus/<archivo-generado>.tgz
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**Opción 2: dependencia local por ruta**
|
|
46
|
+
|
|
47
|
+
En el `package.json` de tu proyecto consumidor, usa una dependencia tipo `file:` apuntando a este repo e instala dependencias.
|
|
48
|
+
|
|
49
|
+
**Opción 3: link local**
|
|
50
|
+
|
|
51
|
+
Vincula el paquete con `pnpm link` y úsalo como dependencia enlazada en tu proyecto.
|
|
52
|
+
|
|
53
|
+
## CI/CD
|
|
54
|
+
|
|
55
|
+
| Workflow | Archivo | Rama | Descripción |
|
|
56
|
+
|---|---|---|---|
|
|
57
|
+
| ci-main | `.github/workflows/ci.yml` | `main` | Valida build en push y PR |
|
|
58
|
+
| ci-dev | `.github/workflows/ci-dev.yml` | `dev` | Valida build en push y PR |
|
|
59
|
+
| publish | `.github/workflows/publish.yml` | `main` / `dev` | Publica en npm: `latest` desde main, `-dev` con dist-tag `dev` desde dev |
|
|
60
|
+
| studio | `.github/workflows/studio.yml` | `main` | Genera sitio estático y despliega a GitHub Pages |
|
|
61
|
+
|
|
62
|
+
Los workflows de publicación usan [trusted publishing (OIDC)](https://docs.npmjs.com/generating-provenance-statements#publishing-packages-with-provenance-via-trusted-publishing) en lugar de tokens. Para configurarlo:
|
|
63
|
+
|
|
64
|
+
1. En [npmjs.com](https://www.npmjs.com) → paquete → **Settings** → **Trusted Publisher**
|
|
65
|
+
2. Seleccionar **GitHub Actions** y completar:
|
|
66
|
+
- **Organization or user**: `4xeverburga`
|
|
67
|
+
- **Repository**: `alpine-theme`
|
|
68
|
+
- **Workflow filename**: `publish.yml`
|
|
69
|
+
|
|
70
|
+
## Licencia
|
|
71
|
+
|
|
72
|
+
[MIT](./LICENSE)
|
package/nuxt.config.ts
CHANGED
|
@@ -76,9 +76,7 @@ export default defineNuxtConfig({
|
|
|
76
76
|
preload: ['json', 'js', 'ts', 'html', 'css', 'vue', 'diff', 'shell', 'markdown', 'yaml', 'bash', 'ini', 'c', 'cpp']
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
|
-
experimental: {
|
|
80
|
-
inlineSSRStyles: false
|
|
81
|
-
},
|
|
79
|
+
experimental: {},
|
|
82
80
|
typescript: {
|
|
83
81
|
includeWorkspace: true
|
|
84
82
|
},
|
package/package.json
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4verburga/alpine-spanishplus",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-dev.7ab3971",
|
|
4
4
|
"type": "module",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/4xeverburga/nuxt-alpine-spanishplus.git"
|
|
8
|
+
},
|
|
5
9
|
"exports": "./nuxt.config.ts",
|
|
10
|
+
"packageManager": "pnpm@8.5.1",
|
|
6
11
|
"files": [
|
|
7
12
|
"assets",
|
|
8
13
|
"components",
|
|
@@ -15,25 +20,55 @@
|
|
|
15
20
|
"nuxt.schema.ts",
|
|
16
21
|
"tokens.config.ts"
|
|
17
22
|
],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"prepare": "nuxi prepare && nuxi prepare .starters/default",
|
|
25
|
+
"dev": "nuxi dev .starters/default",
|
|
26
|
+
"build": "nuxi build .starters/default",
|
|
27
|
+
"generate": "nuxi generate .starters/default",
|
|
28
|
+
"preview": "nuxi preview .starters/default",
|
|
29
|
+
"lint": "eslint .",
|
|
30
|
+
"release": "release-it"
|
|
31
|
+
},
|
|
18
32
|
"dependencies": {
|
|
19
33
|
"@nuxt-themes/elements": "^0.9.5",
|
|
20
34
|
"@nuxt-themes/tokens": "^1.9.1",
|
|
21
35
|
"@nuxt-themes/typography": "^0.11.0",
|
|
22
|
-
"@nuxt/content": "^2.
|
|
36
|
+
"@nuxt/content": "^2.13.0",
|
|
23
37
|
"@nuxthq/studio": "^0.14.1",
|
|
24
38
|
"@vueuse/core": "^10.7.2",
|
|
25
|
-
"ufo": "^1.
|
|
39
|
+
"ufo": "^1.5.4"
|
|
26
40
|
},
|
|
27
41
|
"devDependencies": {
|
|
28
42
|
"@nuxt/eslint-config": "^0.2.0",
|
|
29
43
|
"@nuxtjs/plausible": "^0.2.4",
|
|
30
|
-
"@types/node": "^
|
|
44
|
+
"@types/node": "^22.0.0",
|
|
31
45
|
"eslint": "^8.56.0",
|
|
32
|
-
"nuxt": "
|
|
46
|
+
"nuxt": "3.14.0",
|
|
33
47
|
"release-it": "^16.3.0",
|
|
34
48
|
"typescript": "^5.3.3",
|
|
35
49
|
"vite-plugin-inspect": "^0.8.1",
|
|
36
|
-
"vue": "^3.
|
|
50
|
+
"vue": "^3.5.0"
|
|
51
|
+
},
|
|
52
|
+
"pnpm": {
|
|
53
|
+
"overrides": {
|
|
54
|
+
"@nuxt/kit": "3.14.0",
|
|
55
|
+
"@nuxt/schema": "3.14.0",
|
|
56
|
+
"nuxt-component-meta": "0.9.0"
|
|
57
|
+
},
|
|
58
|
+
"peerDependencyRules": {
|
|
59
|
+
"allowedVersions": {
|
|
60
|
+
"axios": "0.25.0",
|
|
61
|
+
"vite": "*"
|
|
62
|
+
},
|
|
63
|
+
"ignoreMissing": [
|
|
64
|
+
"postcss",
|
|
65
|
+
"postcss-*",
|
|
66
|
+
"webpack",
|
|
67
|
+
"axios",
|
|
68
|
+
"vite",
|
|
69
|
+
"@nuxt/vite-builder"
|
|
70
|
+
]
|
|
71
|
+
}
|
|
37
72
|
},
|
|
38
73
|
"license": "MIT",
|
|
39
74
|
"release-it": {
|
|
@@ -47,13 +82,5 @@
|
|
|
47
82
|
"release": true,
|
|
48
83
|
"releaseName": "v${version}"
|
|
49
84
|
}
|
|
50
|
-
},
|
|
51
|
-
"scripts": {
|
|
52
|
-
"dev": "nuxi dev .starters/default",
|
|
53
|
-
"build": "nuxi build .starters/default",
|
|
54
|
-
"generate": "nuxi generate .starters/default",
|
|
55
|
-
"preview": "nuxi preview .starters/default",
|
|
56
|
-
"lint": "eslint .",
|
|
57
|
-
"release": "release-it"
|
|
58
85
|
}
|
|
59
|
-
}
|
|
86
|
+
}
|