keplergl / kepler.gl

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
http://kepler.gl
MIT License
10.36k stars 1.74k forks source link

Building a forked version of kepler.gl #1877

Open blanch0t opened 2 years ago

blanch0t commented 2 years ago

Hi,

I want to make some specific changes to kepler.gl to best suit my needs. To do so, I forked this repo and linked the fork to my dependencies by running: yarn add ssh://git@github.com:blanch0t/kepler.gl.git. This works but basically just copies everything from the repo to the node_modules/kepler.gl folder. To make it useful I added "prepare": "yarn run build" to the package.json of the fork, which makes the repo build at installation time (this is the only change I made). However, the build results in a dist folder which hierarchy is very different from the one's we get by installing the npm package, making it unusable.

Please tell me what am I doing wrong and how to actually use a forked version of kepler.gl.

Thanks

blanch0t commented 2 years ago

Update

I'm trying to clone the fork and build from there. I found that this line: "prepublish": "yarn workspaces run stab && yarn workspaces run prepublish && uber-licence && yarn build && yarn build:umd && yarn build:types" is supposedly doing the needed builds, but it doesn't work. The typescript build cannot find the @kepler.gl/constants module when I run yarn.