Having consumers update their tsconfig's paths setup to reference a specific dist path under node_modules is a bit fragile, and also not a typical setup burden for adding a new package.
Since we can accomplish the same thing using declaration merging and avoid making any assumptions about @glimmer/tracking's dist layout, this PR proposes doing exactly that.
Note that this is a breaking change for anyone who followed the previous setup instructions. They'll need to remove the paths entry for @glimmer/tracking from their tsconfig for the types to resolve correctly.
Having consumers update their
tsconfig
'spaths
setup to reference a specificdist
path undernode_modules
is a bit fragile, and also not a typical setup burden for adding a new package.Since we can accomplish the same thing using declaration merging and avoid making any assumptions about
@glimmer/tracking
'sdist
layout, this PR proposes doing exactly that.Note that this is a breaking change for anyone who followed the previous setup instructions. They'll need to remove the
paths
entry for@glimmer/tracking
from theirtsconfig
for the types to resolve correctly./cc @chriskrycho