{"name":"@changesets/pre","version":"3.0.0-next.1","license":"MIT","_id":"@changesets/pre@3.0.0-next.1","maintainers":[{"name":"noviny","email":"benjaminconolly@gmail.com"},{"name":"changesets-release-bot","email":"automation+changesets@thinkmill.com.au"},{"name":"emmatown","email":"npm@emmas.town"},{"name":"andarist","email":"mateuszburzynski@gmail.com"}],"homepage":"https://github.com/changesets/changesets/tree/main#readme","bugs":{"url":"https://github.com/changesets/changesets/issues"},"dist":{"shasum":"57444cbed34824aca3f1269e061290921d330135","tarball":"http://registry-npm.ywwl.com/@changesets/pre/download/@changesets/pre-3.0.0-next.1.tgz","fileCount":8,"integrity":"sha512-Qqw4ucOYA9YJbsKaZd/aBBdYIxA7APSC4qKwfs4zG4O0MGoML66g9TD6PNTh6DDuE0D8iuerS2UWe17EvijVqQ==","signatures":[{"sig":"MEUCIQCizZQN+8taG509NJI/VCGH9K2F4G01SJEPQJG7WIOhSAIgW5b2LSOUXC2mX89gkCn4a57/MZNXldnRK0dhHv5Z+l4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@changesets%2fpre@3.0.0-next.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22013,"size":4968,"noattachment":false,"key":"/@changesets/pre/-/@changesets/pre-3.0.0-next.1.tgz"},"type":"module","engines":{"node":">=20.0.0"},"exports":{".":"./dist/changesets-pre.js","./package.json":"./package.json"},"gitHead":"d189da19e042b4e2a177bd5a04776e2ec58cac2f","_npmUser":{"name":"changesets-release-bot","email":"automation+changesets@thinkmill.com.au"},"repository":{"url":"git+https://github.com/changesets/changesets.git#main","type":"git"},"_npmVersion":"10.9.3","description":"Utils to make a Changesets repo enter and exit pre mode","directories":{},"_nodeVersion":"22.20.0","dependencies":{"@changesets/types":"^7.0.0-next.1","@changesets/errors":"^1.0.0-next.1","@manypkg/get-packages":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@changesets/test-utils":"0.0.9-next.1"},"_npmOperationalInternal":{"tmp":"tmp/pre_3.0.0-next.1_1761830104224_0.608066880616076","host":"s3://npm-registry-packages-npm-production"},"readme":"# @changesets/pre\n\n[![Open on npmx.dev](https://npmx.dev/api/registry/badge/version/@changesets/pre?name=true)](https://npmx.dev/package/@changesets/pre)\n[![View changelog](https://npmx.dev/api/registry/badge/version/@changesets/cli?color=229fe4&value=View+changelog&label=+)](./CHANGELOG.md)\n\nEnter and exit pre mode in a Changesets repo.\n\n## Usage\n\n```ts\nimport { enterPre, exitPre } from \"@changesets/pre\";\n\nawait enterPre(cwd, tag);\n\nlet preState = await readPreState(cwd);\n\n// version packages with @changesets/cli or get a release plan and apply it\nawait exitPre(cwd);\n```\n\nThis 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.\n\n## Types\n\n```ts\nimport type { PreState } from \"@changesets/types\";\n\nexport function enterPre(cwd: string, tag: string): Promise<void>;\nexport function exitPre(cwd: string): Promise<void>;\nexport function readPreState(cwd: string): Promise<PreState>;\n```\n","publish_time":1761830104424,"_cnpm_publish_time":1761830104424,"dist-tags":{"latest":"3.0.0","next":"3.0.0-next.9","temp":"1.0.9-temp.0"}}