Skip to content

Commit

Permalink
chore: setup release-it 👷
Browse files Browse the repository at this point in the history
  • Loading branch information
kareemmahlees committed Sep 13, 2024
1 parent 1278f4c commit 2970062
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 3 deletions.
38 changes: 38 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"$schema": "https://unpkg.com/release-it@17/schema/release-it.json",
"git": {
"commitMessage": "chore: release v${version}🔖",
"tagAnnotation": "v${version}",
"commitArgs": ["-S"],
"requireBranch": true,
"requireCommits": true
},
"github": {
"release": true,
"web": true,
"releaseName": "v${version}"
},
"npm": {
"publish": false
},
"plugins": {
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
"header": "# TableX's Changelog",
"ignoreRecommendedBump": true,
"preset": {
"name": "angular"
}
},
"@release-it/bumper": {
"in": {
"file": "Cargo.toml",
"path": "workspace.package.version"
},
"out": {
"file": "Cargo.toml",
"path": "workspace.package.version"
}
}
}
}
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ resolver = "2"

[workspace.package]
description = "Table Viewer for modern developers"
version = "0.3.4"
version = "0.3.9"
license = "MIT"
authors = ["Kareem Ebrahim <kareemmahlees@gmail.com>"]
repository = "https://github.com/kareemmahlees/tablex"
Expand Down
Binary file modified bun.lockb
Binary file not shown.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tablex",
"version": "0.1.0",
"version": "0.0.0",
"license": "MIT",
"author": {
"name": "Kareem Ebrahim"
Expand Down Expand Up @@ -28,13 +28,16 @@
"rust:lint": "cargo clippy",
"lint": "bun ts:lint && bun rust:lint",
"format:check": "bunx prettier . --check",
"format:fix": "bunx prettier . --write"
"format:fix": "bunx prettier . --write",
"release": "release-it"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.7",
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",
"@release-it/bumper": "^6.0.1",
"@release-it/conventional-changelog": "^8.0.2",
"@types/bun": "^1.1.7",
"@types/node": "^20.16.1",
"@types/react": "^18.3.4",
Expand All @@ -50,6 +53,7 @@
"postcss": "^8.4.41",
"prettier": "3.1.1",
"prettier-plugin-tailwindcss": "^0.6.6",
"release-it": "^17.6.0",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4"
},
Expand Down

0 comments on commit 2970062

Please sign in to comment.