Skip to content
This repository was archived by the owner on Mar 26, 2018. It is now read-only.

patch for issue 173#174

Closed
nick-pww wants to merge 19 commits intoyeoman:masterfrom
nick-pww:issue-173
Closed

patch for issue 173#174
nick-pww wants to merge 19 commits intoyeoman:masterfrom
nick-pww:issue-173

Conversation

@nick-pww
Copy link

This allows for the index.html page name to be configurable.

@kevva
Copy link
Member

kevva commented Apr 17, 2013

Use the AngularJS commit message guidelines. Not sure I like this solution though. Better to use an argument or an option than hacking the component.json.

@nick-pww
Copy link
Author

Will look at the guidelines as soon as they are reachable. Can you perhaps add that link to the contributing docs here? First time I've seen reference to them from this project.

Also, will research the options route. Not familiar with where those get set (assuming from yo itself), will investigate and update.

@nick-pww
Copy link
Author

So the only thing with using just the options is that there doesn't appear to be a way to configure these so you do not have to type them in every time.

This would be a project setting that wouldn't change once configured and would be annoying to have to type the same value every time.

Any thoughts?

feat: Allow for configurable index file name with command line option

Add a check for the command line options (--indexFile) to be able determine 
where script files will be appended to.

Example:

    yo angular:controller main --indexFile=other.html
@kevva
Copy link
Member

kevva commented Apr 20, 2013

@btford, you feel this is needed?

@btford
Copy link
Contributor

btford commented Apr 20, 2013

Yeah, I've needed this occasionally too to make Yeoman play nice with the server. I'm not sure if this is the best solution though. Let me think on it a bit.

@sindresorhus
Copy link
Member

@nick-pww can you fix the merge conflict?

@eddiemonge
Copy link
Member

thats a lot of commits for this change. would it be possible to do a clean branch off master, make the changes and then submit that as a pr? i have no say in the project but it would make a cleaner history

@sindresorhus
Copy link
Member

No need to create a new PR. Just force push to this one.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants