diff --git a/.changeset/README.md b/.changeset/README.md new file mode 100644 index 0000000..e5b6d8d --- /dev/null +++ b/.changeset/README.md @@ -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) diff --git a/.changeset/config.json b/.changeset/config.json new file mode 100644 index 0000000..6b37255 --- /dev/null +++ b/.changeset/config.json @@ -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": [] +} diff --git a/.changeset/pre.json b/.changeset/pre.json new file mode 100644 index 0000000..6c328bc --- /dev/null +++ b/.changeset/pre.json @@ -0,0 +1,8 @@ +{ + "mode": "pre", + "tag": "alpha", + "initialVersions": { + "updux": "4.0.0-alpha.9" + }, + "changesets": [] +} diff --git a/.changeset/wise-owls-accept.md b/.changeset/wise-owls-accept.md new file mode 100644 index 0000000..d26ceaf --- /dev/null +++ b/.changeset/wise-owls-accept.md @@ -0,0 +1,5 @@ +--- +'updux': patch +--- + +Use @changesets/cli as the changelog manager diff --git a/Taskfile.yaml b/Taskfile.yaml index 1584275..24f5b93 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -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 - diff --git a/package.json b/package.json index 07598d3..fcda13c 100644 --- a/package.json +++ b/package.json @@ -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",