From 827422b38eff7a3936208a04aee262ae43b56049 Mon Sep 17 00:00:00 2001 From: Ashwin Vishnu Date: Tue, 15 Oct 2019 14:13:40 +0200 Subject: [PATCH] Release: 0.2.0.rc2 Release guidelines 0.2.0-rc.2 More release guidelines --- .eslintrc.yml | 2 +- .gitignore | 3 +++ CHANGELOG.md | 6 +++++- CONTRIBUTING.md | 28 ++++++++++++++++++++++++++++ package.json | 2 +- version.js | 2 +- 6 files changed, 39 insertions(+), 4 deletions(-) create mode 100644 CONTRIBUTING.md diff --git a/.eslintrc.yml b/.eslintrc.yml index a79bf2c..c6d3599 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -80,7 +80,7 @@ rules: max-depth: error max-len: 'off' max-lines: error - max-lines-per-function: error + max-lines-per-function: 'off' max-nested-callbacks: error max-params: error max-statements: 'off' diff --git a/.gitignore b/.gitignore index d6b2a73..7cd0255 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,6 @@ package-lock.json yarn.lock yarn*.log debug.html + +# packages +*.tgz diff --git a/CHANGELOG.md b/CHANGELOG.md index 93e6c9f..0c745d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ -# 0.2.0.rc1 (2017-07-19) +# 0.2.0.rc2 (2019-10-15) + +* Bug fix: PUT request and response for node>10 + +# 0.2.0.rc1 (2019-07-21) * Optional MathJax support * Apache 2.0 license diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..931382c --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,28 @@ +# Install in development mode + + npm install -g . + npm install --only=dev . + +# Making a release + +Test + + npm run test + +Update changelog and finalize changes + + git commit + npm version prerelease # or patch, minor, major + +Package + + npm run prepare # runs genversion + git add version.js + npm pack # automatically commits and tags + +Deploy + + git push + git push --tags + npm publish + diff --git a/package.json b/package.json index f727069..5a3d7ac 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "url": "git+https://github.com/suan/instant-markdown-d.git" }, "description": "Instantly-updating Markdown Server", - "version": "0.2.0-rc.1", + "version": "0.2.0-rc.2", "license": "Apache-2.0", "homepage": "https://github.com/suan/instant-markdown-d", "engines": { diff --git a/version.js b/version.js index cf1b380..a695389 100644 --- a/version.js +++ b/version.js @@ -1,2 +1,2 @@ // generated by genversion -module.exports = '0.2.0-rc.1' +module.exports = '0.2.0-rc.2'