@arielgonzaguer/michi-router 2.1.1 → 2.2.0
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 +7 -8
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -11,16 +11,15 @@ El objetivo principal de esta herramienta es proporcionar la funcionalidad bási
|
|
|
11
11
|
No requiere de ninguna dependencia externa, ideal para proyectos pequeños.
|
|
12
12
|
Creado con TypeScript.
|
|
13
13
|
|
|
14
|
-
##
|
|
14
|
+
## Características
|
|
15
15
|
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
- ✅ **SSR Compatible**: Funciona con Next.js y otras soluciones SSR
|
|
16
|
+
- **Minimalista**: Solo las funcionalidades esenciales de enrutamiento
|
|
17
|
+
- **TypeScript**: Completamente tipado para mejor experiencia de desarrollo
|
|
18
|
+
- **Zero dependencias**: No requiere librerías externas
|
|
19
|
+
- **Liviano**: Bundle pequeño y optimizado
|
|
20
|
+
- **Componente Protected**: Control de acceso integrado
|
|
22
21
|
|
|
23
|
-
##
|
|
22
|
+
## Instalación
|
|
24
23
|
|
|
25
24
|
```bash
|
|
26
25
|
npm install @arielgonzaguer/michi-router
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arielgonzaguer/michi-router",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "El router minimalista y simple para React.\nEl objetivo principal de esta herramienta es proporcionar la funcionalidad básica de enrutamiento.",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"prepare": "npm run build:bundle",
|
|
17
17
|
"clean": "rimraf dist",
|
|
18
18
|
"prebuild": "npm run clean",
|
|
19
|
-
"prepublishOnly": "npm run build:bundle",
|
|
20
19
|
"test": "vitest",
|
|
21
20
|
"test:watch": "vitest --watch",
|
|
22
21
|
"build:bundle": "tsup src/index.ts --format esm,cjs --minify --dts --out-dir dist --external react --external react-dom"
|
|
@@ -28,7 +27,8 @@
|
|
|
28
27
|
"typescript",
|
|
29
28
|
"michi",
|
|
30
29
|
"cats",
|
|
31
|
-
"gatos"
|
|
30
|
+
"gatos",
|
|
31
|
+
"front-end"
|
|
32
32
|
],
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": ">=17.0.0",
|