{"name":"@changesets/write","version":"1.0.0-next.7","license":"MIT","_id":"@changesets/write@1.0.0-next.7","maintainers":[{"name":"emmatown","email":"npm@emmas.town"},{"name":"andarist","email":"mateuszburzynski@gmail.com"}],"dist":{"shasum":"ca8afde7af9535d6b2d8a3c385c9759e51d25e9f","tarball":"http://registry-npm.ywwl.com/@changesets/write/download/@changesets/write-1.0.0-next.7.tgz","fileCount":5,"integrity":"sha512-TYB9P8TFVDPd7mVzE1JmXv7hCYe4kjEaYnj9QEmmQqdtqZh/OwPGoO8RF2fL74pZ4zLIYRDN3yCtn3YXRK+VAA==","signatures":[{"sig":"MEQCIESsItFkgi8wWTuTq2jbzWWRGojlB2/mZTkFh0xDtznfAiAuKXOllPr51dB5/M9WzPLkI3NVlC18zWgEeD7H6FWa2A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@changesets%2fwrite@1.0.0-next.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4455,"size":2169,"noattachment":false,"key":"/@changesets/write/-/@changesets/write-1.0.0-next.7.tgz"},"type":"module","engines":{"node":"^22.11 || ^24 || >=26"},"exports":{".":"./dist/index.mjs","./package.json":"./package.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1381c2c0-4773-4d73-9a40-e1e37bc92fc0"}},"repository":{"url":"git+https://github.com/changesets/changesets.git","type":"git","directory":"packages/write"},"description":"Writes a changeset to a file","directories":{},"_nodeVersion":"24.18.0","dependencies":{"human-id":"^4.2.0","@changesets/types":"^7.0.0-next.7","@changesets/format":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"@changesets/parse":"1.0.0-next.8","@changesets/test-utils":"0.0.9-next.3"},"_npmOperationalInternal":{"tmp":"tmp/write_1.0.0-next.7_1784289803486_0.8089075071318159","host":"s3://npm-registry-packages-npm-production"},"readme":"# @changesets/write\n\nWrites a changeset to a file.\n\n```js\nimport { writeChangeset } from \"@changesets/write\";\n\nconst changeset = {\n  summary: \"A description of a minor change\",\n  releases: [\n    { name: \"@changesets/something\", type: \"minor\" },\n    { name: \"@changesets/something-else\", type: \"patch\" },\n  ],\n};\n\nconst uniqueId = await writeChangeset(changeset, cwd);\nconsole.log(uniqueId); // orange-foxes-waggle\n```\n\nFor example, it can convert:\n\n```json\n{\n  \"summary\": \"A description of a minor change\",\n  \"releases\": [\n    { \"name\": \"@changesets/something\", \"type\": \"minor\" },\n    { \"name\": \"@changesets/something-else\", \"type\": \"patch\" }\n  ]\n}\n```\n\nto\n\n```markdown\n---\n\"@changesets/something\": minor\n\"@changesets/something-else\": patch\n---\n\nA description of a minor change\n```\n\nThis package will take care of generating a unique id for the changeset.\n","publish_time":1784289803651,"_cnpm_publish_time":1784289803651,"dist-tags":{"latest":"1.0.1","next":"1.0.0-next.9","temp":"0.1.7-temp.0"}}