Browser extension to display the number of approvals on the GitHub pull request list page.
- Node.js (version 16 or higher)
- npm (comes with Node.js)
-
Install dependencies:
npm install
-
Build the extension:
npm run build
This command will:
- Clean the
distdirectory - Compile TypeScript files
- Generate the manifest.json file
- Copy icon files to the dist directory
- Clean the
-
The built extension will be available in the
distfolder
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" by toggling the switch in the top-right corner
- Click "Load unpacked"
- Select the
distfolder from this project - The extension should now appear in your extensions list and be active
- Open Microsoft Edge and navigate to
edge://extensions/ - Enable "Developer mode" by toggling the switch in the left sidebar
- Click "Load unpacked"
- Select the
distfolder from this project - The extension should now appear in your extensions list and be active
- Make changes to the source files in the
srcdirectory - Run
npm run buildto rebuild the extension - In Chrome/Edge extensions page, click the refresh icon on your extension to reload it
- Test your changes on GitHub pull request pages
src/- Source TypeScript filesscripts/- Build scriptsicons/- Extension iconsdist/- Built extension files (generated)