facebook / memlab

A framework for finding JavaScript memory leaks and analyzing heap snapshots
https://facebook.github.io/memlab/
MIT License
4.36k stars 119 forks source link

build/devx tidy ups #3

Closed mrsharpoblunto closed 2 years ago

mrsharpoblunto commented 2 years ago

This PR includes a few small devx improvements & build simplifications for the open source use-case. Maybe some of these changes mess with the internal setup, so feel free to take/leave these changes :)

1) Removes lerna in favor of npms built in 'workspaces' feature 2) Removes the typescript-strict-plugin which isn't needed as all files are typescript-strict compatible now 3) Adds a stub .watchmanconfig to get rid of warning messages when running tests 4) Adds a 'dev' command that watches for changes and rebuilds all projects automatically 5) Adds a 'memlab' bin command to the @memlab/cli project. This is the canonical way to create executable projects in node & makes it play nicely with npm installs.

facebook-github-bot commented 2 years ago

@JacksonGL has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 2 years ago

@mrsharpoblunto has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.