conventional-release-setup
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -147,4 +147,5 @@ #!/usr/bin/env node | ||
exec(`npx ${huskyInstall}`); | ||
exec(`npx husky add .husky/commit-msg 'npx commitlint --edit $1'`); | ||
exec('git add .husky/'); | ||
exec(`npx husky add .husky/commit-msg ''`); | ||
exec(`echo 'npx commitlint --edit $1' >> .husky/commit-msg`); | ||
exec('git add .husky'); | ||
} | ||
@@ -151,0 +152,0 @@ |
{ | ||
"name": "conventional-release-setup", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Sets up package for committing/releasing with conventional commits.", | ||
@@ -12,4 +12,3 @@ "author": "Mark <mark@remarkablemark.org>", | ||
"postpublish": "pinst --enable", | ||
"prepublishOnly": "pinst --disable", | ||
"release": "standard-version --no-verify" | ||
"prepublishOnly": "pinst --disable" | ||
}, | ||
@@ -29,11 +28,10 @@ "repository": { | ||
"devDependencies": { | ||
"@commitlint/cli": "^12.0.0", | ||
"@commitlint/config-conventional": "^12.0.0", | ||
"eslint": "^7.20.0", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"husky": "^5.0.9", | ||
"lint-staged": "^10.5.4", | ||
"pinst": "^2.1.4", | ||
"prettier": "^2.2.1", | ||
"standard-version": "^9.1.0" | ||
"@commitlint/cli": "^17.0.2", | ||
"@commitlint/config-conventional": "^17.0.2", | ||
"eslint": "^8.17.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"husky": "^8.0.1", | ||
"lint-staged": "^13.0.0", | ||
"pinst": "^3.0.0", | ||
"prettier": "^2.6.2" | ||
}, | ||
@@ -40,0 +38,0 @@ "files": [ |
@@ -110,11 +110,6 @@ # conventional-release-setup | ||
Only collaborators with credentials can release and publish: | ||
Release and publish are automated by [Release Please](https://github.com/googleapis/release-please). | ||
```sh | ||
npm run release | ||
git push --follow-tags && npm publish | ||
``` | ||
## License | ||
[MIT](https://github.com/remarkablemark/conventional-release-setup/blob/master/LICENSE) |
8
141
8813
5
115