{"id":17242768,"url":"https://github.com/imcuttle/lerna-gpm","last_synced_at":"2026-02-13T17:33:03.050Z","repository":{"id":45112922,"uuid":"353654603","full_name":"imcuttle/lerna-gpm","owner":"imcuttle","description":"Lerna command extensions for Git Package Manager","archived":false,"fork":false,"pushed_at":"2024-09-10T10:21:40.000Z","size":504,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-03T13:43:56.610Z","etag":null,"topics":[],"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/imcuttle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-04-01T10:01:31.000Z","updated_at":"2024-10-11T17:31:41.000Z","dependencies_parsed_at":"2024-11-29T12:43:35.698Z","dependency_job_id":"10eafc17-b31e-4641-8bc6-baf5c47e13c4","html_url":"https://github.com/imcuttle/lerna-gpm","commit_stats":{"total_commits":232,"total_committers":4,"mean_commits":58.0,"dds":"0.10344827586206895","last_synced_commit":"e5d9f64ae50da117b7d6cdf01f837dd7389ac391"},"previous_names":["imcuttle/lerna-commands"],"tags_count":84,"template":false,"template_full_name":null,"purl":"pkg:github/imcuttle/lerna-gpm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imcuttle%2Flerna-gpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imcuttle%2Flerna-gpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imcuttle%2Flerna-gpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imcuttle%2Flerna-gpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imcuttle","download_url":"https://codeload.github.com/imcuttle/lerna-gpm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imcuttle%2Flerna-gpm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29413406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-15T06:14:01.273Z","updated_at":"2026-02-13T17:33:03.035Z","avatar_url":"https://github.com/imcuttle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lerna-gpm\n\n[![Build status](https://img.shields.io/github/workflow/status/imcuttle/lerna-gpm/Test/master?style=flat-square)](https://github.com/imcuttle/lerna-gpm/actions)\n[![Test coverage](https://img.shields.io/codecov/c/github/imcuttle/lerna-gpm/master.svg?style=flat-square)](https://codecov.io/github/imcuttle/lerna-gpm?branch=master)\n[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg?style=flat-square)](https://lernajs.io/)\n[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://prettier.io/)\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square)](https://conventionalcommits.org)\n\n\u003e Lerna command extensions for **G**it **P**ackage **M**anager\n\n## Why use GPM?\n\nUse git for sharing node package, which integrated with lerna (lerna.json)\n\n```bash\nnpm i lerna-cli lerna-command-preset-gpm -D\n```\n\n```json5\n{\n  packages: ['packages/*'],\n  extendCommands: ['lerna-command-preset-gpm'],\n  command: {},\n  gpm: {\n    'packages/shared-lib': {\n      branch: 'master',\n      url: 'git-url',\n      remote: 'origin',\n      checkout: 'commit-sha'\n    }\n  }\n}\n```\n\nAfter executing `lerna gpm-update`, the files are as following.\n\n```text\nlerna.json\n.gitignore # `/packages/shared-lib` will be appended here\npackages/\n  shared-lib/\n    .git/\n    ...\n```\n\n## Packages\n\n- [lerna-command-gpm-alias](packages/gpm-alias) - Alias GPM Package\n- [lerna-command-gpm-check](packages/gpm-check) - gpm check command\n- [lerna-command-gpm-import](packages/gpm-import) - import git repo like git submodule\n- [lerna-command-gpm-lock](packages/gpm-lock) - gpm lock version command\n- [lerna-command-gpm-pull](packages/gpm-pull) - gpm pull command\n- [lerna-command-gpm-push](packages/gpm-push) - gpm push command\n- [lerna-command-gpm-update](packages/gpm-update) - update git repo\n- [lerna-command-preset-gpm](packages/preset-gpm) - gpm commands preset\n- [lerna-utils-git-command](packages/git-command) - Internal Package: Git Utils (eg. clone/fetch/pull/checkout/compare)\n- [lerna-utils-globs-command](packages/globs-command) - Internal Package: GPM basic class for lerna command, with globs options, check remote version, concurrency.\n- [lerna-utils-gpm](packages/gpm) - Internal Package: GPM common utils\n\n## Contributing\n\n- Fork it!\n- Create your new branch:\\\n  `git checkout -b feature-new` or `git checkout -b fix-which-bug`\n- Start your magic work now\n- Make sure npm test passes\n- Commit your changes:\\\n  `git commit -am 'feat: some description (close #123)'` or `git commit -am 'fix: some description (fix #123)'`\n- Push to the branch: `git push`\n- Submit a pull request :)\n\n## Authors\n\nThis library is written and maintained by imcuttle, \u003ca href=\"mailto:imcuttle@163.com\"\u003eimcuttle@163.com\u003c/a\u003e.\n\n## License\n\nMIT - [imcuttle](https://github.com/imcuttle) 🐟\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimcuttle%2Flerna-gpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimcuttle%2Flerna-gpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimcuttle%2Flerna-gpm/lists"}