open-index/open-npm huggingface dataset:
npm package: @nimbus-nx/types
Description: This package contains all TypeScript type definitions for the Nimbus trading application.
Latest version: 0.0.9

# @nimbus-nx/types

This package contains all TypeScript type definitions for the Nimbus trading application.

## 🚀 Auto-Generated Exports

This package uses an automated export generation system that scans the `src/lib` directory and creates barrel exports in `src/index.ts`.

### Usage

To regenerate all exports:

```bash
# Basic generation
nx run types:generate-exports

# Verbose output (shows all generated exports)
nx run types:generate-exports:verbose
```

### How it works

The generation script:

1. 🔍 Recursively scans `src/lib/` for all `.ts` files
2. 🚫 Excludes test files (`.spec.ts`, `.test.ts`)
3. 📝 Generates `export * from './lib/path/to/file.js';` statements (with `.js` extension for ESM)
4. 💾 Updates `src/index.ts` with all exports
5. ✅ Provides feedback on number of files processed

### When to run

- ➕ After adding new TypeScript files to `src/lib/`
- 🗂️ After reorganizing files/folders
- 🔄 When you want to update exports after refactoring

### Integration

The task is integrated with Nx's caching system, so it will only run when necessary.

You can also add it to your pre-commit hooks or CI pipeline:

```bash
# In package.json scripts or CI
nx run types:generate-exports
```

### Directory Structure

```
packages/types/
├── src/
│   ├── index.ts          # 🤖 Auto-generated - DO NOT EDIT
│   └── lib/              # 📁 Your types go here
│       ├── Nimbus/
│       ├── exchanges/
│       └── exchange-nimbus/
├── scripts/
│   └── generate-exports.mjs  # 🛠️ Generation script
└── project.json          # 🎯 Nx task configuration
```

> **⚠️ Important:** The `src/index.ts` file is auto-generated. Any manual changes will be overwritten!