{"id":15355251,"url":"https://github.com/web-padawan/pnpm-resolutions","last_synced_at":"2026-04-16T20:30:19.947Z","repository":{"id":89746534,"uuid":"236447060","full_name":"web-padawan/pnpm-resolutions","owner":"web-padawan","description":"An example how to make yarn resolutions work with pnpm","archived":false,"fork":false,"pushed_at":"2020-04-15T12:26:32.000Z","size":90,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T16:47:16.383Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/web-padawan.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-27T08:28:46.000Z","updated_at":"2022-08-04T08:36:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"930d58cd-f1ed-4b7f-92b2-dbf93166920b","html_url":"https://github.com/web-padawan/pnpm-resolutions","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"c4bd3e00fb86c7aa343201a05248efb57c887413"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-padawan%2Fpnpm-resolutions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-padawan%2Fpnpm-resolutions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-padawan%2Fpnpm-resolutions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-padawan%2Fpnpm-resolutions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web-padawan","download_url":"https://codeload.github.com/web-padawan/pnpm-resolutions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240012137,"owners_count":19733847,"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-01T12:23:24.851Z","updated_at":"2026-04-16T20:30:19.898Z","avatar_url":"https://github.com/web-padawan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## pnpm and resolutions\n\nThis is a demo how to pin dependency versions when using `pnpm`.\n\n## Install\n\nFetch versions first:\n\n```sh\nnode pnpmfile.js --fetch\n```\n\nThen install as usual:\n\n```sh\npnpm i --shamefully-hoist=true\n```\n\n## Usage\n\nThe `pnpmfile.js` in this repository does two different things.\n\n1. When executed manually: `node pnpmfile.js --fetch`:\n\n  - fetch data from `https://registry.npmjs.org/@vaadin/vaadin-shrinkwrap`\n  - save data including versions information to `versions.json` file\n\n2. When executed by `pnpm` itself during installation:\n\n  - get the shrinkwrap package version from the root `package.json` dependencies\n  - check `versions` in `versions.json` and get the shrinkwrap that we need\n  - for every dependency, pin versions to the ones from the shrinkwrap\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-padawan%2Fpnpm-resolutions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb-padawan%2Fpnpm-resolutions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-padawan%2Fpnpm-resolutions/lists"}