{"id":20118476,"url":"https://github.com/trydofor/pnpm-lock-testing","last_synced_at":"2026-06-09T15:05:39.761Z","repository":{"id":261589415,"uuid":"884637069","full_name":"trydofor/pnpm-lock-testing","owner":"trydofor","description":"testing pnpm-lock.yaml","archived":false,"fork":false,"pushed_at":"2025-01-17T10:42:27.000Z","size":207,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T19:49:43.958Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trydofor.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-11-07T05:40:03.000Z","updated_at":"2025-01-17T10:42:28.000Z","dependencies_parsed_at":"2025-03-02T19:43:14.037Z","dependency_job_id":"f98380a8-e126-4a8b-a453-548675d966f6","html_url":"https://github.com/trydofor/pnpm-lock-testing","commit_stats":null,"previous_names":["trydofor/pnpm-lock-testing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trydofor/pnpm-lock-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trydofor%2Fpnpm-lock-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trydofor%2Fpnpm-lock-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trydofor%2Fpnpm-lock-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trydofor%2Fpnpm-lock-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trydofor","download_url":"https://codeload.github.com/trydofor/pnpm-lock-testing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trydofor%2Fpnpm-lock-testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34112266,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":[],"created_at":"2024-11-13T19:11:00.611Z","updated_at":"2026-06-09T15:05:39.744Z","avatar_url":"https://github.com/trydofor.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pnpm-lock-testing\n\n```bash\nfind . -name \"node_modules\" -type d -prune -exec rm -rf {} +\nfind . -name \"pnpm-lock.yaml\" -type f -exec rm -f {} +\n```\n\n## 1-solo\n\n```bash\ncd 1-solo\n\n## (1) no lockfile change\n## Lockfile is up to date, resolution step is skipped\npnpm i\n\n## (2) only add date-fns to lockfile\npnpm add date-fns@4.0.0\n\n## (3) no lockfile change\npnpm up nuxt\n\n## (4) nuxt's deps are changed in lockfile\n## only range-version, not fixed-version\npnpm up\n\n```\n\n## 2-mono\n\n```bash\ncd 2-mono\n\n## (1) no lockfile change\n## Lockfile is up to date, resolution step is skipped\npnpm i\n\n## (2) only add date-fns to lockfile\npnpm -r add date-fns@4.0.0\n\n## (3) no lockfile change\npnpm -r up nuxt\n\n## (4) nuxt's deps are changed in lockfile\n## only range-version, not fixed-version\npnpm -r up\n```\n\n## 3-hoist\n\n```bash\ncd 3-hoist\n\n## (1) BAD!! lockfile change as new project\n## TODO pnpmfile.cjs hooks cause changes\npnpm i\n```\n\n## 4-hook1 change version\n\n```bash\ncd 4-hook1\n\n## (1) change date-fns from 4.0.0 to 4.1.0\n## Lockfile is up to date, resolution step is skipped\npnpm i\n```\n\n## 5-hook2 add version\n\n```bash\ncd 5-hook2\n\n## (1) add date-fns 4.0.0\n## Lockfile is up to date, resolution step is skipped\npnpm i\n```\n\n## 6-hook3 delete version\n\n```bash\ncd 6-hook3\n\n## (1) delete date-fns 4.0.0\n## Lockfile is up to date, resolution step is skipped\npnpm i\n```\n\n## 7-hook4 change nuxt version\n\n```bash\ncd 7-hook4\n\n## (1) change nuxt from 3.12.2 to 3.15.0\n## Lockfile is up to date, resolution step is skipped\npnpm i\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrydofor%2Fpnpm-lock-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrydofor%2Fpnpm-lock-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrydofor%2Fpnpm-lock-testing/lists"}