Skip to content

Commit

Permalink
Merge pull request #52 from open-sauced/beta
Browse files Browse the repository at this point in the history
v1.0.0-beta.5 -> production
  • Loading branch information
bdougie authored May 1, 2023
2 parents 56afc83 + 48405ee commit bbdac81
Show file tree
Hide file tree
Showing 35 changed files with 4,556 additions and 979 deletions.
464 changes: 464 additions & 0 deletions .eslintrc.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ran ESLint formatter(--fix)
7fa3b3bb0ed3e493ab4a6dd0a5ff13e185417f02
15 changes: 15 additions & 0 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Compliance"

on:
pull_request_target:
types:
- opened
- edited
- synchronize

permissions:
pull-requests: write

jobs:
compliance:
uses: open-sauced/open-sauced/.github/workflows/compliance.yml@main
92 changes: 92 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: Release

on:
push:
branches:
- main
- beta

jobs:
setup:
name: Set environment variables
runs-on: ubuntu-latest
timeout-minutes: 10
outputs:
DEPLOY_ENVIRONMENT: ${{ steps.env.outputs.DEPLOY_ENVIRONMENT }}
DEPLOY_SUBDOMAIN: ${{ steps.env.outputs.DEPLOY_SUBDOMAIN }}
steps:
- name: "☁️ compute environment variables"
id: env
run: |
DEPLOY_ENVIRONMENT=$([[ ${{ github.ref_name }} == 'main' ]] && echo 'production' || echo ${{ github.ref_name }})
DEPLOY_SUBDOMAIN=$([[ ${{ github.ref_name }} == 'main' ]] && echo '' || echo "${{ github.ref_name }}.")
echo "DEPLOY_ENVIRONMENT=$DEPLOY_ENVIRONMENT" >> $GITHUB_ENV
echo "DEPLOY_SUBDOMAIN=$DEPLOY_SUBDOMAIN" >> $GITHUB_ENV
build:
name: Build application
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: "☁️ checkout repository"
uses: actions/checkout@v2

- name: "🔧 setup node"
uses: actions/[email protected]
with:
node-version: 16

- name: "🔧 install npm@latest"
run: npm i -g npm@latest

- name: "📦 install dependencies"
uses: bahmutov/npm-install@v1

- name: "🚀 static app"
run: npm run build

- name: "📂 production artifacts"
uses: actions/upload-artifact@v2
with:
name: build
path: dist

release:
environment:
name: ${{ needs.setup.outputs.DEPLOY_ENVIRONMENT }}
url: https://${{ needs.setup.outputs.DEPLOY_SUBDOMAIN }}insights.opensauced.pizza
name: Semantic release
needs:
- setup
- build
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: "☁️ checkout repository"
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: "📂 download build artifacts"
uses: actions/download-artifact@v2
with:
name: build
path: dist

- name: "🚀 release"
id: semantic-release
uses: open-sauced/release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

cleanup:
name: Cleanup actions
needs:
- release
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: "♻️ remove build artifacts"
uses: geekyeggo/delete-artifact@v1
with:
name: |
build
75 changes: 75 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# 📦 open-sauced/browser-extensions changelog

[![conventional commits](https://img.shields.io/badge/conventional%20commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
[![semantic versioning](https://img.shields.io/badge/semantic%20versioning-2.0.0-green.svg)](https://semver.org)

> All notable changes to this project will be documented in this file
## [1.0.0-beta.5](https://github.com/open-sauced/browser-extensions/compare/v1.0.0-beta.4...v1.0.0-beta.5) (2023-04-29)


### 🍕 Features

* Added linting to the project. ([#49](https://github.com/open-sauced/browser-extensions/issues/49)) ([1f73007](https://github.com/open-sauced/browser-extensions/commit/1f730079bffb8f2514c90860b09a0d0d5cc36892))


### 🐛 Bug Fixes

* remove activeTab manifest.json ([#50](https://github.com/open-sauced/browser-extensions/issues/50)) ([dd71480](https://github.com/open-sauced/browser-extensions/commit/dd7148064b66109c744be288593b1adb0a26fa77))
* set-output deprecation warning ([#51](https://github.com/open-sauced/browser-extensions/issues/51)) ([486f84b](https://github.com/open-sauced/browser-extensions/commit/486f84baba98f219b3ac69bd447da22e710e3daa))

## [1.0.0-beta.4](https://github.com/open-sauced/browser-extensions/compare/v1.0.0-beta.3...v1.0.0-beta.4) (2023-04-28)


### 🐛 Bug Fixes

* Duplicate buttons on GH profile page ([#48](https://github.com/open-sauced/browser-extensions/issues/48)) ([9ee2dca](https://github.com/open-sauced/browser-extensions/commit/9ee2dcab3d85eef164b43b886a959c9aaff4cdc5))

## [1.0.0-beta.3](https://github.com/open-sauced/browser-extensions/compare/v1.0.0-beta.2...v1.0.0-beta.3) (2023-04-28)


### 🍕 Features

* Added light mode to GH profile buttons ([#40](https://github.com/open-sauced/browser-extensions/issues/40)) ([a7ea43a](https://github.com/open-sauced/browser-extensions/commit/a7ea43afb743de445e8d1c20c0dd9a362214aaa2))

## [1.0.0-beta.2](https://github.com/open-sauced/browser-extensions/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2023-04-27)


### 🐛 Bug Fixes

* attach dist folder to release assets ([#47](https://github.com/open-sauced/browser-extensions/issues/47)) ([4f50e72](https://github.com/open-sauced/browser-extensions/commit/4f50e721cdb52bc74d906b17fecb72a84f312928))

## 1.0.0-beta.1 (2023-04-27)


### 📝 Documentation

* README and LICENSE ([917f7b0](https://github.com/open-sauced/browser-extensions/commit/917f7b0ba3000eee64e4344d9a21205512b3cc2e))
* Updated the README.md ([#15](https://github.com/open-sauced/browser-extensions/issues/15)) ([3e4dd69](https://github.com/open-sauced/browser-extensions/commit/3e4dd69c52477596bb5a2f5e4d4a1b46bbb981df))


### 🐛 Bug Fixes

* rename the. extension ([294e499](https://github.com/open-sauced/browser-extensions/commit/294e499f1db5e4c9d094a620417c46287bfbfb06))
* Update URLs ([5828e20](https://github.com/open-sauced/browser-extensions/commit/5828e204a00b9731e8d9075184b4c008f66c294b))
* make emails less creepy ([a08fa45](https://github.com/open-sauced/browser-extensions/commit/a08fa4510130f357e1d8be12536d20a84f7c1098))
* re-enable tailwind base class on extension popup ([#31](https://github.com/open-sauced/browser-extensions/issues/31)) ([c081217](https://github.com/open-sauced/browser-extensions/commit/c081217e778ad6b91352d2e7e6d1693a61ca2b8f))
* Wrapped the await call in an async() ([#26](https://github.com/open-sauced/browser-extensions/issues/26)) ([357aab5](https://github.com/open-sauced/browser-extensions/commit/357aab514ee1cbcd0e61c3220cff20c7c8a197be))


### 🍕 Features

* add home page and profile page ([#36](https://github.com/open-sauced/browser-extensions/issues/36)) ([8a43288](https://github.com/open-sauced/browser-extensions/commit/8a4328892d138a9f1eb92aa8a80b33a970659de0))
* Added a configuration file ([#32](https://github.com/open-sauced/browser-extensions/issues/32)) ([ec6722c](https://github.com/open-sauced/browser-extensions/commit/ec6722c360dfcdb5cc10cb2300448e1656d58456))
* Auto PAT authentication ([#29](https://github.com/open-sauced/browser-extensions/issues/29)) ([f4f8cf6](https://github.com/open-sauced/browser-extensions/commit/f4f8cf6d1749d9aa23d3011dd130047f884e3e0f))
* extension window navigation ([#21](https://github.com/open-sauced/browser-extensions/issues/21)) ([b5ae9a6](https://github.com/open-sauced/browser-extensions/commit/b5ae9a6e5d032b0ce2ab344b30f029598ca8608f))
* GitHub page update listener ([#37](https://github.com/open-sauced/browser-extensions/issues/37)) ([06b070f](https://github.com/open-sauced/browser-extensions/commit/06b070fbd1a39f043a640d3f6e3de278a880b983))
* Invite to OpenSauced ([#20](https://github.com/open-sauced/browser-extensions/issues/20)) ([0c8f222](https://github.com/open-sauced/browser-extensions/commit/0c8f22286475edeff53f9226f71e46bbb338287f))
* PAT authentication ([#27](https://github.com/open-sauced/browser-extensions/issues/27)) ([e726a93](https://github.com/open-sauced/browser-extensions/commit/e726a937684faf20c14530de14f22ba1116195af))
* updated the extension logo ([#22](https://github.com/open-sauced/browser-extensions/issues/22)) ([d19034d](https://github.com/open-sauced/browser-extensions/commit/d19034daaf40d322e2c400c65191caf3e5866e39))
* view on OpenSauced button ([#14](https://github.com/open-sauced/browser-extensions/issues/14)) ([a447551](https://github.com/open-sauced/browser-extensions/commit/a447551d46ea35dde6b674853ab55094728014c2))


### 🔁 Continuous Integration

* automated github releases ([#39](https://github.com/open-sauced/browser-extensions/issues/39)) ([735fa66](https://github.com/open-sauced/browser-extensions/commit/735fa669bf6bb96ebe53a9f9841615be6b1b7ded)), closes [#16](https://github.com/open-sauced/browser-extensions/issues/16)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ npm run dev
After running the above commands,
1. Navigate to `chrome://extensions`.
2. Enable the `Developer Mode`.
3. Select `Load Extension` and choose the generated `dist` directory from the project folder to install it.
3. Select `Load unpacked` and choose the generated `dist` directory from the project folder to install it.

You should now have the extension installed and running.

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
"128": "src/assets/os-icons/os-icon-128.png"
},
"host_permissions": ["<all_urls>"],
"permissions": ["storage","webRequest", "activeTab", "tabs", "cookies"]
"permissions": ["storage","webRequest", "tabs", "cookies"]
}
Loading

0 comments on commit bbdac81

Please sign in to comment.