Skip to content

Commit

Permalink
fix: move semantic-release config
Browse files Browse the repository at this point in the history
  • Loading branch information
jmugliston committed Jul 29, 2024
1 parent f48b351 commit 0978361
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
30 changes: 1 addition & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,11 @@
"directories": {
"test": "test"
},
"release": {
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{
"type": "chore",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
"@semantic-release/github"
]
},
"scripts": {
"test": "node --test --experimental-test-coverage test/**/*.test.js",
"lint": "eslint .",
"start": "fastify start -l info -P ./src/app.js --address 0.0.0.0",
"dev": "fastify start -w -l info -P ./src/app.js --ignore-watch='node_modules .git tmp'",
"release": "semantic-release"
"dev": "fastify start -w -l info -P ./src/app.js --ignore-watch='node_modules .git tmp'"
},
"keywords": [],
"author": "James Mugliston",
Expand Down
28 changes: 28 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/**
* @type {import('semantic-release').GlobalConfig}
*/
export default {
branches: ['main'],
plugins: [
[
'@semantic-release/commit-analyzer',
{
preset: 'angular',
releaseRules: [
{
type: 'chore',
release: 'patch',
},
],
},
],
'@semantic-release/release-notes-generator',
[
'@semantic-release/npm',
{
npmPublish: false,
},
],
'@semantic-release/github',
],
}

0 comments on commit 0978361

Please sign in to comment.