{"id":19648023,"url":"https://github.com/0x-jerry/x-release","last_synced_at":"2026-05-17T00:04:11.596Z","repository":{"id":103620146,"uuid":"442712800","full_name":"0x-jerry/x-release","owner":"0x-jerry","description":"A tool that helps you to create a new release quickly.","archived":false,"fork":false,"pushed_at":"2025-09-11T07:57:22.000Z","size":283,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T22:38:50.349Z","etag":null,"topics":["nodejs","release-tool"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0x-jerry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-12-29T08:44:39.000Z","updated_at":"2025-09-11T07:57:19.000Z","dependencies_parsed_at":"2024-05-01T05:24:31.117Z","dependency_job_id":"3b0d91d4-7772-4814-a008-4696e02eb9cb","html_url":"https://github.com/0x-jerry/x-release","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":"0x-jerry/tpl-node-cli","purl":"pkg:github/0x-jerry/x-release","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x-jerry%2Fx-release","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x-jerry%2Fx-release/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x-jerry%2Fx-release/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x-jerry%2Fx-release/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x-jerry","download_url":"https://codeload.github.com/0x-jerry/x-release/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x-jerry%2Fx-release/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017148,"owners_count":26085984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nodejs","release-tool"],"created_at":"2024-11-11T14:46:55.301Z","updated_at":"2025-10-13T22:38:50.829Z","avatar_url":"https://github.com/0x-jerry.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# X-Release\n\nA tool that helps you to create a new release quickly.\n\n## Install\n\n```sh\npnpm i @0x-jerry/x-release -D\n# or\npnpm i @0x-jerry/x-release -g\n```\n\n## Usage\n\n```\nUsage:\n  $ x-release [new-version]\n\nCommands:\n  [new-version]  the tasks to run.\n\nExample:\n\n- x-release --patch\n- x-release 0.0.1\n- x-release 0.1.1 --publish false\n\n\nFor more info, run any command with the `--help` flag:\n  $ x-release --help\n\nOptions:\n  --patch                auto-increment patch version number\n  --minor                auto-increment minor version number\n  --major                auto-increment major version number\n  --prepatch             auto-increment prepatch version number\n  --preminor             auto-increment preminor version number\n  --premajor             auto-increment premajor version number\n  --prerelease           auto-increment prerelease version number\n  --publish              run npm publish, default is true\n  --tag \u003ctag-tpl\u003e        new tag format, default is: \"v${version}\"\n  --commit \u003ccommit-tpl\u003e  the commit message template, default is: \"chore: release v${version}\"\n  -h, --help             Display this message\n  -v, --version          Display version number\n```\n\n## Configuration\n\nConfig file: `release.conf.ts`\n\nExample config file:\n\n```ts\nimport { defineConfig } from '@0x-jerry/x-release'\n\nexport default defineConfig({\n  /**\n   * run npm publish, default true\n   */\n  publish: true,\n  /**\n   * tag template\n   */\n  tag: '${prefix}v${version}',\n  /**\n   * commit template\n   */\n  commit: 'chore: release ${prefix}v${version}',\n  /**\n   * run tasks after bump version\n   */\n  tasks: [\n    'npm test', // run npm test\n    async (ctx) =\u003e {\n      console.log('new version is:', ctx.nextVersion)\n\n      await ctx.run(`echo \"custom script, all tasks are finished!\"`)\n    },\n  ],\n})\n```\n\nPackage.json `release`\n\n```json\n{\n  \"release\": {\n    \"publish\": true,\n    \"tag\": \"${prefix}v${version}\",\n    \"commit\": \"chore: release ${prefix}v${version}\",\n    \"tasks\": [\n      \"npm run test\",\n      \"echo 'run custom script after bump version'\",\n      \"echo 'this should be the last script'\"\n    ]\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x-jerry%2Fx-release","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x-jerry%2Fx-release","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x-jerry%2Fx-release/lists"}