From ed1556fdbad96178a0dd375e1889d91d97e66d5e Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Thu, 19 Aug 2021 19:49:03 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9E=96=20Removes=20Prism=20editor,=20to=20re?= =?UTF-8?q?duce=20app=20size?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/LEGAL.md | 36 ---- docs/credits.md | 2 - package.json | 5 +- src/components/Configuration/CustomCss.vue | 35 ++-- yarn.lock | 222 +++++++++++++++------ 5 files changed, 184 insertions(+), 116 deletions(-) diff --git a/.github/LEGAL.md b/.github/LEGAL.md index 1b5eb89d..9a946f55 100644 --- a/.github/LEGAL.md +++ b/.github/LEGAL.md @@ -14,7 +14,6 @@ The following 3rd-party software packages may be used by or distributed with **d | **[highlight.js (11.1.0)](#highlight.js-11-1-0)** | **Multi-license:** BSD-2-Clause _OR_ BSD-3-Clause, BSD-3-Clause | | **[js-yaml (4.1.0)](#js-yaml-4-1-0)** | MIT | | **[npm-run-all (4.1.5)](#npm-run-all-4-1-5)** | MIT | -| **[prismjs (1.24.1)](#prismjs-1-24-1)** | MIT | | **[register-service-worker (1.7.2)](#register-service-worker-1-7-2)** | MIT | | **[remedial (1.0.8)](#remedial-1-0-8)** | **Multi-license:** Apache-2.0 _OR_ MIT | | **[serve-static (1.14.1)](#serve-static-1-14-1)** | MIT | @@ -392,41 +391,6 @@ The following 3rd-party software packages may be used by or distributed with **d --- -#### **prismjs (1.24.1)** - -- Declared License(s) - - - MIT - - - Attribution: - MIT LICENSE - - Copyright (c) 2012 Lea Verou - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. - -- Discovered License(s) - ---- - ---- - #### **register-service-worker (1.7.2)** - Declared License(s) diff --git a/docs/credits.md b/docs/credits.md index 5cb91faf..8c8b1c28 100644 --- a/docs/credits.md +++ b/docs/credits.md @@ -190,8 +190,6 @@ At it's core, the application uses [Vue.js](https://github.com/vuejs/vue), as we - [`VJsoneditor`](https://github.com/yansenlei/VJsoneditor) - Interactive JSON editor component by @yansenlei `MIT` - Forked from [`JsonEditor`](https://github.com/josdejong/jsoneditor) by @josdejong `Apache-2.0 License` - [`vue-toasted`](https://github.com/shakee93/vue-toasted) - Toast notification component by @shakee93 `MIT` -- [`vue-prism-editor`](https://github.com/koca/vue-prism-editor) - Lightweight code editor by @koca `MIT` - - Forked from [`prism.js`](https://github.com/PrismJS/prism) `MIT` - [`vue-swatches`](https://github.com/saintplay/vue-swatches) - Color palete picker by @saintplay `MIT` ##### Backup & Sync Server diff --git a/package.json b/package.json index 4c67315a..68a1f9b6 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "crypto-js": "^4.1.1", "js-yaml": "^4.1.0", "npm-run-all": "^4.1.5", - "prismjs": "^1.24.1", "register-service-worker": "^1.6.2", "remedial": "^1.0.8", "serve-static": "^1.14.1", @@ -57,7 +56,7 @@ "sass-loader": "^7.1.0", "vue-svg-loader": "^0.16.0", "vue-template-compiler": "^2.6.10", - "webpack-build-notifier": "^2.3.0" + "webpack": "4.0.0" }, "gitHooks": { "pre-commit": "yarn lint" @@ -91,4 +90,4 @@ "> 1%", "last 2 versions" ] -} \ No newline at end of file +} diff --git a/src/components/Configuration/CustomCss.vue b/src/components/Configuration/CustomCss.vue index 42a25259..35ce9070 100644 --- a/src/components/Configuration/CustomCss.vue +++ b/src/components/Configuration/CustomCss.vue @@ -1,6 +1,6 @@