kepler.gl icon indicating copy to clipboard operation
kepler.gl copied to clipboard

Building a forked version of kepler.gl

Open blanch0t opened this issue 3 years ago • 1 comments

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://[email protected]: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 avatar Jul 26 '22 17:07 blanch0t

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.

blanch0t avatar Jul 27 '22 16:07 blanch0t