@abizzle/changesets-config
TypeScript icon, indicating that this package has built-in type declarations

2.4.0-next.1 • Public • Published

@changesets/config

Utilities for reading and parsing Changeset's config

View changelog

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;
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @abizzle/changesets-config

Weekly Downloads

1

Version

2.4.0-next.1

License

MIT

Unpacked Size

60 kB

Total Files

10

Last publish

Collaborators

  • virtuaboza