open-index/open-npm huggingface dataset:
npm package: @hexagonpro/hx-icons
Description: Biblioteca de ícones para o Hexagon Pro
Latest version: 4.0.0

# React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

- Configure the top-level `parserOptions` property like this:

```js
   parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
   },
```

- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
npm package: @hexagrams/base-config
Description: eslint基础配置
Author: liuiu666
Latest version: 0.0.5

# base-config

[![NPM version](https://img.shields.io/npm/v/base-config.svg?style=flat)](https://www.npmjs.com/package/@hexagrams/base-config)
[![NPM downloads](http://img.shields.io/npm/dm/base-config.svg?style=flat)](https://www.npmjs.com/package/@hexagrams/base-config)

# eslint & prettier & umi 基础配置
npm package: @hexagrams/plugin-ice-stark
Description: @ice/stark微前端
Author: liuiu666
Latest version: 0.0.14

# plugin-ice-stark

[![NPM version](https://img.shields.io/npm/v/plugin-ice-stark.svg?style=flat)](https://www.npmjs.com/package/@hexagrams/plugin-ice-stark)
[![NPM downloads](http://img.shields.io/npm/dm/plugin-ice-stark.svg?style=flat)](https://www.npmjs.com/package/@hexagrams/plugin-ice-stark)

UmiJS：[Umi](https://umijs.org/)
飞冰：[ICESTARK](https://micro-frontends.ice.work/)
DEMO：[个人站](https://linshenglong.cn/)

## 为什么不用 qiankun?

- 乾坤是通过 fetch 去加载 js/css 有跨域问题；
- ICESTARK 动态挂载 script 标签无跨域问题，也支持 fetch 加载 js/css
- ICESTARK 使用简单，轻量

## 注意事项

- 为什么本地加载子应用会一直刷新？ 关闭热更新 "dev": "HMR=none umi dev",

## Install

```bash
# or yarn
$ npm i @hexagrams/plugin-ice-stark -S
```

## 父应用加配置项

Configure in `.umirc.js`,

```js
import { defineConfig } from 'umi';
export default defineConfig({
  plugins: ['@hexagrams/plugin-ice-stark'],
  iceStark: {
    master: {},
  }
});
```

## 子应用加配置项

Configure in `.umirc.js`,

```js
import { defineConfig } from 'umi';
export default defineConfig({
  plugins: ['@hexagrams/plugin-ice-stark'],
  iceStark: {
    slave: {},
  }
});
```

## 父应用动态配置

Configure in `src/app.ts`,

```js
// API文档 https://micro-frontends.ice.work/docs/api/ice-stark
export const iceStark = fetch('/xxx/xxx')
  .then(res => res.json())
  .then(({ data }) => {
    return {
      appRouter: {
        onAppEnter: appConfig => {
          console.log(appConfig, 'appConfigappConfig');
        },
      },
      apps: [
        {
          publicPath: '/', // 非必填子应用资源路径 https://v3.umijs.org/zh-CN/config#publicpath
          name: 'microApp',
          activePath: '/seller',
          url: ['//unpkg.com/icestark-child-common/build/js/index.js'],
        },
      ],
    };
  });

// 或者
export const iceStark = {
  appRouter: {
    onAppEnter: appConfig => {
      console.log(appConfig, 'appConfigappConfig');
    },
  },
  apps: [
    {
      publicPath: '/', // 非必填子应用资源路径 https://v3.umijs.org/zh-CN/config#publicpath
      name: 'microApp',
      activePath: '/seller',
      url: ['//unpkg.com/icestark-child-common/build/js/index.js'],
    },
  ],
};

```

## 发布

npm publish --access public
npm package: @hexaijs/contracts
Description: Zero-dependency marker decorators for hexai contract definitions
Author: Sangwoo Hyun
Latest version: 0.1.2

# @hexaijs/contracts

> Zero-dependency marker decorators and base message classes for hexai contract definitions

## Overview

`@hexaijs/contracts` provides the foundational contract types used across hexai:

- **Command** and **Query** base classes with typed payload and result
- **Decorator markers** (`@PublicEvent`, `@PublicCommand`, `@PublicQuery`) for static analysis by the contracts generator

This package has no runtime dependencies beyond `@hexaijs/core` as a peer dependency.

## Installation

```bash
npm install @hexaijs/contracts
```

## Core Exports

### Command and Query

Base classes for CQRS messages. Both accept two type parameters:

```typescript
import { Command, Query } from "@hexaijs/contracts";

class CreateOrderCommand extends Command<
    { customerId: string; items: Item[] },  // Payload
    { orderId: string }                     // ResultType
> {
    static readonly type = "order.create-order";
}

class GetOrderQuery extends Query<
    { orderId: string },  // Payload
    OrderDto              // ResultType
> {
    static readonly type = "order.get-order";
}
```

`Command` and `Query` extend `Message<Payload>` from `@hexaijs/core`, adding a phantom `ResultType` property for TypeScript type inference.

### Decorators (`@hexaijs/contracts/decorators`)

Pure no-op markers used by `@hexaijs/plugin-contracts-generator` for static analysis. They have no runtime effect.

```typescript
import { PublicCommand, PublicEvent, PublicQuery } from "@hexaijs/contracts/decorators";

@PublicCommand()
class CreateOrderCommand extends Command<CreateOrderPayload, CreateOrderResult> { ... }

@PublicEvent({ version: 2 })
class OrderPlaced extends DomainEvent<OrderPlacedPayload> { ... }

@PublicQuery({ response: "UserProfile" })
class GetUserQuery extends Query<{ userId: string }, UserProfile> { ... }
```

#### Decorator Options

| Decorator | Options |
|-----------|---------|
| `@PublicEvent(options?)` | `version?: number` — event version; `context?: string` — business context (inferred from package) |
| `@PublicCommand(options?)` | `context?: string` — business context; `response?: string` — explicit response type name |
| `@PublicQuery(options?)` | `context?: string` — business context; `response?: string` — explicit response type name |

## API Highlights

| Export | Subpath | Description |
|--------|---------|-------------|
| `Command<P, O>` | `.` | Base class for commands with payload and output type |
| `Query<P, O>` | `.` | Base class for queries with payload and output type |
| `PublicEvent` | `./decorators` | No-op marker for domain events |
| `PublicCommand` | `./decorators` | No-op marker for commands |
| `PublicQuery` | `./decorators` | No-op marker for queries |

## See Also

- [@hexaijs/application](../application/README.md) — Application layer that consumes these contracts
- [@hexaijs/plugin-contracts-generator](../plugin-contracts-generator/README.md) — Generates frontend-compatible types from decorated classes
npm package: @hexancore/auth
Description: Full-Stack TypeScript Framework for building epic HexArch designed applications
Author: Andrzej Wasiak
Latest version: 0.5.0

<p align="center">
  <a href="https://hexancore.dev/" target="blank"><img src="https://avatars.githubusercontent.com/u/113235766?s=200&v=4" width="120" alt="Hexancore Logo" /></a>
</p>

<h1 align="center">Hexancore</h1>
<p align="center"><i>Full-Stack TypeScript Framework for building epic <b>HexArch</b> designed applications.</i></p>
<h2 align="center">Package: Auth</h2>
<p align="center">
  <a href="https://www.npmjs.com/package/@hexancore/auth"><img src="https://img.shields.io/npm/v/@hexancore/auth.svg" alt="NPM Version" /></a>
  <a href="https://www.npmjs.com/package/@hexancore/auth"><img src="https://img.shields.io/npm/dm/@hexancore/auth.svg" alt="NPM Downloads" /></a>
</p>

## Description

Package of Hexancore framework [https://hexancore.dev](https://hexancore.dev)

## Testing

### OIDC

```
make oidc_provider
make oidc_app

https://localhost:3000/front/protected/dashboard
```
npm package: @hexancore/cli
Description: CLI of Hexancore framework
Author: Andrzej Wasiak
Latest version: 0.1.3

<p align="center">
  <a href="https://hexancore.com/" target="blank"><img src="https://avatars.githubusercontent.com/u/113235766?s=200&v=4" width="120" alt="Hexancore Logo" /></a>
</p>

<h1 align="center">Hexancore</h1>
<p align="center"><i>Full Stack TypeScript framework for building epic Hexagonal Architecture designed apps.</i></p>
<h2 align="center">Package: cli</h2>
<p align="center">
  <img alt="Build" src="https://img.shields.io/github/actions/workflow/status/hexancore/cli/release.yml">
  <a href="https://www.npmjs.com/package/@hexancore/cli"><img src="https://img.shields.io/npm/v/@hexancore/cli.svg" alt="NPM Version" /></a>
  <a href="https://www.npmjs.com/package/@hexancore/cli"><img src="https://img.shields.io/npm/l/@hexancore/cli.svg" alt="Package License" /></a>
  <a href="https://www.npmjs.com/package/@hexancore/cli"><img src="https://img.shields.io/npm/dm/@hexancore/cli.svg" alt="NPM Downloads" /></a>
</p>

## Description

Cli module for [Hexancore](https://hexancore.github.io/hexancore/)
CLI package contains helper commands to faster create elements of Hexancore App like modules, commands, queries, entities.

## Installation
```bash
# NPM
npm i --save @hexancore/cli

# YARN
yarn add @hexancore/cli
```

## Usage

In project folder execute:
```
hcli <command>
```

## Command list:
- **make module** - Creates new module 
- **make message** - Creates new module message
- **pulumi make project** - Creates new module message 


## Documentation

Documentation(work in progress...): 
https://hexancore.github.io/hexancore/cli
npm package: @hexancore/cloud
Description: Full-Stack TypeScript Framework for building epic HexArch designed applications
Author: Andrzej Wasiak
Latest version: 0.3.0

<p align="center">
  <a href="https://hexancore.dev/" target="blank"><img src="https://avatars.githubusercontent.com/u/113235766?s=200&v=4" width="120" alt="Hexancore Logo" /></a>
</p>

<h1 align="center">Hexancore</h1>
<p align="center"><i>Full-Stack TypeScript Framework for building epic <b>HexArch</b> designed applications.</i></p>
<h2 align="center">Package: Cloud</h2>
<p align="center">
  <a href="https://www.npmjs.com/package/@hexancore/cloud"><img src="https://img.shields.io/npm/v/@hexancore/cloud.svg" alt="NPM Version" /></a>
  <a href="https://www.npmjs.com/package/@hexancore/cloud"><img src="https://img.shields.io/npm/dm/@hexancore/cloud.svg" alt="NPM Downloads" /></a>
</p>

## Description

Package of Hexancore framework [https://hexancore.dev](https://hexancore.dev)
npm package: @hexancore/common
Description: Promise of delivering value through a good process
Author: Andrzej Wasiak
Latest version: 0.16.5

<p align="center">
  <a href="https://hexancore.dev/" target="blank"><img src="https://avatars.githubusercontent.com/u/113235766?s=200&v=4" width="120" alt="Hexancore Logo" /></a>
</p>

<h1 align="center">Hexancore</h1>
<p align="center"><i>Promise of delivering value through a good process </i></p>
<h2 align="center">Package: Common</h2>
<p align="center">
  <a href="https://www.npmjs.com/package/@hexancore/common"><img src="https://img.shields.io/npm/v/@hexancore/common.svg" alt="NPM Version" /></a>
  <a href="https://www.npmjs.com/package/@hexancore/common"><img src="https://img.shields.io/npm/dm/@hexancore/common.svg" alt="NPM Downloads" /></a>
</p>

## Description

Package of Hexancore framework [https://hexancore.dev](https://hexancore.dev)
npm package: @hexancore/core
Description: Full-Stack TypeScript Framework for building epic HexArch designed applications
Author: Andrzej Wasiak
Latest version: 0.16.2

<p align="center">
  <a href="https://hexancore.dev/" target="blank"><img src="https://avatars.githubusercontent.com/u/113235766?s=200&v=4" width="120" alt="Hexancore Logo" /></a>
</p>

<h1 align="center">Hexancore</h1>
<p align="center"><i>Full-Stack TypeScript Framework for building epic <b>HexArch</b> designed applications.</i></p>
<h2 align="center">Package: Core</h2>
<p align="center">
  <a href="https://www.npmjs.com/package/@hexancore/core"><img src="https://img.shields.io/npm/v/@hexancore/core.svg" alt="NPM Version" /></a>
  <a href="https://www.npmjs.com/package/@hexancore/core"><img src="https://img.shields.io/npm/dm/@hexancore/core.svg" alt="NPM Downloads" /></a>
</p>

## Description

Package of Hexancore framework [https://hexancore.dev](https://hexancore.dev)
npm package: @hexancore/nx
Description: Hexancore Nx integration plugin
Author: Andrzej Wasiak
Latest version: 0.4.0

<p align="center">
  <a href="https://hexancore.dev/" target="blank"><img src="https://avatars.githubusercontent.com/u/113235766?s=200&v=4" width="120" alt="Hexancore Logo" /></a>
</p>

<h1 align="center">Hexancore</h1>
<p align="center"><i>Full-Stack TypeScript Framework for building epic <b>HexArch</b> designed applications.</i></p>
<h2 align="center">Package: Nx</h2>
<p align="center">
  <a href="https://www.npmjs.com/package/@hexancore/nx"><img src="https://img.shields.io/npm/v/@hexancore/nx.svg" alt="NPM Version" /></a>
  <a href="https://www.npmjs.com/package/@hexancore/nx"><img src="https://img.shields.io/npm/dm/@hexancore/nx.svg" alt="NPM Downloads" /></a>
</p>

## Description

This package includes plugin for Nx tailored for the Hexancore framework.
It enables developers to seamlessly integrate and manage Hexancore projects within the Nx ecosystem, leveraging advanced monorepo tools and streamlined code organization. 

The plugin offers a set of commands and schematics that simplify the creation, configuration, and building of Hexancore applications while ensuring full compatibility with Nx tools. 
Perfect for teams looking to combine the flexibility of Hexancore with the powerful features of Nx.

## Quick Start

```bash
npx create-nx-workspace <workspace-name> --pm pnpm --preset @hexancore/nx --nxCloud skip --workspaceType integrated
```

## Documentation

### Generators

#### app
Creates new application.

```bash
nx g @hexancore/nx:app <directory> --type <backend|frontend>
```

**Options**
- **directory** - Application directory, final: `apps/<directory>` and project name will be `app-<directory where all '/' replaced with '-'>`

- **type** - Application type
  - backend
  - frontend

#### lib

Creates new library.

```bash
nx g @hexancore/nx:lib <directory> --type <backend|frontend|shared>
```

**Options**
- **directory** - Library directory, final: `libs/<directory>` and project name will be `<directory where all '/' replaced with '-'>`

- **type** - Library type
  - backend
  - frontend
  - shared

**More**
https://hexancore.dev
npm package: @hexancore/typeorm
Description: Full-Stack TypeScript Framework for building epic HexArch designed applications
Author: Andrzej Wasiak
Latest version: 0.16.0

<p align="center">
  <a href="https://hexancore.dev/" target="blank"><img src="https://avatars.githubusercontent.com/u/113235766?s=200&v=4" width="120" alt="Hexancore Logo" /></a>
</p>

<h1 align="center">Hexancore</h1>
<p align="center"><i>Full-Stack TypeScript Framework for building epic <b>HexArch</b> designed applications.</i></p>
<h2 align="center">Package: Typeorm</h2>
<p align="center">
  <a href="https://www.npmjs.com/package/@hexancore/typeorm"><img src="https://img.shields.io/npm/v/@hexancore/typeorm.svg" alt="NPM Version" /></a>
  <a href="https://www.npmjs.com/package/@hexancore/typeorm"><img src="https://img.shields.io/npm/dm/@hexancore/typeorm.svg" alt="NPM Downloads" /></a>
</p>

## Description

Package of Hexancore framework [https://hexancore.dev](https://hexancore.dev)