changesets-pre 2.0.0
Install from the command line:
Learn more about npm packages
$ npm install @fond-of/changesets-pre@2.0.0
Install via package.json:
"@fond-of/changesets-pre": "2.0.0"
About this version
Enter and exit pre mode in a Changesets repo.
import { enterPre, exitPre } from "@fond-of/changesets-pre";
await enterPre(cwd, tag);
let preState = await readPreState(cwd);
// version packages with @fond-of/changesets-cli or get a release plan and apply it
await exitPre(cwd);
This package is used by internally by Changesets to enter and exit pre mode along with reading the pre state for the publish
and version
commands, you should only need it if you're using @fond-of/changesets-assemble-release-plan
, implementing Changesets or want to enter or exit pre mode programmatically.
import { PreState } from "@fond-of/changesets-types";
export function enterPre(cwd: string, tag: string): Promise<void>;
export function exitPre(cwd: string): Promise<void>;
export function readPreState(cwd: string): Promise<PreState>;
Details
- changesets-pre
- fond-of
- 4 months ago
- MIT
- 6 dependencies
Assets
- changesets-pre-2.0.0.tgz
Download activity
- Total downloads 16
- Last 30 days 0
- Last week 0
- Today 0