@changesets/pre
Utils to make a Changesets repo enter and exit pre mode
Last updated 7 months ago by GitHub Actions .
MIT · Repository · Original npm · Tarball · package.json
$ npm install @changesets/pre 
SYNC missed versions from official npm registry.

@changesets/pre

Open on npmx.dev View changelog

Enter and exit pre mode in a Changesets repo.

Usage

import { enterPre, exitPre } from "@changesets/pre";

await enterPre(cwd, tag);

let preState = await readPreState(cwd);

// version packages with @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 @changesets/assemble-release-plan, implementing Changesets or want to enter or exit pre mode programmatically.

Types

import type { PreState } from "@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>;

Current Tags

  • 3.0.0                                ...           latest (4 months ago)
  • 3.0.0-next.9                                ...           next (4 months ago)
  • 1.0.9-temp.0                                ...           temp (5 years ago)

33 Versions

  • 3.0.0                                ...           4 months ago
  • 3.0.0-next.9                                ...           4 months ago
  • 3.0.0-next.8                                ...           4 months ago
  • 3.0.0-next.7                                ...           4 months ago
  • 3.0.0-next.6                                ...           5 months ago
  • 3.0.0-next.5                                ...           6 months ago
  • 3.0.0-next.4                                ...           6 months ago
  • 3.0.0-next.3                                ...           7 months ago
  • 3.0.0-next.2                                ...           7 months ago
  • 3.0.0-next.1                                ...           a year ago
  • 3.0.0-next.0                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           3 years ago
  • 1.0.14                                ...           4 years ago
  • 1.0.13                                ...           4 years ago
  • 1.0.12                                ...           4 years ago
  • 1.0.11                                ...           5 years ago
  • 1.0.10                                ...           5 years ago
  • 1.0.9                                ...           5 years ago
  • 1.0.9-temp.0                                ...           5 years ago
  • 1.0.8                                ...           5 years ago
  • 1.0.7                                ...           5 years ago
  • 1.0.6                                ...           6 years ago
  • 1.0.5                                ...           6 years ago
  • 1.0.4                                ...           7 years ago
  • 1.0.3                                ...           7 years ago
  • 1.0.2                                ...           7 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
  • 0.2.0                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
Downloads
Total 134
Today 0
This Week 0
This Month 75
Last Day 0
Last Week 55
Last Month 34
Dependencies (3)
Dev Dependencies (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE