You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⚠️ **This is a manually created synthetic test fixture.** The packages and versions are not real npm packages. This fixture was created specifically to test bundled dependency resolution.
4
+
5
+
🚫 **DO NOT run `npm install` in this directory.** The package.json includes a preinstall script that will error if you attempt to install. The dependencies listed do not exist in the npm registry.
6
+
7
+
This minimal fixture tests the resolution of bundled dependencies when the bundle owner is not hoisted to the root level.
8
+
9
+
## Structure
10
+
11
+
```
12
+
test-app (root)
13
+
└── @myorg/wrapper-tool (not hoisted)
14
+
└── builder-tool (has bundledDependencies)
15
+
├── semver (bundled)
16
+
│ └── lru-cache (bundled, nested)
17
+
│ └── yallist (bundled, deeply nested)
18
+
└── chalk (bundled)
19
+
├── ansi-styles (bundled, nested)
20
+
│ └── color-convert (bundled, deeply nested)
21
+
│ └── color-name (bundled, deeply nested)
22
+
└── supports-color (bundled, nested)
23
+
└── has-flag (bundled, deeply nested)
24
+
```
25
+
26
+
## What It Tests
27
+
28
+
### 1. Non-Hoisted Bundle Owner
29
+
30
+
Unlike packages hoisted to `node_modules/`, `builder-tool` is nested under `@myorg/wrapper-tool`. This tests that the algorithm correctly includes the non-bundled parent in the ancestry check.
0 commit comments