Guide
Introduction

Introduction

Configuration

Step 1

Run the below command to configure Changesets using Think Throo CLI.

npx thinkthroo@latest configure changesets

This will create necessary scaffolding to start using changesets in your project. Learn more.

Step 2

Run the below command to initialize the changesets in your project

npm run changeset:init

This creates .changesets folder that contains config.json and README.md. Learn more.

At this point, you need to learn how Changesets works. I recommend you to read Examples and references and the Changesets official get started guide.

Step 3:

To add your changeset, run the below command:

npm run changeset:add

When you run this command, you will be prompted with two questions:

What kind of change is this for Your_Project_Name? (current version is 1.0.0)
- patch
- minor
- major

Once you choose one of the options from the above, the second prompt looks like below:

Please enter a summary for this change (this will be in the changelogs).
Summary:

Keep this summary short as it will go into your changelogs.

Step 4:

CLI Options

Usage: thinkthroo configure [options] [features...]

Configure a feature in your project

Arguments:
  features         the features to add.

Options:
  -y, --yes                    skip confirmation prompt. (default: false)
  -o, --overwrite          overwrite existing files. (default: false)
  -c, --cwd <cwd>       the working directory. defaults to the current directory.
  -a, --all                      add all available features (default: false)
  -s, --silent                 mute output. (default: false)
  -h, --help                  display help for command

Next steps

  1. Files scaffolded
  2. Examples and references