# @goodhood/icons

> SVG icons to use in GoodHood projects

Latest version **5.1.3** (published 2023-10-10) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @goodhood/icons
pnpm add @goodhood/icons
yarn add @goodhood/icons
bun add @goodhood/icons
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 5.1.3 |
| Published | 2023-10-10 |
| First published | 2020-05-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 337.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Good Hood GmbH |
| Maintainers | hahiii, fweinrich, spossner, rejas, iamuchejude, peterhassler |

## Links

- npm: https://www.npmjs.com/package/@goodhood/icons
- Repository: https://github.com/goodhood-eu/goodhood
- Homepage: https://github.com/goodhood-eu/goodhood/packages/icons#readme
- Issues: https://github.com/goodhood-eu/goodhood/issues
- npm.io page: https://npm.io/package/@goodhood/icons

## Recent versions

- 5.1.3 (latest) — 2023-10-10
- 4.0.0-beta.0 (beta) — 2023-01-24
- 5.1.2 — 2023-09-29
- 5.1.1 — 2023-09-20
- 5.1.0 — 2023-08-31
- 5.0.1 — 2023-08-21
- 5.0.0 — 2023-02-06
- 4.0.1 — 2023-02-06
- 4.0.0 — 2023-01-24
- 3.6.0 — 2023-01-19
- 3.6.0-beta.0 — 2023-01-19
- 3.5.1 — 2023-01-18
- 3.5.0 — 2022-11-10
- 3.4.0 — 2022-11-01
- 3.3.0 — 2022-09-13
- … 33 more at https://npm.io/package/@goodhood/icons/versions

## README

goodhood
========

An umbrella repository to hold all "semi open source" packages used by GoodHood exclusively.

- [@goodhood/chargebee](https://goodhood-eu.github.io/goodhood/packages/chargebee/)
- [@goodhood/components](https://goodhood-eu.github.io/goodhood/packages/components/)
- [@goodhood/icons](https://goodhood-eu.github.io/goodhood/packages/icons/)
- [@goodhood/inputs-minimal](https://goodhood-eu.github.io/goodhood/packages/inputs-minimal/)
- [@goodhood/map](https://goodhood-eu.github.io/goodhood/packages/map/)
- [@goodhood/modals](https://goodhood-eu.github.io/goodhood/packages/modals)
- [@goodhood/tracking](https://goodhood-eu.github.io/goodhood/packages/tracking)

## Setup

- (Install yarn `npm i -g yarn`)
- Install packages: `yarn`

## Preview

- `cd packages/your-package`
- `yarn start`
- or `HOST=192.168.1.3 PORT=1234 yarn start`

## Troubleshooting

### yarn install fails after setting pre-release version in @goodhood/icons

#### Scenario

- `packages/icons/package.json`: update version from (for example) `2.2.0` to `2.3.0-beta.0`
- `yarn`
- Fails with something like this: `error An unexpected error occurred: "expected workspace package to exist for \"chalk\"".`

#### Issue

It's a bug in yarn > 1.18. [There is a long thread on github about it.](https://github.com/yarnpkg/yarn/issues/7807#issuecomment-821722539).

#### Workaround

Pin `@goodhood/icons` version for all packages in workspace. It's sadly the best we can do right now.

🚨 **Watch out!** This may cause issues if you plan to do breaking changes. 🔥

- Open up root `package.json`
- Add the following section: (with adjusted version)
```json
{
  "resolutions": {
    "@goodhood/icons": "2.3.0-beta.0"
  }
}
```

#### Long-term outlook

- Bug won't be fixed most likely. [Yarn 1 was silently deprecated](https://raw.githubusercontent.com/yarnpkg/yarn/master/.github/ISSUE_TEMPLATE/bug_report.md)
- Update to yarn 2

---
_Source: https://npm.io/package/@goodhood/icons · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
