{"name":"@changesets/pre","version":"3.0.0-next.7","license":"MIT","_id":"@changesets/pre@3.0.0-next.7","maintainers":[{"name":"emmatown","email":"npm@emmas.town"},{"name":"andarist","email":"mateuszburzynski@gmail.com"}],"dist":{"shasum":"2440712e4a8af0acda5f95b31ba885ef788a667f","tarball":"http://registry-npm.ywwl.com/@changesets/pre/download/@changesets/pre-3.0.0-next.7.tgz","fileCount":5,"integrity":"sha512-7s76Bwnn0pmReKOGbUeb8mRqy8rUR5Q/APFfdHcgOvSG2GRDJB3uA+79M53cv6/Khe0vbnjuHTM4Yxmt0JpiMQ==","signatures":[{"sig":"MEQCIAnuXD7YlKhCPbgsiftzQ1mxZ12+7PLz2pm4J3LvPxDIAiAFH/32vAIpa9uR6vq/7MY3YQvYjU0lJWefKFjKLvPlpg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@changesets%2fpre@3.0.0-next.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5262,"size":2357,"noattachment":false,"key":"/@changesets/pre/-/@changesets/pre-3.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: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.7","@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.7_1784289803330_0.6232525007124219","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":1784289803491,"_cnpm_publish_time":1784289803491,"dist-tags":{"latest":"3.0.0","next":"3.0.0-next.9","temp":"1.0.9-temp.0"}}