Skip to content

Commit

Permalink
Merge branch 'dev' into pr/xdaluca/11801
Browse files Browse the repository at this point in the history
  • Loading branch information
corwintines committed Jan 24, 2024
2 parents 12569a8 + 7742383 commit 5c4208e
Show file tree
Hide file tree
Showing 5,213 changed files with 168,120 additions and 263,417 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
72 changes: 72 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -10893,6 +10893,78 @@
"contributions": [
"content"
]
},
{
"login": "SanShi2023",
"name": "SanShi2023",
"avatar_url": "https://avatars.githubusercontent.com/u/136459117?v=4",
"profile": "https://github.com/SanShi2023",
"contributions": [
"content"
]
},
{
"login": "kamuik16",
"name": "Krishang Shah",
"avatar_url": "https://avatars.githubusercontent.com/u/93703995?v=4",
"profile": "https://github.com/kamuik16",
"contributions": [
"code"
]
},
{
"login": "vuvoth",
"name": "Vu Vo",
"avatar_url": "https://avatars.githubusercontent.com/u/45826131?v=4",
"profile": "https://github.com/vuvoth",
"contributions": [
"content"
]
},
{
"login": "o2Stake",
"name": "Tim - o2Stake",
"avatar_url": "https://avatars.githubusercontent.com/u/77958700?v=4",
"profile": "http://o2stake.com",
"contributions": [
"content"
]
},
{
"login": "b-wagn",
"name": "Benedikt Wagner",
"avatar_url": "https://avatars.githubusercontent.com/u/113296072?v=4",
"profile": "http://benedikt-wagner.dev",
"contributions": [
"content"
]
},
{
"login": "tdahar",
"name": "Tarun Mohandas Daryanani",
"avatar_url": "https://avatars.githubusercontent.com/u/18716811?v=4",
"profile": "https://github.com/tdahar",
"contributions": [
"content"
]
},
{
"login": "Crosstons",
"name": "Shubh",
"avatar_url": "https://avatars.githubusercontent.com/u/110349596?v=4",
"profile": "https://github.com/Crosstons",
"contributions": [
"content"
]
},
{
"login": "duckdegen",
"name": "duckdegen",
"avatar_url": "https://avatars.githubusercontent.com/u/98649644?v=4",
"profile": "https://github.com/duckdegen",
"contributions": [
"content"
]
}
],
"contributorsPerLine": 7,
Expand Down
41 changes: 26 additions & 15 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,22 +1,33 @@
# rename this file to .env and supply the values listed below
# also make sure they are available to the build tool (e.g. Netlify)
# warning: variables prefixed with GATSBY_ will be made available to client-side code
# warning: variables prefixed with NEXT_PUBLIC_ will be made available to client-side code
# be careful not to expose sensitive data (e.g. your Algolia admin key)
ALGOLIA_ADMIN_KEY=insertValue
ETHERSCAN_API_KEY=insertValue
GATSBY_ALGOLIA_APP_ID=insertValue
GATSBY_ALGOLIA_SEARCH_KEY=insertValue
GATSBY_ALGOLIA_BASE_SEARCH_INDEX_NAME=insertValue
GATSBY_GITHUB_TOKEN_READ_ONLY=insertValue
GATSBY_FUNCTIONS_PATH=insertValue

# Build pages only for the specified langs. Leave it empty to build all the langs
# e.g. `en,fr` will only build english and french pages
# Note: always include `en` as it is the default lang of the site
GATSBY_BUILD_LANGS=
# Algolia environment (app ID, search key and base search index name required for search)
# NEXT_PUBLIC_ALGOLIA_APP_ID=insertValue
# NEXT_PUBLIC_ALGOLIA_SEARCH_KEY=insertValue
# NEXT_PUBLIC_ALGOLIA_BASE_SEARCH_INDEX_NAME=insertValue
# NEXT_PUBLIC_GITHUB_TOKEN_READ_ONLY=insertValue

# Etherscan API key (required for Etherscan API fetches)
# ETHERSCAN_API_KEY=insertValue

# Google API key and Calendar ID (required to fetch Calendar events)
# GOOGLE_API_KEY=
# GOOGLE_CALENDAR_ID=

# Folders or files to ignore from the `src/content` folder
IGNORE_CONTENT=**/docs,**/tutorials
# Matomo environment (URL and site ID required for analytics)
NEXT_PUBLIC_MATOMO_URL=
NEXT_PUBLIC_MATOMO_SITE_ID=

# Used to avoid loading Matomo in our preview deploys
IS_PREVIEW_DEPLOY=false
IS_PREVIEW_DEPLOY=false

# Build pages only for the specified langs. Leave it empty to build all the langs
# e.g. `en,fr` will only build English and French pages
# Note: always include `en` as it is the default lang of the site
BUILD_LOCALES=

# If resource constraints are being hit during builds, change LIMIT_CPUS to a
# fixed number of CPUs (e.g. 2) to limit the demand during build time
LIMIT_CPUS=
5 changes: 3 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# The content is used as a code example in /src/pages/index.js
src/data/CreateWallet.js
.next
dist
node_modules/
46 changes: 46 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"extends": [
"next/core-web-vitals",
"prettier",
"plugin:storybook/recommended"
],
"env": { "es6": true },
"plugins": ["simple-import-sort"],
"rules": {
"simple-import-sort/imports": [
"error",
{
"groups": [
// Node.js builtins.
[
"^(assert|buffer|child_process|cluster|console|constants|crypto|dgram|dns|domain|events|fs|http|https|module|net|os|path|punycode|querystring|readline|repl|stream|string_decoder|sys|timers|tls|tty|url|util|vm|zlib|freelist|v8|process|async_hooks|http2|perf_hooks)(/.*|$)"
],
// Packages. `react` related packages come first.
// Also, put `react-icons` in sorting order not with `react`
["^react(?!-.)$", "^\\w", "^@\\w"],
// The Chakra theme directory if imported to story file or other places
["^@/@chakra-ui"],
// From the `types` directory.
["^@/lib/types", "^@/lib/interfaces"],
// From the `components` directory.
["^@/components"],
// From the `utils` directory.
["^@/lib/utils"],
// From the `data` directory.
["^@/data"],
// From the `constants` directory.
["^@/lib/constants"],
// Parent imports. Put `..` last.
["^\\.\\.(?!/?$)", "^\\.\\./?$"],
// Other relative imports. Put same-folder imports and `.` last.
["^\\./(?=.*/)(?!/?$)", "^\\.(?!/?$)", "^\\./?$"],
// Style imports.
["^.+\\.s?css$"],
// Side effect imports.
["^\\u0000"]
]
}
],
"simple-import-sort/exports": "error"
}
}
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
* @wackerow @corwintines @pettinarip @minimalsm @nhsz

# Owners of specific files
/src/data/consensus-bounty-hunters.csv @djrtwo @asanso @fredriksvantes
/src/data/consensus-bounty-hunters.json @djrtwo @asanso @fredriksvantes
69 changes: 69 additions & 0 deletions .github/ISSUE_TEMPLATE/event_listing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Event listing
description: Request an Ethereum event for listing
title: Event listing
labels: ["event :calendar:"]
body:
- type: input
id: event_listing_name
attributes:
label: Event/Meetup Name
description: Name for the event to be listed
validations:
required: true
- type: input
id: event_listing_website
attributes:
label: Website
description: Publicly available website URL to get more information about the event
validations:
required: true
- type: input
id: event_listing_location
attributes:
label: Location (City/Country, or Remote)
description: Geographic location of in-person event, or "Remote" for a virtual event
validations:
required: true
- type: input
id: event_listing_description
attributes:
label: Description
description: Brief description of event
validations:
required: true
- type: input
id: event_listing_start_date
attributes:
label: "Start date: (yyyy-mm-dd)"
description: Start date of event in yyyy-mm-dd format
validations:
required: true
- type: input
id: event_listing_end_date
attributes:
label: "End date: (yyyy-mm-dd)"
description: End date of event in yyyy-mm-dd format
validations:
required: true
- type: textarea
id: event_listing_additional_context
attributes:
label: Additional context
description: Add any other context about the event here
- type: markdown
attributes:
value: |
**Note:**
Events will be only added on the "Upcoming events" table if all fields above are completed, pending approval
- type: markdown
attributes:
value: |
**Want to contribute?**
We love contributions from the Ethereum community! Please comment on an issue if you're interested in helping out with a PR.
- type: checkboxes
id: event_listing_work_on
attributes:
label: Would you like to work on this issue?
options:
- label: "Yes"
required: false
26 changes: 17 additions & 9 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,42 @@
"review needed :eyes:":
- src/**/*
- public/*

"documentation :book:":
- README.md

"tooling :wrench:":
- .github/**/*
- src/scripts/*
- netlify.toml
- src/lib/*
- src/hooks/*

"dependencies :package:":
- package.json
- yarn.lock

"internal :house:":
- gatsby-browser.js
- gatsby-config.js
- gatsby-node.js
- gatsby-ssr.js
- .all-contributorsrc
- i18n.config.json
- next.config.js
- next-i18next.config,js
- next-sitemap.config.js
- tsconfig.json
- .nvmrc
- .eslintignore
- .eslintrc.json
- .prettierignore
- .prettierrc
- netlify.toml

"translation :earth_africa:":
- src/content/translations/**/*
- src/intl/*
- src/utils/translations.js
- src/intl/**/*
- src/lib/utils/translations.ts

"content :fountain_pen:":
- src/pages/*
- src/pages-conditional/*
- src/content/**/*
- public/content/**/*

"event :date:":
- src/data/community-events.json
5 changes: 2 additions & 3 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ on:
# Only run on file changes in any of these paths
- "src/components/**/*"
- "src/pages/**/*"
- "src/pages-conditional/**/*"
- "src/templates/**/*"
- "src/@chakra-ui/gatsby-plugin/**/*"
- "src/layouts/**/*"
- "src/@chakra-ui/**/*"

# List of jobs
jobs:
Expand Down
Loading

0 comments on commit 5c4208e

Please sign in to comment.