Skip to main content
Glama
README.md834 B
# @changesets/write Writes a changeset to a file. ```js import write from "@changesets/write"; const changeset = { summary: "A description of a minor change", releases: [ { name: "@changesets/something", type: "minor" }, { name: "@changesets/something-else", type: "patch" }, ], }; const uniqueId = await write(changeset, cwd); console.log(uniqueId); // orange-foxes-waggle ``` For example, it can convert: ```json { "summary": "A description of a minor change", "releases": [ { "name": "@changesets/something", "type": "minor" }, { "name": "@changesets/something-else", "type": "patch" } ] } ``` to ```markdown --- "@changesets/something": minor "@changesets/something-else": patch --- A description of a minor change ``` This package will take care of generating a unique id for the changeset.

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