Open rwjblue opened 7 years ago
In blrpnt I moved thenlookup stuff to a Load path passed in to blueprint. So the caller always decides. That approach should make it easier to addresss this problem
Shouldn't have been closed by that @glimmer/blueprint PR.
This issue was closed unintentionally again.
From glimmerjs/glimmer.js@8b95d66:
Ultimately, this commit should be able to be revertted once the upstream issue is resolved: ember-cli/ember-cli#6952.
@rwjblue is this still relevant, or can it be closed?
Project.prototype.blueprintLookupPaths
currently accounts for theblueprintPaths
of all addons, in addition to the project's own blueprints. Unfortunately, this means it cannot resolve blueprints that are "stand alone blueprints" if they are dependencies of the project.Stand alone blueprints (generally installed via
git
URL's ornpm
packages) use theember-blueprint
keyword (instead ofember-addon
) to indicate they are not a full blown addon, but instead are a blueprint, this means they will not be included inProject.prototype.blueprintLookupPaths
and thereforeBlueprint.lookup
will not find them even if the blueprint is a direct dependency of the project.