{"id":21070710,"url":"https://github.com/microbit-foundation/npm-package-versioner-action","last_synced_at":"2025-07-17T20:41:02.301Z","repository":{"id":233499613,"uuid":"787295318","full_name":"microbit-foundation/npm-package-versioner-action","owner":"microbit-foundation","description":"Sets the package version from the GitHub actions environment","archived":false,"fork":false,"pushed_at":"2024-07-22T13:48:24.000Z","size":1066,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T21:56:40.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/microbit-foundation.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":"2024-04-16T08:55:51.000Z","updated_at":"2024-06-05T09:43:06.000Z","dependencies_parsed_at":"2024-04-16T13:22:52.518Z","dependency_job_id":"e89bd4c8-e819-4feb-afee-8fade0376b18","html_url":"https://github.com/microbit-foundation/npm-package-versioner-action","commit_stats":null,"previous_names":["microbit-foundation/npm-package-versioner-action"],"tags_count":4,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fnpm-package-versioner-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fnpm-package-versioner-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fnpm-package-versioner-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fnpm-package-versioner-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microbit-foundation","download_url":"https://codeload.github.com/microbit-foundation/npm-package-versioner-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243513797,"owners_count":20303009,"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":[],"created_at":"2024-11-19T18:47:54.151Z","updated_at":"2025-03-14T02:42:34.884Z","avatar_url":"https://github.com/microbit-foundation.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NPM package versioner GitHub action\n\n[![GitHub Super-Linter](https://github.com/actions/typescript-action/actions/workflows/linter.yml/badge.svg)](https://github.com/super-linter/super-linter)\n![CI](https://github.com/actions/typescript-action/actions/workflows/ci.yml/badge.svg)\n[![Check dist/](https://github.com/actions/typescript-action/actions/workflows/check-dist.yml/badge.svg)](https://github.com/actions/typescript-action/actions/workflows/check-dist.yml)\n[![CodeQL](https://github.com/actions/typescript-action/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/actions/typescript-action/actions/workflows/codeql-analysis.yml)\n[![Coverage](./badges/coverage.svg)](./badges/coverage.svg)\n\nManages the `package.json` version field for GitHub action.\n\nThe action will write the new version number to package.json.\n\nUsage:\n\n```yaml\nsteps:\n  - uses: microbit-foundation/npm-package-versioner-action@v1\n```\n\n## Development\n\n1. :hammer_and_wrench: Install the dependencies\n\n   ```bash\n   npm install\n   ```\n\n1. Format, test, and build the action\n\n   ```bash\n   npm run all\n   ```\n\n   \u003e This step is important! It will run [`ncc`](https://github.com/vercel/ncc)\n   \u003e to build the final JavaScript action code with all dependencies included.\n   \u003e If you do not run this step, your action will not work correctly when it is\n   \u003e used in a workflow. This step also includes the `--license` option for\n   \u003e `ncc`, which will create a license file for all of the production node\n   \u003e modules used in your project.\n\nThis generates files that must be committed.\n\n## License\n\nThis software is under the MIT open source license.\n\n[SPDX-License-Identifier: MIT](LICENSE)\n\nWe use dependencies via the npm registry as specified by the package.json file\nunder common Open Source licenses.\n\nFull details of each package can be found by running `license-checker`:\n\n```bash\nnpx license-checker --direct --summary --production\n```\n\nOmit the flags as desired to obtain more detail.\n\n## Code of Conduct\n\nTrust, partnership, simplicity and passion are our core values we live and\nbreathe in our daily work life and within our projects. Our open-source projects\nare no exception. We have an active community which spans the globe and we\nwelcome and encourage participation and contributions to our projects by\neveryone. We work to foster a positive, open, inclusive and supportive\nenvironment and trust that our community respects the micro:bit code of conduct.\nPlease see our [code of conduct](https://microbit.org/safeguarding/) which\noutlines our expectations for all those that participate in our community and\ndetails on how to report any concerns and what would happen should breaches\noccur.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrobit-foundation%2Fnpm-package-versioner-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrobit-foundation%2Fnpm-package-versioner-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrobit-foundation%2Fnpm-package-versioner-action/lists"}