averitas / AzDvOpsTodoExtension

Chrome extension for Azure DevOps workitem query dashboard.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeScript React Chrome Extension Boilerplate

A basic TypeScript React Chrome Extension boilerplate that gets you started quickly. It supports TypeScript, JSX, and automatic reloading during development. Jest, ESLint and Prettier included, all bundled using Rollup and rollup-plugin-chrome-extension.

Get Started

Using create-react-crx

Type this into your terminal:

npx create-react-crx

Follow the prompts to setup your Chrome extension project.

Using git clone

Type this into your terminal:

git clone https://github.com/extend-chrome/ts-react-boilerplate.git my-chrome-extension
cd my-chrome-extension
npm install

🖌️ Update your package name and version in package.json before you get started!

Development

For development with automatic reloading:

yarn start

Open the Extensions Dashboard, enable "Developer mode", click "Load unpacked", and choose the dist folder.

When you make changes in src the background script and any content script will reload automatically.

Production

When it's time to publish your Chrome extension, make a production build to submit to the Chrome Web Store. This boilerplate will use the version in package.json, unless you add a version to src/manifest.json.

Make sure you have updated the name and version of your extension in package.json.

Run the following line:

yarn build

This will create a ZIP file with your package name and version in the releases folder.

Release zip file:

yarn release

Source Layout

Your manifest is at src/manifest.json, and Rollup will bundle any files you include here. All the filepaths in your manifest should point to files in src.

Features

  • A shortcut Add ToDo button on Azure Devops page.
  • Summarize Azure Devops workitems with Azure Openai endpoint.

Published page

Chrome Web store page

About

Chrome extension for Azure DevOps workitem query dashboard.

License:MIT License


Languages

Language:TypeScript 90.9%Language:JavaScript 7.9%Language:HTML 1.2%