Skip to content

Commit

Permalink
Merge branch 'dev' into shadcn-tag-button
Browse files Browse the repository at this point in the history
  • Loading branch information
pettinarip committed Jan 14, 2025
2 parents a74b52c + 43da01f commit 2df87a6
Show file tree
Hide file tree
Showing 3,166 changed files with 230,104 additions and 92,890 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
175 changes: 174 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -12261,7 +12261,8 @@
"profile": "https://github.com/Shiva-Sai-ssb",
"contributions": [
"bug",
"maintenance"
"maintenance",
"content"
]
},
{
Expand Down Expand Up @@ -12497,6 +12498,178 @@
"contributions": [
"doc"
]
},
{
"login": "r4f4ss",
"name": "rafaelss",
"avatar_url": "https://avatars.githubusercontent.com/u/5679073?v=4",
"profile": "https://github.com/r4f4ss",
"contributions": [
"content"
]
},
{
"login": "preetjdp",
"name": "Preet Parekh",
"avatar_url": "https://avatars.githubusercontent.com/u/27439197?v=4",
"profile": "https://preetjdp.dev/",
"contributions": [
"content"
]
},
{
"login": "ludamad",
"name": "ludamad",
"avatar_url": "https://avatars.githubusercontent.com/u/163993?v=4",
"profile": "https://www.linkedin.com/in/adamdomurad/",
"contributions": [
"content"
]
},
{
"login": "MaryNfs",
"name": "MaryNfs",
"avatar_url": "https://avatars.githubusercontent.com/u/52598322?v=4",
"profile": "https://github.com/MaryNfs",
"contributions": [
"content",
"bug"
]
},
{
"login": "Signor1",
"name": "Signor Dev",
"avatar_url": "https://avatars.githubusercontent.com/u/94352660?v=4",
"profile": "https://signor.vercel.app/",
"contributions": [
"maintenance"
]
},
{
"login": "KatrixReloaded",
"name": "Kartikeya Sureka",
"avatar_url": "https://avatars.githubusercontent.com/u/68804269?v=4",
"profile": "https://github.com/KatrixReloaded",
"contributions": [
"code"
]
},
{
"login": "Piyush-Tilokani",
"name": "Piyush Tilokani",
"avatar_url": "https://avatars.githubusercontent.com/u/112542519?v=4",
"profile": "https://github.com/Piyush-Tilokani",
"contributions": [
"content"
]
},
{
"login": "jacobourar",
"name": "Jacobo Uribe",
"avatar_url": "https://avatars.githubusercontent.com/u/109108267?v=4",
"profile": "https://github.com/jacobourar",
"contributions": [
"content"
]
},
{
"login": "Xcertik-Realist",
"name": "NilFoundation",
"avatar_url": "https://avatars.githubusercontent.com/u/63165931?v=4",
"profile": "https://github.com/Xcertik-Realist",
"contributions": [
"content"
]
},
{
"login": "gconnect",
"name": "Glory Agatevure",
"avatar_url": "https://avatars.githubusercontent.com/u/23031920?v=4",
"profile": "https://github.com/gconnect",
"contributions": [
"content"
]
},
{
"login": "emmanuellar",
"name": "Amarachi Johnson-Ubah",
"avatar_url": "https://avatars.githubusercontent.com/u/41474439?v=4",
"profile": "http://amarachijohnson.com",
"contributions": [
"ideas"
]
},
{
"login": "sumitvekariya",
"name": "Sumit Vekariya",
"avatar_url": "https://avatars.githubusercontent.com/u/20764957?v=4",
"profile": "http://sumitvekariya.surge.sh",
"contributions": [
"maintenance"
]
},
{
"login": "rafagomes",
"name": "Rafa Gomes",
"avatar_url": "https://avatars.githubusercontent.com/u/565337?v=4",
"profile": "https://github.com/rafagomes",
"contributions": [
"code"
]
},
{
"login": "ddannehh",
"name": "ddannehh",
"avatar_url": "https://avatars.githubusercontent.com/u/109203827?v=4",
"profile": "https://github.com/ddannehh",
"contributions": [
"design"
]
},
{
"login": "jkylling",
"name": "Jonas Irgens Kylling",
"avatar_url": "https://avatars.githubusercontent.com/u/6781076?v=4",
"profile": "https://github.com/jkylling",
"contributions": [
"content"
]
},
{
"login": "CremaFR",
"name": "Thomas Brillard",
"avatar_url": "https://avatars.githubusercontent.com/u/5360522?v=4",
"profile": "https://github.com/CremaFR",
"contributions": [
"doc"
]
},
{
"login": "YakshitAgarwal",
"name": "Yakshit Agarwal",
"avatar_url": "https://avatars.githubusercontent.com/u/153830716?v=4",
"profile": "https://github.com/YakshitAgarwal",
"contributions": [
"content"
]
},
{
"login": "mseidlx",
"name": "Matthias Seidl",
"avatar_url": "https://avatars.githubusercontent.com/u/32496674?v=4",
"profile": "https://growthepie.xyz",
"contributions": [
"code"
]
},
{
"login": "JoeChenJ",
"name": "JoeChenJ",
"avatar_url": "https://avatars.githubusercontent.com/u/171761102?v=4",
"profile": "https://github.com/JoeChenJ",
"contributions": [
"content"
]
}
],
"contributorsPerLine": 7,
Expand Down
6 changes: 5 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@ BUILD_LOCALES=
LIMIT_CPUS=

# Enables the bundle analyzer
ANALYZE=false
ANALYZE=false

# Use mock data for development. Set to "false" to use live data but you must have the
# environment variables set to make api requests
USE_MOCK_DATA=true
13 changes: 12 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@
"varsIgnorePattern": "^_$"
}
],
"unused-imports/no-unused-imports-ts": "warn"
"unused-imports/no-unused-imports-ts": "warn",
"no-restricted-imports": [
"warn",
{
"paths": [
{
"name": "react-i18next",
"message": "Please use next-i18next instead of react-i18next."
}
]
}
]
}
}
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
* @wackerow @corwintines @pettinarip @minimalsm @nhsz
* @wackerow @corwintines @pettinarip @minimalsm

# Owners of specific files
/src/data/consensus-bounty-hunters.json @djrtwo @asanso @fredriksvantes
/src/data/wallets/new-to-crypto.ts @konopkja @minimalsm
2 changes: 1 addition & 1 deletion .github/workflows/generate-review-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}

- name: Upload output as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: output
path: ./src/data/crowdin/bucketsAwaitingReviewReport.csv
41 changes: 41 additions & 0 deletions .github/workflows/update-chains.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Update Chains

on:
schedule:
- cron: '20 16 * * FRI' # Runs every Friday at 16:20 UTC
workflow_dispatch: # Can be dispatched manually

jobs:
update-chains:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Install dependencies
run: yarn install

- name: Install ts-node
run: yarn global add ts-node

- name: Update chains data
run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/update-chains.ts

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: update-chains
branch-suffix: timestamp
commit-message: |
Update chains data
base: dev
title: Update chains data
body: Automated update of chains data from https://chainid.network/chains.json
labels: update 🔄
32 changes: 0 additions & 32 deletions .github/workflows/wallets-check.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .storybook/i18next.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import i18n, { Resource } from "i18next"
// eslint-disable-next-line no-restricted-imports
import { initReactI18next } from "react-i18next"

export const baseLocales = {
Expand All @@ -22,7 +23,9 @@ export const ns = [
"page-developers-index",
"page-what-is-ethereum",
"page-upgrades-index",
"page-wallets-find-wallet",
"page-developers-docs",
"table",
] as const
const supportedLngs = Object.keys(baseLocales)

Expand Down
6 changes: 5 additions & 1 deletion .storybook/modes.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import pickBy from "lodash/pickBy"

import { baseLocales } from "./i18next"
import { breakpointSet } from "./preview"

Expand All @@ -12,7 +14,9 @@ export const viewportModes = breakpointSet.reduce<{
}
}, {})

export const langModes = Object.keys(baseLocales).reduce<{
const localesToTest = ["en", "fa"]
const locales = pickBy(baseLocales, (_, key) => localesToTest.includes(key))
export const langModes = Object.keys(locales).reduce<{
[locale: string]: { locale: string }
}>((arr, curr) => {
return {
Expand Down
1 change: 1 addition & 0 deletions .storybook/utils.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line no-restricted-imports
import { getI18n } from "react-i18next"

import { ns as exposedNs } from "./i18next"
Expand Down
Loading

0 comments on commit 2df87a6

Please sign in to comment.