{"id":15853760,"url":"https://github.com/ivangabriele/wersion","last_synced_at":"2025-04-07T12:18:09.851Z","repository":{"id":178355884,"uuid":"661754810","full_name":"ivangabriele/wersion","owner":"ivangabriele","description":"Makes bumping your monorepos workspaces version a breeze 🌬️.","archived":false,"fork":false,"pushed_at":"2024-04-30T07:46:56.000Z","size":2840,"stargazers_count":1,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-01T14:06:57.902Z","etag":null,"topics":["bump","lerna","monorepo","monorepos","monorepository","pnpm","version","versioning","workspace","workspaces","yarn"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ivangabriele.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}},"created_at":"2023-07-03T15:11:07.000Z","updated_at":"2024-05-02T19:50:10.979Z","dependencies_parsed_at":"2024-05-02T19:49:43.186Z","dependency_job_id":"1d0583ba-0de4-44f4-8f89-3523fce996a4","html_url":"https://github.com/ivangabriele/wersion","commit_stats":null,"previous_names":["ivangabriele/wersion"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivangabriele%2Fwersion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivangabriele%2Fwersion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivangabriele%2Fwersion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivangabriele%2Fwersion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivangabriele","download_url":"https://codeload.github.com/ivangabriele/wersion/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648977,"owners_count":20972945,"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","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":["bump","lerna","monorepo","monorepos","monorepository","pnpm","version","versioning","workspace","workspaces","yarn"],"created_at":"2024-10-05T19:22:49.690Z","updated_at":"2025-04-07T12:18:09.823Z","avatar_url":"https://github.com/ivangabriele.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wersion\n\n[![MIT License](https://img.shields.io/github/license/ivangabriele/wersion?style=for-the-badge)](https://github.com/ivangabriele/wersion/blob/main/LICENSE)\n[![NPM Version](https://img.shields.io/npm/v/wersion?style=for-the-badge)](https://www.npmjs.com/package/wersion)\n\nMakes bumping your monorepos workspaces version a breeze 🌬️.\n\n**It's mostly useful for those using Yarn Berry (v2/v3)**, but you can use it with npm, pnpm and Yarn Classic (v1).\n\n---\n\n- [Features](#features)\n- [Roadmap](#roadmap)\n- [Installation](#installation)\n  - [Prerequisites](#prerequisites)\n  - [First Setup](#first-setup)\n- [Usage](#usage)\n  - [Pre \\\u0026 Post Scripts](#pre--post-scripts)\n\n---\n\n## Features\n\n- [x] `prewersion` \u0026 `postwersion` scripts\n- [x] `npm`, `pnpm`, `Yarn Classic (v1)` \u0026 `Yarn Berry (v2, v3)` package managers\n- [x] `--dry-run` CLI option\n\n## Roadmap\n\n- [ ] `allowedBranches` configuration key\n- [ ] Specified version support (i.e. `wersion 1.2.3`)\n\n## Installation\n\n### Prerequisites\n\n- npm, pnpm or Yarn v1/v3\n- Setting the `workspaces` field in your `package.json` file (i.e. `\"workspaces\": [\"packages/*\"]``)\n\n### First Setup\n\nFirst, install Wersion:\n\n```sh\nyarn add -DE wersion\n# or\npnpm i -DE wersion\n# or\nnpm i -DE wersion\n# or\nnpm i -g wersion # to install it globally\n```\n\n## Usage\n\nSimply run:\n\n```sh\nyarn wersion \u003crelease\u003e\n# or\npnpm wersion \u003crelease\u003e\n# or\nnpx wersion \u003crelease\u003e\n# or\nwersion \u003crelease\u003e # if installed globally\n```\n\n`\u003crelease\u003e` can be one of: \"patch\", \"minor\", \"major\", \"prepatch\", \"preminor\", \"premajor\" or \"prewersion\".\n\nYou can run it with `--dry-run` or `-d` to see what would happen without actually bumping your packages versions.\n\n### Pre \u0026 Post Scripts\n\nIn your `package.json`:\n\n```json\n{\n  \"scripts\": {\n    \"prewersion\": \"echo \\\"The version will be bumped from v${PREVIOUS_VERSION} to v${NEXT_VERSION}.\\\"\",\n    \"postwersion\": \"echo \\\"The version has been bumped from v${PREVIOUS_VERSION} to v${NEXT_VERSION}.\\\"\"\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivangabriele%2Fwersion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivangabriele%2Fwersion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivangabriele%2Fwersion/lists"}