question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to contribute?

See original GitHub issue

Hi Team,

Can someone explain how to develop using a fork of this repo in order to create PRs and facilitate debugging? Of course, there is the CONTRIBUTING guide which gives some guidance for best practices, but how do you get to a valid development environment on this project?

Let’s say I am on Windows, I have a React basic app, and this cloned repo…

my-app make use of @aws-amplify/auth and @aws-amplify/cache.

Using yarn link, how do I get my-app to use the locally modified version of @aws-amplify/auth?

Probably something like

yarn
yarn run bootstrap
yarn run build
yarn run link

… and in my-app: yarn run link "@amplify-js/auth"

But then I get a message Module not found: Can't resolve '@aws-amplify/core' in 'C:\repos\amplify-js\packages\auth\lib'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
elorzafecommented, Mar 1, 2019

Hi @sebastienfi

After doing yarn build on the root directory of aws-amplify, I go to ./packages/aws-amplify and do yarn link.

In order to test my changes on an app. First I install aws-amplify package and then do yarn link aws-amplify.

Pro-tip: When I use VS Code I use tsc: watch - package/auth/tsconfig.json (cmd+shift+b) so every time I make a change on any src file inside of that package it compiles immediately, so you don’t need to build manually again.

I hope that helps

1reaction
elorzafecommented, Mar 1, 2019

@sebastienfi we are going to update our wiki/README with this information.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Contribute to Open Source
How to Contribute to Open Source · Meets the definition of open source · Project actively accepts contributions · Project is welcoming ·...
Read more >
How to Contribute to Open Source Projects – A Beginner's ...
Most successful open-source projects are a result of contributions from people with all skill levels – and not only coding skills, but also ......
Read more >
Getting started with contributing to open source
You do not have to know everything about a project to make a contribution. Pick a project and a community that supports new...
Read more >
How to Contribute - React
Hopefully this document makes the process for contributing clear and answers some questions that you may have. Code of Conduct. Facebook has adopted...
Read more >
Simple Ways to Contribute to Society - Lifeism
Make life better for someone you care about · Mentorship · Practice kindness · Send positive vibes · Practice gratitude · Pay taxes...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found