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

2.3.1-fork.1 • Public • Published

@wuxh/changesets-config (fork)

来自需求 #1210, 仅先满足个人业务 From requirement #1210, personal business only first

感谢伟大的开源! Thanks for the great open source!

Click to expand

@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 @wuxh/changesets-config

Weekly Downloads

0

Version

2.3.1-fork.1

License

MIT

Unpacked Size

44.1 kB

Total Files

11

Last publish

Collaborators

  • wxh16144