Debian Codegraph @

workspaces/arborist/test/fixtures/reify-cases/root-bundler.js

raw
1 // generated from test/fixtures/root-bundler
2 module.exports = t => {
3 const path = t.testdir({
4 "child": {
5 "package.json": JSON.stringify({
6 "name": "child",
7 "version": "1.2.3"
8 })
9 },
10 "child-1.2.3.tgz": Buffer.from("H4sIAAAAAAAAEytITM5OTE/VL4DQelnF+XkMVAYGBgZmJiYK2MTBwBQoZ2xqZmBoaGZmAGQDGaYmpkCa2g7BBkqLSxKLgE6h1ByIVxTg9BAB1VwKCkp5ibmpSlYKSskZmTkpSjogobLUouLM/DyQqKGekZ6xElct10C7dRSMglEwCkYB9QAA1wGLiwAIAAA=", 'base64'),
11 "package-lock.json": JSON.stringify({
12 "name": "root",
13 "version": "1.2.3",
14 "lockfileVersion": 1,
15 "requires": true,
16 "dependencies": {
17 "child": {
18 "version": "file:child-1.2.3.tgz",
19 "integrity": "sha512-541DhKMZIYG6zQp9d5yFTw62pwGLKVnWK4zT9uBpQ/n2mZlzFbjgP68ifK5Qbi6bHfWiGSWoZITV3mwhRkSoTQ=="
20 }
21 }
22 }),
23 "package.json": JSON.stringify({
24 "name": "root",
25 "version": "1.2.3",
26 "dependencies": {
27 "child": "file:child-1.2.3.tgz"
28 },
29 "bundleDependencies": [
30 "child"
31 ]
32 })
33 })
34 return path
35 }