Skip to content

Commit

Permalink
FIx build
Browse files Browse the repository at this point in the history
  • Loading branch information
yashovardhan committed Oct 7, 2024
1 parent d1880c1 commit 50fff65
Show file tree
Hide file tree
Showing 8 changed files with 4,322 additions and 3,763 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ test-args.txt
~*.docx
\#*\#
.\#*
dist
build
tests/baselines/local/*
tests/baselines/local.old/*
tests/services/baselines/local/*
Expand Down
5,436 changes: 2,785 additions & 2,651 deletions mpc-core-kit-web/mpc-core-kit-solana/package-lock.json

Large diffs are not rendered by default.

39 changes: 18 additions & 21 deletions mpc-core-kit-web/mpc-core-kit-solana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,25 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@scure/base": "^1.1.6",
"@solana/web3.js": "^1.91.8",
"@scure/base": "^1.1.9",
"@solana/web3.js": "^1.95.3",
"@toruslabs/tss-frost-lib": "^1.0.0",
"@types/node": "^18.11.18",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@vitejs/plugin-react": "^4.3.1",
"@web3auth/mpc-core-kit": "^3.2.2",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.2",
"@web3auth/mpc-core-kit": "^3.2.3",
"bn.js": "^5.2.1",
"firebase": "^10.4.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"firebase": "^10.14.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tweetnacl": "^1.0.3",
"typescript": "^4.9.4",
"vite": "^5.4.2",
"vm-browserify": "^1.1.2",
"web-vitals": "^3.1.0"
"typescript": "^5.6.2",
"vite": "^5.4.8",
"vm-browserify": "^1.1.2"
},
"devDependencies": {
"assert": "^2.0.0",
"assert": "^2.1.0",
"browserify-zlib": "^0.2.0",
"buffer": "^6.0.3",
"crypto-browserify": "^3.12.0",
Expand All @@ -31,17 +30,15 @@
"https-browserify": "^1.0.0",
"os-browserify": "^0.3.0",
"process": "^0.11.10",
"source-map-loader": "^4.0.1",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"url": "^0.11.1"
"url": "^0.11.4"
},
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test",
"eject": "react-scripts eject",
"lint": "react-scripts lint"
"start": "vite",
"dev": "vite",
"build": "tsc && vite build",
"serve": "vite preview"
},
"eslintConfig": {
"extends": [
Expand Down
14 changes: 14 additions & 0 deletions mpc-core-kit-web/mpc-core-kit-solana/vite.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";

export default defineConfig({
plugins: [react()],
resolve: {
alias: {
crypto: "empty-module",
},
},
define: {
global: "globalThis",
},
});
27 changes: 0 additions & 27 deletions mpc-core-kit-web/mpc-core-kit-solana/vite.config.ts

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@
"@web3auth/mpc-core-kit": "^3.2.2",
"@web3auth/single-factor-auth": "^9.0.0",
"bn.js": "^5.2.1",
"ethers": "^6.13.3",
"firebase": "^10.13.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.6.2",
"viem": "^2.21.18",
"vite": "^5.4.8",
"web3": "^4.13.0"
},
Expand Down
Loading

0 comments on commit 50fff65

Please sign in to comment.