open-index/open-npm huggingface dataset:
npm package: @gordonmleigh/rollup-plugin-zip
Description: A Rollup plugin to bundle files into a zip
Author: Gordon Leigh
Latest version: 0.1.5

# @gordonmleigh/rollup-plugin-zip

A Rollup plugin to bundle files into a zip.

```javascript
import zip from "@gordonmleigh/rollup-plugin-zip";

export default {
  // in this case, the file will be called "index.js" in the zip
  input: "lib/index.js",

  // it also supports multiple entry points:
  // input: {
  //   entry: "lib/index.js",
  // }

  output: {
    // the zip will be output as "dist/bundle.zip"
    file: "dist/index.mjs",
  },

  plugins: [
    zip({
      // set the name of the zip file (defaults to "bundle.zip")
      outputFileName: "bundle.zip",
      // set an explicit last modified date
      // useful to keep zip hashes identical when the contents haven't changed
      // defaults to the current time
      overrideModifiedDate: new Date(0),
    }),
  ],
};
```
npm package: @gorebel/mongoose-ember-errors
Description: Convert mongoose validation errors to ember-data compatible errors
Author: Yamil Asusta @elbuo8
Latest version: 0.1.0

# Mongoose Ember Errors

Simple tool to convert Mongoose's `ValidationError` into Ember-Data compatible.

## Install

`npm install mongoose-ember-errors --save`

## Usage

```js
var EmberErrors = require('mongoose-ember-errors');

model.save(function(err) {
  // err contains normal ValidationError
  err = new EmberErrors(err);
});

```

The conversion looks similar to this:

```js
{ [ValidationError: Schema validation failed]
  message: 'Schema validation failed',
  name: 'ValidationError',
  errors:
   { testObjectId:
      { [CastError: Cast to ObjectID failed for value "test" at path "testObjectId"]
        message: 'Cast to ObjectID failed for value "test" at path "testObjectId"',
        name: 'CastError',
        kind: 'ObjectID',
        value: 'test',
        path: 'testObjectId' },
     testField:
      { [ValidatorError: Path `testField` is required.]
        properties: [Object],
        message: 'Path `testField` is required.',
        name: 'ValidatorError',
        kind: 'required',
        path: 'testField',
        value: undefined } } }
```

Into:

```js
{ [Error: Schema validation failed]
  message: 'Schema validation failed',
  errors:
   { testObjectId: [ 'test is invalid' ],
     testField: [ 'Path `testField` is required.' ] } }
```
npm package: @goreleaser/mcp
Description: GoReleaser MCP server
Author: Carlos Alexandro Becker
Latest version: 0.3.4

<p align="center">
  <img alt="GoReleaser Logo" src="https://avatars2.githubusercontent.com/u/24697112?v=3&s=200" height="200" />
  <h3 align="center">GoReleaser MCP</h3>
  <p align="center">Model Context Protocol server for GoReleaser.</p>
</p>

---

A Model Context Protocol (MCP) server for GoReleaser.
Provides tools and documentation to help AI assistants understand and work with
GoReleaser configurations.

---

## Features

- **Configuration Validation**: Check GoReleaser configurations for errors and deprecated options
- **Deprecation Fixes**: Get prompted to fix deprecated configuration options with detailed instructions
- **Embedded Documentation**: Access GoReleaser documentation directly through the MCP server
- **Update Prompt**: Use the `update_config` prompt to modernize your GoReleaser configuration

## Installation

```bash
npm install -g @goreleaser/mcp
brew install --cask goreleaser/tap/mcp
winget install goreleaser.mcp
```

## Usage

You can add something like this to your tooling:

```json
{
  // ...
  "mcp": {
    "goreleaser": {
      "command": "goreleaser-mcp",
      "type": "stdio"
    }
  }
  // ...
}
```

## Badges

[![Release](https://img.shields.io/github/release/goreleaser/mcp.svg?style=for-the-badge)](https://github.com/goreleaser/mcp/releases/latest)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=for-the-badge)](/LICENSE.md)
[![Build status](https://img.shields.io/github/actions/workflow/status/goreleaser/mcp/build.yml?style=for-the-badge&branch=main)](https://github.com/goreleaser/mcp/actions?workflow=build)
[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=for-the-badge)](http://godoc.org/github.com/goreleaser/mcp)
[![Powered By: GoReleaser](https://img.shields.io/badge/powered%20by-goreleaser-green.svg?style=for-the-badge)](https://github.com/goreleaser)
[![GoReportCard](https://goreportcard.com/badge/github.com/goreleaser/mcp?style=for-the-badge)](https://goreportcard.com/report/github.com/goreleaser/mcp)
npm package: @gorgonjs/file-provider
Description: A simple file caching provider for Gorgon JS
Author: Mike Valstar
Latest version: 1.5.1

# Gorgon File Provider

This library implements a file storage provider to [@gorgonjs/gorgon](https://www.npmjs.com/package/@gorgonjs/gorgon), please refer to the documentation on https://gorgonjs.dev for full documentation.

## Installation

    npm install @gorgonjs/file-provider @gorgonjs/gorgon

    yarn add @gorgonjs/file-provider @gorgonjs/gorgon

    pnpm add @gorgonjs/file-provider @gorgonjs/gorgon

## Example Usage

```ts
import { Gorgon } from '@gorgonjs/gorgon';
import { FileProvider } from '@gorgonjs/file-provider';

// Create a new instance of the file provider
const fileCache = FileProvider(cachePath, { createSubfolder: false });

// Add the provider to the gorgon instance
Gorgon.addProvider('perm', fileCache);

// Call an API and cache the results forever
const x = await Gorgon.get(
  `tmdb/movie/${id}`,
  async () => {
    return axios.get(`${api}/movie/${id}${key}`);
  },
  { provider: 'perm', expiry: false },
);
```
npm package: @gorhom/codable
Description: A strict json parser inspired by Swift Codable
Author: Mo Gorhom
Latest version: 1.1.1

# Codable [![npm](https://img.shields.io/npm/v/@gorhom/codable)](https://www.npmjs.com/package/@gorhom/codable) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@gorhom/codable)](https://www.npmjs.com/package/@gorhom/codable) [![npm](https://badgen.net/npm/dependents/@gorhom/codable)](https://www.npmjs.com/package/@gorhom/codable)

A strict json parser inspired by [Swift Codable](https://developer.apple.com/documentation/swift/codable/) ❤️

![Alt text](docs/cover.png 'Cover')

## Features

Works almost same as [Swift Codable](https://developer.apple.com/documentation/swift/codable), but with some extra implementation to fit `TypeScript` / `JavaScript` environment.

- Decodes `JSON` payload with pre-defined scheme.
  - Custom keys parsing.
  - Strict types checking.
  - Nested `Codable` parsing.

## Supported Types

Types design was inspired by [MobX State Tree](https://github.com/mobxjs/mobx-state-tree#types-overview) ❤️

- Primitives
  - String
  - Number
  - Boolean
- Complex
  - Codable
  - Optional
  - Array
  - Date

## Installation

```bash
yarn add @gorhom/codable
# or
npm install @gorhom/codable
```

## Usage

```ts
import { BaseCodable, types, decode, encode } from '@gorhom/codable';
import dayjs from 'dayjs';

class Post extends BaseCodable {
  title!: string;
  isActive?: boolean;
  date!: Date;
}

Post.CodingProperties = {
  title: types.string,
  isActive: {
    type: types.optional(types.boolean),
    key: 'active',
  },
  date: types.date(dayjs),
};

class User extends BaseCodable {
  id!: number;
  username!: string;
  posts!: Post[];
}

User.CodingProperties = {
  id: types.number,
  username: types.string,
  posts: types.array(Post),
};

const jsonPayload = {
  id: 123,
  username: 'Gorhom',
  posts: [
    {
      title: 'dummy post',
      active: true,
      date: '2020-02-15T16:00:00.000Z',
    },
    {
      title: 'deleted post',
      active: false,
      date: '2020-02-10T16:00:00.000Z',
    },
  ],
};

const user: User = decode(User, jsonPayload);

// now encode it back 🙈
// ⚠️ date encoding still in progress

const userJson = encode(user)
```

## TODO

- [x] Add [Swift Decodable](https://developer.apple.com/documentation/swift/decodable) functionality.
- [x] Add [Swift Encodable](https://developer.apple.com/documentation/swift/encodable) functionality.
- [ ] Write API docs.

## Built With

- [TSdx](https://github.com/jaredpalmer/tsdx)
- [TypeScript](https://github.com/Microsoft/TypeScript)

## Author

- [Mo Gorhom](https://twitter.com/gorhom)
npm package: @gorhom/docusaurus-react-native-plugin
Description: A plugin to enable react native web and reanimated on Docusaurus.
Author: Mo Gorhom
Latest version: 1.0.1

# Docusaurus React Native Plugin

A plugin to enable React Native Web and Reanimated on Docusaurus.

## Usage

### Monorepo

in the file `docusaurus.config.js` add the following

```js
...
plugins: [
  '@gorhom/docusaurus-react-native-plugin',
  {
    alias: {
      '{MY PACKAGE NAME}': path.resolve(
        __dirname,
        {MY PACKAGE PATH}
      ),
      'react-native-reanimated': path.resolve(
        __dirname,
        {REANIMATED PACKAGE PATH}
      ),
    },
  },
],
...
```

### Standalone

you will need to install the following

```bash
yarn add react-native-web react-native-reanimated
```

then you will need to add the following in the file `docusaurus.config.js`
```js
...
plugins: [
  '@gorhom/docusaurus-react-native-plugin',
  {
    alias: {
      '{MY PACKAGE NAME}': path.resolve(
        __dirname,
        {MY PACKAGE PATH}
      ),
      'react-native-reanimated': path.resolve(
        __dirname,
        'node_modules/react-native-reanimated'
      ),
    },
  },
],
...
```


## License
[MIT](./LICENSE)
npm package: @gorid/gns-sdk-kit
Description: <p align="center"> <img width="250" src="https://v2.sns.id/assets/logo/brand.svg"/> </p>
Latest version: 0.1.2-beta

<p align="center">
<img width="250" src="https://v2.sns.id/assets/logo/brand.svg"/>
</p>

# GNS JS-KIT SDK

![npm version](https://img.shields.io/npm/v/@tekupx/sns-sdk-kit)
![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=flat&logo=typescript&logoColor=white)
![License](https://img.shields.io/github/license/bonfida/sns-sdk)

The JS-KIT SDK is a JavaScript toolkit for managing .gor domains and records. Built on `@solana/kit` (formerly `@solana/web3.js` 2.x), it simplifies development and ensures secure and efficient functionality.

**Note: This SDK is currently in beta and subject to changes. Features, APIs, and functionality may evolve as development progresses.**

## Table of Contents

- [Features](#features)
- [Installation](#installation)
- [Example Usage](#example-usage)
- [Documentation](#documentation)
- [License](#license)

## Features

- Domain resolution and primary domain lookup
- Domain/Subdomain Management
- Record Handling

## Installation

```bash
npm install @gorid/gns-sdk-kit@beta @solana/kit
```

```
yarn add @gorid/gns-sdk-kit@beta @solana/kit
```

## Example Usage

```typescript
import {
  Record,
  getDomainRecord,
  getPrimaryDomain,
  resolveDomain,
} from "@gorid/gns-sdk-kit";
import {
  Address,
  createDefaultRpcTransport,
  createSolanaRpcFromTransport,
} from "@solana/kit";

(async () => {
  // Initialize rpc interface
  const transport = createDefaultRpcTransport({
    url: YOUR_RPC_URL,
  });
  const rpc = createSolanaRpcFromTransport(transport);

  // Resolve .gor domain
  const resolved = await resolveDomain({ rpc, domain: "sns.gor" });

  // Get domain records
  const records = await getDomainRecord({
    rpc,
    domain: "sns.gor",
    record: Record.Url,
    options: {
      deserialize: true,
    },
  });

  // Get primary domain for address
  const primaryDomain = await getPrimaryDomain({
    rpc,
    walletAddress: "36Dn3RWhB8x4c83W6ebQ2C2eH9sh5bQX2nMdkP2cWaA4" as Address,
  });

  console.log({ resolved, records, primaryDomain });
})();
```

## Documentation

The documentation for the JS-KIT SDK is currently a work-in-progress. Stay tuned for updates!

## License

This project is licensed under the MIT License. See the LICENSE file for more details.
npm package: @goright/design-system
Description: ## Scripts
Latest version: 1.0.14

# GoRight Design System

## Scripts

- `yarn tokens` - rebuilds token files.
- `yarn start` - starts storybook development server at <https://localhost:6006>.
- `yarn add-component <ComponentName>` - adds template files for new component
- `yarn build` - builds components library into `dist/` folder.
- `yarn storybook:build` - builds storybook into `storybook-static/` folder.
- `yarn version` - bumps library version and creates a commit with contents of `dist/` folder.
- `yarn test` - run tests with [creevey](https://github.com/wKich/creevey)
- `yarn test:ui` - run creevey with UI
- `yarn test:update` - update all screenshots for creevey

## Rules on className usage

Almost all components have className API which allows quickly set custom margins and positioning for the elements. It's important to have an agreement on className separation and determine what can be used in component library and what - on the project side. While most classes should belong to component itself, there are few which should not be used in the top element of component which has className API (list to be upated):

- __margin:__ `m-2`, `mx-auto`, `m-4` etc..
- __align-self:__ `self-auto`, `self-stretch`...
- __width:__ `w-1/2`, `w-full`, `w-16`..

It's ok to use this classes inside the components (not on the wrapper), or if you are creating a component which is not supposed to be modified or positioned, and doesn't need className prop.

## Setting up semantic-release locally.

```
npx semantic-release-cli setup
```

- For CI, choose option __Other (prints tokens)__
- Copy tokens into local .env file, and load them locally


RElease via Github actions

- To skip CI jobs, add to commit message keyword `[skip-ci]` (with brackets)
- You can run yarn semantic-release` locally to check for version and changelog. However make sure that the branch you are on has a remote, otherwise semantic release will fail.