Skip to content

Getting Started

  • Node.js >=22
  • A Git repository with at least one commit
  • An npm or JSR account (depending on your publish target)

Install

Terminal window
npm install -D revola

Run (without install)

Terminal window
npx revola
  1. Initialize Revola

    Run the init command to generate a default config file. See the default configuration: Default Config

    Terminal window
    revola init

    This will create a .revola.json in your project.

    • .revola.json revola config file
    • package.json
  2. Configure your project

    Edit the generated config file to match your setup:

    {
    "preset": "node",
    "npm": {
    "publish": true,
    "tokenRef": "NPM_TOKEN",
    "access": "public",
    "provenance": false
    },
    "jsr": {
    "publish": false,
    "tokenRef": "JSR_TOKEN",
    "packageManager": "npx"
    },
    "changelog": {
    "enabled": true,
    "file": "CHANGELOG.md",
    "title": "{{REVOLA_VERSION}} ({{REVOLA_DATE}})"
    }
    }
  3. Before making changes, run a dry run to preview what will happen:

    Terminal window
    revola --dry-run