Package Exports
- @changesets/config
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@changesets/config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@changesets/config
Utilities for reading and parsing Changeset's config
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;
}
}