Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
51 changes: 32 additions & 19 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
node_modules
.pnp
.pnp.js
/node_modules
**/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
coverage
/coverage

# next.js
.next/
out/
build
/.next/
**/.next/
/out/
**/out/

# production
/build
**/build
**/dist

# misc
.DS_Store
Expand All @@ -23,20 +35,21 @@ yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local
# env files (can opt-in for committing if needed)
.env*

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# turbo
.turbo

dist/

sitemap-0.xml
# package-lock files (since we're using Yarn)
**/package-lock.json

# cursor params
.cursorrules
.cursorignore
/.cursorrules.backup
# Storybook build outputs
**/storybook-static
1 change: 1 addition & 0 deletions .turboignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
apps/widget
12 changes: 12 additions & 0 deletions .vercelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
packages/dexkit-unlock
packages/dexkit-exchange
packages/dexkit-widgets
packages/dexkit-ui
packages/dexappbuilder-render
packages/dexappbuilder-viewer
apps/dexappbuilder/.next
apps/dexappbuilder/node_modules
apps/dexappbuilder/.turbo
node_modules
.turbo
*.log
3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules
enableGlobalCache: false
enableTelemetry: false
Binary file added app/favicon.ico
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default function WalletCoinsTab({}: Props) {
const currency = useAtomValue(currencyAtom);
const balancesVisibility = useBalancesVisibility();
const { chainId, account, provider } = useWeb3React();
const transakRef = useRef<any>();
const transakRef = useRef<any>(null);

useEffect(() => {
transakRef.current = InitTransak({currency: currency})
Expand Down
3 changes: 2 additions & 1 deletion apps/dexappadmin/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference path="./.next/types/routes.d.ts" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
3 changes: 2 additions & 1 deletion apps/dexappadmin/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-nocheck
import createEmotionServer from '@emotion/server/create-instance';

import Document, { Head, Html, Main, NextScript } from 'next/document';
Expand Down Expand Up @@ -25,7 +26,7 @@ export default class MyDocument extends Document {
/>
{appConfig?.font && (
<link
href={`https://fonts.googleapis.com/css2?family=${appConfig.font.family}&display=swap`}
href={`https://fonts.googleapis.com/css2?family=${(appConfig as any).font.family}&display=swap`}
rel="stylesheet"
/>
)}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-nocheck
// in LatLongInput.js
import { TextField, useInput } from 'react-admin';

Expand Down
6 changes: 4 additions & 2 deletions apps/dexappadmin/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"lib": ["dom", "dom.iterable", "esnext", "ES2021.String"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"strict": false,
"noImplicitAny": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
Expand All @@ -28,7 +29,8 @@
{
"name": "next"
}
]
],
"types": []
},
"include": [
"next-env.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion apps/dexappbuilder/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"root": true,
"extends": "next/core-web-vitals",
"extends": ["next/core-web-vitals"],
"rules": {
"react-hooks/exhaustive-deps": "off",
"@next/next/no-img-element": "off"
Expand Down
40 changes: 40 additions & 0 deletions apps/dexappbuilder/.vercelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Dependencies
node_modules
.pnp
.pnp.js

# Testing
coverage

# Next.js
.next/
out/

# Production
build

# Misc
.DS_Store
*.pem

# Debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Local env files
.env*.local

# Vercel
.vercel

# TypeScript
*.tsbuildinfo
next-env.d.ts

# IDE
.vscode
.idea

# OS
Thumbs.db
3 changes: 3 additions & 0 deletions apps/dexappbuilder/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules
enableGlobalCache: false
enableTelemetry: false
6 changes: 6 additions & 0 deletions apps/dexappbuilder/config/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -559,10 +559,16 @@
{
"type": "showcase",
"settings": {
"layout": "carousel",
"alignItems": "center",
"itemsSpacing": 2,
"paddingTop": 0,
"paddingBottom": 0,
"columns": {
"desktop": 2,
"tablet": 2,
"mobile": 1
},
"items": [
{
"type": "image",
Expand Down
76 changes: 76 additions & 0 deletions apps/dexappbuilder/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
// Global type declarations to fix build issues with Next 15 and React 19

declare module 'json-stable-stringify' {
export interface Options {
cmp?: (a: any, b: any) => number;
space?: string | number;
replacer?: (key: string, value: any) => any;
}

function stringify(value: any, options?: Options): string;
export = stringify;
}

declare module 'minimatch' {
interface IMinimatch {
pattern: string;
set: string[][];
regexp: RegExp | null;
negate: boolean;
comment: boolean;
empty: boolean;
match(s: string): boolean;
makeRe(): RegExp | false;
}

interface IOptions {
nobrace?: boolean;
nocomment?: boolean;
nonegate?: boolean;
debug?: boolean;
noglobstar?: boolean;
noext?: boolean;
nocase?: boolean;
nonull?: boolean;
matchBase?: boolean;
flipNegate?: boolean;
}

function minimatch(target: string, pattern: string, options?: IOptions): boolean;
namespace minimatch {
function filter(pattern: string, options?: IOptions): (target: string) => boolean;
function match(list: string[], pattern: string, options?: IOptions): string[];
function makeRe(pattern: string, options?: IOptions): RegExp | false;
var Minimatch: new (pattern: string, options?: IOptions) => IMinimatch;
}
export = minimatch;
}

declare module 'react' {
function findDOMNode(instance: any): Element | null;
}

declare module 'next/document' {
interface DocumentProps {
emotionStyleTags?: React.ReactElement[];
}
}

declare module 'next/script' {
interface ScriptProps {
src?: string;
strategy?: 'afterInteractive' | 'beforeInteractive' | 'lazyOnload';
}
}

declare module 'next/document' {
interface DocumentProps {
emotionStyleTags?: React.ReactElement[];
}

class Document extends React.Component<DocumentProps> {
static getInitialProps(ctx: any): Promise<any>;
}

export { Head, Html, Main, NextScript };
}
26 changes: 1 addition & 25 deletions apps/dexappbuilder/lang/cs-CZ.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@
"abi": {
"defaultMessage": "ABI"
},
"access.darkblock.to.get.more.information": {
"defaultMessage": "Access darkblock to get more information"
},
"access.requirements": {
"defaultMessage": "Access Requirements"
},
Expand Down Expand Up @@ -744,15 +741,6 @@
"custom": {
"defaultMessage": "Custom"
},
"darkblock": {
"defaultMessage": "Darkblock"
},
"darkblock.io": {
"defaultMessage": "Darkblock.io"
},
"darkblock.one.line.description": {
"defaultMessage": "Darkblock is a decentralized protocol that allows content creators to publish and distribute exclusive content to their fans without the need for centralized token-gating platforms. This integration is utilized on the Asset page for the networks supported by Darkblock."
},
"default.amount.to.send.to.the.contract": {
"defaultMessage": "Default amount to send to the contract"
},
Expand Down Expand Up @@ -969,18 +957,6 @@
"empty.leaderboard": {
"defaultMessage": "Empty leaderboard"
},
"enable.darkblock": {
"defaultMessage": "Enable Darkblock Asset"
},
"enable.darkblock.collection": {
"defaultMessage": "Enable Darkblock Collection"
},
"enable.darkblock.on.asset.page": {
"defaultMessage": "Enable Darkblock on Asset page"
},
"enable.darkblock.on.collection.page": {
"defaultMessage": "Enable Darkblock on Collection page"
},
"enable.drop": {
"defaultMessage": "Enable Darkblock"
},
Expand Down Expand Up @@ -4532,4 +4508,4 @@
"add.chip": {
"defaultMessage": "Přidat Chip (max 6)"
}
}
}
26 changes: 1 addition & 25 deletions apps/dexappbuilder/lang/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -1200,9 +1200,6 @@
"You.are.not.eligible.to.mint.at.this.time.": {
"defaultMessage": "Sie sind momentan nicht berechtigt, Mintvorgänge durchzuführen."
},
"access.darkblock.to.get.more.information": {
"defaultMessage": "Zugriff auf Darkblock, um weitere Informationen zu erhalten"
},
"access.requirements.message": {
"defaultMessage": "Zugriffsanforderungen Meldung"
},
Expand Down Expand Up @@ -1495,15 +1492,6 @@
"csv.file.to.import.on.aidrop.contract": {
"defaultMessage": "CSV-Datei, die in Airdrop-Verträge importiert werden soll"
},
"darkblock": {
"defaultMessage": "Dunkelblock"
},
"darkblock.io": {
"defaultMessage": "Darkblock.io"
},
"darkblock.one.line.description": {
"defaultMessage": "Darkblock ist ein dezentralisiertes Protokoll, das es Content-Erstellern ermöglicht, exklusive Inhalte für ihre Fans zu veröffentlichen und zu verteilen, ohne auf zentralisierte Token-Gating-Plattformen angewiesen zu sein. Diese Integration wird auf der Asset-Seite für die von Darkblock unterstützten Netzwerke genutzt."
},
"default.currency": {
"defaultMessage": "Standardwährung"
},
Expand Down Expand Up @@ -1612,18 +1600,6 @@
"empty.leaderboard": {
"defaultMessage": "Leere Bestenliste"
},
"enable.darkblock": {
"defaultMessage": "Darkblock Asset aktivieren"
},
"enable.darkblock.collection": {
"defaultMessage": "Darkblock-Sammlung aktivieren"
},
"enable.darkblock.on.asset.page": {
"defaultMessage": "Darkblock auf der Asset-Seite aktivieren"
},
"enable.darkblock.on.collection.page": {
"defaultMessage": "Darkblock auf der Sammlungsseite aktivieren"
},
"enable.drop": {
"defaultMessage": "Darkblock aktivieren"
},
Expand Down Expand Up @@ -4588,4 +4564,4 @@
"add.chip": {
"defaultMessage": "Chip hinzufügen (max 6)"
}
}
}
Loading