-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Monorepo (WIP) #164
Monorepo (WIP) #164
Conversation
@DxCx sorry I just now got the time to look this over. I will give feedback as soon as I finish an initial review. With that being said I can't seem to get the project to install. What's the process for getting the project initialized? |
Just 'npm install' ;) |
714be45
to
fcee833
Compare
ok guys, i'm done with my items. everything seems to work against private npm repo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, looks good to me. My original problem with npm install failing was because I had nvm set to Node v4.
I have one more issue I am looking into in my environment. I am running Atom as my editor and it keeps giving me an error that it can't find the graphql module in all source files that import it. Any ideas?
@@ -0,0 +1,16 @@ | |||
{ | |||
"lerna": "2.0.0-beta.30", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is using a beta version the best option?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that Im using features that seems to require version 2..
Looks like the rest of the big projects that uses lerna are using beta as well
"version": "0.3.2", | ||
"changelog": { | ||
"repo": "apollostack/apollo-server", | ||
"labels": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand the purpose of these labels. They seem odd to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are github issue/PR labels which @helfer needs to create then define there.
Later on it is used for creating changelog between versions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DxCx I might be able to create the labels. Is creating a changelog a feature of lerna?
@@ -8,9 +8,15 @@ | |||
"noImplicitAny": false, | |||
"rootDir": "./src", | |||
"outDir": "./dist", | |||
"allowSyntheticDefaultImports": true, | |||
"allowSyntheticDefaultImports": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why change this to false?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because its creating arbitrary ///<reference ... in generated d.ts
Yeah that was my next goal, |
@nnance regarding atom errors It is peerDependancy for packages that ises it, and global devDep for all the packages |
Are we still blocked on something for this PR? |
TODO:
Closes #138
Closed #163