Skip to content

Module Unification: Blueprints #7530

Closed
Closed

Description

@GavinJoyce

🔼 Part of [QUEST] Module Unification: Final Cut


This issue is part of the Module Unification Quest and will serve as a list of remaining tasks to land blueprint support for module unification apps.

Interested in helping?

Great! Comment on the issue to take on one of these blueprints. They are mostly pretty straightforward, see the service blueprint for example. Anything without a 🔒 is up for grabs.

If you have any questions, you can ask them in the #st-module-unification channel on the Ember community slack or you can ask me directly @gavinjoyce.

Creating a new module unification app

Install Ember CLI master:

npm install -g https://github.com/ember-cli/ember-cli.git

Generate a new app with the module unification env variables:

MODULE_UNIFICATION=true EMBER_CLI_MODULE_UNIFICATION=true ember new my-mu-app

Generate a component:

EMBER_CLI_MODULE_UNIFICATION=true ember g component x-button

Run the app:

EMBER_CLI_MODULE_UNIFICATION=true ember serve

ember-cli/ember-cli (blueprints):

emberjs/ember.js (blueprints):

running emberjs blueprint tests

yarn run test:blueprints

emberjs/data (blueprints):

other items

Activity

  1. rwjblue commented on Jan 2, 2018

    @rwjblue
    Member

    I submitted #7533 to tackle:

    remove bower and user ember canary in package.json

  2. alexander-alvarez commented on Jan 4, 2018

    @alexander-alvarez

    Should we have a ember-new-module-unification-output repo also?

  3. ro0gr commented on Jan 14, 2018

    @ro0gr
    Contributor

    I've started working on

    reduce the duplication between classic and MU blueprints

    I think the first necessary step is to improve testing of the new and addon command output #7557

  4. beegan commented on Apr 11, 2018

    @beegan

    Hey! I'll take the mixin blueprint!

  5. changed the title [-]Module Unification Blueprints To-Do List[/-] [+][QUEST] Module Unification Blueprints[/+] on Apr 21, 2018
  6. changed the title [-][QUEST] Module Unification Blueprints[/-] [+][QUEST] Module Unification: Blueprints[/+] on Apr 21, 2018
  7. kevinansfield commented on May 19, 2018

    @kevinansfield

    I'm taking a stab at the routes blueprint :)

  8. kevinansfield commented on May 23, 2018

    @kevinansfield

    I've made a start on the Ember Data adapter blueprint, I'll try and get that finished off tonight

  9. dcyriller commented on Jun 14, 2018

    @dcyriller
    Contributor

    Hello! I just did the model blueprint warp-drive-data/warp-drive#5491 (based on @kevinansfield 's warp-drive-data/warp-drive#5476)

  10. dcyriller commented on Jun 16, 2018

    @dcyriller
    Contributor

    @GavinJoyce acceptance blueprint should remain unchanged according to MU RFC or am I wrong?

  11. GavinJoyce commented on Jun 18, 2018

    @GavinJoyce
    ContributorAuthor

    @dcyriller hey, sorry I haven't had time to look into your PR yet. I have little time this week to work on OS, if no one else has reviewed your PR or answered your question by then I'll get to it early next week when I have more time.

    acceptance blueprint should remain unchanged according to MU RFC or am I wrong?

    I don't have the answer of the top of my head, perhaps you could ask in the #st-module-unification slack channel?

  12. runspired commented on Jun 21, 2018

    @runspired
    Contributor

    @thoov and I discovered today that there is poor testing interop between old world and new world blueprints due to the inability to configure the state of the EMBER_CLI_MODULE_UNIFICATION feature flag for the test. We had to skip the adapter tests for MU due to this. We propose something like the following being possible:

    emberNew({
       cliOptions: {
         EMBER_CLI_MODULE_UNIFICATION: true
       }
    });
    

    cc @GavinJoyce @rwjblue

  13. dcyriller commented on Jul 26, 2018

    @dcyriller
    Contributor

    @GavinJoyce may you update the emberjs/data part with a 🔒?

    Also some work is in progress on ember-cli test helpers ember-cli/ember-cli-blueprint-test-helpers#153

  14. GavinJoyce commented on Jul 26, 2018

    @GavinJoyce
    ContributorAuthor

    @dcyriller sure, what needs to be updated? (I've been busy on other projects so haven't been following MU progress)

  15. dcyriller commented on Jul 26, 2018

    @dcyriller
    Contributor

    Thanks :)

    A 🔒 should be added on ember-data blueprints. @NullVoxPopuli do you agree we should keep the PRs warp-drive-data/warp-drive#5491, warp-drive-data/warp-drive#5494, warp-drive-data/warp-drive#5542 (as they contain tests)?

    The last item allow MU app/addon to be created using ember-cli-blueprint-test-helpers and emberNew (we currently just create an empty src directory, which means we have to do things like this) is also in progress (ember-cli/ember-cli-blueprint-test-helpers#153).

  16. 6 remaining items

  17. GavinJoyce commented on Oct 6, 2018

    @GavinJoyce
    ContributorAuthor

    @abhilashlr I seem to recall that @locks was proposing that we implement a welcome-page component in the blueprint, possibly so that there is an example component in the app. @locks, perhaps you recall and can confirm?

  18. gossi commented on Oct 8, 2018

    @gossi

    Can we have two blueprints instead? One for beginners, that has two routes and a component on one of them and one for people that are already familiar with ember, they receive a blank ember setup to get started right away? I can put a screenshot from ember-cli-create later that gives makes this one more understandable from a consumers pov.

  19. locks commented on Oct 8, 2018

    @locks
    Contributor

    @gossi ember new my-project --no-welcome is already that, is it not?

    @GavinJoyce Confirm! Due to isolated nature of pods, I think it is a better experience to have a folder that you can inspect the code of and tweak and see, than a "magic" welcome-page component that is injected.

  20. gossi commented on Oct 8, 2018

    @gossi

    @locks true but I think we can do better by offering two blueprints instead: ember new my-project -b beginner-app (with route and component) and ember new my-project -b regular-app (blank app) I made passing the blueprint explicit in this scenario. Should be handled by cli instead, like I do in ember-cli-create. Can provide a screenshot in the evening.

  21. abhilashlr commented on Oct 17, 2018

    @abhilashlr
    Contributor

    @GavinJoyce @Turbo87 @locks Here it is for removal of ember-welcome-page and using in app component generation: #8139

  22. ppcano commented on Nov 9, 2018

    @ppcano
    Contributor

    remove .jshintrc and .eslintrc -> #8179

    Next, I will try to complete the helper and instance-initializer generators.

  23. ppcano commented on Nov 15, 2018

    @ppcano
    Contributor

    acceptance-test -> emberjs/ember.js#17209

  24. ppcano commented on Nov 15, 2018

    @ppcano
    Contributor

    #8194 stops adding tests/{unit,integration} folders on the ember new blueprint (#7488)

  25. ppcano commented on Nov 15, 2018

    @ppcano
    Contributor

    #8195 adds tests for the --no-welcome option of thenew MU app blueprint.

    I think, replace {{welcome-page}} addon with component example can be removed from the list. Read the #8139 discussion.

  26. ppcano commented on Nov 15, 2018

    @ppcano
    Contributor

    ember generate helper -> emberjs/ember.js#17211

  27. ppcano commented on Nov 27, 2018

    @ppcano
    Contributor

    @GavinJoyce Please, could you update the task list status.

    ember-cli/ember-cli

    emberjs

    other items

  28. changed the title [-][QUEST] Module Unification: Blueprints[/-] [+]Module Unification: Blueprints[/+] on Feb 27, 2019
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