{"id":15837032,"url":"https://github.com/afeiship/semver-webpack-plugin","last_synced_at":"2026-05-05T07:32:35.185Z","repository":{"id":57123036,"uuid":"142997213","full_name":"afeiship/semver-webpack-plugin","owner":"afeiship","description":"Semver webpack plugin.","archived":false,"fork":false,"pushed_at":"2020-11-17T10:34:52.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-19T09:39:26.682Z","etag":null,"topics":["bump","plugin","semver","version","webpack"],"latest_commit_sha":null,"homepage":null,"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/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-31T10:09:16.000Z","updated_at":"2020-11-17T10:34:07.000Z","dependencies_parsed_at":"2022-08-25T00:51:37.363Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/semver-webpack-plugin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/afeiship/semver-webpack-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fsemver-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fsemver-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fsemver-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fsemver-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/semver-webpack-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fsemver-webpack-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32640533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"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":["bump","plugin","semver","version","webpack"],"created_at":"2024-10-05T15:20:33.306Z","updated_at":"2026-05-05T07:32:35.167Z","avatar_url":"https://github.com/afeiship.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# semver-webpack-plugin\n\u003e Semver webpack plugin\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n\n## installation\n```shell\nnpm install @jswork/semver-webpack-plugin\n```\n\n## usage:\n```js\nimport SemverWebpackPlugin from '@jswork/semver-webpack-plugin';\n\n// plugins:\nplugiins:[\n  new SemverWebpackPlugin({ enabled: true })\n]\n```\n\n## options:\n| Name     | Type     | Default                                  | Description            |\n| -------- | -------- | ---------------------------------------- | ---------------------- |\n| files    | Array    | ['./package.json']                       | Default files array.   |\n| enabled  | Boolean  | true                                     | If enable this plugin. |\n| callback | Function | semver.inc(inValue, 'prepatch','alpha'); | See `semver`           |\n\n\n## development callback:\n```conf\n## oldVersion: 1.0.0\n## newVersion: 1.0.1-alpha.0\n```\n```js\n// semver.inc('1.0.0', 'prerelease','alpha')\nfunction(inVersion){\n  return this.inc(inVersion, 'prerelease','alpha');\n}\n```\n\n## production callback:\n```conf\n## oldVersion: 1.0.1-alpha.30\n## newVersion: 1.0.1\n```\n```js\n// semver.valid( semver.coerce('1.0.1-alpha.30') )\nfunction(inVersion){\n  return this.valid(\n    this.coerce(inVersion)\n  );\n}\n\n```\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/semver-webpack-plugin/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/semver-webpack-plugin\n[version-url]: https://npmjs.org/package/@jswork/semver-webpack-plugin\n\n[license-image]: https://img.shields.io/npm/l/@jswork/semver-webpack-plugin\n[license-url]: https://github.com/afeiship/semver-webpack-plugin/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/semver-webpack-plugin\n[size-url]: https://github.com/afeiship/semver-webpack-plugin/blob/master/dist/semver-webpack-plugin.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/semver-webpack-plugin\n[download-url]: https://www.npmjs.com/package/@jswork/semver-webpack-plugin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fsemver-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fsemver-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fsemver-webpack-plugin/lists"}