@datosgeo-atdt/geo-ui 0.9.4 → 0.9.6
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 +0 -56
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -454,62 +454,6 @@ Para consumir PMTiles y CSV de dominios externos, asegúrate de que:
|
|
|
454
454
|
- **PapaParse**: Parsing de CSV
|
|
455
455
|
- **Vite**: Build tool
|
|
456
456
|
|
|
457
|
-
## Build y Desarrollo
|
|
458
|
-
|
|
459
|
-
### Desarrollo local
|
|
460
|
-
|
|
461
|
-
```bash
|
|
462
|
-
npm install
|
|
463
|
-
npm run dev
|
|
464
|
-
```
|
|
465
|
-
|
|
466
|
-
### Build de producción
|
|
467
|
-
|
|
468
|
-
```bash
|
|
469
|
-
npm run build
|
|
470
|
-
```
|
|
471
|
-
|
|
472
|
-
Esto genera:
|
|
473
|
-
|
|
474
|
-
- `dist/geo-ui.js` (ES module)
|
|
475
|
-
- `dist/geo-ui.umd.cjs` (UMD)
|
|
476
|
-
- `dist/index.d.ts` (TypeScript definitions)
|
|
477
|
-
- `dist/style.css` (estilos de MapLibre GL)
|
|
478
|
-
|
|
479
|
-
### Publicar a npm
|
|
480
|
-
|
|
481
|
-
```bash
|
|
482
|
-
# Asegúrate de estar autenticado en npm
|
|
483
|
-
npm login
|
|
484
|
-
|
|
485
|
-
# Incrementa versión (patch, minor, major)
|
|
486
|
-
npm version patch
|
|
487
|
-
|
|
488
|
-
# Publica (ejecutará automáticamente build por prepublishOnly)
|
|
489
|
-
npm publish --access public
|
|
490
|
-
```
|
|
491
|
-
|
|
492
|
-
**Nota**: Para paquetes con scope `@atdt/`, necesitas usar `--access public` la primera vez.
|
|
493
|
-
|
|
494
|
-
## Estructura del Proyecto
|
|
495
|
-
|
|
496
|
-
```
|
|
497
|
-
geo-ui/
|
|
498
|
-
├── src/
|
|
499
|
-
│ ├── components/
|
|
500
|
-
│ │ └── MapaPMTiles.tsx # Componente principal
|
|
501
|
-
│ ├── utils/
|
|
502
|
-
│ │ ├── csv.ts # Utilidades para parsear CSV
|
|
503
|
-
│ │ ├── jenks.ts # Algoritmo Jenks Natural Breaks
|
|
504
|
-
│ │ └── pmtilesFeatureSearch.ts # Búsqueda de features y bbox
|
|
505
|
-
│ └── index.ts # Entry point
|
|
506
|
-
├── dist/ # Build output (generado)
|
|
507
|
-
├── package.json
|
|
508
|
-
├── tsconfig.json
|
|
509
|
-
├── vite.config.ts
|
|
510
|
-
└── README.md
|
|
511
|
-
```
|
|
512
|
-
|
|
513
457
|
## Licencia
|
|
514
458
|
|
|
515
459
|
ISC
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datosgeo-atdt/geo-ui",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.6",
|
|
4
4
|
"description": "Librería de componentes reutilizables en React para aplicaciones geoespaciales, que incluye mapas PMTiles, visualización de datos, unión con CSV y estilos temáticos.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|