{"_id":"@capgo/capacitor-standard-version","_rev":"3-96bbac9744461953f879e9046976993f","name":"@capgo/capacitor-standard-version","dist-tags":{"latest":"1.3.32"},"versions":{"1.3.31":{"name":"@capgo/capacitor-standard-version","version":"1.3.31","keywords":["capacitor","capgo","standard-version","bin","cli"],"author":{"name":"Martin Donadieu","email":"martindonadieu@gmail.com"},"license":"MIT","_id":"@capgo/capacitor-standard-version@1.3.31","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://github.com/Cap-go/standard-version-for-capacitor#readme","bugs":{"url":"https://github.com/Cap-go/standard-version-for-capacitor/issues"},"bin":{"capacitor-standard-version":"dist/index.js"},"dist":{"shasum":"6ae1d955034f3ee63953a1a7071c272b91ed2e44","tarball":"https://registry.npmjs.org/@capgo/capacitor-standard-version/-/capacitor-standard-version-1.3.31.tgz","fileCount":28,"integrity":"sha512-xSYWPW7aCJfF7JY0+5zEHDkfn7D5uayFdiGV7Pr9GlA/oTGd61TdOxTnp/OZMXPejKOZofxko9j95afdIwfy3A==","signatures":[{"sig":"MEQCIFUSnE6WdbC28E7mqt2MXR20oFHcBLE54hhhu7WkxpVXAiBBY6kn+MbcJJWvb8MCY9/zVPkf1IqqmCfFgLRBu577sQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capgo%2fcapacitor-standard-version@1.3.31","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":156033},"main":"dist/index.js","gitHead":"a77d35237547f6d4d4603341a8b0d0df2a7f1762","scripts":{"dev":"bun build src/bin/index.ts --outdir dist --target node --format cjs --packages external","lint":"eslint","test":"bun test","build":"bun build src/bin/index.ts --outdir dist --target node --format cjs --minify --packages external","lint:fix":"eslint --fix"},"_npmUser":{"name":"riderx","email":"martin.donadieu@hey.com"},"repository":{"url":"git+https://github.com/Cap-go/standard-version-for-capacitor.git","type":"git"},"_npmVersion":"11.11.0","description":"Default standard-version config for capacitor app","directories":{},"_nodeVersion":"24.14.1","dependencies":{"merge-deep":"^3.0.3","commit-and-tag-version":"^12.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.5","typescript":"^5.9.3","@types/node":"^24.10.4","@antfu/eslint-config":"^6.7.3"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-standard-version_1.3.31_1775670991877_0.6584385290808692","host":"s3://npm-registry-packages-npm-production"}},"1.3.32":{"name":"@capgo/capacitor-standard-version","version":"1.3.32","keywords":["capacitor","capgo","standard-version","bin","cli"],"author":{"name":"Martin Donadieu","email":"martindonadieu@gmail.com"},"license":"MIT","_id":"@capgo/capacitor-standard-version@1.3.32","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://github.com/Cap-go/standard-version-for-capacitor#readme","bugs":{"url":"https://github.com/Cap-go/standard-version-for-capacitor/issues"},"bin":{"capacitor-standard-version":"dist/index.js"},"dist":{"shasum":"0e3d14c36c4e450abf5510761628eb8e7ac3f0a7","tarball":"https://registry.npmjs.org/@capgo/capacitor-standard-version/-/capacitor-standard-version-1.3.32.tgz","fileCount":28,"integrity":"sha512-lfA2rE4iOefO9Hwp/fLTelk3KiKOn/7rLNbvNqWkg9ZVjMDF4B1BySAYvQ6wRLeWUvpVmfoyINseyIPt2yOfvQ==","signatures":[{"sig":"MEYCIQDOs4byUxTAkUBYH+h0PUJ3NxH4FaaAuNlWw9Og0u6SPgIhALLIL76WBa8Bahol+hB3s6MqIf/kt/KKvT9m8nRIqadC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capgo%2fcapacitor-standard-version@1.3.32","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":155802},"main":"dist/index.js","gitHead":"40e1db0a236b7e9a6583fdbee27b20da24b3407b","scripts":{"dev":"bun build src/bin/index.ts --outdir dist --target node --format cjs --packages external","lint":"eslint","test":"bun test","build":"bun build src/bin/index.ts --outdir dist --target node --format cjs --minify --packages external","lint:fix":"eslint --fix"},"_npmUser":{"name":"riderx","email":"martin.donadieu@hey.com"},"repository":{"url":"git+https://github.com/Cap-go/standard-version-for-capacitor.git","type":"git"},"_npmVersion":"11.11.0","description":"Default standard-version config for capacitor app","directories":{},"_nodeVersion":"24.14.1","dependencies":{"merge-deep":"^3.0.3","commit-and-tag-version":"^12.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.5","typescript":"^5.9.3","@types/node":"^24.10.4","@antfu/eslint-config":"^6.7.3"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-standard-version_1.3.32_1776065232966_0.5825106766917325","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-04-08T17:56:31.786Z","modified":"2026-08-19T10:41:12.930Z","1.3.31":"2026-04-08T17:56:32.057Z","1.3.32":"2026-04-13T07:27:13.112Z"},"bugs":{"url":"https://github.com/Cap-go/standard-version-for-capacitor/issues"},"author":{"name":"Martin Donadieu","email":"martindonadieu@gmail.com"},"license":"MIT","homepage":"https://github.com/Cap-go/standard-version-for-capacitor#readme","keywords":["capacitor","capgo","standard-version","bin","cli"],"repository":{"url":"git+https://github.com/Cap-go/standard-version-for-capacitor.git","type":"git"},"description":"Default standard-version config for capacitor app","maintainers":[{"email":"martin.donadieu@hey.com","name":"riderx"},{"email":"tori@capgo.app","name":"torichancapgo"}],"readme":"# @capgo/capacitor-standard-version\n  <a href=\"https://capgo.app/\"><img src='https://raw.githubusercontent.com/Cap-go/capgo/main/assets/capgo_banner.png' alt='Capgo - Instant updates for capacitor'/></a>\n<div align=\"center\">\n  <h2><a href=\"https://capgo.app/?ref=plugin\"> ➡️ Get Instant updates for your App with Capgo</a></h2>\n  <h2><a href=\"https://capgo.app/consulting/?ref=plugin\"> Missing a feature? We’ll build the plugin for you 💪</a></h2>\n</div>\n\nDefault config for `standard-version` in Capacitor apps.\n\nUse it as a built-in replacement for https://www.npmjs.com/package/standard-version.\n\nAll config from `.versionrc`, `.versionrc.json`, or `.versionrc.js` is supported.\n\n## Install\n\n`npm i -D @capgo/capacitor-standard-version`\n\nThe legacy unscoped package name `capacitor-standard-version` now lives under the `@capgo` npm org. The CLI binary name stays `capacitor-standard-version`.\n\n## Usage\n\nRun `npx capacitor-standard-version` after installing it locally, or `npx @capgo/capacitor-standard-version` to execute it directly from npm.\n\nFor a stable release use `npx capacitor-standard-version`.\n\nFor an alpha prerelease use `npx capacitor-standard-version --prerelease alpha`.\n\nExample GitHub Action to run it on every commit to `main` and `development`.\n\n```yml\non:\n  push:\n    branches:\n      - main\n      - development\n\njobs:\n  bump-version:\n    if: \"!startsWith(github.event.head_commit.message, 'chore(release):')\"\n    runs-on: ubuntu-latest\n    name: Bump version and create changelog with standard version\n    steps:\n      - name: Check out\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          token: '${{ secrets.PERSONAL_ACCESS_TOKEN }}'\n      - name: Git config\n        run: |\n          git config --local user.name \"github-actions[bot]\"\n          git config --local user.email \"github-actions[bot]@users.noreply.github.com\"\n      - name: Create bump and changelog\n        if: github.ref == 'refs/heads/main'\n        run: npx @capgo/capacitor-standard-version\n      - name: Create bump and changelog\n        if: github.ref != 'refs/heads/main'\n        run: npx @capgo/capacitor-standard-version --prerelease alpha\n      - name: Push to origin\n        run: |\n          CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)\n          remote_repo=\"https://${GITHUB_ACTOR}:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git\"\n          git pull $remote_repo $CURRENT_BRANCH\n          git push $remote_repo HEAD:$CURRENT_BRANCH --follow-tags --tags\n```\nFor this action to work, store `PERSONAL_ACCESS_TOKEN` in your repository or organization GitHub Actions Secrets settings and reference it in the workflow as `${{ secrets.PERSONAL_ACCESS_TOKEN }}`. You can create the token by following this guide: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token and add it to GitHub Actions Secrets by following this guide: https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions\n","readmeFilename":"README.md"}