{"id":18609786,"url":"https://github.com/unlight/semantic-release-workspace-dependency","last_synced_at":"2025-11-02T20:30:30.769Z","repository":{"id":138161597,"uuid":"520225886","full_name":"unlight/semantic-release-workspace-dependency","owner":"unlight","description":"semantic-release plugin to update version of workspace dependency","archived":false,"fork":false,"pushed_at":"2022-08-06T19:37:45.000Z","size":212,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T01:25:42.092Z","etag":null,"topics":["package","semantic-release","semantic-release-plugin","workspace","workspaces"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unlight.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2022-08-01T18:45:36.000Z","updated_at":"2023-03-04T05:38:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9378139-4861-4441-8644-ef93d7669c3b","html_url":"https://github.com/unlight/semantic-release-workspace-dependency","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Fsemantic-release-workspace-dependency","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Fsemantic-release-workspace-dependency/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Fsemantic-release-workspace-dependency/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Fsemantic-release-workspace-dependency/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unlight","download_url":"https://codeload.github.com/unlight/semantic-release-workspace-dependency/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239400596,"owners_count":19632049,"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":["package","semantic-release","semantic-release-plugin","workspace","workspaces"],"created_at":"2024-11-07T03:07:16.160Z","updated_at":"2025-11-02T20:30:30.733Z","avatar_url":"https://github.com/unlight.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# semantic-release-workspace-dependency\n\nPlugin for [semantic-release](https://github.com/semantic-release/semantic-release) to update version of workspace dependency.\n\n| Step               | Description                            |\n| ------------------ | -------------------------------------- |\n| `verifyConditions` | Verify configuration                   |\n| `prepare`          | Update version of workspace dependency |\n\n## Install\n\n```bash\nnpm i -D semantic-release-workspace-dependency\n```\n\n## Usage / How it works\n\nThe plugin can be configured in the [**semantic-release** configuration file](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#configuration):\n\nAdd `semantic-release-workspace-dependency` after `@semantic-release/npm` and `@semantic-release/git` plugins.\n\nPlugin is supposed to be used in repository with multiple packages (monorepository strategy)\nwith `semantic-release-commit-filter`.\n\nLet's say that we have workspace:\n\n- package `foo`\n- package `bar` depends on `foo`\n\nPackage `bar` has depenency defined in package as `foo:*`.\n\nYour must run `build` and `semantic-release` for each package using your monorepo tool (nx, wireit, etc.)\nwhich can detect the correct order of execution.\n\nWhen package `bar` is going to be published on `prepare` step it replace `*` by latest verion of `foo` package.\nVersion will be taken for git tags. `*` can be any valid semver range, e.g. `1.X`\n\n## Configuration\n\n### Options\n\n| Variable | Description                                       |\n| -------- | ------------------------------------------------- |\n| `prefix` | Version prefix, can be `^` (default), `~` or `''` |\n\n### Examples\n\n```json\n{\n  \"extends\": [\"semantic-release-commit-filter\"],\n  \"plugins\": [\n    \"@semantic-release/npm\",\n    \"@semantic-release/git\",\n    [\"semantic-release-workspace-dependency\", { \"prefix\": \"^\" }]\n  ]\n}\n```\n\n## License\n\n[MIT License](https://opensource.org/licenses/MIT) (c) 2022\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlight%2Fsemantic-release-workspace-dependency","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funlight%2Fsemantic-release-workspace-dependency","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlight%2Fsemantic-release-workspace-dependency/lists"}