{"id":16815598,"url":"https://github.com/ericzon/eric-lernatest","last_synced_at":"2025-03-17T12:28:47.509Z","repository":{"id":57111886,"uuid":"442700260","full_name":"ericzon/eric-lernatest","owner":"ericzon","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-04T16:47:28.000Z","size":139,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-09T21:10:25.840Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ericzon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-29T07:52:39.000Z","updated_at":"2022-01-04T16:47:31.000Z","dependencies_parsed_at":"2022-08-21T00:01:04.231Z","dependency_job_id":null,"html_url":"https://github.com/ericzon/eric-lernatest","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericzon%2Feric-lernatest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericzon%2Feric-lernatest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericzon%2Feric-lernatest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericzon%2Feric-lernatest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericzon","download_url":"https://codeload.github.com/ericzon/eric-lernatest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244033095,"owners_count":20386872,"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-10-13T10:34:55.808Z","updated_at":"2025-03-17T12:28:47.480Z","avatar_url":"https://github.com/ericzon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lerna tests\n\nThis is a project for doing some tests about whole lerna workflow.\n\n## Useful commands\n\n\n- To setup an already existing project, linking dependencies:\n```\nlerna bootstrap\n```\n\n- To trigger a new publish without having to add any change:\n```\nlerna publish --force-publish\n```\n\n- To select a automatically a version type and put ouput in file:\n```\nlerna publish patch --force-publish --yes \u003e\u003e lerna-output.txt\n```\n\n## Publish packages\n\nBefore publishing:\n```\nnpm login\n```\n\nIf your packages are public, remember to remove the private flag in package.json of project root:\n```\n\"private\": true,\n```\n\nAnd just execute this command:\n```\nlerna publish\n```\n## Troubleshooting\n\n- To undo a version before publish in registry, you need to checkout changes and remove new created tag\n\n- As npm registry only allows unpublish in the 48h next hours, if you want to simulate before doing real things, you can always setup a local npm registry. In this [example](https://www.adaltas.com/en/2021/01/11/js-monorepos-versioning-publishing/), they use [Verdaccio](https://verdaccio.org/)\n\n-  Solving error \"You must sign up for private packages\"\n\n    If you find this during the process:\n    ```\n    lerna ERR! E402 You must sign up for private packages\n    ```\n\n    If you plan to make this public, remember that in scoped projects is private by default. You can check the current access level doing this:\n    ```\n    npm config get access\n    ```\n    Receiving private or null means that you have to set public access in npm:\n    ```\n    npm config set access public\n    ```\n- Solving error \"Scope not found\". If you get this message:\n    ````\n    lerna ERR! E404 Scope not found\n    ````\n    You should only use scopes related with your user or organization. You can create an organization [here](https://www.npmjs.com/org/create) or check some docs [there](https://docs.npmjs.com/organizations)\n\n### References\n\n- https://www.aspecto.io/blog/lerna-hello-world-how-to-create-a-monorepo-for-multiple-node-packages/\n\n- https://www.adaltas.com/en/2021/01/11/js-monorepos-versioning-publishing/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericzon%2Feric-lernatest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericzon%2Feric-lernatest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericzon%2Feric-lernatest/lists"}