open-index/open-npm huggingface dataset:
npm package: @pleisto/unplugin-swc
Description: SWC plugin for Vite3 and Rollup
Latest version: 1.3.2-patch.2

> Fork from [egoist/unplugin-swc](https://github.com/egoist/unplugin-swc) and add vite3 support.

**💛 You can help the author become a full-time open-source maintainer by [sponsoring him on GitHub](https://github.com/sponsors/egoist).**

---

# unplugin-swc

[![npm version](https://badgen.net/npm/v/unplugin-swc)](https://npm.im/unplugin-swc)

> [SWC](https://swc.rs/) plugin for Vite and Rollup.

## Install

```bash
npm i unplugin-swc @swc/core -D
```

## Usage

Vite or Rollup:

```ts
import swc from 'unplugin-swc'

export default {
  plugins: [
    // Vite plugin
    swc.vite()
    // Rollup plugin
    swc.rollup()
  ]
}
```

### `tsconfig.json`

Following SWC options are inferred from `tsconfig.json`:

- `jsc.parser.syntax`: based on file extension
- `jsc.parser.jsx`, `parser.tsx`: `compilerOptions.jsx`
- `jsc.parser.decorators`: `compilerOptions.experimentalDecorators`
- `jsc.transform.react.pragma`: `compilerOptions.jsxFactory`
- `jsc.transform.react.pragmaFrag`: `compilerOptions.jsxFragmentFactory`
- `jsc.transform.react.importSource`: `compilerOptions.jsxImportSource`
- `jsc.transform.legacyDecorator`: `compilerOptions.experimentalDecorators`
- `jsc.transform.decoratorMetadata`: `compilerOptions.emitDecoratorMetadata`
- `jsc.keepClassNames`: when decorator is enabled, because original class name is required by libs like `type-graphql` to generate correct graphql type

If you wish to disable this behavior and use `.swcrc` to control above `jsc` options, you can use `tsconfigFile` option:

```ts
// Or swc.rollup
swc.vite({
  tsconfigFile: false,
})

// It's also possible to use a custom tsconfig file instead of tsconfig.json
swc.vite({
  tsconfigFile: "./tsconfig.build.json",
})
```

### Minification

Use the `minify: true` option, it only works for Rollup as Vite uses esbuild to minify the code and cannot be changed.

To have advanced control over the minification process, [use `jsc.minify` option in `.swcrc`](https://swc.rs/docs/configuration/minification).

### Vite

`esbuild` will be automatically disabled if you use this plugin.

## Options

This plugin accepts all `@swc/core` options, except for `jsc` which should be configured in `.swcrc` instead, and some extra options that are specific to this plugin:

### `options.tsconfigFile`

- Type: `boolean`, `string`
- Default: `tsconfig.json`

Disable the use of tsconfig file or specify a custom one.

### `options.include`

- Type: `RegExp`
- Default: `/\.[jt]sx?$/`

Files to include in the transpilation process.

### `options.exclude`

- Type: `RegExp`
- Default: `/node_modules/`

Files to exclude in the transpilation process.

### `options.jsc`

- Type: `object`

Custom [jsc](https://swc.rs/docs/configuration/compilation) options to merge with the default one.

## Sponsors

[![sponsors](https://sponsors-images.egoist.sh/sponsors.svg)](https://github.com/sponsors/egoist)

## License

MIT &copy; [EGOIST](https://github.com/sponsors/egoist)
npm package: @pleme-io/analytics
Description: Analytics service library for Nexus products
Author: Pleme.io Team
Latest version: 1.0.1

# pleme-analytics

Analytics service library for Nexus products

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @pleme-io/apollo-config
Description: Shared TypeScript library for Nexus products
Author: Pleme.io Team
Latest version: 1.0.1

# pleme-apollo-config

Apollo Client configuration for Nexus products

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @pleme-io/auth-sdk
Description: Shared TypeScript library for Nexus products
Author: Pleme.io Team
Latest version: 1.0.1

# pleme-auth-sdk

Authentication SDK for Nexus products

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @pleme-io/brazilian-utils
Description: Brazilian utilities for formatting and validation (CPF, CEP, Phone, Currency)
Author: Pleme.io Team
Latest version: 1.0.1

# pleme-brazilian-utils

Brazilian utilities for formatting and validation (CPF, CEP, Phone, Currency)

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @pleme-io/builder-core
Description: Universal builder infrastructure for drag-drop composition UIs (sequences, task lists, etc.)
Author: Pleme
Latest version: 0.1.1

# pleme-builder-core

Universal builder infrastructure for drag-drop composition UIs

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @pleme-io/config-manager
Description: Runtime configuration management with window.ENV pattern
Author: Pleme.io Team
Latest version: 1.0.1

# pleme-config-manager

Runtime configuration management with window.ENV pattern

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @pleme-io/error-boundary
Description: Unified error handling library for Nexus products with toast notifications
Author: Pleme.io Team
Latest version: 2.0.1

# pleme-error-boundary

Unified error handling library for Nexus products with toast notifications

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @pleme-io/form-system
Description: Shared TypeScript library for Nexus products
Author: Pleme.io Team
Latest version: 1.0.1

# pleme-form-system

Form system library for Nexus products

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @pleme-io/graphql-request-client
Description: GraphQL client factory using graphql-request with BFF pattern and metrics
Author: Pleme.io Team
Latest version: 1.0.1

# pleme-graphql-request-client

GraphQL client factory using graphql-request with BFF pattern and metrics

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @pleme-io/hooks
Description: Shared TypeScript library for Nexus products
Author: Pleme.io Team
Latest version: 1.0.1

# pleme-hooks

React hooks library for Nexus products

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @pleme-io/i18n
Description: Internationalization wrapper for react-i18next with Brazilian Portuguese support
Author: Pleme.io Team
Latest version: 1.0.1

# pleme-i18n

Internationalization wrapper for react-i18next with Brazilian Portuguese support

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @pleme-io/image-upload
Description: Image upload hook library for Nexus products
Author: Pleme.io Team
Latest version: 1.0.1

# pleme-image-upload

Image upload hook library for Nexus products

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @pleme-io/observability
Description: CNCF-aligned frontend observability with telemetry, metrics, and Web Vitals
Author: Pleme.io Team
Latest version: 1.0.1

# pleme-web-observability

CNCF-aligned frontend observability with telemetry, metrics, and Web Vitals

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @pleme-io/state-machines
Description: Shared TypeScript library for Nexus products
Author: Pleme.io Team
Latest version: 1.0.1

# pleme-state-machines

XState state machine patterns for Nexus products

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @pleme-io/types
Description: Shared TypeScript library for Nexus products
Author: Pleme.io Team
Latest version: 1.0.2

# pleme-types

Shared TypeScript types for Nexus products

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @pleme-io/ui-components
Description: Shared TypeScript library for Nexus products
Author: Pleme.io Team
Latest version: 1.0.1

# pleme-ui-components

Shared UI components for Nexus products

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @pleme-io/zustand-patterns
Description: Zustand store patterns with immer, persist, devtools, and type-safe modals
Author: Pleme.io Team
Latest version: 1.0.1

# pleme-zustand-patterns

Zustand store patterns with immer, persist, devtools, and type-safe modals

## Development

```bash
# Enter dev shell
nix develop

# Run all checks (lint + typecheck + test)
nix run .#check-all

# Individual commands
npm run build
npm run test
npm run check
npm run check:types
```
npm package: @plenaconnect/client-sdk
Description: Plena connect dapp sdk
Latest version: 1.1.4

# @plenaconnect/client-sdk

## Introduction

`@plenaconnect/client-sdk` is a comprehensive SDK designed to seamlessly integrate your web application with Plena Wallet. It provides a simple and effective way to connect with the Plena Wallet, enabling features such as wallet connection, transaction handling, and more.

## Installation

To install the `@plenaconnect/client-sdk` into your project, use npm or yarn:

### Using npm:

```
npm install @plenaconnect/client-sdk
```

### Using yarn:

```
yarn add @plenaconnect/client-sdk
```

## Support

For support, queries, or contributions, please visit our GitHub repository or contact us through our website.