Skip to content

Commit

Permalink
Merge branch 'dev' into pr/11791
Browse files Browse the repository at this point in the history
  • Loading branch information
wackerow committed Apr 22, 2024
2 parents cd890e4 + 0344f5d commit 80eaf5b
Show file tree
Hide file tree
Showing 6,972 changed files with 476,212 additions and 492,906 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
991 changes: 982 additions & 9 deletions .all-contributorsrc

Large diffs are not rendered by default.

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
Validating CODEOWNERS rules …
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
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/suggest_glossary_term.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ body:
- type: textarea
id: glossary_term_sources
attributes:
label: Sources, if any (please do not submit copywrited content without appropriate approval)
label: Sources, if any (please do not submit copyrighted content without appropriate approval)
description: Please list any sources utilized
validations:
required: false
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/suggest_layer2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ body:
id: layer_2_dapp_ecosystem
attributes:
label: Link to dapp ecosystem (if applicable)
description: "Please provide a link to the dapp ecosystem. (ex: https://portal.arbitrum.one/, https://www.optimism.io/apps/all)"
description: "Please provide a link to the dapp ecosystem. (ex: https://portal.arbitrum.io/, https://www.optimism.io/apps)"
- type: input
id: layer_2_token_contract_list
attributes:
Expand Down
Loading

0 comments on commit 80eaf5b

Please sign in to comment.