Skip to content

Commit 840672f

Browse files
committed
Update dependencies for @skip-go/widget to version 3.14.14 and chain-registry to version 2.0.78. Add GitHub Actions workflow for automated dependency updates.
1 parent 2bbcc7d commit 840672f

File tree

6 files changed

+85
-17
lines changed

6 files changed

+85
-17
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Update Dependencies
2+
3+
on:
4+
schedule:
5+
# Run every Monday at 9:00 AM UTC
6+
- cron: '0 9 * * 1'
7+
workflow_dispatch: # Allow manual trigger
8+
9+
jobs:
10+
update-dependencies:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
with:
17+
token: ${{ secrets.GITHUB_TOKEN }}
18+
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: '20'
23+
cache: 'npm'
24+
25+
- name: Install dependencies
26+
run: npm ci
27+
28+
- name: Run update-all
29+
run: npm run update-all
30+
31+
- name: Create Pull Request
32+
uses: peter-evans/create-pull-request@v6
33+
with:
34+
token: ${{ secrets.GITHUB_TOKEN }}
35+
commit-message: 'chore: update chain registries and Skip Go widget'
36+
title: 'chore: automated dependency updates'
37+
body: |
38+
## Automated Dependency Updates
39+
40+
This PR contains automated updates for:
41+
- Chain Registry packages (`chain-registry`, `@initia/initia-registry`)
42+
- Skip Go Widget (`@skip-go/widget`)
43+
- Generated chain configurations
44+
45+
### Changes
46+
- Updated registry packages to latest versions
47+
- Regenerated chain configurations from registries
48+
- Updated Skip Go widget to latest version
49+
50+
Please review the changes and merge if everything looks good.
51+
52+
---
53+
*This PR was automatically generated by the [update-dependencies workflow](https://github.com/${{ github.repository }}/actions/workflows/update-dependencies.yml)*
54+
branch: automated/update-dependencies
55+
branch-suffix: timestamp
56+
delete-branch: true
57+
labels: |
58+
dependencies
59+
automated
60+
assignees: ${{ github.repository_owner }}

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@initia/initia-registry": "^1.0.6",
2323
"@next/third-parties": "^15.2.3",
2424
"@radix-ui/colors": "^3.0.0",
25-
"@skip-go/widget": "^3.14.13",
25+
"@skip-go/widget": "^3.14.14",
2626
"@tailwindcss/forms": "^0.5.7",
2727
"@tanstack/react-query": "^5.18.1",
2828
"@types/node": "^20.11.16",
@@ -32,7 +32,7 @@
3232
"@vercel/edge": "^1.2.2",
3333
"@vercel/edge-config": "^0.4.1",
3434
"autoprefixer": "^10.4.17",
35-
"chain-registry": "^2.0.76",
35+
"chain-registry": "^2.0.78",
3636
"clsx": "^2.1.0",
3737
"next": "^14.1.0",
3838
"next-seo": "^6.4.0",

src/chains/rest.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/chains/rpc.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/utils/api.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,21 @@ export const isCloudflarePreview = (str: string) => {
147147
return false;
148148
};
149149

150+
export const isAmplifyPreview = (str: string) => {
151+
if (str.includes("amplifyapp.com")) {
152+
return true;
153+
}
154+
return false;
155+
};
156+
150157
export const isPreview = (str: string) => {
151158
if (
152159
isVercelPreview(str) ||
153160
isCloudflarePreview(str) ||
154161
isNetlifyPreview(str) ||
155162
isIngress(str) ||
156-
isWorkersDev(str)
163+
isWorkersDev(str) ||
164+
isAmplifyPreview(str)
157165
) {
158166
return true;
159167
}

0 commit comments

Comments
 (0)