From 7e2b4e33b9ec605cdec19202ae39443b15a0c5a7 Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Wed, 24 Jul 2024 09:31:19 -0700 Subject: [PATCH 01/26] added script to inject css and changed to test release --- .github/workflows/release.yml | 8 ++++---- package.json | 8 ++++---- scripts/release.sh | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1a0575d..413d7b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,6 @@ name: Release -on: - push: - branches: - - main +on: [push] jobs: build: @@ -73,6 +70,9 @@ jobs: - 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 diff --git a/package.json b/package.json index 47cf493..c77c9d3 100644 --- a/package.json +++ b/package.json @@ -21,10 +21,10 @@ "@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-ui/pubsub-plugin": "0.7.2-next.4", - "@player-ui/react": "0.7.2-next.4", + "@player-tools/devtools-client": "0.7.0", + "@player-tools/devtools-types": "0.7.0", + "@player-ui/pubsub-plugin": "0.7.4", + "@player-ui/react": "0.7.4", "dequal": "^2.0.3", "dset": "^3.1.3", "immer": "^10.0.3", diff --git a/scripts/release.sh b/scripts/release.sh index a9474ff..c7678cd 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -10,7 +10,7 @@ if [ ! -z "$VERSION" ]; then ## Publish Package pnpm version $VERSION -m "Bump version to: %s [skip ci]" ## publish to npm - pnpm publish + pnpm publish --no-git-checks ## Create GitHub Release git push --follow-tags --set-upstream origin $branch From 75af5ceb83c85dbac727dd8455d240513d72017f Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Wed, 24 Jul 2024 09:34:05 -0700 Subject: [PATCH 02/26] modified pnpm lock file --- package.json | 4 ++-- pnpm-lock.yaml | 26 +++++++++++++------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index c77c9d3..1860e8d 100644 --- a/package.json +++ b/package.json @@ -23,8 +23,8 @@ "@plasmohq/storage": "^1.10.0", "@player-tools/devtools-client": "0.7.0", "@player-tools/devtools-types": "0.7.0", - "@player-ui/pubsub-plugin": "0.7.4", - "@player-ui/react": "0.7.4", + "@player-ui/pubsub-plugin": "0.7.2-next.4", + "@player-ui/react": "0.7.2-next.4", "dequal": "^2.0.3", "dset": "^3.1.3", "immer": "^10.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 853b32c..252ede5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,11 +18,11 @@ dependencies: specifier: ^1.10.0 version: 1.10.0(react@18.2.0) '@player-tools/devtools-client': - specifier: 0.7.0-next.2 - version: 0.7.0-next.2(@babel/runtime@7.24.4)(@codemirror/autocomplete@6.16.0)(@codemirror/language@6.10.1)(@codemirror/lint@6.7.0)(@codemirror/search@6.5.6)(@codemirror/state@6.4.1)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.26.3)(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@player-ui/player@0.7.2-next.4)(@player-ui/types@0.7.3)(@types/node@20.9.0)(codemirror@6.0.1)(framer-motion@11.1.7)(react-dom@18.2.0) + specifier: 0.7.0 + version: 0.7.0(@babel/runtime@7.24.4)(@codemirror/autocomplete@6.16.0)(@codemirror/language@6.10.1)(@codemirror/lint@6.7.0)(@codemirror/search@6.5.6)(@codemirror/state@6.4.1)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.26.3)(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@player-ui/player@0.7.2-next.4)(@player-ui/types@0.7.3)(@types/node@20.9.0)(codemirror@6.0.1)(framer-motion@11.1.7)(react-dom@18.2.0) '@player-tools/devtools-types': - specifier: 0.7.0-next.2 - version: 0.7.0-next.2 + specifier: 0.7.0 + version: 0.7.0 '@player-ui/pubsub-plugin': specifier: 0.7.2-next.4 version: 0.7.2-next.4(@player-ui/player@0.7.2-next.4) @@ -4566,14 +4566,14 @@ packages: react: 18.2.0 dev: false - /@player-tools/devtools-client@0.7.0-next.2(@babel/runtime@7.24.4)(@codemirror/autocomplete@6.16.0)(@codemirror/language@6.10.1)(@codemirror/lint@6.7.0)(@codemirror/search@6.5.6)(@codemirror/state@6.4.1)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.26.3)(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@player-ui/player@0.7.2-next.4)(@player-ui/types@0.7.3)(@types/node@20.9.0)(codemirror@6.0.1)(framer-motion@11.1.7)(react-dom@18.2.0): - resolution: {integrity: sha512-ohslZhvYBB0K699bEzwtucirApZhyLWMHg5D7hvrD2l3MPPdyWwbfMnM+CBHFyDFGCb8wGuN0Zs28WzcDThe9w==} + /@player-tools/devtools-client@0.7.0(@babel/runtime@7.24.4)(@codemirror/autocomplete@6.16.0)(@codemirror/language@6.10.1)(@codemirror/lint@6.7.0)(@codemirror/search@6.5.6)(@codemirror/state@6.4.1)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.26.3)(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@player-ui/player@0.7.2-next.4)(@player-ui/types@0.7.3)(@types/node@20.9.0)(codemirror@6.0.1)(framer-motion@11.1.7)(react-dom@18.2.0): + resolution: {integrity: sha512-pGmZ27mHB9WVbgJAcazL+rIJ8aAxx3Hj6mBxsuBl0Ffxz+FhVl9ydIuliwFvVl9UfIHObQ3gVlM4lLEy+GAKGg==} dependencies: '@chakra-ui/react': 2.8.2(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.3.1)(framer-motion@11.1.7)(react-dom@18.2.0)(react@18.2.0) '@devtools-ds/themes': 1.2.1(@types/react@18.3.1)(react-dom@18.2.0)(react@18.2.0) '@devtools-ui/plugin': 0.3.0(@babel/runtime@7.24.4)(@codemirror/autocomplete@6.16.0)(@codemirror/language@6.10.1)(@codemirror/lint@6.7.0)(@codemirror/search@6.5.6)(@codemirror/state@6.4.1)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.26.3)(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@player-ui/types@0.7.3)(@types/node@20.9.0)(codemirror@6.0.1)(framer-motion@11.1.7)(react-dom@18.2.0) - '@player-tools/devtools-messenger': 0.7.0-next.2 - '@player-tools/devtools-types': 0.7.0-next.2 + '@player-tools/devtools-messenger': 0.7.0 + '@player-tools/devtools-types': 0.7.0 '@player-ui/pubsub-plugin': 0.7.3(@player-ui/player@0.7.2-next.4) '@player-ui/react': 0.7.3(@player-ui/types@0.7.3)(@types/react@18.3.1)(react-dom@18.2.0)(react@18.2.0) '@types/react': 18.3.1 @@ -4605,17 +4605,17 @@ packages: - react-dom dev: false - /@player-tools/devtools-messenger@0.7.0-next.2: - resolution: {integrity: sha512-It0eVeIA8KhxY9zoujNR/J3uhqG3v6+OWbcGNgkxLFXyM+tZK3CS81RWWGfdaLrnM+gU/LTm93bHUuCxFiafQw==} + /@player-tools/devtools-messenger@0.7.0: + resolution: {integrity: sha512-neqcOpPWlk7aYjE1581+Gvm06BmS8DPRgUbiJGfxaVvBqseC4Wsgv90CkmT9PRKKwfhQoCMFAjcQNMVFchGgRw==} dependencies: - '@player-tools/devtools-types': 0.7.0-next.2 + '@player-tools/devtools-types': 0.7.0 '@types/node': 18.19.31 tiny-uid: 1.1.2 tslib: 2.6.2 dev: false - /@player-tools/devtools-types@0.7.0-next.2: - resolution: {integrity: sha512-nPAp6bc+Toxj9Su58qoPrVVOxw0GdopOfv1OH1aF9ROelO0LpWdIKwnQxNCusH14QgDjqc2JzMN0nye/Y+7WtA==} + /@player-tools/devtools-types@0.7.0: + resolution: {integrity: sha512-LN3g0f1PZRB5NinPhY4ooXzS8f0f4D1o6/1W5C6eXwUoHq6QpVOzojw7ZNTsuBhf0tpDQ+C4wqHIZQY3mj9bBw==} dependencies: '@player-ui/types': 0.7.3 tslib: 2.6.2 From 0591a6a9be5b8e9fd051a5126a831ed1af0d424a Mon Sep 17 00:00:00 2001 From: player oss Date: Wed, 24 Jul 2024 16:34:59 +0000 Subject: [PATCH 03/26] Update CHANGELOG.md [skip ci] --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 648eeed..7d37eeb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# 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 From 7e8ce44b79996133df06a2786c750c8def24c35c Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Wed, 24 Jul 2024 09:51:14 -0700 Subject: [PATCH 04/26] testing inject css on github action --- scripts/inject-css.sh | 7 +++++++ scripts/release.sh | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/scripts/inject-css.sh b/scripts/inject-css.sh index 977b614..e2be407 100755 --- a/scripts/inject-css.sh +++ b/scripts/inject-css.sh @@ -6,11 +6,18 @@ for subfolder in build/*; do devtools_file=$(find $subfolder -name "devtools.*.html") + echo "css files" + echo $css_files + for file in $css_files; do relative_file=$(basename $file) link_tag="" + echo $relative_file + + echo $devtools_file + sed -i '' "s||$link_tag|" $devtools_file done fi diff --git a/scripts/release.sh b/scripts/release.sh index c7678cd..6999d16 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -6,11 +6,13 @@ 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 --no-git-checks + pnpm publish ## Create GitHub Release git push --follow-tags --set-upstream origin $branch From 48fb92019d1e2145bb91c960331f18033be1abdf Mon Sep 17 00:00:00 2001 From: player oss Date: Wed, 24 Jul 2024 16:52:43 +0000 Subject: [PATCH 05/26] Update CHANGELOG.md [skip ci] --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d37eeb..6d34fd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ #### 🐛 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 From 0e260789b9a23b0ee94a0edf85fe52c3e744f9d2 Mon Sep 17 00:00:00 2001 From: player oss Date: Wed, 24 Jul 2024 16:52:43 +0000 Subject: [PATCH 06/26] Bump version to: 0.0.8 [skip ci] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1860e8d..b51b4d5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "browser-devtools", "displayName": "Player ui devtools", - "version": "0.0.7", + "version": "0.0.8", "description": "Player UI devtools browser extension", "author": "Rafael Campos ", "scripts": { From 90692bc2094e29c8f148d36d353ea93e3165dd77 Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Wed, 24 Jul 2024 09:57:10 -0700 Subject: [PATCH 07/26] testing dryrun --- .github/workflows/release.yml | 3 +++ scripts/release.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 413d7b4..6df4c2f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,6 +64,9 @@ jobs: - name: install sharp module run: pnpm add sharp + - name: git status + run: git status + - name: pull latest version run: git pull --no-rebase diff --git a/scripts/release.sh b/scripts/release.sh index 6999d16..6112bef 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -12,7 +12,7 @@ if [ ! -z "$VERSION" ]; then ## Publish Package pnpm version $VERSION -m "Bump version to: %s [skip ci]" ## publish to npm - pnpm publish + pnpm publish --dry-run ## Create GitHub Release git push --follow-tags --set-upstream origin $branch From 7ec4a460d74e4af83cfea251452dcb5bf7526203 Mon Sep 17 00:00:00 2001 From: player oss Date: Wed, 24 Jul 2024 16:57:55 +0000 Subject: [PATCH 08/26] Update CHANGELOG.md [skip ci] --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d34fd0..b382646 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# 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 From 0f4974b1872e586b30096ffff0aa3cdd1722bbb7 Mon Sep 17 00:00:00 2001 From: player oss Date: Wed, 24 Jul 2024 16:57:56 +0000 Subject: [PATCH 09/26] Bump version to: 0.0.9 [skip ci] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b51b4d5..14eb545 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "browser-devtools", "displayName": "Player ui devtools", - "version": "0.0.8", + "version": "0.0.9", "description": "Player UI devtools browser extension", "author": "Rafael Campos ", "scripts": { From eb8acefe2f2a263c240dc23eb3f1936655fc9b85 Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Wed, 24 Jul 2024 10:03:27 -0700 Subject: [PATCH 10/26] dry run on auto --- .github/workflows/release.yml | 3 +++ scripts/release.sh | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6df4c2f..111aae1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,6 +67,9 @@ jobs: - name: git status run: git status + - name: git diff + run: git diff + - name: pull latest version run: git pull --no-rebase diff --git a/scripts/release.sh b/scripts/release.sh index 6112bef..d3b41cb 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -12,9 +12,9 @@ if [ ! -z "$VERSION" ]; then ## Publish Package pnpm version $VERSION -m "Bump version to: %s [skip ci]" ## publish to npm - pnpm publish --dry-run + pnpm publish ## Create GitHub Release - git push --follow-tags --set-upstream origin $branch - auto release + # git push --follow-tags --set-upstream origin $branch + auto release --dry-run fi \ No newline at end of file From 3f81689246a9328cc626792e0e030881d37642c6 Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Wed, 24 Jul 2024 10:23:09 -0700 Subject: [PATCH 11/26] figure out file structure of css --- scripts/inject-css.sh | 4 +++- scripts/release.sh | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/inject-css.sh b/scripts/inject-css.sh index e2be407..61c0050 100755 --- a/scripts/inject-css.sh +++ b/scripts/inject-css.sh @@ -14,8 +14,10 @@ for subfolder in build/*; do link_tag="" - echo $relative_file + echo $link_tag + echo $relative_file + echo $devtools_file sed -i '' "s||$link_tag|" $devtools_file diff --git a/scripts/release.sh b/scripts/release.sh index d3b41cb..7aae66a 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -14,6 +14,8 @@ if [ ! -z "$VERSION" ]; then ## publish to npm pnpm publish + echo $branch + ## Create GitHub Release # git push --follow-tags --set-upstream origin $branch auto release --dry-run From 3265c58fbe56c2c06416969add15a4ed824f4ea0 Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Wed, 24 Jul 2024 10:28:51 -0700 Subject: [PATCH 12/26] file structure of css --- scripts/inject-css.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/inject-css.sh b/scripts/inject-css.sh index 61c0050..6ea8453 100755 --- a/scripts/inject-css.sh +++ b/scripts/inject-css.sh @@ -20,6 +20,10 @@ for subfolder in build/*; do echo $devtools_file + ls + + pwd + sed -i '' "s||$link_tag|" $devtools_file done fi From 6c8e0a36b1fe93232ce77a9bc600963a5c5bb507 Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Wed, 24 Jul 2024 10:33:14 -0700 Subject: [PATCH 13/26] ssh folder --- scripts/inject-css.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/inject-css.sh b/scripts/inject-css.sh index 6ea8453..d42e6db 100755 --- a/scripts/inject-css.sh +++ b/scripts/inject-css.sh @@ -22,9 +22,9 @@ for subfolder in build/*; do ls - pwd + dir=pwd - sed -i '' "s||$link_tag|" $devtools_file + sed -i '' "s||$link_tag|" $dir/$devtools_file done fi done From 24cb0f78e91546c3ba7fed3e4cf1f43d3aef6564 Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Wed, 24 Jul 2024 10:36:06 -0700 Subject: [PATCH 14/26] use pwd --- scripts/inject-css.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/inject-css.sh b/scripts/inject-css.sh index d42e6db..52d0d42 100755 --- a/scripts/inject-css.sh +++ b/scripts/inject-css.sh @@ -22,7 +22,7 @@ for subfolder in build/*; do ls - dir=pwd + dir=$(pwd) sed -i '' "s||$link_tag|" $dir/$devtools_file done From d791ed235c76089543a0fde13274596327ac3b24 Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Wed, 24 Jul 2024 10:39:18 -0700 Subject: [PATCH 15/26] see build folder structure --- scripts/inject-css.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/inject-css.sh b/scripts/inject-css.sh index 52d0d42..a49d1cd 100755 --- a/scripts/inject-css.sh +++ b/scripts/inject-css.sh @@ -20,9 +20,15 @@ for subfolder in build/*; do echo $devtools_file + dir=$(pwd) + ls - dir=$(pwd) + cd build/chrome-mv3-prod/ + + ls + + echo $dir/$devtools_file sed -i '' "s||$link_tag|" $dir/$devtools_file done From b0704eb92a4c3476014b9a90f7a6beeff3b077e7 Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Wed, 24 Jul 2024 10:44:32 -0700 Subject: [PATCH 16/26] removed string from sed --- scripts/inject-css.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/inject-css.sh b/scripts/inject-css.sh index a49d1cd..e35192e 100755 --- a/scripts/inject-css.sh +++ b/scripts/inject-css.sh @@ -30,7 +30,7 @@ for subfolder in build/*; do echo $dir/$devtools_file - sed -i '' "s||$link_tag|" $dir/$devtools_file + sed -i "s||$link_tag|" $devtools_file done fi done From f153d8bff465fe36687e33631532e3956a6cec11 Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Wed, 24 Jul 2024 10:48:07 -0700 Subject: [PATCH 17/26] cat devtoolsfile --- scripts/inject-css.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/inject-css.sh b/scripts/inject-css.sh index e35192e..c4b9f59 100755 --- a/scripts/inject-css.sh +++ b/scripts/inject-css.sh @@ -28,7 +28,7 @@ for subfolder in build/*; do ls - echo $dir/$devtools_file + cat $devtools_file sed -i "s||$link_tag|" $devtools_file done From e6918c31c8a69b2f60710bb0564ac48eeec44227 Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Wed, 24 Jul 2024 10:50:37 -0700 Subject: [PATCH 18/26] dont use cd --- scripts/inject-css.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/inject-css.sh b/scripts/inject-css.sh index c4b9f59..8706d48 100755 --- a/scripts/inject-css.sh +++ b/scripts/inject-css.sh @@ -22,10 +22,6 @@ for subfolder in build/*; do dir=$(pwd) - ls - - cd build/chrome-mv3-prod/ - ls cat $devtools_file From 2285c5c960d2b9e4d1a76746a0237c94e59409d4 Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Wed, 24 Jul 2024 11:18:45 -0700 Subject: [PATCH 19/26] try releasing with injectcss --- scripts/inject-css.sh | 13 ------------- scripts/release.sh | 4 ++-- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/scripts/inject-css.sh b/scripts/inject-css.sh index 8706d48..656afc9 100755 --- a/scripts/inject-css.sh +++ b/scripts/inject-css.sh @@ -6,24 +6,11 @@ for subfolder in build/*; do devtools_file=$(find $subfolder -name "devtools.*.html") - echo "css files" - echo $css_files - for file in $css_files; do relative_file=$(basename $file) link_tag="" - echo $link_tag - - echo $relative_file - - echo $devtools_file - - dir=$(pwd) - - ls - cat $devtools_file sed -i "s||$link_tag|" $devtools_file diff --git a/scripts/release.sh b/scripts/release.sh index 7aae66a..fefef11 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -17,6 +17,6 @@ if [ ! -z "$VERSION" ]; then echo $branch ## Create GitHub Release - # git push --follow-tags --set-upstream origin $branch - auto release --dry-run + git push --follow-tags --set-upstream origin $branch + auto release fi \ No newline at end of file From 056b219fb6e0f4340f6037f87e81fdecdaaa71e4 Mon Sep 17 00:00:00 2001 From: player oss Date: Wed, 24 Jul 2024 18:19:39 +0000 Subject: [PATCH 20/26] Update CHANGELOG.md [skip ci] --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b382646..0511a87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# 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 From 9959a13dd5a63c48caa254cd7632737514240eda Mon Sep 17 00:00:00 2001 From: player oss Date: Wed, 24 Jul 2024 18:19:39 +0000 Subject: [PATCH 21/26] Bump version to: 0.0.10 [skip ci] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 14eb545..35bf65e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "browser-devtools", "displayName": "Player ui devtools", - "version": "0.0.9", + "version": "0.0.10", "description": "Player UI devtools browser extension", "author": "Rafael Campos ", "scripts": { From fe5c5a489a32d159cdc237ba4ddd90ac70976ec1 Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Wed, 24 Jul 2024 11:59:10 -0700 Subject: [PATCH 22/26] release --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 111aae1..fd90fc7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,7 +68,7 @@ jobs: run: git status - name: git diff - run: git diff + run: git stash - name: pull latest version run: git pull --no-rebase From 3e1d36ece2f313a29648278e31ccd7883bbe3f1f Mon Sep 17 00:00:00 2001 From: player oss Date: Wed, 24 Jul 2024 19:00:33 +0000 Subject: [PATCH 23/26] Update CHANGELOG.md [skip ci] --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0511a87..f2441b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# 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 From ed6feab4f65d93831e0a012db4809a28b1591b45 Mon Sep 17 00:00:00 2001 From: player oss Date: Wed, 24 Jul 2024 19:00:33 +0000 Subject: [PATCH 24/26] Bump version to: 0.0.11 [skip ci] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 35bf65e..6ba8c18 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "browser-devtools", "displayName": "Player ui devtools", - "version": "0.0.10", + "version": "0.0.11", "description": "Player UI devtools browser extension", "author": "Rafael Campos ", "scripts": { From 87d58fd0a52d8295172d06222af8cc786e262d16 Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Fri, 26 Jul 2024 15:08:58 -0700 Subject: [PATCH 25/26] only on pushes to main --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fd90fc7..18f3bc1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,9 @@ name: Release -on: [push] +on: + push: + branches: + - main jobs: build: From 8448bd9630e0d83173d6034b8c96ee44d442b003 Mon Sep 17 00:00:00 2001 From: marky ercillo Date: Fri, 26 Jul 2024 15:10:30 -0700 Subject: [PATCH 26/26] no need to cat the devfile --- scripts/inject-css.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/inject-css.sh b/scripts/inject-css.sh index 656afc9..b710433 100755 --- a/scripts/inject-css.sh +++ b/scripts/inject-css.sh @@ -11,8 +11,6 @@ for subfolder in build/*; do link_tag="" - cat $devtools_file - sed -i "s||$link_tag|" $devtools_file done fi