Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

conventional-release-setup

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-release-setup - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

files/.huskyrc.json

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [1.0.1](https://github.com/remarkablemark/conventional-release-setup/compare/v1.0.0...v1.0.1) (2020-03-24)
## 1.0.0 (2020-02-17)

@@ -7,0 +9,0 @@

2

package.json
{
"name": "conventional-release-setup",
"version": "1.0.0",
"version": "1.0.1",
"description": "Sets up package for committing/releasing with conventional commits.",

@@ -5,0 +5,0 @@ "author": "Mark <mark@remarkablemark.org>",

@@ -41,2 +41,29 @@ # conventional-release-setup

What does this script do?
It installs the devDependencies:
- [@commitlint/cli](https://www.npmjs.com/package/@commitlint/cli) - lints commit messages
- [@commitlint/config-conventional](https://www.npmjs.com/package/@commitlint/config-conventional) - config with [conventional commits](https://conventionalcommits.org/) rules
- [husky](https://www.npmjs.com/package/husky) - sets up Git hooks
- [standard-version](https://www.npmjs.com/package/standard-version) - generates changelog and bumps version
And copies the configs to your project root:
- [.commitlintrc.json](https://github.com/remarkablemark/conventional-release-setup/blob/master/files/.commitlintrc.json)
- [.huskyrc](https://github.com/remarkablemark/conventional-release-setup/blob/master/files/.huskyrc)
For your first release, it's recommended to do the following:
```sh
# git stash
$ npm version 1.0.0
$ git add package.json
$ git commit -m 'chore(package): bump version to 1.0.0'
$ npx standard-version --first-release
# git stash pop
```
See [standard-version > First Release](https://github.com/conventional-changelog/standard-version#first-release) for more details.
## Release

@@ -43,0 +70,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc