{"id":19157605,"url":"https://github.com/lesion/cordova-version-sync","last_synced_at":"2025-05-07T08:34:46.716Z","repository":{"id":56823871,"uuid":"103559428","full_name":"lesion/cordova-version-sync","owner":"lesion","description":"A stupid script to sync your config.xml package version with npm package version specified in your package.json","archived":false,"fork":false,"pushed_at":"2017-09-14T17:16:44.000Z","size":2,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-16T05:54:54.270Z","etag":null,"topics":["cordova","npm-version","version-sync"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/lesion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-14T17:04:43.000Z","updated_at":"2019-02-13T20:32:16.000Z","dependencies_parsed_at":"2022-08-26T20:24:41.066Z","dependency_job_id":null,"html_url":"https://github.com/lesion/cordova-version-sync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesion%2Fcordova-version-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesion%2Fcordova-version-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesion%2Fcordova-version-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesion%2Fcordova-version-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lesion","download_url":"https://codeload.github.com/lesion/cordova-version-sync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252843402,"owners_count":21812870,"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":["cordova","npm-version","version-sync"],"created_at":"2024-11-09T08:41:40.507Z","updated_at":"2025-05-07T08:34:46.693Z","avatar_url":"https://github.com/lesion.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## cordova-version-sync\n\nThis script will sync your config.xml package version with npm package version\nspecified in your package.json.\n\n\n### Usage\nyou can specify a `version` key in your npm package.json `scripts`\nwith this script in it:\n\n\u003e If preversion, version, or postversion are in the scripts property \n\u003e of the package.json, they will be executed as part of running npm version.\n  [https://docs.npmjs.com/cli/version](https://docs.npmjs.com/cli/version)\n\n`npm install cordova-version-sync --save-dev`\n\nthen edit package.json to the script:\n\n// somewhere in your package.json  \n\n```\n \"scripts\": {\n    \"dev\": \"node webpack/dev-server.js\",\n    \"build\": \"node webpack/build.js\",\n    \"version\": \"cordova-version-sync\"\n  },\n```\n\nnow you can use `npm version` command and config.xml will follow !\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flesion%2Fcordova-version-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flesion%2Fcordova-version-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flesion%2Fcordova-version-sync/lists"}