open-index/open-npm huggingface dataset:
npm package: @shardeum-foundation/tools-shardus-cli-network
Description: Tool for managing a Shardus test network
Author: Erik Xavier
Latest version: 4.6.1

# Shardus CLI Network Tool

A command-line tool for managing Shardus test networks.

## Installation

```bash
npm install -g @shardeum-foundation/tools-shardus-cli-network
```

## Usage

```bash
shardus-network <command> [options]
```

## Available Commands

- `create` (alias: `create-net`) - Create a new test network
- `start` (alias: `start-net`) - Start a stopped test network, or create a new one
- `stop` (alias: `stop-net`) - Stop a test network
- `restart` (alias: `restart-net`) - Restart nodes or archivers
- `clean` (alias: `clean-net`) - Clean the state of all instances in a test net
- `config` (alias: `config-net`) - Set the config file for all nodes in the network directory
- `ls` (alias: `list-net`) - List all the shardus pm2 processes
- `pm2` - Run a pm2 command in the test network dir

## Development

### Setup

```bash
git clone https://github.com/shardeum/tools-cli-shardus-network.git
cd tools-cli-shardus-network
npm install
```

### Testing

The project uses Jest for testing. To run the tests:

```bash
npm test
```

### Building

```bash
npm run compile
```
npm package: @shardev/common
Description: Utilidades comunes para aplicaciones hechas en **React**, diseñadas para proyectos mantenidos por [Shardev](https://github.com/shardevcom). Ofrece una base sólida y desacoplada para construir aplicaciones modernas administrando estados, temas, proveedores
Author: Elbert Tous
Latest version: 2.1.11

# 📦 @shardev/common

Utilidades comunes para aplicaciones hechas en **React**, diseñadas para proyectos mantenidos por [Shardev](https://github.com/shardevcom). Ofrece una base sólida y desacoplada para construir aplicaciones modernas administrando estados, temas, proveedores de datos, control de accesos, enrutamientos desacoplados y más.

---

## 📦 Características principales

- **Persistencia y cifrado de estado global** con [`StoreProvider`](./docs/StoreProvider.md)
- **Control de acceso** con [`AuthProvider`](./docs/AuthProvider.md) y adaptadores configurables:
- **Integración de APIs con adaptadores customizables** con [`DataProvider`](./docs/DataProvider.md)
- **Integración de Real Time con adaptadores customizables** con [`RealTimeProvider`](./docs/RealTimeProvider.md)
- **Sistema de enrutamiento desacoplado** con [`RouterProvider`](./docs/RouterProvider.md)

---

## 🚀 Instalación

```bash 
  npm install @shardev/common
```

## 🛠️ Ejemplo de uso general

```tsx
// index.tsx
import React from "react";
import { createRoot } from "react-dom/client";
import { createApp } from "@shardev/common";
import WebPage from "./pages";
import slices from "./store/slices";

// Creamos la app (pero no la montamos aún)
const element = createApp({
    name: "my-app",
    app: WebPage,
    slices
});

// Revisamos si existe root en el DOM
const el = document.getElementById("root");

if (el) {
    createRoot(el).render(element);
} else {
    console.log("⚡ App registrada pero no montada (sin root)");
}

// Opcional: exportar el elemento para integraciones externas
export default element;
```

---

```tsx
// WebApp.tsx
import React, {useEffect, useMemo} from "react";
import {useMemo} from 'react'
import {
    useGTM,
    AuthProvider,
    DataProvider,
    AuthUser,
    RouterProvider,
    useAuthAbilityAdapter,
    useDataRestApi,
    ModuleStoreProvider
} from "@shardev/common";
import {AuthAbilityAdapter} from "../adapters/auth/casl-ability";
import routes from "../routes";
import { uiSlice } from "../slices";

const baseUrl: string = import.meta.env.VITE_APP_URL

const WebApp = () => {

    useGTM('GTM-XXXXXXX')

    const adapterRestAPI = useDataRestApi();
    const authAdapter = useAuthAbilityAdapter<AuthUser>('api')

    return (
        <ModuleStoreProvider store={{ ui: uiSlice }}>
            <AuthProvider adapter={authAdapter}>
                <DataProvider adapter={adapterRestAPI}>
                    <RouterProvider routes={routes}/>
                </DataProvider>
            </AuthProvider>
        </ModuleStoreProvider>
    );
}

export default WebApp;
```

---
## 🧾 Créditos

**`@shardev/common`** — Mantenido por [Shardev](https://shardev.com) 🚀
npm package: @shardev/vite-plugin
Description: > 🔌 Plugin para Vite que permite compilar múltiples módulos React independientes dentro de un proyecto Laravel monolítico.
Author: Elbert Tous
Latest version: 7.0.4

# 📦 @shardev/vite-plugin

> 🔌 Plugin para Vite que permite compilar múltiples módulos React independientes dentro de un proyecto Laravel monolítico.

---

## 📦 Características principales

- Compilación modular: permite compilar todos los módulos o solo uno específico (`--module=mod1`).
- Integración con Laravel + React.
- Soporte para múltiples entradas Vite.
- Compatible con entornos `dev` y `build`.
- Permite estructura modular en `resources/react/mod1`.
- Extensible mediante opciones.

---

## 🚀 Instalación

```bash 
  npm install @shardev/vite-plugin
```

## 🛠️ Ejemplo de uso general

### 1. En tu `vite.config.ts`

```ts
import { defineConfig } from 'vite'
import shardev from '@shardev/vite-plugin'

export default defineConfig(() => {
    return {
        plugins: [
            shardev({
                base: '/',
                moduleName: process.env.MODULE_NAME, // o usa --module=mod1
                modulesDir: 'resources/react'
            }),
        ],
    }
})
```

---

## ⚙️ Opciones

| Opción       | Tipo     | Descripción                                                         | Valor por defecto        |
|--------------|----------|---------------------------------------------------------------------|--------------------------|
| `base`       | `string` | Ruta base para servir los assets.                                   | `'/'`                    |
| `moduleName` | `string` | Nombre del módulo a compilar (se puede usar con `--module=mod1`).   | `'shardev'`              |
| `modulesDir` | `string` | Carpeta raíz donde están los módulos React.                         | `'resources/react'`      |

---

## 🧪 Modo desarrollo

Puedes iniciar Vite en modo desarrollo apuntando a un solo módulo:

```bash
npm run dev -- --module=mod1
```

Esto compilará `resources/react/mod1`.

---

## 🏗️ Compilación de todos los módulos

```bash
npm run build
```

Por defecto compilará **todos** los módulos dentro de `resources/react`.

---

## 📁 Estructura esperada

```text
resources/
└── react/
    ├── mod1/
    │   └── index.tsx
    ├── mod2/
    │   └── index.tsx
    └── ...
```

---
## 🤝 Contribuciones

¡Contribuciones son bienvenidas! Puedes enviar:

- Reportes de errores
- Funcionalidades nuevas
- Refactor o mejoras visuales

---

## 📄 Licencia

Este proyecto está licenciado bajo la [MIT License](LICENSE).

---

## ✉️ Contacto

Desarrollado por [shardev.com](https://shardev.com)  
📫 contacto@shardev.com
npm package: @shardex-libs/sdk
Description: 🛠 An SDK for building applications on top of shardex.
Latest version: 1.0.19

# Shardexswap SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Actions Status](https://github.com/InfinityWallet/shardex-sdk/workflows/CI/badge.svg)](https://github.com/InfinityWallet/shardex-sdk)
[![npm version](https://img.shields.io/npm/v/@Shardex-lib/sdk/latest.svg)](https://www.npmjs.com/package/@Shardex-lib/sdk/v/latest)

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/InfinityWallet/shardex-sdk.git
```

Move into the Shardexswap-sdk working directory

```sh
cd Shardexswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @shardex-libs/sdk-testnet
Description: 🛠 An SDK for building applications on top of shardex.
Latest version: 1.1.3

# Shardexswap SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Actions Status](https://github.com/InfinityWallet/shardex-sdk/workflows/CI/badge.svg)](https://github.com/InfinityWallet/shardex-sdk)
[![npm version](https://img.shields.io/npm/v/@Shardex-lib/sdk/latest.svg)](https://www.npmjs.com/package/@Shardex-lib/sdk/v/latest)

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/InfinityWallet/shardex-sdk.git
```

Move into the Shardexswap-sdk working directory

```sh
cd Shardexswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```