This project allows observe and automate GoCD related tasks.
- Clone repo
npm i
npm run dev
to compile once ornpm run watch
to run the dev task in watch modenpm run build
to build a production (minified) version
- Complete the steps to build the project above
- Go to chrome://extensions in Google Chrome
- With the developer mode checkbox ticked, click Load unpacked extension... and select the dist folder from this repo
The extension for tslint and prettier are required
This extension has four main components:
eventPage.ts
: The background script. Initializes extension configuration and reacts to events maybe sending messages through slack.contentScript.ts
: The content script that inspect the dom and triggers events on changes.popup
: Activated on go cd urls.options
: Shows options page
The communication between te different components is through events and abstracted using reactive streams.