Skip to main content
Glama
index.ts797 B
import assembleReleasePlan from "@changesets/assemble-release-plan"; import readChangesets from "@changesets/read"; import { read } from "@changesets/config"; import { Config, ReleasePlan } from "@changesets/types"; import { getPackages } from "@manypkg/get-packages"; import { readPreState } from "@changesets/pre"; export default async function getReleasePlan( cwd: string, sinceRef?: string, passedConfig?: Config ): Promise<ReleasePlan> { const packages = await getPackages(cwd); const preState = await readPreState(cwd); const readConfig = await read(cwd, packages); const config = passedConfig ? { ...readConfig, ...passedConfig } : readConfig; const changesets = await readChangesets(cwd, sinceRef); return assembleReleasePlan(changesets, packages, config, preState); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ajaystream/hubspot-mcp-custom'

If you have feedback or need assistance with the MCP directory API, please join our Discord server