An open API service indexing awesome lists of open source software.

https://github.com/gearonixx/grnx-utils

A collection of general configs, utilities, tools that can be used in other projects
https://github.com/gearonixx/grnx-utils

eslint nx presets react typescript

Last synced: 18 days ago
JSON representation

A collection of general configs, utilities, tools that can be used in other projects

Awesome Lists containing this project

README

          


@grnx-utils



🛠️ General configs, utilities, tools that can be used in other projects 🛠️



## What is it?

This is just a set of small utilities and presets for other
projects to avoid copying the source code in each project.

Over time, the project will expand.

## Available packages

- [@grnx-utils/eslint](./packages/eslint) — eslint config built on top of [eslint-kit](https://github.com/eslint-kit/eslint-kit) presets
- [@grnx-utils/apollo](./packages/apollo) — wrapper over [@apollo/client](https://www.apollographql.com/docs/react/), which makes the syntax cleaner
- [@grnx-utils/local-storage](./packages/local-storage) — convenient API for working with localStorage
- [@grnx-utils/react-hooks](./packages/react-hooks) — collection of React hooks
- [@grnx-utils/types](./packages/types) — collection of types and interfaces for your project
- [@grnx-utils/css-presets](./packages/css-presets) — set of mixins and variables for different CSS libraries and frameworks
- [@grnx-utils/react](./packages/react) — set of React components that make React syntactically better

## Quick installation

```
yarn add @grnx-utils/
```

## Development and contribution

### Internal scripts

#### Create library

```shell
nx gen --type=library --name=
```

#### Create react library

```shell
nx gen --type=react-library --name=
```

This commands will launch [`@grnx-utils/generator`](./tools/generator)

#### Run tests with Vitest

```shell
nx test
```