This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEAT: Split adapters to separate packages (#4)
Bridge Adapter Updates
- Loading branch information
Showing
133 changed files
with
4,748 additions
and
4,499 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 |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
.vim | ||
dist | ||
dist-ssr | ||
esm | ||
node_modules | ||
public/dist | ||
server/dist | ||
|
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 |
---|---|---|
|
@@ -2,5 +2,6 @@ | |
**/.turbo | ||
**/storybook-static | ||
**/dist/** | ||
**/esm/** | ||
.pnpm-store | ||
.changeset |
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 |
---|---|---|
@@ -1,6 +1,14 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
reactStrictMode: true, | ||
eslint: { | ||
ignoreDuringBuilds: true, | ||
}, | ||
webpack: (config) => { | ||
config.resolve.fallback = { fs: false }; | ||
|
||
return config; | ||
}, | ||
}; | ||
|
||
module.exports = nextConfig; |
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
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 |
---|---|---|
|
@@ -2,20 +2,20 @@ | |
"name": "bridge-adapter-sdk", | ||
"private": true, | ||
"type": "module", | ||
"license": "SEE LICENSE IN ./LICENSE", | ||
"scripts": { | ||
"build": "turbo run build", | ||
"build-core": "turbo run build-core", | ||
"build-demo": "turbo run build-demo", | ||
"build-packages": "turbo run build-packages", | ||
"dev": "turbo run dev --concurrency=14", | ||
"build-storybook": "turbo run build-storybook -- --quiet", | ||
"changeset": "changeset", | ||
"ci:publish": "turbo run build-packages && changeset publish", | ||
"ci:publish": "turbo run build-pkg && changeset publish", | ||
"ci:version": "changeset version", | ||
"clean": "turbo run clean && rm -rf node_modules", | ||
"demo": "turbo run demo", | ||
"dev": "turbo run dev --continue", | ||
"format": "prettier -w \"**/*.{js,cjs,ts,tsx,md,json}\"", | ||
"lint": "turbo run lint && manypkg check", | ||
"playground": "npx concurrently \"pnpm --filter @solana/bridge-adapter-react-ui playground\" \"pnpm run dev\"", | ||
"playground": "pnpm --filter @solana/bridge-adapter-react-ui playground", | ||
"test": "turbo run test", | ||
"version-packages": "changeset version" | ||
}, | ||
|
@@ -40,25 +40,25 @@ | |
"prettier": "^2.8.0", | ||
"rimraf": "^5.0.1", | ||
"tsup": "^7.0.0", | ||
"turbo": "1.10.13" | ||
"turbo": "1.10.13", | ||
"zod": "^3.22.4" | ||
}, | ||
"packageManager": "[email protected]", | ||
"pnpm": { | ||
"overrides": { | ||
"lodash@<4.17.11": ">=4.17.11", | ||
"ajv@<6.12.3": ">=6.12.3", | ||
"jsonwebtoken@<=8.5.1": ">=9.0.0", | ||
"ws@>=6.0.0 <6.2.2": ">=6.2.2", | ||
"lodash@<4.17.20": ">=4.17.20", | ||
"postcss@<8.4.31": ">=8.4.31", | ||
"axios@>=0.8.1 <1.6.0": ">=1.6.0", | ||
"moment@<2.29.2": ">=2.29.2", | ||
"moment@>=2.18.0 <2.29.4": ">=2.29.4", | ||
"qs@>=6.5.0 <6.5.3": ">=6.5.3", | ||
"lodash@>=3.7.0 <4.17.19": ">=4.17.19", | ||
"lodash@<4.17.12": ">=4.17.12", | ||
"lodash@<4.17.21": ">=4.17.21", | ||
"tough-cookie@<4.1.3": ">=4.1.3", | ||
"jsonwebtoken@<9.0.0": ">=9.0.0", | ||
"lodash@<4.17.12": ">=4.17.12", | ||
"qs@>=6.5.0 <6.5.3": ">=6.5.3", | ||
"graphql@>=16.3.0 <16.8.1": ">=16.8.1", | ||
"postcss@<8.4.31": ">=8.4.31" | ||
"zod@<=3.22.2": ">=3.22.3" | ||
} | ||
} | ||
} |
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 @@ | ||
# @solana/bridge-adapter-debridge-adapter |
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,5 @@ | ||
#!/bin/sh -e | ||
rm -rf .turbo | ||
rm -rf node_modules | ||
rm -rf dist | ||
rm -rf esm |
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,69 @@ | ||
{ | ||
"name": "@solana/bridge-adapter-debridge-adapter", | ||
"version": "0.1.0", | ||
"license": "SEE LICENSE IN ../../../LICENSE", | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"import": "./esm/index.js", | ||
"types": "./esm/index.d.ts" | ||
}, | ||
"./esm": { | ||
"import": "./esm/index.js", | ||
"types": "./esm/index.d.ts" | ||
} | ||
}, | ||
"main": "./esm/index.js", | ||
"module": "./esm/index.js", | ||
"types": "./esm/index.d.ts", | ||
"files": [ | ||
"dist/**", | ||
"esm/**", | ||
"src/**" | ||
], | ||
"scripts": { | ||
"build/dist": "tsup src/index.tsx --env.ESM_ONLY=true", | ||
"build/browser": "pnpm build/dist --platform=browser", | ||
"build/esm": "tsc --build tsconfig.esm.json --verbose", | ||
"build": "pnpm run build/esm", | ||
"clean": "./clean.sh", | ||
"lint": "eslint \"src/**/*.ts*\"", | ||
"test": "pnpm run test-types", | ||
"test-types": "tsc --noEmit" | ||
}, | ||
"eslintConfig": { | ||
"parserOptions": { | ||
"project": true | ||
}, | ||
"extends": [ | ||
"bridge-adapter-sdk" | ||
] | ||
}, | ||
"dependencies": { | ||
"@certusone/wormhole-sdk": "^0.10.4", | ||
"csv42": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"@solana/bridge-adapter-core": "^0.1.0", | ||
"@solana/web3.js": "^1.78.0", | ||
"@types/web3": "^1.2.2", | ||
"bridge-adapter-sdk-tsconfig": "^0.1.1", | ||
"debug": "^4.3.4", | ||
"eslint": "^8.29.0", | ||
"eslint-config-bridge-adapter-sdk": "^0.0.0", | ||
"tsup": "^7.0.0", | ||
"typescript": "^5.1.3", | ||
"undici": "^5.26.2", | ||
"valibot": "^0.3.0", | ||
"viem": "^1.4.1" | ||
}, | ||
"peerDependencies": { | ||
"@solana/web3.js": "^1.78.0", | ||
"valibot": "^0.3.0", | ||
"viem": "^1.4.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
File renamed without changes.
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
2 changes: 1 addition & 1 deletion
2
...ges/core/base/src/utils/dedupFeeTokens.ts → ...e/src/entities/utils/dedupe-fee-tokens.ts
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
Oops, something went wrong.