Debian Codegraph @

workspaces/arborist/test/fixtures/reify-cases/workspaces-simple.js

raw
1 // generated from test/fixtures/workspaces-simple
2 module.exports = t => {
3 const path = t.testdir({
4 "a": {
5 "package.json": JSON.stringify({
6 "name": "a",
7 "version": "1.0.0",
8 "dependencies": {
9 "b": "^1.0.0"
10 }
11 })
12 },
13 "b": {
14 "package.json": JSON.stringify({
15 "name": "b",
16 "version": "1.0.0"
17 })
18 },
19 "node_modules": {
20 "a": t.fixture('symlink', "../a"),
21 "b": t.fixture('symlink', "../b")
22 },
23 "package.json": JSON.stringify({
24 "name": "workspace-simple",
25 "workspaces": [
26 "a",
27 "b"
28 ]
29 })
30 })
31 return path
32 }