|
| 1 | +{ |
| 2 | + "$schema": "https://unpkg.com/release-it@19/schema/release-it.json", |
| 3 | + "git": { |
| 4 | + "commitMessage": "chore: release v${version}", |
| 5 | + "tagName": "v${version}", |
| 6 | + "tagAnnotation": "Release v${version}", |
| 7 | + "requireBranch": "main", |
| 8 | + "requireCleanWorkingDir": true, |
| 9 | + "push": true, |
| 10 | + "pushArgs": ["--follow-tags"] |
| 11 | + }, |
| 12 | + "github": { |
| 13 | + "release": true, |
| 14 | + "releaseName": "v${version}", |
| 15 | + "autoGenerate": false, |
| 16 | + "draft": false, |
| 17 | + "preRelease": false, |
| 18 | + "tokenRef": "GITHUB_TOKEN" |
| 19 | + }, |
| 20 | + "npm": false, |
| 21 | + "hooks": { |
| 22 | + "after:bump": "tsx tools/sync-versions.ts ${version}", |
| 23 | + "before:release": "pnpm build && pnpm --filter=@databricks/appkit dist && pnpm --filter=@databricks/appkit-ui dist", |
| 24 | + "after:release": "pnpm --filter=@databricks/appkit publish ./tmp --access public --no-git-checks && pnpm --filter=@databricks/appkit-ui publish ./tmp --access public --no-git-checks" |
| 25 | + }, |
| 26 | + "plugins": { |
| 27 | + "@release-it/conventional-changelog": { |
| 28 | + "preset": { |
| 29 | + "name": "conventionalcommits", |
| 30 | + "types": [ |
| 31 | + { "type": "feat", "section": "Features" }, |
| 32 | + { "type": "fix", "section": "Bug Fixes" }, |
| 33 | + { "type": "perf", "section": "Performance Improvements" }, |
| 34 | + { "type": "refactor", "section": "Code Refactoring" }, |
| 35 | + { "type": "docs", "section": "Documentation" }, |
| 36 | + { "type": "test", "section": "Tests" }, |
| 37 | + { "type": "build", "section": "Build System" }, |
| 38 | + { "type": "ci", "section": "Continuous Integration" }, |
| 39 | + { "type": "chore", "section": "Chores", "hidden": true } |
| 40 | + ] |
| 41 | + }, |
| 42 | + "writerOpts": { |
| 43 | + "groupBy": "scope", |
| 44 | + "commitGroupsSort": ["appkit", "appkit-ui"], |
| 45 | + "commitsSort": ["type", "subject"] |
| 46 | + }, |
| 47 | + "infile": "CHANGELOG.md", |
| 48 | + "header": "# Changelog\n\nAll notable changes to this project will be documented in this file." |
| 49 | + } |
| 50 | + } |
| 51 | +} |
0 commit comments