diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1a0575d..18f3bc1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 648eeed..f2441b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index 47cf493..6ba8c18 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.11", "description": "Player UI devtools browser extension", "author": "Rafael Campos ", "scripts": { @@ -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", 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 diff --git a/scripts/inject-css.sh b/scripts/inject-css.sh index 977b614..b710433 100755 --- a/scripts/inject-css.sh +++ b/scripts/inject-css.sh @@ -11,7 +11,7 @@ for subfolder in build/*; do link_tag="" - sed -i '' "s||$link_tag|" $devtools_file + sed -i "s||$link_tag|" $devtools_file done fi done diff --git a/scripts/release.sh b/scripts/release.sh index a9474ff..fefef11 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -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