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.

Development guidelines

See original GitHub issue

@tricoder42 can you provide some guidelines on how to setup environment and work on the lib?

Right now we have Contributing guidelines but it’s not enough info there.

For example when taking step 3. yarn test, test fails with multiple errors Could not locate module @lingui/conf... because it hasn’t been built and there’s no info how to build it. I see scripts/build/ directory and can guess that it’s what should be run beforehand but there’s no info which file tor run etc.

What I’d like to see is the list of steps needed from cloning the lib to setting up everything so that one can modify, build and link it to an existing project in order to be able to test it.

I think such guidelines will help people who want to contribute a lot.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tricoder42commented, Jul 24, 2018

Hey @snegostup, I’ve just mentioned it in contributing docs. You need to run yarn release:build (shortcut for node ./scripts/build/) manually.

I always create a unit test for all I need, because unit tests run in watch mode. I use yalc only as a final check in local project.

0reactions
vsnigcommented, Apr 3, 2018

@tricoder42 thanks! That’s what I needed. Do you manually rebuild after change or is there a way to make it watch for changes and automatically rebuild?

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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