From 97668d25c37208401db618e8338d0b0187cd47e9 Mon Sep 17 00:00:00 2001 From: Ankit Ahuja <61857+ankit@users.noreply.github.com> Date: Wed, 15 May 2024 17:38:09 -0400 Subject: [PATCH] fix build and update README --- README.md | 6 ++---- package.json | 1 - webpack.config.js | 10 ---------- yarn.lock | 34 +++------------------------------- 4 files changed, 5 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index d3b39ae2..9805153e 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # Stylebot -![CI](https://github.com/ankit/stylebot/workflows/CI/badge.svg) +![Build](https://github.com/ankit/stylebot/actions/workflows/build.yml/badge.svg) [![Kofi](https://badgen.net/badge/icon/kofi?icon=kofi&label)](https://ko-fi.com/stylebot) [![Chrome Webstore Version](https://img.shields.io/chrome-web-store/v/oiaejidbmkiecgbjeifoejpgmdaleoha)](https://chrome.google.com/webstore/detail/stylebot/oiaejidbmkiecgbjeifoejpgmdaleoha) [![Chrome Users](https://badgen.net/chrome-web-store/users/oiaejidbmkiecgbjeifoejpgmdaleoha)](https://chrome.google.com/webstore/detail/stylebot/oiaejidbmkiecgbjeifoejpgmdaleoha) [![Webstore Rating](https://img.shields.io/chrome-web-store/stars/oiaejidbmkiecgbjeifoejpgmdaleoha)](https://chrome.google.com/webstore/detail/stylebot/oiaejidbmkiecgbjeifoejpgmdaleoha) -[![Follow on Twitter](https://badgen.net/twitter/follow/ahujaankit)](https://twitter.com/ahujaankit) ![License](https://img.shields.io/github/license/ankit/stylebot) Stylebot is a browser extension that lets you change the appearance of the web instantly. @@ -50,8 +49,7 @@ If you would like to add a new feature to Stylebot or f - Open `chrome://extensions` page. - Disable the official Stylebot version. - Enable the Developer mode. -- Click Load unpacked extension button -- Navigate to the project's `dist/` folder +- Load unpacked `dist/` as extension ### Release diff --git a/package.json b/package.json index ef8e1fcc..1b863d4e 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,6 @@ "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-vue": "^6.2.2", "fibers": "^5.0.0", - "fork-ts-checker-webpack-plugin": "^5.0.7", "hotkeys-js": "^3.8.1", "husky": "^4.2.5", "jest": "^26.1.0", diff --git a/webpack.config.js b/webpack.config.js index 94cfa8c0..839c2511 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -8,7 +8,6 @@ const { VueLoaderPlugin } = require('vue-loader'); const CopyPlugin = require('copy-webpack-plugin'); const ExtensionReloader = require('webpack-extension-reloader'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); -const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin'); const ProgressBarPlugin = require('progress-bar-webpack-plugin'); const TerserPlugin = require('terser-webpack-plugin'); @@ -116,16 +115,7 @@ const config = { plugins: [ new ProgressBarPlugin(), - new VueLoaderPlugin(), - new ForkTsCheckerWebpackPlugin({ - typescript: { - configFile: '../tsconfig.json', - extensions: { - vue: true, - }, - }, - }), new MiniCssExtractPlugin({ filename: '[name].css', }), diff --git a/yarn.lock b/yarn.lock index 2176f44f..7aa710bc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,7 +2,7 @@ # yarn lockfile v1 -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.8.3": +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a" integrity sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg== @@ -4857,22 +4857,6 @@ forever-agent@~0.6.1: resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= -fork-ts-checker-webpack-plugin@^5.0.7: - version "5.0.7" - resolved "https://registry.yarnpkg.com/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-5.0.7.tgz#a462bd863bbd654bad14a25518006ab99b7b13a0" - integrity sha512-X7zHKTx4is5YSKa9bDiXGzv8v5K3bsUrZlZgr3F8DeCVsb3oik/+0Mo+K138Sdjh4mpzoHcuUgsrIgZeLIXovw== - dependencies: - "@babel/code-frame" "^7.8.3" - chalk "^2.4.1" - cosmiconfig "^6.0.0" - deepmerge "^4.2.2" - fs-extra "^9.0.0" - memfs "^3.1.2" - minimatch "^3.0.4" - schema-utils "1.0.0" - semver "^5.6.0" - tapable "^1.0.0" - form-data@~2.3.2: version "2.3.3" resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" @@ -4902,7 +4886,7 @@ fs-constants@^1.0.0: resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== -fs-extra@9.0.1, fs-extra@^9.0.0: +fs-extra@9.0.1: version "9.0.1" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.1.tgz#910da0062437ba4c39fedd863f1675ccfefcb9fc" integrity sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ== @@ -4937,11 +4921,6 @@ fs-minipass@^2.0.0: dependencies: minipass "^3.0.0" -fs-monkey@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/fs-monkey/-/fs-monkey-1.0.1.tgz#4a82f36944365e619f4454d9fff106553067b781" - integrity sha512-fcSa+wyTqZa46iWweI7/ZiUfegOZl0SG8+dltIwFXo7+zYU9J9kpS3NB6pZcSlJdhvIwp81Adx2XhZorncxiaA== - fs-write-stream-atomic@^1.0.8: version "1.0.10" resolved "https://registry.yarnpkg.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9" @@ -7064,13 +7043,6 @@ mem@^5.0.0: mimic-fn "^2.1.0" p-is-promise "^2.1.0" -memfs@^3.1.2: - version "3.2.0" - resolved "https://registry.yarnpkg.com/memfs/-/memfs-3.2.0.tgz#f9438e622b5acd1daa8a4ae160c496fdd1325b26" - integrity sha512-f/xxz2TpdKv6uDn6GtHee8ivFyxwxmPuXatBb1FBwxYNuVpbM3k/Y1Z+vC0mH/dIXXrukYfe3qe5J32Dfjg93A== - dependencies: - fs-monkey "1.0.1" - memory-fs@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" @@ -9191,7 +9163,7 @@ saxes@^5.0.0: dependencies: xmlchars "^2.2.0" -schema-utils@1.0.0, schema-utils@^1.0.0: +schema-utils@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770" integrity sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==