open-index/open-npm huggingface dataset:
npm package: @koddsson/web-dev-server-swc
Description: Plugin for using swc in @web/dev-server
Author: modern-web
Latest version: 0.0.2

# Dev server SWC

Plugin for using [SWC](https://github.com/swc-project/swc) in the dev server.

See [our website](https://modern-web.dev/docs/dev-server/plugins/swc/) for full documentation.
npm package: @kode-ace/pupswap-sdk
Description: 🛠 An SDK for the fork of uniswap v2 on Cypherium.
Latest version: 1.0.0

# Uniswap SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Actions Status](https://github.com/Uniswap/uniswap-sdk/workflows/CI/badge.svg)](https://github.com/Uniswap/uniswap-sdk)
[![npm version](https://img.shields.io/npm/v/@uniswap/sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).

## Address Modifications

When deploying a new instance in Cypherium Ropsten, you need to modify the address in the following files:

WETH: `./src/entities/token.ts`
Factory: `./src/constants.ts`

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/cypherium/uniswap-sdk-cypherium.git
```

Move into the uniswap-sdk working directory

```sh
cd uniswap-sdk-cypherium/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @kode-frontend/commitlint-config
Description: Shareable commitlint config enforcing conventional commits
Author: KODE
Latest version: 0.0.3

# @kode-frontend/commitlint-config

[![Version][version-badge]][package]

## 📥 Install

Add `@kode-frontend/commitlint-config` dependency to your project.

```shell
# Using npm
npm i --save-dev @commitlint/cli @kode-frontend/commitlint-config

# Using yarn
yarn add -D @commitlint/cli @kode-frontend/commitlint-config

# Using pnpm
pnpm add -D @commitlint/cli @kode-frontend/commitlint-config
```

## 🎮 Usage

There are two approaches to extend this shared config.

### 1. (Preferred) Reference it in your package.json

```javascript
// commitlint.config.js

module.exports = {
  extends: ['@kode-frontend/commitlint-config'], // => @kode-frontend/commitlint-config
}
```

### 2. Or just the scope/owner of the package.

Just like "normal" extends listed above, this will add `<scope>/commitlint-config`.

```javascript
// commitlint.config.js

module.exports = {
  extends: ['@kode-frontend'], // => @kode-frontend/commitlint-config
}
```

[version-badge]: https://img.shields.io/npm/v/@kode-frontend/commitlint-config.svg?style=flat-square
[package]: https://www.npmjs.com/package/@kode-frontend/commitlint-config
npm package: @kode-frontend/eslint-config
Description: Shareable ESLint config enforcing best practices
Author: KODE
Latest version: 0.0.8

Описание [на русском](https://github.com/appKODE/frontend-depend/blob/main/packages/eslint-config/docs/README-ru.md)

# @kode-frontend/eslint-config

[![Version][version-badge]][package]

## 📥 Install

Add `@kode-frontend/eslint-config` dependency to your project.

```shell
# Using npm
npm install --save-dev @kode-frontend/eslint-config

# Using yarn
yarn add -D @kode-frontend/eslint-config

# Using pnpm
pnpm install -D @kode-frontend/eslint-config
```

## 🎮 Usage

There are two configurations to extend this shared config.

### 1. React (web)

Contains:

- React
- Typescript
- Jest

```json
// .eslintrc.cjs

{
  "extends": ["@kode-frontend/eslint-config/web"]
}
```

### 2. React Native (mobile)

Contains:

- React Native
- Typescript
- Jest

```json
// .eslintrc.cjs

{
  "extends": ["@kode-frontend/eslint-config/native"]
}
```

## 📖 Sort configurations

You can optionally add sort configuration to the web and native configs.

```json
// .eslintrc.cjs

{
  "extends": [
    "@kode-frontend/eslint-config/{web/native}",
    "@kode-frontend/eslint-config/sort"
  ]
}
```

It will sort the enums, interfaces, jsx props, maps, object types, objects, union types, and more. You can find more details in [this documentation]().

It can be useful to have a diff that is easier to read, or to have consistent code.

## 📝 Configuration

You can _override rules_ from the shared configuration, by setting your own values within the rules property:

```json
// .eslintrc.cjs

{
  "extends": "@kode-frontend/eslint-config/{web,native}",
  "rules": {
    "react/jsx-newline": "warn"
  }
}
```

You might also need to add the following to your ESLint config if you get an error about Jest not being able to detect the version:

```json
// .eslintrc.cjs

{
  "settings": {
    "jest": { "version": "detect" }
  }
}
```

### Scripts

Some commonly used scripts in `package.json`.

```json
// package.json

{
  "scripts": {
    "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
    "lint:fix": "eslint . --fix --ext ts,tsx"
  }
}
```

## 🐛 Possible problems

### React-Native

If you get an error about "EEXIST: file already exists, mkdir \* info ..."

Just uninstall `@kode-frontend/eslint-config`.

[version-badge]: https://img.shields.io/npm/v/@kode-frontend/eslint-config.svg?style=flat-square
[package]: https://www.npmjs.com/package/@kode-frontend/eslint-config