Skip to content

Improve init command #160

Closed
Closed

Description

@emmatown

I'm thinking now that we have a JSON config, we could have the init command ask the user and write the config that they want.

The flow I'm thinking:

  1. Do you want to generate changelogs? If so, which changelog entry generator would you like to use?
  1. Would you like Changesets to commit changesets and version/changelog updates for you?
  2. Should packages be published publicly or privately?

Activity

  1. Noviny commented on Sep 17, 2019

    @Noviny
    Contributor

    This makes sense to me. I think #159 for common use-cases is probably higher priority though - wouldn't mind shipping some basic ones before making it obvious options

  2. emmatown commented on Sep 18, 2019

    @emmatown
    MemberAuthor

    Yes, 100%. I'm probably going to do #159 and then this issue after.

  3. chengyixu commented on Mar 20, 2026

    @chengyixu

    Hi! I'd like to work on this.

    Approach: I'll enhance the init command to use an interactive prompt (via @changesets/get-config or similar) that walks users through: (1) changelog preference (none / GitHub-linked / commits only), (2) whether to auto-commit changesets and version bumps, and (3) public vs private publish scope. The answers will be serialized into .changeset/config.json so the project is fully configured from the start.

    Timeline: 2-3 days
    Background: Node.js/TypeScript specialist, 35+ npm packages, extensive monorepo and changeset release automation experience.

    — @chengyixu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions