Skip to content

Commit 3e255bb

Browse files
authored
Merge pull request #21 from player-ui/injectCSS-script
CSS Inject
2 parents b2d766d + 8448bd9 commit 3e255bb

File tree

6 files changed

+91
-18
lines changed

6 files changed

+91
-18
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,21 @@ jobs:
6767
- name: install sharp module
6868
run: pnpm add sharp
6969

70+
- name: git status
71+
run: git status
72+
73+
- name: git diff
74+
run: git stash
75+
7076
- name: pull latest version
7177
run: git pull --no-rebase
7278

7379
- name: Build the extension
7480
run: pnpm build:chrome
7581

82+
- name: Inject css
83+
run: pnpm inject:css
84+
7685
- name: Package the extension into a zip artifact
7786
run: pnpm package
7887

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,63 @@
1+
# v0.0.11 (Wed Jul 24 2024)
2+
3+
#### 🐛 Bug Fix
4+
5+
- Merge branch 'injectCSS-script' of github.com:player-ui/browser-devtools into injectCSS-script ([@mercillo](https://github.com/mercillo))
6+
7+
#### Authors: 1
8+
9+
- Marlon "Marky" Ercillo ([@mercillo](https://github.com/mercillo))
10+
11+
---
12+
13+
# v0.0.10 (Wed Jul 24 2024)
14+
15+
#### 🐛 Bug Fix
16+
17+
- try releasing with injectcss ([@mercillo](https://github.com/mercillo))
18+
19+
#### Authors: 1
20+
21+
- Marlon "Marky" Ercillo ([@mercillo](https://github.com/mercillo))
22+
23+
---
24+
25+
# v0.0.9 (Wed Jul 24 2024)
26+
27+
#### 🐛 Bug Fix
28+
29+
- testing dryrun ([@mercillo](https://github.com/mercillo))
30+
31+
#### Authors: 1
32+
33+
- Marlon "Marky" Ercillo ([@mercillo](https://github.com/mercillo))
34+
35+
---
36+
37+
# v0.0.8 (Wed Jul 24 2024)
38+
39+
#### 🐛 Bug Fix
40+
41+
- Merge branch 'injectCSS-script' of github.com:player-ui/browser-devtools into injectCSS-script ([@mercillo](https://github.com/mercillo))
42+
43+
#### Authors: 1
44+
45+
- Marlon "Marky" Ercillo ([@mercillo](https://github.com/mercillo))
46+
47+
---
48+
49+
# v0.0.8 (Wed Jul 24 2024)
50+
51+
#### 🐛 Bug Fix
52+
53+
- modified pnpm lock file ([@mercillo](https://github.com/mercillo))
54+
55+
#### Authors: 1
56+
57+
- Marlon "Marky" Ercillo ([@mercillo](https://github.com/mercillo))
58+
59+
---
60+
161
# v0.0.8 (Wed Jul 17 2024)
262

363
#### 🐛 Bug Fix

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "browser-devtools",
33
"displayName": "Player ui devtools",
4-
"version": "0.0.7",
4+
"version": "0.0.11",
55
"description": "Player UI devtools browser extension",
66
"author": "Rafael Campos <[email protected]>",
77
"scripts": {
@@ -21,8 +21,8 @@
2121
"@auto-it/git-tag": "^11.1.6",
2222
"@auto-it/version-file": "^11.1.6",
2323
"@plasmohq/storage": "^1.10.0",
24-
"@player-tools/devtools-client": "0.7.0-next.2",
25-
"@player-tools/devtools-types": "0.7.0-next.2",
24+
"@player-tools/devtools-client": "0.7.0",
25+
"@player-tools/devtools-types": "0.7.0",
2626
"@player-ui/pubsub-plugin": "0.7.2-next.4",
2727
"@player-ui/react": "0.7.2-next.4",
2828
"dequal": "^2.0.3",

pnpm-lock.yaml

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/inject-css.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ for subfolder in build/*; do
1111

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

14-
sed -i '' "s|</head>|$link_tag</head>|" $devtools_file
14+
sed -i "s|</head>|$link_tag</head>|" $devtools_file
1515
done
1616
fi
1717
done

scripts/release.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ VERSION=`pnpm auto version`
66
if [ ! -z "$VERSION" ]; then
77
## Update Changelog
88
auto changelog
9+
10+
git stash
911

1012
## Publish Package
1113
pnpm version $VERSION -m "Bump version to: %s [skip ci]"
1214
## publish to npm
13-
pnpm publish
15+
pnpm publish
16+
17+
echo $branch
1418

1519
## Create GitHub Release
1620
git push --follow-tags --set-upstream origin $branch

0 commit comments

Comments
 (0)