elegant-florist-94385
12/12/2025, 1:55 PM{
"references": [
{
"path": "./shared/header"
},
{
"path": "./apps/app1"
}
]
}
This seems to work for typescript itself (ie. pants check :: ) passes successfully), but my dependency inference is not working correctly.
When I run pants test :: my tests of app1 fail because they cannot import from the shared package.
Sure enough, pants dependencies and/or inspecting sandboxes reveals that there are no transitive dependencies from any of the app1 sources on the shared package.
I assume I am missing a config somewhere, but I'm not sure what. Any thoughts?elegant-florist-94385
12/12/2025, 1:57 PM{
"compilerOptions": {
"paths": {
"header": [
"./shared/header/src/public-api.ts"
]
},
}
which makes angular happy with the shared package import if I run ng serve directly (not via pants)nutritious-hair-72580
12/15/2025, 9:41 PMelegant-florist-94385
12/16/2025, 5:15 PMnpmnutritious-hair-72580
12/16/2025, 10:47 PMelegant-florist-94385
12/16/2025, 10:48 PM