-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
2,979 additions
and
17 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,47 @@ | ||
name: Create Release for Chrome and Firefox | ||
|
||
on: | ||
push: | ||
paths: | ||
- "manifest.chrome.json" | ||
- "manifest.firefox.json" | ||
- "background.js" | ||
- "icons/**" | ||
- "**/*.js" | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build-and-release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js (for packaging or building, if required) | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "22" | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9.12.3 | ||
run_install: true | ||
|
||
- name: Build Extension for Chrome | ||
run: pnpm build:chrome | ||
|
||
- name: Build Extension for Firefox | ||
run: pnpm build:firefox | ||
|
||
- name: Create Release on GitHub | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
files: | | ||
dist/chrome/chrome-extension.zip | ||
dist/firefox/firefox-extension.zip | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_REPOSITORY: MBM1607/bluesky-finder |
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
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
File renamed without changes.
File renamed without changes.
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,30 @@ | ||
{ | ||
"manifest_version": 3, | ||
"name": "BlueSky Finder", | ||
"version": "1.0.0", | ||
"description": "Checks for _atproto DNS TXT records for the current domain and provides a beautiful butterfly indicator for Bluesky presence, if found.", | ||
"permissions": ["tabs", "storage"], | ||
"action": { | ||
"default_icon": { | ||
"16": "icons/logo-off-16.png", | ||
"32": "icons/logo-off-32.png", | ||
"48": "icons/logo-off-48.png", | ||
"128": "icons/logo-off-128.png" | ||
} | ||
}, | ||
"background": { | ||
"scripts": ["background.js"] | ||
}, | ||
"icons": { | ||
"16": "icons/logo-16.png", | ||
"32": "icons/logo-32.png", | ||
"48": "icons/logo-48.png", | ||
"128": "icons/logo-128.png" | ||
}, | ||
"browser_specific_settings": { | ||
"gecko": { | ||
"id": "[email protected]", | ||
"strict_min_version": "109.0.0" | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -3,7 +3,8 @@ | |
"version": "1.0.0", | ||
"description": "Checks for _atproto DNS TXT records for the current domain and provides a beautiful butterfly indicator for Bluesky presence, if found.", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"build:chrome": "cp manifest.chrome.json manifest.json && web-ext build -s . -a dist/chrome -i icons/generate-icons.sh -i dist -i manifest.firefox.json -i manifest.chrome.json -i prettier.config.cjs -i package.json -i pnpm-lock.yaml -i README.md -i cspell.json -i LICENSE -n chrome-extension.zip --overwrite-dest && rm manifest.json", | ||
"build:firefox": "cp manifest.firefox.json manifest.json && web-ext build -s . -a dist/firefox -i icons/generate-icons.sh -i dist -i manifest.firefox.json -i manifest.chrome.json -i prettier.config.cjs -i package.json -i pnpm-lock.yaml -i README.md -i cspell.json -i LICENSE -n firefox-extension.zip --overwrite-dest && rm manifest.json" | ||
}, | ||
"keywords": [ | ||
"bluesky", | ||
|
@@ -15,6 +16,7 @@ | |
"license": "MIT", | ||
"packageManager": "[email protected]", | ||
"devDependencies": { | ||
"@types/chrome": "^0.0.280" | ||
"@types/chrome": "^0.0.280", | ||
"web-ext": "^8.3.0" | ||
} | ||
} |
Oops, something went wrong.