open-index/open-npm huggingface dataset:
npm package: @kuromizu/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 1.1.3

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebookincubator/create-react-app).<br>
Please refer to its documentation:

* [Getting Started](https://github.com/facebookincubator/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
* [User Guide](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.
npm package: @kurone-kito/eslint-config-base
Description: My ESLint configuration for general Node.js projects
Author: kurone-kito
Latest version: 0.20.0

# `@kurone-kito/eslint-config-base`

My ESLint configuration for general Node.js projects.

## Usage

### Use the flat config (recommended)

First, install this package and its peer dependencies:

```sh
npm install --save-dev @kurone-kito/eslint-config-base eslint typescript
```

Then, create a `eslint.config.mjs` file.
If exists, merge the following configuration into it:

```js
export { default } from '@kurone-kito/eslint-config-base';
```

### for legacy configuration (deprecated)

⚠️ **DEPRECATED**: The legacy configuration is removed.
When you prefer to use the legacy configuration, please use the previous version.

First, install this package and its peer dependencies:

```sh
npm install --save-dev \
  @kurone-kito/eslint-config-base@~0.15.0 \
  @cspell/eslint-plugin \
  eslint \
  eslint-config-airbnb-typescript \
  eslint-import-resolver-node \
  eslint-import-resolver-typescript \
  eslint-plugin-editorconfig \
  eslint-plugin-import \
  eslint-plugin-markdownlint \
  eslint-plugin-n
```

Then, create a `.eslintrc.yml` file.
If exists, merge the following configuration into it:

```yaml
extends:
  - '@kurone-kito/eslint-config-base/.eslintrc.yml'
root: true
```

## License

MIT
npm package: @kurone-kito/eslint-config-react
Description: My ESLint configuration for React projects
Author: kurone-kito
Latest version: 0.20.0

# `@kurone-kito/eslint-config-react`

My ESLint configuration for React projects.

## Usage

### Use the flat config (recommended)

First, install this package and its peer dependencies:

```sh
npm install --save-dev @kurone-kito/eslint-config-react eslint
```

Then, create a `eslint.config.mjs` file.
If exists, merge the following configuration into it:

```js
export { default } from '@kurone-kito/eslint-config-react';
```

### for legacy configuration (deprecated)

⚠️ **DEPRECATED**: The legacy configuration is removed.
When you prefer to use the legacy configuration, please use the previous version.

First, install this package and its peer dependencies:

```sh
npm install --save-dev \
  @kurone-kito/eslint-config-react@~0.15.0 \
  @cspell/eslint-plugin \
  @typescript-eslint/eslint-plugin \
  @typescript-eslint/parser \
  eslint \
  eslint-config-airbnb-typescript \
  eslint-formatter-codeframe \
  eslint-import-resolver-node \
  eslint-import-resolver-typescript \
  eslint-plugin-editorconfig \
  eslint-plugin-import \
  eslint-plugin-jsx-a11y \
  eslint-plugin-markdownlint \
  eslint-plugin-n \
  eslint-plugin-react \
  eslint-plugin-react-hooks \
  eslint-plugin-storybook
```

Then, create a `.eslintrc.yml` file.
If exists, merge the following configuration into it:

```yaml
extends:
  - '@kurone-kito/eslint-config-react/.eslintrc.yml'
root: true
```

## License

MIT
npm package: @kurone-kito/eslint-config-solid
Description: My ESLint configuration for Solid.js projects
Author: kurone-kito
Latest version: 0.20.0

# `@kurone-kito/eslint-config-solid`

My ESLint configuration for Solid.js projects.

## Usage

First, install this package and its peer dependencies:

```sh
npm install --save-dev @kurone-kito/eslint-config-solid eslint
```

Then, create a `eslint.config.mjs` file.
If exists, merge the following configuration into it:

```js
export { default } from '@kurone-kito/eslint-config-solid';
```

## License

MIT
npm package: @kurone-kito/is-prerelease
Description: The simple CLI app based on Node.js that determines whether the project is a pre-release version
Author: kurone-kito
Latest version: 0.1.0

# 🆕 `@kurone-kito/is-prerelease`

A simple CLI app based on Node.js that determines whether a given version
is a pre-release version using [semver](https://www.npmjs.com/package/semver).

## Features

- Detects pre-release versions (e.g., `1.0.0-alpha.1`, `2.0.0-beta.3`)
- Returns exit codes for easy CI/CD integration
- Zero configuration required

## Requirements

- Node.js `^20.11 || ^22 || >=24`

## Installation

```sh
npm i -D @kurone-kito/is-prerelease
```

## Usage

### Command Syntax

```sh
is-prerelease <version> [pre]
```

### Arguments

| Argument  | Required | Description                                                                     |
| --------- | -------- | ------------------------------------------------------------------------------- |
| `version` | Yes      | The version string to check (JSON format, e.g., `"1.0.0"` or `"1.0.0-alpha.1"`) |
| `pre`     | No       | If provided, the command expects a pre-release version                          |

### Exit Codes

| Condition                                              | Exit Code     |
| ------------------------------------------------------ | ------------- |
| Pre-release version **and** `pre` argument provided    | `0` (success) |
| Stable version **and** `pre` argument **not** provided | `0` (success) |
| Otherwise                                              | `1` (failure) |

### Examples

#### Check if a version is a pre-release

```sh
# Returns exit code 0 if pre-release
is-prerelease '"1.0.0-alpha.1"' pre

# Returns exit code 0 if stable release
is-prerelease '"1.0.0"'
```

#### Integration with npm scripts

```json
{
  "scripts": {
    "is:prerelease": "is-prerelease $(npm pkg get version) pre",
    "is:release": "is-prerelease $(npm pkg get version)"
  }
}
```

> **Note:** `npm pkg get version` outputs a JSON-formatted string
> (e.g., `"1.0.0"`), which is the expected input format.

#### CI/CD Usage Example

```sh
# Publish to npm only if it's a pre-release version
if npm run is:prerelease; then
  npm publish --tag next
fi

# Publish to npm only if it's a stable release
if npm run is:release; then
  npm publish --tag latest
fi
```

## How It Works

This CLI uses the `prerelease()` function from the
[semver](https://www.npmjs.com/package/semver) package to detect
pre-release identifiers in version strings.

- `1.0.0` → Stable release (no pre-release identifier)
- `1.0.0-alpha.1` → Pre-release (identifier: `['alpha', 1]`)
- `2.0.0-beta.3` → Pre-release (identifier: `['beta', 3]`)

## Contributing

Welcome to contribute to this repository! For more details,
please refer to [CONTRIBUTING.md](.github/CONTRIBUTING.md).

## License

[MIT](./LICENSE)