open-index/open-npm huggingface dataset:
npm package: @pyra-js/cli
Description: 🔥 @Pyra/cli - A cli tool for using core cli commands
Author: Nathaniel Paz
Latest version: 0.30.10

# @pyra-js/cli

The Pyra.js command-line interface. Provides the `pyra` command for starting the dev server, building for production, scaffolding new projects, and diagnosing your setup.

```bash
npm install -D @pyra-js/cli
# or
pnpm add -D @pyra-js/cli
```

---

## Commands

| Command | Description |
|---|---|
| `pyra dev` | Start the dev server with HMR on `localhost:3000` |
| `pyra build` | Production build - outputs to `dist/` |
| `pyra start` | Serve the production build (run `pyra build` first) |
| `pyra init [name]` | Interactive project scaffolding |
| `pyra graph [path]` | Visualize the project dependency graph |
| `pyra doctor` | Diagnose your project configuration |

```bash
# Dev server on a custom port, open browser on start
pyra dev --port 8080 --open

# Production build with sourcemaps
pyra build --sourcemap

# Scaffold a new project interactively
pyra init my-app
```

---

## Configuration

Create `pyra.config.ts` in your project root. `defineConfig` and all user-facing types are exported from this package:

```ts
import { defineConfig } from '@pyra-js/cli';
import { createReactAdapter } from '@pyra-js/adapter-react';

export default defineConfig({
  adapter: createReactAdapter(),
  routesDir: 'src/routes',
  server: {
    port: 3000,
  },
});
```

---

## Full Documentation

[cli-reference](https://pyrajs.dev/docs/cli)

---

## License

MIT
npm package: @pyra-js/core
Description: Core bundler engine for Pyra.js
Author: Nathaniel Paz
Latest version: 0.30.10

# @pyra-js/core

The runtime engine for Pyra.js. Handles file-based route scanning, trie-based routing, the dev server with HMR, the production server, esbuild bundling, the build orchestrator, middleware execution, request context, request tracing, metrics, and image optimization.

> **Internal package.** Application developers do not install this directly - it is a dependency of `@pyra-js/cli`. Install `@pyra-js/cli` to get started.

---

## What's inside

| Module | Description |
|---|---|
| `DevServer` | HTTP + WebSocket server for local development with HMR and on-demand SSR compilation |
| `ProdServer` | Manifest-driven production server with graceful shutdown and optional request tracing |
| `scanRoutes` | Recursive route file discovery — pages, layouts, middleware, error boundaries, 404 |
| `createRouter` | Trie-based URL matcher with static > dynamic > catch-all priority |
| `bundleFile` | esbuild wrapper with in-memory cache and dependency-aware invalidation |
| `build` | Full production build — client bundles, SSR bundles, SSG prerendering, manifest |
| `runMiddleware` | Executes a middleware chain with `next()` continuation |
| `createRequestContext` | Builds the `RequestContext` passed to `load()` and middleware from a Node.js request |
| `RequestTracer` | Per-request timing with W3C `Server-Timing` headers and dashboard integration |
| `metricsStore` | Singleton ring buffer for build metrics, HMR events, and request traces |
| `pyraImages` | Optional image optimization plugin powered by [sharp](https://sharp.pixelplumbing.com/) |

---

## License

MIT
npm package: @pyra-marketplace/assets-core
Description: **Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.**
Latest version: 1.0.2

## Foundry

**Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.**

Foundry consists of:

-   **Forge**: Ethereum testing framework (like Truffle, Hardhat and DappTools).
-   **Cast**: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data.
-   **Anvil**: Local Ethereum node, akin to Ganache, Hardhat Network.
-   **Chisel**: Fast, utilitarian, and verbose solidity REPL.

## Documentation

https://book.getfoundry.sh/

## Usage

### Build

```shell
$ forge build
```

### Test

```shell
$ forge test
```

### Format

```shell
$ forge fmt
```

### Gas Snapshots

```shell
$ forge snapshot
```

### Anvil

```shell
$ anvil
```

### Deploy

```shell
$ forge script script/Counter.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>
```

### Cast

```shell
$ cast <subcommand>
```

### Help

```shell
$ forge --help
$ anvil --help
$ cast --help
```