Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

docs(style-guide): push main.ts to src folder #1390

Closed
wants to merge 1 commit into from

Conversation

Foxandxss
Copy link
Member

@Foxandxss Foxandxss commented May 13, 2016

/cc @johnpapa @wardbell @Brocco @mgechev

We agreed on pushing main.ts to the src folder so here it is. We also talked about adding a barrel in /src/app/ with a single export, but that is a no-no for @wardbell.

So with this PR and Ward's opinion, we can close the next issue:

Closes #1361

@johnpapa
Copy link
Contributor

Cool. Has CLI adjusted too?

@Foxandxss
Copy link
Member Author

CLI was always having main.ts in src/.

About the barrel, they export more than one thing, so that is fine for now I guess.

@mgechev
Copy link
Member

mgechev commented May 14, 2016

LGTM

@wardbell
Copy link
Contributor

The move is OK with me. As @Foxandxss says, I am intolerant of a barrel at the root with only AppComponent in it.

@wardbell wardbell closed this in fca9671 May 15, 2016
@wardbell wardbell deleted the style-guide-move-main branch May 15, 2016 22:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StyleGuide - Having the root /app folder export a barrel
5 participants