Nyron

nyron init

Initialize Nyron configuration in your project

nyron init

Initialize Nyron in your project.

Usage

npx @nyron/cli init

This command creates a usable first-run setup in your current project:

  • nyron.config.ts
  • .nyron/meta.json
  • .nyron/versions.json

Options

--force

Overwrite existing configuration file if one already exists.

npx @nyron/cli init --force

What It Creates

Nyron detects your repository and package layout when possible. For a single-package repo, the generated config looks like this:

import { defineConfig } from "@nyron/cli/config"

export default defineConfig({
  repo: "owner/repo",
  projects: {
    main: {
      tagPrefix: "v",
      path: ".",
    },
  },
})

For monorepos, Nyron creates one project entry per discovered workspace package.

After writing the config, Nyron synchronizes .nyron/meta.json and .nyron/versions.json using the discovered project versions so you can use nyron bump immediately.

Next Steps

After initialization:

  1. Review and adjust nyron.config.ts if the detected projects need tweaking
  2. Run nyron bump to update a version
  3. Run nyron push-tag when you are ready to mark a release boundary