Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@changesets/get-release-plan

Package Overview
Dependencies
Maintainers
0
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@changesets/get-release-plan

Reads changesets and adds information on dependents that need bumping

  • 4.0.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created

What is @changesets/get-release-plan?

@changesets/get-release-plan is a utility package that helps you generate a release plan for your project. It is part of the Changesets ecosystem, which is designed to manage versioning and changelogs for multi-package repositories. This package specifically focuses on reading changeset files and generating a release plan based on the changes described in those files.

What are @changesets/get-release-plan's main functionalities?

Generate Release Plan

This feature allows you to generate a release plan by reading changeset files in the current working directory. The `getReleasePlan` function returns an object that includes information about the releases that need to be made, including the packages to be released and their new versions.

const { getReleasePlan } = require('@changesets/get-release-plan');

async function generateReleasePlan() {
  const cwd = process.cwd();
  const releasePlan = await getReleasePlan(cwd);
  console.log(releasePlan);
}

generateReleasePlan();

Custom Directory

This feature allows you to specify a custom directory from which to read changeset files. This is useful if your changeset files are not located in the current working directory.

const { getReleasePlan } = require('@changesets/get-release-plan');

async function generateReleasePlan(customDir) {
  const releasePlan = await getReleasePlan(customDir);
  console.log(releasePlan);
}

generateReleasePlan('/path/to/your/project');

Other packages similar to @changesets/get-release-plan

FAQs

Package last updated on 01 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc