From 84218c53a5db42c6238a425881c1e3b7b9ea9488 Mon Sep 17 00:00:00 2001 From: Jon Newton Date: Mon, 28 Mar 2022 08:53:15 -0400 Subject: [PATCH 1/3] Fix for #5 - always use LF for this repo. Follow the suggestions in https://github.com/yarnpkg/yarn/issues/5480 - establish .editorconfig setting to ensure LF is used by editor - establish .gitattributes setting to ensure LF is used upon checkout Convert existing files to LF via dos2unix. --- .editorconfig | 3 ++- .gitattributes | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig index 078c54c..299cc60 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,4 +2,5 @@ root = true [*] indent_style = space indent_size = 2 -charset = utf-8 \ No newline at end of file +charset = utf-8 +end_of_line = LF \ No newline at end of file diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..07764a7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text eol=lf \ No newline at end of file From e585d8470690e2a5318736059012d64f99eee0f7 Mon Sep 17 00:00:00 2001 From: Jon Newton Date: Mon, 28 Mar 2022 08:55:27 -0400 Subject: [PATCH 2/3] Bump version for beta release --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 18ddb93..8072fb7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "github-readme-to-html", - "version": "1.0.6", + "version": "1.0.7-beta.0", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 69e8c62..79b3c23 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "github-readme-to-html", - "version": "1.0.6", + "version": "1.0.7-beta.0", "description": "Generate a simple HTML page based on a single markdown file", "main": "index.js", "files": [ From 5a0898c553da1f5196a84894bd639a14ea2d4ef5 Mon Sep 17 00:00:00 2001 From: Jon Newton Date: Mon, 28 Mar 2022 16:35:24 -0400 Subject: [PATCH 3/3] Fix for #5 tested - remove beta flag in version. --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8072fb7..04c04ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "github-readme-to-html", - "version": "1.0.7-beta.0", + "version": "1.0.7", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 79b3c23..6ae2f98 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "github-readme-to-html", - "version": "1.0.7-beta.0", + "version": "1.0.7", "description": "Generate a simple HTML page based on a single markdown file", "main": "index.js", "files": [