Coder Social home page Coder Social logo

cogment / cogment-js-sdk Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 1.0 12.48 MB

Cogment Javascript SDK

Home Page: https://www.npmjs.com/package/@cogment/cogment-js-sdk

License: Apache License 2.0

Shell 10.53% JavaScript 8.57% Python 3.90% TypeScript 77.00%
cogment javascript

cogment-js-sdk's Introduction

Cogment JS SDK

Developers

Basic setup

  1. Install dependencies:

    npm install
  2. Build all the sub-packages:

    npm run build --workspaces --if-present
  3. Run all the tests:

    npm run test --workspaces --if-present

Define the version of Cogment protobuf API

The version of the cogment protobuf API is defined in the ./packages/@cogment/cogment-js-sdk/config.json file at the root of the repository. It should be defined as a URL pointing to a .tar.gz archive of the cogment api, e.g. https://github.com/cogment/cogment/releases/download/v2.3.0/cogment-api.tar.gz.

To use a local version of the API copy the files in ./packages/@cogment/cogment-js-sdk/cogment/api and run npm run build:protos:compile && npm run build:webpack && npm run build:tsc instead of the default npm run build.

Release process

People having maintainers rights of the repository can follow these steps to release a version MAJOR.MINOR.PATCH. The versioning scheme follows Semantic Versioning.

  1. Run ./scripts/create_release_branch.sh MAJOR.MINOR.PATCH automatically compute and update the version of the package, create the release branch and update the changelog from the commit history,
  2. On the release branch, check and update the changelog if needed, update internal dependencies, and make sure everything's fine on CI,
  3. Run ./scripts/tag_release.sh MAJOR.MINOR.PATCH to create the specific version section in the changelog, merge the release branch in main, create the release tag and update the develop branch with those.

The rest, publishing the packages to dockerhub and updating the mirror repositories, is handled directly by the CI.

cogment-js-sdk's People

Contributors

air-sara avatar cloderic avatar ecoutu avatar francois-air avatar semantic-release-bot avatar yves-air avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ecoutu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.