Frontend First
Frontend First
Sam Selikoff, Ryan Toronto
Feb 6, 2019 · 1 hr 2 min

Lenient libraries, strict applications

MP3
Topics include:
apps should specify strict dependencies, libraries (including addons) should specify lenient dependencies
apps should use lockfiles
ember-dependency-lint & yarn resolutions are a good top-level escape hatch
addons should use the dependencies key & ember-auto-import for most of their dependencies
41:12: Ember Auto Import attempts some deduplication of dependencies. If you're writing an addon that has a dependency the host app cares a lot about, you can use addPackagesToProject to put the burden on host app.
Links:
Ember Auto Import
Discourse topic on conflicting dependencies
Dependency Lint
Ember CLI Addon Docs
Ember CLI Tailwind

This podcast uses Simplecast for stats and dynamic audio. What this means Timestamps may be slightly off because ads are inserted dynamically. Episodes play from the podcast's own servers, unmodified. Not affiliated with Podbay.