open-index/open-npm huggingface dataset:
npm package: @jitar/plugin-vite
Description: Vite plugin for Jitar.
Author: Masking Technology
Latest version: 0.10.7


# Jitar Plugin for Vite

This plugin allows you to use [Vite](https://vitejs.dev/) to build your [Jitar](https://jitar.dev/) app.

## Installation

```bash
npm install --save-dev @jitar/plugin-vite
```

## Usage

The plugin needs to be added to the vite config file.

```ts
// vite.config.ts
import { defineConfig } from 'vite'
import jitar, { JitarConfig } from '@jitar/plugin-vite'

const jitarConfig: JitarConfig = {
  sourceDir: 'src',
  targetDir: 'dist',
  jitarDir: 'domain',
  jitarUrl: 'http://localhost:3000',
  segments: [],
  middleware: []
}

export default defineConfig({
  plugins: [
    jitar(jitarConfig)
  ]
})
```

The plugin accepts a configuration object with the following properties:

* **sourceDir** - The folder containing the app’s source files. In most cases, this is the `src` folder.
* **targetDir** - The folder where the app’s distribution files are output. In most cases, this is the `dist` folder.
* **jitarDir** - The folder containing the source files used by Jitar, relative to the source root. We typically use `domain` (which refers to `src/domain`), but feel free to use a different path.
* **jitarUrl** - The URL of the Jitar instance. By default, Jitar uses `http://localhost:3000`, but this can be changed in the Jitar configuration.
* **segments** - The segments to use for the client app. This should be an array of strings. The default value is an empty array.
* **middleware** - The middleware to use for the client app. This should be an array of strings. The default value is an empty array.
npm package: @jitaspace/sde-converter
Description: EVE SDE Converter to JSON
Author: João Neto
Latest version: 1.1.0

# SDE Converter

This tool converts the SDE data from the [EVE Static Data Export](https://developers.eveonline.com/resource/resources) into an OpenAPI spec backed by static JSON files.

## Basic Usage

The script can be invoked via `npx`:
```bash
$ npx @jitaspace/sde-converter
```

Or installed globally:
```bash
$ npm install -g @jitaspace/sde-converter
$ sde-converter
```

### Available Commands

```
Usage: sde-converter [options] [command]

JitaSpace SDE parser

Options:
  -V, --version         output the version number
  -w, --workDir <path>  Working directory (default: "./sde-workdir")
  -h, --help            display help for command

Commands:
  download-only         Retrieve the latest SDE archive and extracts it
  generate              Generate OpenAPI spec and JSON files from latest SDE
  help [command]        display help for command
```
npm package: @jitcoder/solid-dialog
Description: A functional approach to showing modals/dialogs.
Author: jitcoder
Latest version: 0.0.3

# Solid Dialog Component

A functional approach to showing modals/dialogs.

## Installation

```bash
$ yarn add @jitcoder/solid-dialog
```

## Usage

```javascript

const App = () => {
  return (
    <div>
      <Dialog />
    </div>
  )
}

// showDialog will add a `submit` callback to props. submit will be the showDialog's promise's resolution
const HelloWorldDialog = ({message, submit}) => {
  const onDone = () => {
    submit('hello world button clicked');
  }

  return (
    <div>
      <span> Hello World : {message} </span>
      <button onClick={onDone}>Click Me!</button>
    </div>
  )
}

// second argument will be passed to the ExtensionSettingsDialog's props
const result = await showDialog(HelloWorldDialog, { message });

console.log(result);
//'hello world button clicked'


```