http-status
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -1,3 +0,13 @@ | ||
# Changelog: HTTP Status | ||
# Changelog | ||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
### [1.5.1](https://github.com/adaltas/node-http-status/compare/v1.5.0...v1.5.1) (2022-04-14) | ||
### Bug Fixes | ||
* **types:** 502 is missing _NAME, _MESSAGE, _CLASS ([b86e714](https://github.com/adaltas/node-http-status/commit/b86e714db1ef41c0e841c9c96096d0288378d048)) | ||
## Version 1.5.0 | ||
@@ -4,0 +14,0 @@ |
{ | ||
"name": "http-status", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Interact with HTTP status code", | ||
@@ -22,2 +22,4 @@ "homepage": "https://github.com/adaltas/node-http-status", | ||
"devDependencies": { | ||
"@commitlint/cli": "^16.2.3", | ||
"@commitlint/config-conventional": "^16.2.1", | ||
"@types/mocha": "^8.0.4", | ||
@@ -27,4 +29,7 @@ "@types/node": "^14.14.7", | ||
"coffeescript": "2.5.1", | ||
"commitlint": "^16.2.3", | ||
"husky": "^7.0.4", | ||
"mocha": "8.2.1", | ||
"should": "13.2.3", | ||
"standard-version": "^9.3.2", | ||
"ts-node": "^9.0.0", | ||
@@ -74,12 +79,13 @@ "typescript": "^4.0.5" | ||
"scripts": { | ||
"preversion": "grep '## Trunk' CHANGELOG.md && npm test", | ||
"version": "version=`grep '^ \"version\": ' package.json | sed 's/.*\"\\([0-9\\.]*\\)\".*/\\1/'` && sed -i \"s/## Trunk/## Version $version/\" CHANGELOG.md && git add CHANGELOG.md", | ||
"postversion": "git push origin master && git push origin master --tags && npm publish", | ||
"patch": "npm version patch -m 'Bump to version %s'", | ||
"minor": "npm version minor -m 'Bump to version %s'", | ||
"major": "npm version major -m 'Bump to version %s'", | ||
"coffee": "coffee -b -o lib src", | ||
"pretest": "coffee -b -o lib src && cp src/index.d.ts lib", | ||
"__postversion": "git push origin master && git push origin master --tags && npm publish", | ||
"build": "coffee -b -o lib src && cp src/index.d.ts lib", | ||
"prepare": "husky install", | ||
"prepublishOnly": "git push --follow-tags origin master", | ||
"pretest": "npm run build", | ||
"release": "standard-version", | ||
"release:minor": "standard-version --release-as minor", | ||
"release:patch": "standard-version --release-as patch", | ||
"release:major": "standard-version --release-as major", | ||
"test": "mocha \"test/**/*.{coffee,ts}\"" | ||
} | ||
} |
@@ -190,1 +190,15 @@ [![Build Status](https://secure.travis-ci.org/adaltas/node-http-status.png)](http://travis-ci.org/adaltas/node-http-status) | ||
This package is developed by [Adaltas](http://www.adaltas.com). | ||
## Developers | ||
To automatically generate a new version: | ||
``` | ||
yarn run release | ||
``` | ||
There is currently no CI, copy/paste the code after release. Note, commits and tags are automatically pushed before publishing. | ||
``` | ||
npm publish | ||
``` |
68538
12
1177
204
13