Skip to content

ModuleUnification: src by default becoming build/shipped is breaking #7734

Closed

Description

@stefanpenner
<addon-foo>/src

Now has meaning, unfortunately this as implemented is a breaking change. And may result in unexpected assets being shipped to production. It is not uncommon for src to be raw typescript source.

Short Term:

  • we make this disabled by default
  • add-ons supporting module unification will need to opt-in. Either via package.json addon-config entry, or by returning true/false from isModuleUnification() { return false;}

Activity

  1. rwjblue commented on Apr 3, 2018

    @rwjblue
    Member

    Discussed this a bit with @kategengler, using the data backing emberobserver.com she was able to make a listing of all the addons that this will affect (if we do a release without fixing):

    https://gist.github.com/kategengler/5403e1013a9b372cd18a2320d05fc9e8

    It is a non-trivial list...

  2. kategengler commented on Apr 3, 2018

    @kategengler
    Member

    This file is a cleaned up list with more helpful info:
    https://gist.github.com/kategengler/5403e1013a9b372cd18a2320d05fc9e8#file-addons-with-toplevel-src-dir-with-urls-csv

    There are 33 out of over 3300 (all the addons that have valid repo urls).

  3. dfreeman commented on Apr 4, 2018

    @dfreeman
    Contributor

    I think there may be some false positives in that list — ember-botanist definitely doesn't have a src directory (though it depends on a non-addon package that does...)

  4. billybonks commented on Apr 4, 2018

    @billybonks
    Contributor
  5. kategengler commented on Apr 4, 2018

    @kategengler
    Member

    @dfreeman Thanks for pointing that out, helped me find a bug in code search

  6. rwjblue commented on Apr 4, 2018

    @rwjblue
    Member

    This was addressed by #7735

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions