open-index/open-npm huggingface dataset:
npm package: @round-core/prettier
Description: Prettier plugin for RoundJS
Latest version: 0.1.1

# @round-core/prettier

Prettier plugin for RoundJS. Keeps your code clean, consistent, and always in its native syntax.

## Features

- **Native Syntax**: Unlike other preprocessors, this plugin ensures your loops and conditionals keep their native RoundJS syntax: `{for (item in list) { ... }}`.
- **Hybrid Formatting**: Uses the Babel parser internally for JS/JSX content while reconstructing RoundJS control structures to ensure the final output is always pure and readable RoundJS.
- **VS Code Integration**: Works automatically on save when the Prettier plugin is configured for `.round` files.

## Usage

Add `"plugins": ["@round-core/prettier"]` to your `.prettierrc` file.
npm package: @round-core/shared
Description: Shared RoundJS parsing and preprocessing logic
Latest version: 1.0.1

# @round-core/shared

Shared utilities for the RoundJS ecosystem.

## Features

- **SourceMapper**: A lightweight utility for mapping positions between the original RoundJS code and preprocessed JSX/JS. Essential for ESLint and IDEs to display errors on the correct lines.
- **runPreprocess**: The core preprocessor that transforms RoundJS declarative syntax (`{if}`, `{for}`, etc.) into `<RoundControlFlow />` components compatible with standard JS tools.

## Usage

This package is used internally by `@round-core/lint` and `@round-core/prettier` to ensure transformations are consistent and reversible.