Skip to content

Commit

Permalink
add a shared config
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonNiklasson committed Nov 24, 2021
1 parent 4ab8763 commit ff5dbc7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"git": {
"commitMessage": "chore: release v${version}"
},
"github": {
"release": true
},
"hooks": {
"before:init": ["npm test", "npm build"]
}
}
2 changes: 1 addition & 1 deletion json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build:cjs": "rm -rf dict/cjs && tsc --outDir dist/cjs --module commonjs",
"build:esm": "rm -rf dist/esm && tsc --outDir dist/esm --module esnext",
"build": "npm run build:cjs && npm run build:esm",
"release": "release-it"
"release": "release-it --config ../.release-it.json"
},
"dependencies": {
"fast-json-patch": "^3.1.0"
Expand Down
2 changes: 1 addition & 1 deletion y-json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"build": "npm run build:cjs && npm run build:esm",
"test": "jest",
"build:example": "npm i && npm run build",
"release": "release-it"
"release": "release-it --config ../.release-it.json"
},
"devDependencies": {
"fast-check": "^2.19.0",
Expand Down
2 changes: 1 addition & 1 deletion y-redux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build:esm": "rm -rf dist/esm && tsc --outDir dist/esm --module esnext",
"build": "npm run build:cjs && npm run build:esm",
"build:example": "npm i && npm run build",
"release": "release-it"
"release": "release-it --config ../.release-it.json"
},
"devDependencies": {
"@sanalabs/y-json": "file:../y-json",
Expand Down

0 comments on commit ff5dbc7

Please sign in to comment.