Skip to content

Temporarily update blueprint to reduce friction for contributors#8085

Closed
NullVoxPopuli wants to merge 7 commits intoember-cli:masterfrom
NullVoxPopuli:update-blue-print-so-flags-are-used
Closed

Temporarily update blueprint to reduce friction for contributors#8085
NullVoxPopuli wants to merge 7 commits intoember-cli:masterfrom
NullVoxPopuli:update-blue-print-so-flags-are-used

Conversation

@NullVoxPopuli
Copy link
Copy Markdown
Contributor

not having the environment flags set is a real "gotchya".
this does create a hard dependency on yarn -- but this is temporary.

These environment variables could move to .ember-cli when
#8059 is merged

@ppcano
Copy link
Copy Markdown
Contributor

ppcano commented Nov 30, 2018

@NullVoxPopuli

I wonder why the module unification app and addon blueprint has to use a particular ember-source and ember-cli@master.

https://github.com/ember-cli/ember-cli/blob/master/blueprints/module-unification-app/files/package.json

Shouldn't it mimic the behaviour of classic app blueprint?

https://github.com/ember-cli/ember-cli/blob/master/blueprints/app/files/package.json

I can create a PR for that

@NullVoxPopuli
Copy link
Copy Markdown
Contributor Author

Shouldn't it mimic the behaviour of classic app blueprint?

I think it's just that sometimes things in MU break (since it's not even released). So the hashes specified are known to be working:tm:

},
"scripts": {
"build": "ember build",
"ember": "EMBER_CLI_MODULE_UNIFICATION=true MODULE_UNIFICATION=true ./node_modules/.bin/ember",
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.

this env setting style only works in bash. Windows will break.

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.

cross-env might work for you here.

@kellyselden
Copy link
Copy Markdown
Member

You can use #8219 as a guide to support both yarn and npm.

Copy link
Copy Markdown
Member

@kellyselden kellyselden left a comment

Choose a reason for hiding this comment

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

I don't have a problem with this dev experience helper for the short term.

@NullVoxPopuli
Copy link
Copy Markdown
Contributor Author

closed in favor of #8157 and the octane blueprint

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.

4 participants