diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0b773cf..9ee09cd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,5 +19,5 @@ jobs: cache: 'yarn' - run: yarn install - run: yarn build:hmr - - run: yarn test + - run: yarn test --passWithNoTests - run: yarn build diff --git a/README.md b/README.md index db7d8db..6d3ff80 100755 --- a/README.md +++ b/README.md @@ -15,28 +15,16 @@ 5. Post on reddit, invite new developers in 6. Figure out long term next steps -## Features -- [React 18](https://reactjs.org/) -- [TypeScript](https://www.typescriptlang.org/) -- [Jest](https://jestjs.io/) -- [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/) -- [Vite](https://vitejs.dev/) -- [SASS](https://sass-lang.com/) -- [ESLint](https://eslint.org/) -- [Prettier](https://prettier.io/) -- [Chrome Extension Manifest Version 3](https://developer.chrome.com/docs/extensions/mv3/intro/) -- HRR(Hot Rebuild & Refresh/Reload) - ## Installation & Running -1. Run `yarn install` or `npm i` (check your node version >= 16.6, recommended >= 18) -2. Run `yarn dev` or `npm run dev` +1. Run `yarn install` (check your node version >= 16.6, recommended >= 18) +2. Run `yarn build && yarn dev` 3. Load Extension on Chrome 1. Open - Chrome browser 2. Access - chrome://extensions 3. Check - Developer mode 4. Find - Load unpacked extension 5. Select - `dist` folder in this project (after dev or build) -4. If you want to build in production, Just run `yarn build`. +4. If you want to build for production, run `yarn build` before deploying. ## Documents - [Vite Plugin](https://vitejs.dev/guide/api-plugin.html) @@ -44,4 +32,3 @@ - [Rollup](https://rollupjs.org/guide/en/) - [Rollup-plugin-chrome-extension](https://www.extend-chrome.dev/rollup-plugin) - [Streamsaver](https://github.com/jimmywarting/StreamSaver.js) -- \ No newline at end of file diff --git a/src/pages/content/components/app.tsx b/src/pages/content/components/app.tsx index aca008d..3bdf2c5 100644 --- a/src/pages/content/components/app.tsx +++ b/src/pages/content/components/app.tsx @@ -124,7 +124,7 @@ const DownloadButton: FC<{ show: ArchiveShow }> = ({ show }) => { }} disabled={loading} > - Download Show + {loading ? "Downloading... Please be patient :)" : "Download Show"} ); };