{"_id":"@artessan-devs/sr-uv-plugin","_rev":"3-30fbbd59314e999b9d7a881786921f5a","name":"@artessan-devs/sr-uv-plugin","dist-tags":{"dev":"1.0.0-dev.2","latest":"1.1.0"},"versions":{"1.0.0-dev.2":{"name":"@artessan-devs/sr-uv-plugin","version":"1.0.0-dev.2","keywords":["semantic-release","plugin","uv","pyproject","python"],"author":{"name":"Casanova J.","email":"johann@artesssandevs.co"},"license":"MIT","_id":"@artessan-devs/sr-uv-plugin@1.0.0-dev.2","maintainers":[{"name":"artessan","email":"johann@artessandevs.co"}],"homepage":"https://github.com/Artessan-Devs/sr-uv-plugin#readme","bugs":{"url":"https://github.com/Artessan-Devs/sr-uv-plugin/issues"},"dist":{"shasum":"0a2e598173a6a9e618bbf5f9ffbaaee384fc252c","tarball":"https://registry.npmjs.org/@artessan-devs/sr-uv-plugin/-/sr-uv-plugin-1.0.0-dev.2.tgz","fileCount":9,"integrity":"sha512-QxxcVn1COPoI3sXOwjUPLW/8aEHAdYWGf3NkXc0yAF9GC4+ovZDHQHffWH006BNYTVW9UoSDWoSVL/MA7lDJJg==","signatures":[{"sig":"MEUCIGlwpTxXDf4mP67StHbMtkyIg6BSK0vRsVimsy97IEmDAiEApT86PB5eq99SrEI0wn/OhGlRrRhaCmWXa58kcT8T0Mk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6418},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"3188bf1201dee2437067d9d3dbc9c6b9a4eb012b","scripts":{"test":"vitest run","build":"vite build","clean":"rm -rf dist","prepare":"npm run clean && npm run build","release":"semantic-release","test:watch":"vitest watch"},"_npmUser":{"name":"artessan","email":"johann@artessandevs.co"},"repository":{"url":"git+https://github.com/Artessan-Devs/sr-uv-plugin.git","type":"git"},"_npmVersion":"10.9.2","description":"semantic release plugin for uv","directories":{},"_nodeVersion":"22.15.0","dependencies":{"@iarna/toml":"^2.2.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.3.3","vitest":"^3.1.2","ts-node":"^10.9.2","typescript":"^5.8.3","@types/node":"^22.15.3","vite-plugin-dts":"^4.5.4","semantic-release":"^23.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sr-uv-plugin_1.0.0-dev.2_1748174977759_0.3650780113136445","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@artessan-devs/sr-uv-plugin","version":"1.0.0","keywords":["semantic-release","plugin","uv","pyproject","python"],"author":{"name":"Casanova J.","email":"johann@artesssandevs.co"},"license":"MIT","_id":"@artessan-devs/sr-uv-plugin@1.0.0","maintainers":[{"name":"artessan","email":"johann@artessandevs.co"}],"homepage":"https://github.com/Artessan-Devs/sr-uv-plugin#readme","bugs":{"url":"https://github.com/Artessan-Devs/sr-uv-plugin/issues"},"dist":{"shasum":"1bb37bf03d99a6d24ce3ae52330a21ed41cc3a07","tarball":"https://registry.npmjs.org/@artessan-devs/sr-uv-plugin/-/sr-uv-plugin-1.0.0.tgz","fileCount":9,"integrity":"sha512-QEhBgkLu7ANZLuRVPXZr0kOTDSzIPVGiclVSIrp7Sa5aM9DhGgnZ6MH1w0UajHv4Mgt0StZLSrutoB2I1m/n/g==","signatures":[{"sig":"MEUCIE0fTAQ8Ja/P7gdJCeA8RcvCTb5y6vmHKa/1Hr792ZkgAiEA70Dm/hi2npCHQQE2JTd1p6syFIKkJYsTYHG6jJDEzDA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6412},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d2210a12af33252b56bde24c8b701671ea05da7d","scripts":{"test":"vitest run","build":"vite build","clean":"rm -rf dist","prepare":"npm run clean && npm run build","release":"semantic-release","test:watch":"vitest watch"},"_npmUser":{"name":"artessan","email":"johann@artessandevs.co"},"repository":{"url":"git+https://github.com/Artessan-Devs/sr-uv-plugin.git","type":"git"},"_npmVersion":"10.9.2","description":"semantic release plugin for uv","directories":{},"_nodeVersion":"22.17.1","dependencies":{"@iarna/toml":"^2.2.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.3.3","vitest":"^3.1.2","ts-node":"^10.9.2","typescript":"^5.8.3","@types/node":"^22.15.3","vite-plugin-dts":"^4.5.4","semantic-release":"^23.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sr-uv-plugin_1.0.0_1753701741781_0.6395072093409107","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@artessan-devs/sr-uv-plugin","version":"1.1.0","description":"semantic release plugin for uv","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"vite build","test":"vitest run","test:watch":"vitest watch","clean":"node -e \"import('fs/promises').then(fs => fs.rm('dist', { recursive: true, force: true }))\"","prepare":"npm run clean && npm run build","release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/Artessan-Devs/sr-uv-plugin.git"},"keywords":["semantic-release","plugin","uv","pyproject","python"],"author":{"name":"Casanova J.","email":"johann@artesssandevs.co"},"license":"MIT","devDependencies":{"@types/node":"^22.15.3","semantic-release":"^23.0.0","ts-node":"^10.9.2","typescript":"^5.8.3","vite":"^6.3.3","vite-plugin-dts":"^4.5.4","vitest":"^3.1.2"},"dependencies":{"@iarna/toml":"^2.2.5"},"publishConfig":{"access":"public"},"_id":"@artessan-devs/sr-uv-plugin@1.1.0","gitHead":"03835b42bb8ad2710888958c5ab91ac475e515b9","bugs":{"url":"https://github.com/Artessan-Devs/sr-uv-plugin/issues"},"homepage":"https://github.com/Artessan-Devs/sr-uv-plugin#readme","_nodeVersion":"22.21.1","_npmVersion":"10.9.3","dist":{"integrity":"sha512-5//thKwb8PEdxlcbe85qsENxBxtLIrAccRECUvHjqjYc/3o+WakFucjxmRu2eX7bTmlKq036wO6R/toKoWRh6w==","shasum":"c6bc0b8791dcb2af088651dbc1cc1441339329b4","tarball":"https://registry.npmjs.org/@artessan-devs/sr-uv-plugin/-/sr-uv-plugin-1.1.0.tgz","fileCount":9,"unpackedSize":5344,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDMXNsb4+UlJ8MJ/c7072L1xAcoJT2Pv1adTS7l2cXw1gIhAKrszy2Hq/6uZBjoH4nRkqS/4QkdoZ4IrjxtIewDYB0q"}]},"_npmUser":{"name":"artessan","email":"johann@artessandevs.co"},"directories":{},"maintainers":[{"name":"artessan","email":"johann@artessandevs.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sr-uv-plugin_1.1.0_1766247526620_0.658111135447742"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-25T12:09:37.647Z","modified":"2025-12-20T16:18:46.967Z","1.0.0-dev.2":"2025-05-25T12:09:37.953Z","1.0.0":"2025-07-28T11:22:21.971Z","1.1.0":"2025-12-20T16:18:46.755Z"},"bugs":{"url":"https://github.com/Artessan-Devs/sr-uv-plugin/issues"},"author":{"name":"Casanova J.","email":"johann@artesssandevs.co"},"license":"MIT","homepage":"https://github.com/Artessan-Devs/sr-uv-plugin#readme","keywords":["semantic-release","plugin","uv","pyproject","python"],"repository":{"type":"git","url":"git+https://github.com/Artessan-Devs/sr-uv-plugin.git"},"description":"semantic release plugin for uv","maintainers":[{"name":"artessan","email":"johann@artessandevs.co"}],"readme":"# semantic-release-pyproject\n\nA [semantic-release](https://semantic-release.gitbook.io/semantic-release/) plugin to automatically update the version in your Python `pyproject.toml` file during release.\n\n## Installation\n\nInstall the plugin from npm:\n\n```bash\nnpm install --save-dev @artessan-devs/sr-uv-plugin\n```\n\n## Usage\n\n1. **Add the plugin to your semantic-release configuration**\n\nUpdate your `.releaserc.json` to include the plugin:\n\n```json\n{\n  \"branches\": [\n    \"main\",\n    { \"name\": \"dev\", \"prerelease\": true }\n  ],\n  \"plugins\": [\n    \"@artessan-devs/sr-uv-plugin\",\n    \"@semantic-release/commit-analyzer\",\n    \"@semantic-release/release-notes-generator\",\n    \"@semantic-release/npm\",\n    [\n      \"@semantic-release/git\",\n      {\n        \"assets\": [\"pyproject.toml\", \"CHANGELOG.md\"]\n      }\n    ]\n  ]\n}\n```\n\n2. **Commit the updated `pyproject.toml` file**\n\nWhen the plugin updates the `pyproject.toml` file during the release process, it will automatically commit the changes to your repository. The `@semantic-release/git` plugin ensures that the updated `pyproject.toml` and other specified assets (e.g., `CHANGELOG.md`) are committed.\n\n## What it does\n\n- **verifyConditions**: Ensures `pyproject.toml` exists and contains a `[project]` section.\n- **prepare**: Updates the `[project].version` field in `pyproject.toml` to match the release version.\n\n## Development & Testing\n\n- Tests are located in `test/semantic-release-pyproject.test.ts` and use [vitest](https://vitest.dev/).\n- Run tests with:\n\n```bash\nnpm test\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}