Skip to content

Commit

Permalink
Merge pull request #21 from player-ui/injectCSS-script
Browse files Browse the repository at this point in the history
CSS Inject
  • Loading branch information
KetanReddy authored Jul 26, 2024
2 parents b2d766d + 8448bd9 commit 3e255bb
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 18 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,21 @@ jobs:
- name: install sharp module
run: pnpm add sharp

- name: git status
run: git status

- name: git diff
run: git stash

- name: pull latest version
run: git pull --no-rebase

- name: Build the extension
run: pnpm build:chrome

- name: Inject css
run: pnpm inject:css

- name: Package the extension into a zip artifact
run: pnpm package

Expand Down
60 changes: 60 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,63 @@
# v0.0.11 (Wed Jul 24 2024)

#### 🐛 Bug Fix

- Merge branch 'injectCSS-script' of github.com:player-ui/browser-devtools into injectCSS-script ([@mercillo](https://github.com/mercillo))

#### Authors: 1

- Marlon "Marky" Ercillo ([@mercillo](https://github.com/mercillo))

---

# v0.0.10 (Wed Jul 24 2024)

#### 🐛 Bug Fix

- try releasing with injectcss ([@mercillo](https://github.com/mercillo))

#### Authors: 1

- Marlon "Marky" Ercillo ([@mercillo](https://github.com/mercillo))

---

# v0.0.9 (Wed Jul 24 2024)

#### 🐛 Bug Fix

- testing dryrun ([@mercillo](https://github.com/mercillo))

#### Authors: 1

- Marlon "Marky" Ercillo ([@mercillo](https://github.com/mercillo))

---

# v0.0.8 (Wed Jul 24 2024)

#### 🐛 Bug Fix

- Merge branch 'injectCSS-script' of github.com:player-ui/browser-devtools into injectCSS-script ([@mercillo](https://github.com/mercillo))

#### Authors: 1

- Marlon "Marky" Ercillo ([@mercillo](https://github.com/mercillo))

---

# v0.0.8 (Wed Jul 24 2024)

#### 🐛 Bug Fix

- modified pnpm lock file ([@mercillo](https://github.com/mercillo))

#### Authors: 1

- Marlon "Marky" Ercillo ([@mercillo](https://github.com/mercillo))

---

# v0.0.8 (Wed Jul 17 2024)

#### 🐛 Bug Fix
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "browser-devtools",
"displayName": "Player ui devtools",
"version": "0.0.7",
"version": "0.0.11",
"description": "Player UI devtools browser extension",
"author": "Rafael Campos <[email protected]>",
"scripts": {
Expand All @@ -21,8 +21,8 @@
"@auto-it/git-tag": "^11.1.6",
"@auto-it/version-file": "^11.1.6",
"@plasmohq/storage": "^1.10.0",
"@player-tools/devtools-client": "0.7.0-next.2",
"@player-tools/devtools-types": "0.7.0-next.2",
"@player-tools/devtools-client": "0.7.0",
"@player-tools/devtools-types": "0.7.0",
"@player-ui/pubsub-plugin": "0.7.2-next.4",
"@player-ui/react": "0.7.2-next.4",
"dequal": "^2.0.3",
Expand Down
26 changes: 13 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/inject-css.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ for subfolder in build/*; do

link_tag="<link rel=\"stylesheet\" href=\"$relative_file\" />"

sed -i '' "s|</head>|$link_tag</head>|" $devtools_file
sed -i "s|</head>|$link_tag</head>|" $devtools_file
done
fi
done
Expand Down
6 changes: 5 additions & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ VERSION=`pnpm auto version`
if [ ! -z "$VERSION" ]; then
## Update Changelog
auto changelog

git stash

## Publish Package
pnpm version $VERSION -m "Bump version to: %s [skip ci]"
## publish to npm
pnpm publish
pnpm publish

echo $branch

## Create GitHub Release
git push --follow-tags --set-upstream origin $branch
Expand Down

0 comments on commit 3e255bb

Please sign in to comment.