Skip to content

Commit

Permalink
Merge pull request #268 from omnisat/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
hathbanger authored Nov 15, 2024
2 parents b8942d5 + cf17c60 commit 8425e14
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 12 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,29 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Revert dependencies in lasereyes package.json for local development
if: needs.check-package-changes.outputs.lasereyes_core_changed == 'true' || needs.check-package-changes.outputs.lasereyes_react_changed == 'true'
continue-on-error: true
run: |
cd packages/lasereyes
node -e "let pkg=require('./package.json'); pkg.dependencies['@omnisat/lasereyes-core']='workspace:*'; pkg.dependencies['@omnisat/lasereyes-react']='workspace:*'; require('fs').writeFileSync('./package.json', JSON.stringify(pkg, null, 2));"
cd ../..
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Commit stable version bump for all changed packages
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git fetch --prune # Clean up stale references
git add .
git commit -m "Stable version bump for all changed packages"
git checkout main || git checkout -b main origin/main # Ensure main branch is checked out
git branch --set-upstream-to=origin/main main # Set upstream to avoid ambiguity
git push origin main:refs/heads/main # Push explicitly to main branch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Revert merge if critical steps failed
if: env.critical_failure == 'true'
run: |
Expand Down
2 changes: 1 addition & 1 deletion packages/lasereyes-core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@omnisat/lasereyes-core",
"private": false,
"version": "0.0.46-rc.2",
"version": "0.0.46-rc.4",
"type": "module",
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
Expand Down
16 changes: 8 additions & 8 deletions packages/lasereyes-core/src/constants/wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,26 +50,26 @@ export const SUPPORTED_WALLETS: WalletInfo = {
name: ProviderEnumMap.OKX,
url: 'https://chromewebstore.google.com/detail/okx-wallet/mcohilncbfahbmgdjkbpemcciiolgcge',
},
[ProviderEnumMap.WIZZ]: {
name: ProviderEnumMap.WIZZ,
url: 'https://wizzwallet.io/#extension',
},
[ProviderEnumMap.ORANGE]: {
name: ProviderEnumMap.ORANGE,
url: 'https://www.orangewallet.com/',
},
[ProviderEnumMap.PHANTOM]: {
name: ProviderEnumMap.PHANTOM,
url: 'https://phantom.app/download',
},
[ProviderEnumMap.OYL]: {
name: ProviderEnumMap.OYL,
url: 'https://www.oyl.io/#get-wallet',
},
[ProviderEnumMap.PHANTOM]: {
name: ProviderEnumMap.PHANTOM,
url: 'https://phantom.app/download',
},
[ProviderEnumMap.UNISAT]: {
name: ProviderEnumMap.UNISAT,
url: 'https://unisat.io/download',
},
[ProviderEnumMap.WIZZ]: {
name: ProviderEnumMap.WIZZ,
url: 'https://wizzwallet.io/#extension',
},
[ProviderEnumMap.XVERSE]: {
name: ProviderEnumMap.XVERSE,
url: 'https://www.xverse.app/download',
Expand Down
2 changes: 1 addition & 1 deletion packages/lasereyes-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@omnisat/lasereyes-react",
"private": false,
"version": "0.0.40-rc.2",
"version": "0.0.41-rc.4",
"type": "module",
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/lasereyes-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@omnisat/lasereyes-vue",
"private": false,
"version": "0.0.6-rc.0",
"version": "0.0.7-rc.1",
"type": "module",
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion packages/lasereyes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"url": "https://github.com/omnisat/lasereyes-mono.git"
},
"private": false,
"version": "0.0.123-rc.6",
"version": "0.0.124-rc.8",
"type": "module",
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
Expand Down

0 comments on commit 8425e14

Please sign in to comment.