DoneJS StealJS jQuery++ FuncUnit DocumentJS
3.14.1
5.0.0 4.3.0 2.3.35
  • About
  • Guides
  • API Docs
  • Community
  • Contributing
  • Bitovi
    • Bitovi.com
    • Blog
    • Design
    • Development
    • Training
    • Open Source
    • About
    • Contact Us
  • About
  • Guides
  • API Docs
  • Community
  • Contributing
    • Creating the Legacy Branch
    • Changing the Code
    • Releasing CanJS
    • Updating the Site
  • GitHub
  • Twitter
  • Chat
  • Forum
  • News
Bitovi

Releasing CanJS

  • Edit on GitHub

Release and hosting information for CanJS maintainers.

For maintainers of CanJS and its submodules this guide describes

  • How to make a releases of CanJS subprojects and the main package

Releasing CanJS subprojects

All CanJS subprojects modules have the same structure which allows making releases through npm scripts.

To make a release:

  1. Move to the 3.x-legacy branch

  2. Fetch all latest changes from the repository

  3. Reinstall all Node modules in their latest version

    git checkout 3.x-legacy
    git fetch --all && git rebase
    npm cache clean
    rm -rf node_modules
    npm install
    
  4. Then run npm run release:<versiontype>. For example, to make a PATCH release:

    npm run release:patch
    

This will run the tests, build, bump the version number accordingly and publish the module to npm.

Releasing the CanJS main project

The CanJS main package also has a 3.x-legacy branch set up to publish to the 3.x-legacy tag in NPM using the same release script setup.

CanJS is part of DoneJS. Created and maintained by the core DoneJS team and Bitovi. Currently 3.14.1.

On this page

Get help

  • Chat with us
  • File an issue
  • Ask questions
  • Read latest news