From c9b1c42e459f9482dc84deab03f5994c78c246ca Mon Sep 17 00:00:00 2001 From: Marco Braak Date: Sat, 27 Apr 2024 15:25:18 +0200 Subject: [PATCH] Make the npm package smaller (#808) * Add npmignore * Remove sitemap file * Changelog * Exclude playwright and test directories --- .npmignore | 11 +++++++++++ docs/_entries/general/changelog.md | 3 ++- sitemap.txt | 14 -------------- 3 files changed, 13 insertions(+), 15 deletions(-) create mode 100644 .npmignore delete mode 100644 sitemap.txt diff --git a/.npmignore b/.npmignore new file mode 100644 index 00000000..1fd39c51 --- /dev/null +++ b/.npmignore @@ -0,0 +1,11 @@ +.github +config +css +devserver +docs +src/playwright +src/test +.editorconfig +.eslintrc +.prettier +tsconfig.json diff --git a/docs/_entries/general/changelog.md b/docs/_entries/general/changelog.md index f19e8180..c9712752 100644 --- a/docs/_entries/general/changelog.md +++ b/docs/_entries/general/changelog.md @@ -5,7 +5,8 @@ name: changelog #### Development version -- Issie #805: fix injection vulnerability because of lodash.template +- Issue #805: fix injection vulnerability because of lodash.template +- Issue #808: make the npm package smaller #### 1.8.2 (march 24 2024) diff --git a/sitemap.txt b/sitemap.txt deleted file mode 100644 index fa10c01d..00000000 --- a/sitemap.txt +++ /dev/null @@ -1,14 +0,0 @@ -https://mbraak.github.io/jqTree/ -https://mbraak.github.io/jqTree/examples/01_load_json_data/ -https://mbraak.github.io/jqTree/examples/02_load_json_data_from_server/ -https://mbraak.github.io/jqTree/examples/03_drag_and_drop/ -https://mbraak.github.io/jqTree/examples/04_save_state/ -https://mbraak.github.io/jqTree/examples/05_load_on_demand/ -https://mbraak.github.io/jqTree/examples/06_autoescape/ -https://mbraak.github.io/jqTree/examples/07_autoscroll/ -https://mbraak.github.io/jqTree/examples/08_multiple_select/ -https://mbraak.github.io/jqTree/examples/09_custom_html/ -https://mbraak.github.io/jqTree/examples/10_icon_buttons/ -https://mbraak.github.io/jqTree/examples/11_right-to-left/ -https://mbraak.github.io/jqTree/examples/12_button_on_right/ -https://mbraak.github.io/jqTree/examples/13_drag_outside/