-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from joshhoughton/0.1.0
0.1.0
- Loading branch information
Showing
13 changed files
with
208 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Upload Chrome Extension | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
zip_and_upload: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Create ZIP file | ||
run: mkdir -p dist && zip -r dist/extension.zip manifest.json src/ _locales/ channels/ icons/ js/jquery/jquery.min.js | ||
|
||
- name: Upload & release | ||
uses: mnao305/[email protected] | ||
with: | ||
file-path: dist/extension.zip | ||
extension-id: ${{ secrets.EXTENSION_ID }} | ||
client-id: ${{ secrets.CLIENT_ID }} | ||
client-secret: ${{ secrets.CLIENT_SECRET }} | ||
refresh-token: ${{ secrets.REFRESH_TOKEN }} | ||
publish: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.min.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
|
||
## [0.1.0] - 2024-10-07 | ||
|
||
### Added | ||
- This changelog. | ||
- A mapping of preset YouTube channels to their corresponding Twitch usernames to allow easy additions in the future without having to bump this extension. | ||
|
||
### Changed | ||
|
||
- Entered streamers are now saved to local storage to prevent having to re-enter each time. | ||
- Extension icon can now be double clicked to change chats. | ||
- Chat is now resized to match the height of YouTube video. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
<!-- PROJECT LOGO --> | ||
<br /> | ||
<p align="center"> | ||
|
||
|
@@ -12,4 +11,3 @@ | |
<br /> | ||
|
||
</p> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{ | ||
|
||
} | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
{ | ||
"tockerslol": "tockerslol", | ||
"oquequehouve": "brtt", | ||
"rangerlol": "rangerlol1", | ||
"cblol": "cblol", | ||
"arthurlanches": "arthur_lanches", | ||
"baianotv1": "baiano", | ||
"cazetv":"cazetv_", | ||
"inteligencialtda":"inteligencialimitada", | ||
"linustechtips":"linustech" | ||
} | ||
"tockerslol": "tockerslol", | ||
"oquequehouve": "brtt", | ||
"rangerlol": "rangerlol1", | ||
"cblol": "cblol", | ||
"arthurlanches": "arthur_lanches", | ||
"baianotv1": "baiano", | ||
"cazetv": "cazetv_", | ||
"inteligencialtda": "inteligencialimitada", | ||
"linustechtips": "linustech", | ||
"eslcs": "esl_csgo", | ||
"blastpremier": "blastpremier", | ||
"pgl": "pgl" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"devDependencies": { | ||
"prettier": "^3.3.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
|
||
chrome.action.onClicked.addListener((tab) => { | ||
chrome.scripting.executeScript({ | ||
target: {tabId: tab.id}, | ||
files: ["js/jquery/jquery.min.js", "src/main.js"] | ||
}); | ||
}); | ||
chrome.scripting.executeScript({ | ||
target: { tabId: tab.id }, | ||
files: ['js/jquery/jquery.min.js', 'src/main.js'], | ||
}); | ||
}); |
Oops, something went wrong.