Skip to content

Update in-repo-addon blueprint to support module unification#7783

Merged
rwjblue merged 1 commit intoember-cli:masterfrom
GavinJoyce:gj/mu-in-repo-addon-blueprint
May 14, 2018
Merged

Update in-repo-addon blueprint to support module unification#7783
rwjblue merged 1 commit intoember-cli:masterfrom
GavinJoyce:gj/mu-in-repo-addon-blueprint

Conversation

@GavinJoyce
Copy link
Copy Markdown
Contributor

@GavinJoyce GavinJoyce commented Apr 21, 2018

Part of #7530

This PR updates the in-repo-addon blueprint to generate an in-repo addon in the packages directory when the app is MU. It also introduces a new packages blueprint which will be the successor to the classic lib blueprint.

TODO:

  • wrap MU tests with MU experiment check
  • fix remaining test failures

@GavinJoyce GavinJoyce force-pushed the gj/mu-in-repo-addon-blueprint branch 5 times, most recently from b2ef03c to 12a97f8 Compare May 13, 2018 20:47
@GavinJoyce GavinJoyce changed the title [WIP] update in-repo-addon to support module unification Update in-repo-addon blueprint to support module unification May 13, 2018
@GavinJoyce GavinJoyce force-pushed the gj/mu-in-repo-addon-blueprint branch from 12a97f8 to 5bad602 Compare May 14, 2018 06:53
@GavinJoyce
Copy link
Copy Markdown
Contributor Author

/cc @rwjblue

@@ -0,0 +1,4 @@
{
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should have both a .jshintrc and an .eslintrc, can you remove the .jshintrc.js file?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

I should remove this from the lib blueprint too. Happy for me to do this in a follow on PR so that this remains focused?

@@ -0,0 +1,6 @@
module.exports = {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally speaking, we should not be adding .eslintrc.js files, instead we should rely on overrides configuration in the top level eslintrc.

Copy link
Copy Markdown
Contributor Author

@GavinJoyce GavinJoyce May 14, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm following the pattern of the existing lib blueprint. I can follow this PR up with changes to both lib and packages to replay on overrides

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good

@rwjblue rwjblue merged commit 7e5264f into ember-cli:master May 14, 2018
@GavinJoyce GavinJoyce deleted the gj/mu-in-repo-addon-blueprint branch May 15, 2018 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants