Skip to content

Commit

Permalink
ci: setup release-it for managing releases πŸ‘·πŸ”– (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
kareemmahlees authored Sep 13, 2024
1 parent 1278f4c commit d747858
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 63 deletions.
8 changes: 0 additions & 8 deletions .changeset/README.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/config.json

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/changeset.yml

This file was deleted.

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
1 change: 0 additions & 1 deletion apps/core/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
}
},
"productName": "TableX",
"version": "../package.json",
"identifier": "tablex",
"plugins": {},
"app": {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tablex/web",
"type": "module",
"version": "0.0.1",
"version": "0.0.0",
"scripts": {
"dev": "bunx --bun astro dev",
"start": "bunx --bun astro dev",
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 d747858

Please sign in to comment.