Skip to content

Commit

Permalink
build: use release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
ecklf committed Apr 29, 2022
1 parent e80200a commit dee5dc0
Show file tree
Hide file tree
Showing 2 changed files with 1,565 additions and 4 deletions.
14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"cleanup": "./cleanup.sh",
"compile": "rimraf solid && rimraf outline && node compile.js && tsc --emitDeclarationOnly --outDir . && cp solid/*.d.ts solid/esm && cp outline/*.d.ts outline/esm",
"build:fetch": "npm run gen && npm run compile && npm run cleanup",
"build": "npm run compile && npm run cleanup"
"build": "npm run compile && npm run cleanup",
"release": "npm run build:fetch && release-it"
},
"keywords": [
"react",
Expand Down Expand Up @@ -43,6 +44,7 @@
"junk": "^3.1.0",
"react": "^17.0.2",
"react-native-svg": "^12.3.0",
"release-it": "^14.14.2",
"rimraf": "^3.0.2",
"tiny-glob": "^0.2.9",
"ts-node": "^10.7.0",
Expand All @@ -51,5 +53,15 @@
"peerDependencies": {
"react": ">=16.8",
"react-native-svg": ">=9"
},
"release-it": {
"git": {
"commitMessage": "chore: release v${version}",
"tagName": "v${version}",
"requireCleanWorkingDir": false
},
"github": {
"release": true
}
}
}
Loading

0 comments on commit dee5dc0

Please sign in to comment.