manage versioning with changesets

This commit is contained in:
Yanick Champoux 2025-02-01 11:18:42 -05:00
parent ad72570f49
commit 7401530bb3
6 changed files with 36 additions and 1 deletions

8
.changeset/README.md Normal file
View File

@ -0,0 +1,8 @@
# 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](https://github.com/changesets/changesets)
We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

11
.changeset/config.json Normal file
View File

@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.5/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}

8
.changeset/pre.json Normal file
View File

@ -0,0 +1,8 @@
{
"mode": "pre",
"tag": "alpha",
"initialVersions": {
"updux": "4.0.0-alpha.9"
},
"changesets": []
}

View File

@ -0,0 +1,5 @@
---
'updux': patch
---
Use @changesets/cli as the changelog manager

View File

@ -46,6 +46,8 @@ tasks:
- git is-clean
# did we had tests?
- git diff-ls {{.PARENT_BRANCH}} | grep test
# a new changeset
- git diff-ls main | grep .changeset/
- git checkout {{.PARENT_BRANCH}}
- git weld -

View File

@ -2,11 +2,12 @@
"version": "4.0.0-alpha.9",
"type": "module",
"dependencies": {
"@changesets/cli": "^2.27.12",
"@mobily/ts-belt": "4.0.0-rc.5",
"@reduxjs/toolkit": "^2.2.7",
"@yanick/updeep-remeda": "^2.3.1",
"json-schema-shorthand": "^2.0.0",
"json-schema-to-ts": "^2.9.2",
"@reduxjs/toolkit": "^2.2.7",
"moize": "^6.1.6",
"redux": "^4.2.0",
"remeda": "^1.0.1",