Skip to content

Commit

Permalink
🚧 (release): Setup versioning and changelog generation
Browse files Browse the repository at this point in the history
  • Loading branch information
valpinkman committed Feb 14, 2024
1 parent 595958e commit 3276c5f
Show file tree
Hide file tree
Showing 9 changed files with 1,745 additions and 13 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"ui": "pnpm --filter @ledgerhq/device-sdk-ui",
"sample": "pnpm --filter @ledgerhq/device-sdk-sample",
"prepare": "husky",
"commit": "gitmoji -c"
"commit": "gitmoji -c",
"release": "pnpm turbo run release --log-order=grouped"
},
"devDependencies": {
"@types/jest": "^29.5.11",
Expand All @@ -34,6 +35,9 @@
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"rimraf": "^5.0.5",
"semantic-release": "^23.0.2",
"semantic-release-config-gitmoji": "^1.5.3",
"semantic-release-monorepo": "^8.0.2",
"turbo": "^1.12.3",
"typescript": "^5.3.3",
"zx": "^7.2.3"
Expand Down
13 changes: 13 additions & 0 deletions packages/core/.releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"branches": [
{
"name": "feature/dsdk-66-changelog",
"channel": "wip",
"prerelease": true
}
],
"extends": [
"semantic-release-monorepo",
"semantic-release-config-gitmoji"
]
}
3 changes: 2 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"test": "jest src",
"test:watch": "pnpm test -- --watch",
"test:coverage": "pnpm test -- --coverage",
"module:create": "pnpm hygen core-module with-prompt"
"module:create": "pnpm hygen core-module with-prompt",
"release": "semantic-release"
},
"dependencies": {
"inversify": "^6.0.2",
Expand Down
13 changes: 13 additions & 0 deletions packages/signer/.releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"branches": [
{
"name": "feature/dsdk-66-changelog",
"channel": "wip",
"prerelease": true
}
],
"extends": [
"semantic-release-monorepo",
"semantic-release-config-gitmoji"
]
}
13 changes: 13 additions & 0 deletions packages/trusted-apps/.releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"branches": [
{
"name": "feature/dsdk-66-changelog",
"channel": "wip",
"prerelease": true
}
],
"extends": [
"semantic-release-monorepo",
"semantic-release-config-gitmoji"
]
}
13 changes: 13 additions & 0 deletions packages/ui/.releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"branches": [
{
"name": "feature/dsdk-66-changelog",
"channel": "wip",
"prerelease": true
}
],
"extends": [
"semantic-release-monorepo",
"semantic-release-config-gitmoji"
]
}
3 changes: 2 additions & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"lint:fix": "eslint --cache --fix --ext .ts \"src\"",
"prettier": "prettier . --check",
"prettier:fix": "prettier . --write",
"test": "jest --passWithNoTests"
"test": "jest --passWithNoTests",
"release": "semantic-release"
},
"dependencies": {
"inversify": "^6.0.2",
Expand Down
Loading

0 comments on commit 3276c5f

Please sign in to comment.