NPM Best Practices Use yarn instead of npm (at least for now) Check yarn.lock into version control yarn.lock file is automatically ignored from publishing graphql related Make graphql a peer dependency (+ dev dependency if needed) in libraries