# @motss-changesets/config

> Utilities for reading and parsing Changeset's config

Latest version **2.2.4** (published 2022-11-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @motss-changesets/config
pnpm add @motss-changesets/config
yarn add @motss-changesets/config
bun add @motss-changesets/config
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score; popular repo.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.2.4 |
| Published | 2022-11-06 |
| First published | 2022-11-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 7 |
| Unpacked size | 52.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12454 |
| Maintainers | motss |

## Links

- npm: https://www.npmjs.com/package/@motss-changesets/config
- Repository: https://github.com/changesets/changesets.git#main
- Homepage: https://github.com/changesets/changesets/tree/main#readme
- Issues: https://github.com/changesets/changesets/issues
- npm.io page: https://npm.io/package/@motss-changesets/config

## Dependencies (7)

- [fs-extra](https://npm.io/package/fs-extra.md) ^7.0.1
- [micromatch](https://npm.io/package/micromatch.md) ^4.0.2
- [@manypkg/get-packages](https://npm.io/package/@manypkg/get-packages.md) ^1.1.3
- [@motss-changesets/types](https://npm.io/package/@motss-changesets/types.md) ^5.2.4
- [@motss-changesets/errors](https://npm.io/package/@motss-changesets/errors.md) ^0.1.8
- [@motss-changesets/logger](https://npm.io/package/@motss-changesets/logger.md) ^0.0.9
- [@motss-changesets/get-dependents-graph](https://npm.io/package/@motss-changesets/get-dependents-graph.md) ^1.3.8

## Recent versions

- 2.2.4 (latest) — 2022-11-06
- 2.2.3 — 2022-11-06
- 2.2.2 — 2022-11-06
- 2.2.1 — 2022-11-06

## README

# @changesets/config

> Utilities for reading and parsing Changeset's config

[![View changelog](https://img.shields.io/badge/changelogs.xyz-Explore%20Changelog-brightgreen)](https://changelogs.xyz/@changesets/config)

```tsx
import { parse, read, ValidationError } from "@changesets/config";

let config = await read(process.cwd(), workspaces);

let config = parse({ commit: true }, workspaces);

try {
  return parse({ commit: true }, workspaces);
} catch (err) {
  if (err instanceof ValidationError) {
    let message = err.message;
  } else {
    throw err;
  }
}
```

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