Create a new issue if you find a bug or have a question/feature request.
I'm working on FromJS 2 right now and the code isn't always very clean. Open an issue or email me if you're interested in contributing anyway.
Use lerna bootstrap
to install dependencies.
I usually run all of these commands:
yarn run test-watch
for unit/integration tests- In packages/ui
yarn run webpack-watch
for building the inspector UI - In packages/core
yarn run webpack-watch
to build the helperFunctions (compiled result is used by Babel plugin) yarn run compile-all-watch
npm run cli-debug
npm run cli-browser
(open browser separately so the BE/Proxy process can restart)
If you change the welcome page there's a separate bundle for that in @fromjs/backend.
VERIFY=true
enables sanity check on collected data and points out when tracking data is missing
You need to run the [web server for the test cases](git clone git@github.com:mattzeunert/fromjs-test-cases.git) locally, check the CI config for details.
Add ?debug
to the inspector URL to get a button to enter debug mode. Debug mode for example lets you see the complete log JSON.