From e26dd05a017da3859bf563faddacedb3a17e529f Mon Sep 17 00:00:00 2001 From: codingChewie Date: Mon, 14 Feb 2022 08:44:03 -0600 Subject: [PATCH 1/5] badges --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0b05dc1..f44c479 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/epubknowledge/px-to-em) ![Code Climate issues](https://img.shields.io/codeclimate/issues/epubknowledge/px-to-em) ![Github code size](https://img.shields.io/github/languages/code-size/epubknowledge/px-to-em) ![GitHub issues](https://img.shields.io/github/issues/epubknowledge/px-to-em) ![GitHub last commit](https://img.shields.io/github/last-commit/epubknowledge/px-to-em) [![GitHub forks](https://img.shields.io/github/forks/epubknowledge/px-to-em)](https://github.com/epubknowledge/px-to-em/network) [![GitHub stars](https://img.shields.io/github/stars/epubknowledge/px-to-em)](https://github.com/epubknowledge/px-to-em/stargazers) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/epubknowledge/px-to-em) + # Entityverter A NPM package that converts a file's entities from name and rendered to their respected numerical value. If a bad entity is found it will be deleted. From d59405ef98051a2cbafb86d2e0a12a44e5830efc Mon Sep 17 00:00:00 2001 From: codingChewie Date: Mon, 14 Feb 2022 08:53:33 -0600 Subject: [PATCH 2/5] badges --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f44c479..04cd894 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/epubknowledge/px-to-em) ![Code Climate issues](https://img.shields.io/codeclimate/issues/epubknowledge/px-to-em) ![Github code size](https://img.shields.io/github/languages/code-size/epubknowledge/px-to-em) ![GitHub issues](https://img.shields.io/github/issues/epubknowledge/px-to-em) ![GitHub last commit](https://img.shields.io/github/last-commit/epubknowledge/px-to-em) [![GitHub forks](https://img.shields.io/github/forks/epubknowledge/px-to-em)](https://github.com/epubknowledge/px-to-em/network) [![GitHub stars](https://img.shields.io/github/stars/epubknowledge/px-to-em)](https://github.com/epubknowledge/px-to-em/stargazers) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/epubknowledge/px-to-em) +![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/epubknowledge/entityverter) ![Code Climate issues](https://img.shields.io/codeclimate/issues/epubknowledge/entityverter) ![Github code size](https://img.shields.io/github/languages/code-size/epubknowledge/entityverter) ![GitHub issues](https://img.shields.io/github/issues/epubknowledge/entityverter) ![GitHub last commit](https://img.shields.io/github/last-commit/epubknowledge/entityverter) [![GitHub forks](https://img.shields.io/github/forks/epubknowledge/entityverter)](https://github.com/epubknowledge/entityverter/network) [![GitHub stars](https://img.shields.io/github/stars/epubknowledge/entityverter)](https://github.com/epubknowledge/entityverter/stargazers) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/epubknowledge/entityverter) # Entityverter From 431b2547c6e686c4cb13859b366fd7104071f179 Mon Sep 17 00:00:00 2001 From: codingChewie Date: Tue, 21 Jun 2022 12:33:03 -0500 Subject: [PATCH 3/5] added apostrophe entity --- .vscode/settings.json | 2 +- json/html-entities.json | 4 ++++ package.json | 5 ++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index b69560e..91436a8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "cSpell.ignoreWords": ["entityverter"] + "cSpell.ignoreWords": ["entityverter", "epubknowledge"] } diff --git a/json/html-entities.json b/json/html-entities.json index 9f734d5..9121708 100644 --- a/json/html-entities.json +++ b/json/html-entities.json @@ -978,5 +978,9 @@ { "name": "◊", "value": "◊" + }, + { + "name": "'", + "value": "'" } ] diff --git a/package.json b/package.json index 0182a72..b71e54a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@epubknowledge/entityverter", "introName": "Entityverter", - "version": "0.1.0", + "version": "0.1.1", "description": "A NPM package that converts a file's entities from name and rendered to their respected numerical value. If a bad entity is found it will be deleted.", "main": "bin/index.js", "bin": { @@ -30,8 +30,7 @@ "unlink": "npm unlink", "lint": "eslint", "test": "jest", - "coverage": "jest --coverage", - "testfile": "npm test -- /path/to/file.js" + "coverage": "jest --coverage" }, "jest": { "verbose": true, From 024dfcd71e087ed7fb5cd3aef79fc23ef0862d40 Mon Sep 17 00:00:00 2001 From: codingChewie Date: Tue, 21 Jun 2022 12:38:51 -0500 Subject: [PATCH 4/5] Code Climate exclusion for tests --- .codeclimate.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .codeclimate.yml diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..adf2078 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,6 @@ +exclude_paths: + - '**/__tests__/' +exclude_patterns: + - '**/__tests__/' + - '**/test/' + - '**/tests/' From 9649d10ffca3ae3d6114c617945327b8d527b2fe Mon Sep 17 00:00:00 2001 From: codingChewie Date: Tue, 21 Jun 2022 13:01:45 -0500 Subject: [PATCH 5/5] updated shield --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 04cd894..da827b8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/epubknowledge/entityverter) ![Code Climate issues](https://img.shields.io/codeclimate/issues/epubknowledge/entityverter) ![Github code size](https://img.shields.io/github/languages/code-size/epubknowledge/entityverter) ![GitHub issues](https://img.shields.io/github/issues/epubknowledge/entityverter) ![GitHub last commit](https://img.shields.io/github/last-commit/epubknowledge/entityverter) [![GitHub forks](https://img.shields.io/github/forks/epubknowledge/entityverter)](https://github.com/epubknowledge/entityverter/network) [![GitHub stars](https://img.shields.io/github/stars/epubknowledge/entityverter)](https://github.com/epubknowledge/entityverter/stargazers) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/epubknowledge/entityverter) +![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/epubknowledge/entityverter) ![Code Climate issues](https://img.shields.io/codeclimate/issues/epubknowledge/entityverter) ![Github code size](https://img.shields.io/github/languages/code-size/epubknowledge/entityverter) ![GitHub issues](https://img.shields.io/github/issues/epubknowledge/entityverter) ![GitHub last commit](https://img.shields.io/github/last-commit/epubknowledge/entityverter) [![GitHub forks](https://img.shields.io/github/forks/epubknowledge/entityverter)](https://github.com/epubknowledge/entityverter/network) [![GitHub stars](https://img.shields.io/github/stars/epubknowledge/entityverter)](https://github.com/epubknowledge/entityverter/stargazers) ![npm](https://img.shields.io/npm/v/@epubknowledge/entityverter) # Entityverter