ice/.changeset
ClarkXia fa618ea200
fix: file name should compat with win32 (#6023)
2023-03-07 15:56:11 +08:00
..
README.md feat: use changeset to publish and version (#5864) 2023-02-13 14:48:34 +08:00
brave-hotels-visit.md chore: optional ts type of onDemand (#6010) 2023-03-06 16:58:11 +08:00
config.json chore: changeset config (#5909) 2023-02-16 16:11:49 +08:00
curly-windows-think.md fix: enable hmr to avoid reload (#6004) 2023-03-03 18:03:53 +08:00
lemon-bats-arrive.md fix: file name should compat with win32 (#6023) 2023-03-07 15:56:11 +08:00
new-lamps-argue.md fix: compatible with dynamic routes when disable lazy import (#6014) 2023-03-06 16:02:10 +08:00

README.md

Changesets

Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it in our repository

We have a quick list of common questions to get you started engaging with this project in our documentation

Add A Changeset

After you have completed a feature or fixed a bug, you need to do three things:

  • Select which packages should be released
  • Bump released packages version
  • Write Changelog for the released packages

You can follow these steps:

  • Run the command line script npm run changeset
  • Select the packages you want to include in the changeset using and to navigate to packages, and space to select a package. Hit enter when all desired packages are selected.
  • You will be prompted to select a bump type for each selected package. Select an appropriate bump type for the changes made. See here for information on semver versioning
  • Your final prompt will be to provide a message to go alongside the changeset. This will be written into the changelog when the next release occurs.

After that, you should commit changes to the remote repository. For example:

$ git status
On branch test-3
Untracked files:
  (use "git add <file>..." to include in what will be committed)
        .changeset/curvy-jobs-fly.md

$ git commit -am "chore: add changeset"

$ git push

For more detail, please see this documentation.

Publish Beta Version

NOTE: You must add a changeset first before publishing beta version.

Run the following command to publish the beta version

$ npm run release:beta

Then, we need to commit changes to the remote repository. For example:

$ git status
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   packages/a/CHANGELOG.md
        modified:   packages/a/package.json
        modified:   pnpm-workspace.yaml

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        .changeset/pre.json

$ git commit -am "chore: beta version"

$ git push

For more detail, please see this documentation.

Publish Latest Version

GitHub bot will automatically create a PR to update the latest versions for the released package.

image

What we need to do is merge the PR to the release* branch.