{"name":"@changesets/pre","version":"3.0.0-next.2","license":"MIT","_id":"@changesets/pre@3.0.0-next.2","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":"9fad67295d5c4b0dc4ed4483f4b79a6c526fc488","tarball":"http://registry-npm.ywwl.com/@changesets/pre/download/@changesets/pre-3.0.0-next.2.tgz","fileCount":8,"integrity":"sha512-SOxbNiEzsFGAVn5Ap+zAmrnuq/IDFRcC1v58dfJlijWqp+Zlc7QwxIko9aNyR7iz8aWTRd6QdIRjGYXLHP/riQ==","signatures":[{"sig":"MEUCIHx8zI+HbpVpB9f27Xnd/OB7/ZUVGCvp/ViY0+rVWjXRAiEA6vu0Itt9YRTtCNr4hWPQ1WDsEOqSAPtV8k1+GsT9tjo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@changesets%2fpre@3.0.0-next.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22933,"size":5169,"noattachment":false,"key":"/@changesets/pre/-/@changesets/pre-3.0.0-next.2.tgz"},"type":"module","engines":{"node":">=20.19.0"},"exports":{".":"./dist/changesets-pre.js","./package.json":"./package.json"},"gitHead":"8e9afd1d3eb9adf04fbcd61c8ca714177656711b","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:292875a0-c9d6-4cfd-ae7d-3b2f73c6e33a"}},"repository":{"url":"git+https://github.com/changesets/changesets.git#main","type":"git"},"_npmVersion":"11.11.0","description":"Utils to make a Changesets repo enter and exit pre mode","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@changesets/types":"^7.0.0-next.2","@changesets/errors":"^1.0.0-next.1","@manypkg/get-packages":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@changesets/test-utils":"0.0.9-next.2"},"_npmOperationalInternal":{"tmp":"tmp/pre_3.0.0-next.2_1777877446473_0.1503414071400051","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":1777877446613,"_cnpm_publish_time":1777877446613,"dist-tags":{"latest":"3.0.0","next":"3.0.0-next.9","temp":"1.0.9-temp.0"}}