kepler.gl is a webgl based application to visualize large scale location data in the browser
npm install @carto/kepler.glPublished as @carto/kepler.gl, used by the Cloud Native app.
- Each development should be done in its own feature branch
- The pull request should be diff-ed with the main branch
- Apart from code changes, the PR should include an entry in the "Not released" section of CHANGELOG.md with a link to itself (if the section is not present, re-create it at the top of the file). This facilitates the release process by keeping the changelog always up-to-date with main.
Ex:
``md
## Not released
- Support for count aggregation 141
`
- After review, merge into the main branch by squashing commits, to keep a clean history.
When developing locally, you can use symlinks to connect your local Cloud Native to your local CARTO Kepler:
1. in carto-kepler: yarn linkyarn link @carto/kepler.gl
1. in cloud-native: yarn build:watch
1. in carto-kepler: yarn start
1. in cloud-native:
To be able to test a dev version of carto-kepler from cloud-native on a remote environment (ex: dedicated environments for QA), you need to publish an alpha version of carto-kepler.
1. Switch to the branch you want to publish. You can use any unmerged dev branch, but make sure it's based on the latest main to avoid behavior changes outside the branch scope.package.json
1. Manually change the version in . Use this pattern: .
Ex: 0.0.47-alpha.custom-markers
1. Build the project with yarn build, and ensure there is no error.`
1. Publish the package to NPM as alpha. You need to have the proper rights on the NPM organization.
`
npm publish --tag alpha
cloud-native
1. If the package has been correctly published, then in install the new version with yarn add @carto/kepler.gl@, and open a PR.
If you need to change some things later in the code, you will need to republish. Repeat the process by simply adding a suffix to the version number.
Ex: 0.0.47-alpha.custom-markers.2
1. Create a branch release- from the latest changes on main.CHANGELOG.md
1. Modify the file, by creating a new section and moving contents from "Not released" to it. Keep the empty "Not released" section at the top of the file.package.json
1. Increase version in to yarn build
1. Build the project with , and ensure there is no error.git commit -am "release
1. Commit the changes (), push, open a PR, ask for review and merge.main
1. Finally change to the branch and publish to NPM
```
npm publish --access public