-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from decentraland/feat/add-polygon-amoy
feat: Add polygon amoy support
- Loading branch information
Showing
41 changed files
with
13,718 additions
and
50,445 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
REACT_APP_CHAIN_ID="11155111" | ||
REACT_APP_PEER_URL="https://peer-ue-2.decentraland.zone" | ||
REACT_APP_TRANSACTIONS_API_URL="https://transactions-api.decentraland.zone/v1" | ||
REACT_APP_TPR_SUBGRAPH="https://subgraph.decentraland.org/tpr-matic-amoy" | ||
REACT_APP_SEGMENT_API_KEY="" | ||
REACT_APP_ENVIRONMENT="development" | ||
REACT_APP_WEBSITE_VERSION="0.1.0" | ||
VITE_REACT_APP_CHAIN_ID="11155111" | ||
VITE_REACT_APP_PEER_URL="https://peer.decentraland.zone" | ||
VITE_REACT_APP_TRANSACTIONS_API_URL="https://transactions-api.decentraland.zone/v1" | ||
VITE_REACT_APP_TPR_SUBGRAPH="https://subgraph.decentraland.org/tpr-matic-amoy" | ||
VITE_REACT_APP_SEGMENT_API_KEY="" | ||
VITE_REACT_APP_ENVIRONMENT="development" | ||
VITE_REACT_APP_WEBSITE_VERSION="0.1.0" | ||
PUBLIC_URL="" | ||
VITE_BASE_URL="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Build and release | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
release: | ||
types: | ||
- created | ||
|
||
jobs: | ||
build-release: | ||
permissions: | ||
id-token: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Use Node.js 20.x | ||
uses: actions/setup-node@v4.0.1 | ||
with: | ||
node-version: 20.x | ||
cache: 'npm' | ||
- name: Set package.json version | ||
uses: menduz/oddish-action@master | ||
with: | ||
deterministic-snapshot: true | ||
only-update-versions: true | ||
- name: Install | ||
run: npm install | ||
env: | ||
HUSKY: 0 | ||
- name: Build | ||
run: npm run build | ||
env: | ||
CI: 'false' | ||
NODE_PATH: 'src' | ||
- name: Publish | ||
uses: menduz/oddish-action@master | ||
with: | ||
cwd: './dist' | ||
deterministic-snapshot: true | ||
registry-url: 'https://registry.npmjs.org' | ||
access: public | ||
gitlab-token: ${{ secrets.GITLAB_CDN_DEPLOYER_TOKEN }} | ||
gitlab-pipeline-url: ${{ secrets.GITLAB_CDN_DEPLOYER_URL }} | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- name: Create Sentry release | ||
if: github.event_name == 'release' && github.event.action == 'created' | ||
uses: getsentry/action-release@v1 | ||
env: | ||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }} | ||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} | ||
with: | ||
sourcemaps: ${{ github.workspace }}/build | ||
version: '${{ vars.SENTRY_RELEASE_PREFIX }}@${{ github.event.release.tag_name }}' | ||
url_prefix: '~' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
|
||
# production | ||
/build | ||
/dist | ||
|
||
# misc | ||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/favicon.ico" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link | ||
href="https://fonts.googleapis.com/css?family=Inconsolata&display=swap" | ||
rel="stylesheet" | ||
/> | ||
<link | ||
rel="sitemap" | ||
type="application/xml" | ||
title="Sitemap" | ||
href="/sitemap.xml" | ||
/> | ||
<link rel="manifest" href="/manifest.json" /> | ||
<meta name="theme-color" content="#000000" /> | ||
<meta name="description" content="Decentraland - Third Party Aggregator" /> | ||
<title>Decentraland - Third Party Aggregator</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/index.tsx"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* eslint-disable */ | ||
import type { Config } from 'jest' | ||
|
||
export default async (): Promise<Config> => { | ||
return { | ||
verbose: true, | ||
testEnvironment: 'jsdom', | ||
setupFiles: ['<rootDir>/src/tests/beforeSetupTests.tsx'], | ||
setupFilesAfterEnv: ['<rootDir>/src/tests/afterSetupTest.ts'], | ||
transform: { | ||
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': | ||
'<rootDir>/src/tests/config/fileTransformer.cjs', | ||
'^.+\\.(t|j)sx?$': '@swc/jest' | ||
}, | ||
moduleNameMapper: { | ||
'\\.(css|less)$': 'identity-obj-proxy' | ||
}, | ||
transformIgnorePatterns: ['node_modules/(?!(multiformats|uint8arrays|@dcl/single-sign-on-client|decentraland-connect|uuid|decentraland-dapps)/)'] | ||
} | ||
} |
Oops, something went wrong.