open-index/open-npm huggingface dataset:
npm package: @porto-sdk/sdk
Description: Tipos e entidades compartilhados do sistema Porto (estoque, medicamentos, residentes, movimentações)
Latest version: 0.1.4

# @porto-sdk/sdk

Tipos e entidades compartilhados do sistema Porto (estoque, medicamentos, residentes, movimentações). Use no backend e no frontend para manter uma única fonte de verdade.

## Instalação

**A partir do npm** (repositório publicado na org `porto-sdk`):

```bash
npm install @porto-sdk/sdk
# ou
pnpm add @porto-sdk/sdk
```

O `backend` e o `frontend` do monorepo usam **`"@porto-sdk/sdk": "^0.1.0"`** — o pacote é obtido do registry (não é necessário ter a pasta `sdk` ao lado do app). Isto permite CI em repositórios só-frontend ou só-backend.

## Desenvolver o SDK localmente (sem publicar)

Na pasta `sdk`, depois de alterar código:

```bash
cd sdk && npm run build && npm link
cd ../frontend && npm link @porto-sdk/sdk
# ou com pnpm: pnpm link --global (conforme doc) ou pnpm add @porto-sdk/sdk@file:../sdk
```

Alternativa temporária no `package.json` do app:

```json
"@porto-sdk/sdk": "file:../sdk"
```

## Publicar no npm

1. Cria a organização **porto-sdk** em [npmjs.com](https://www.npmjs.com/org/create) (o scope será `@porto-sdk`).
2. Confirma que estás autenticado: `npm login` / `npm whoami`.
3. Na pasta `sdk`:

```bash
npm run build
npm publish --access public
```

O `package.json` já inclui `"publishConfig": { "access": "public" }` e `prepublishOnly` corre o build.

## Uso

```ts
import type { PublicTenantListItem, TenantConfigResponse } from "@porto-sdk/sdk";
```

Contratos multi-tenant (login, branding) na documentação do produto Porto.
npm package: @portobel/jest-serial-runner
Description: Extending the Jest default runner to run tests serially - useful for integration tests
Author: gabrieli
Latest version: 2.0.0

# jest-serial-runner

Simple extension of the default Jest runner that makes it run serially (as of running with --runInBand flag)
The non-cli functionality is slightly hidden in the Jest docs.

Useful for integration tests.

# Usage

``` npm install jest-serial-runner --save-dev```

Add ``` "runner": "jest-serial-runner" ``` in your jest config
npm package: @portolab/rescript-toolkit
Description: <p align="center">   <img src="./assets/cover.svg" />    <br />   <br />   <a href="#about-bulb"> About </a> //   <a href="#goals-"> Goals </a> //   <a href="#whats-inside-package"> What's inside </a> //   <a href="#installation-zap"> Installation </a> //
Latest version: 0.0.9
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

<p align="center">
  <img src="./assets/cover.svg" /> 
  <br />
  <br />
  <a href="#about-bulb"> About </a> //
  <a href="#goals-"> Goals </a> //
  <a href="#whats-inside-package"> What's inside </a> //
  <a href="#installation-zap"> Installation </a> //
  <a target="_blank" href="https://portolab.com.br"> Portolab </a>
 </p>

## About :bulb:
This package is a toolkit that contains bindings and utility modules for ReScript and React. 

## Goals 🎯
- Aliases to the most common JS modules: `Js.Array2` exposed as `Array`, `Js.String2` exposed as `String`, `Js.Console` exposed as `Console` and [more](https://github.com/portolab/rescript-toolkit/blob/master/src/ReScriptToolkit.res#L11).
- Focus on DX, if you do `open ReScriptToolkit` you should feel at home 🖤.
- Simple bindings to libraries like [emotion](https://emotion.sh), [react-use](https://github.com/streamich/react-use), etc.

## What's inside :package:

#### Bindings

- **[Emotion](https://github.com/portolab/rescript-toolkit/blob/master/src/ReScriptToolkit_Emotion.res)**: Basic bindings for [Emotion](https://emotion.sh).
- **[ReactUse](https://github.com/portolab/rescript-toolkit/blob/master/src/ReScriptToolkit_ReactUse.res)**: Basic bindings (and partial for now) for [react-use](https://github.com/streamich/react-use).
- **[IntersectionObserver](https://github.com/portolab/rescript-toolkit/blob/master/src/ReScriptToolkit_IntersectionObserver.res)**: Basic bindings for [react-intersection-observer](https://www.npmjs.com/package/react-intersection-observer).
- **[FramerMotion](https://github.com/portolab/rescript-toolkit/blob/master/src/ReScriptToolkit_FramerMotion.res)**: Basic bindings for [framer-motion](https://www.framer.com/motion/).

#### Modules
- **[Media](https://github.com/portolab/rescript-toolkit/blob/master/src/ReScriptToolkit_Media.res)**: A module to deal with media queries.
- **[Render](https://github.com/portolab/rescript-toolkit/blob/master/src/ReScriptToolkit_Render.res)**: A module helper to improve the code readability when converting values to JSX..

#### Aliases
- `Js.Nullable` → `Nullable`
- `Js.Date` → `Date`
- `Js.Array2` → `Array`
- `Js.String2` → `String`
- `Js.Int` → `Int`
- `Js.Float` → `Float`
- `Js.Obj` → `Object`
- `Js.Re` → `Regex`
- `Js.Console` → `Console`
- `Js.Json` → `Json`

## Installation :zap:
Install the package using `yarn`/`npm`:
- Yarn
```sh
yarn add @portolab/rescript-toolkit
```
- npm
```sh
npm i @portolab/rescript-toolkit
```
Then, add it to `bs-dependencies`in your `bsconfig.json`:
```javascript
{
  "bs-dependencies": [
    // ....
    "@portolab/rescript-toolkit" 
  ]
}
```

## License
MIT