@cognite/3d-web-parser v0.13.7
JavaScript parser for 3D web files
This module parses 3D data from Cognite Data Platform used in the 3D viewer.
Using typescript
This module is written in native typescript, so no extra types need to be defined.
License
Development
Run all tests:
$ yarn
$ yarn test
We use jest
to run tests, see their documentation for more information.
Update protobuf schema
- Run
yarn run pbjs -t json -o src/proto/web_scene.json {path to web_scene.proto}
Releasing
How to release a new patch version
New patch releases are usually based on the release branch for the given minor version.
- Checkout the release branch for the previous minor version, named
releases/x.y
.git checkout release/x.y
- Create a new branch for your changes
git checkout -b yourusername/release/x.y.z
- Cherry-pick your changes from the
master
branch or add new commits. - Update
package.json
with the correct version in the header. - Push your branch
git push
- Create a new pull requests from
yourusername/release/x.y.z
into therelease/x.y
branch. - Wait for review and merge. After merge, switch to branch
release/x.y
and pull changes. - Tag last commit with version, i.e. "vX.Y.Z".
- Push tag
git push --tags
- A new version will be published when the tag is pushed.
How to release a new minor or major version
New minor or major releases are usually based directly on the current version in master
.
- Checkout the
master
branch.git checkout master
- Create a release branch.
git checkout -b release/x.y
- Push the branch.
git push
- Create a new branch for your changes:
git checkout -b yourusername/release/x.y
- Create a version commit by running.
$ npm version [minor/major] # example: $ npm version minor
- Push branch and push tags (
git push --tags
) - Create a new pull requests from
yourusername/release/x.y.z
into therelease/x.y
branch. - A new version will be published when the PR is merged
3 years ago
3 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago