{"name":"@changesets/pre","version":"3.0.0-next.9","license":"MIT","_id":"@changesets/pre@3.0.0-next.9","maintainers":[{"name":"emmatown","email":"npm@emmas.town"},{"name":"andarist","email":"mateuszburzynski@gmail.com"}],"dist":{"shasum":"60cf02ec1b2eec4eca9d78794e8d1aab79e23b09","tarball":"http://registry-npm.ywwl.com/@changesets/pre/download/@changesets/pre-3.0.0-next.9.tgz","fileCount":5,"integrity":"sha512-NznGjw/PCDy6d74DusPriYbLZQl6O8cvRwuv/qsSKUTF/9O9+EvJnXTx+wtHS9SLJnJqRaGprQ1EMSkjRRyDGQ==","signatures":[{"sig":"MEUCIBl011xAJWFrKZDYgOm6OvemknHMsw1RTJwV/qP04BcwAiEA44ffAyftoEnRLkwBdjilY9cTWbWnJnDJEzU4bYOteM0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIHDSIcfiBR+PRpe1hrpbIji96MEQeK37pYwLQLBYPigfAiEA2EtoWIyMORs8D9rZEYRLJWywDw8zo1XU9oQF61DIqoU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@changesets%2fpre@3.0.0-next.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5686,"size":2450,"noattachment":false,"key":"/@changesets/pre/-/@changesets/pre-3.0.0-next.9.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:858c6375-df88-42cb-85dd-7e21300d9017"}},"repository":{"url":"git+https://github.com/changesets/changesets.git","type":"git","directory":"packages/pre"},"description":"Utils to make a Changesets repo enter and exit pre mode","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@changesets/types":"^7.0.0-next.9","@changesets/errors":"^1.0.0-next.4","@manypkg/get-packages":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"@changesets/test-utils":"0.0.9-next.3"},"_npmOperationalInternal":{"tmp":"tmp/pre_3.0.0-next.9_1785764662494_0.1478515515712795","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":1785764662578,"_cnpm_publish_time":1785764662578,"dist-tags":{"latest":"3.0.0","next":"3.0.0-next.9","temp":"1.0.9-temp.0"}}