{"name":"@changesets/pre","version":"3.0.0-next.6","license":"MIT","_id":"@changesets/pre@3.0.0-next.6","maintainers":[{"name":"emmatown","email":"npm@emmas.town"},{"name":"andarist","email":"mateuszburzynski@gmail.com"}],"dist":{"shasum":"873f1a13a1e17063aafcc5b0c858ded61ef32055","tarball":"http://registry-npm.ywwl.com/@changesets/pre/download/@changesets/pre-3.0.0-next.6.tgz","fileCount":9,"integrity":"sha512-XVZ4JE4UE1bO1JtxxoBkoueHlzWNe227IpfJGlpiD7ZTfdidlRh+4tHxf452IcGMA3rEe3hWPhFE0tdL3uU2lA==","signatures":[{"sig":"MEUCIGhTdkmtRihF1piczQ/YZH5DUAQUYrwAwt5U6CBb6e1aAiEA8MCQu0puKrs5sA7qHiyj6p/JPiyJALKr1TfoYV36D8I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@changesets%2fpre@3.0.0-next.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25546,"size":6356,"noattachment":false,"key":"/@changesets/pre/-/@changesets/pre-3.0.0-next.6.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.17.0","dependencies":{"@changesets/types":"^7.0.0-next.6","@changesets/errors":"^1.0.0-next.3","@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.6_1782892707118_0.07601057779801312","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":1782892707242,"_cnpm_publish_time":1782892707242,"dist-tags":{"latest":"3.0.0","next":"3.0.0-next.9","temp":"1.0.9-temp.0"}}