workspaces/arborist/test/fixtures/reify-cases/testing-peer-deps.js
raw| 1 | // generated from test/fixtures/testing-peer-deps |
| 2 | module.exports = t => { |
| 3 | const path = t.testdir({ |
| 4 | "package.json": JSON.stringify({ |
| 5 | "name": "@isaacs/testing-peer-deps", |
| 6 | "version": "2.0.0", |
| 7 | "description": "depends on b1, which has a peer dep on c1, and d, which has a regular dep on a2, which has a peer dep on b2 which has a peer dep on c2", |
| 8 | "dependencies": { |
| 9 | "@isaacs/testing-peer-deps-b": "1", |
| 10 | "@isaacs/testing-peer-deps-d": "2" |
| 11 | } |
| 12 | }) |
| 13 | }) |
| 14 | return path |
| 15 | } |