Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EXPERIMENTAL] Upgrade everything #201

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions config-overrides.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
const webpack = require('webpack');
module.exports = function override(config, env) {
config.resolve.fallback = {
url: require.resolve('url'),
fs: require.resolve('fs'),
assert: require.resolve('assert'),
crypto: require.resolve('crypto-browserify'),
http: require.resolve('stream-http'),
https: require.resolve('https-browserify'),
os: require.resolve('os-browserify/browser'),
buffer: require.resolve('buffer'),
stream: require.resolve('stream-browserify'),
};
config.plugins.push(
new webpack.ProvidePlugin({
process: 'process/browser',
Buffer: ['buffer', 'Buffer'],
}),
);

return config;
}
34 changes: 20 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,43 +5,49 @@
"dependencies": {
"@3id/connect": "^0.2.5",
"@babel/core": "^7.13.16",
"@ceramicnetwork/3id-did-resolver": "^1.4.3",
"@ceramicnetwork/http-client": "^1.3.0",
"@ceramicnetwork/3id-did-resolver": "^1.4.16",
"@ceramicnetwork/http-client": "^1.5.7",
"@ceramicstudio/idx": "^0.12.2",
"@fortawesome/fontawesome-free": "^5.15.4",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^13.1.8",
"@types/jest": "^26.0.23",
"@types/node": "^15.0.1",
"@types/react": "^17.0.4",
"@types/react-dom": "^17.0.3",
"@types/react-router-dom": "^5.1.7",
"@walletconnect/web3-provider": "^1.6.5",
"@walletconnect/web3-provider": "^1.7.7",
"@widgetbot/react-embed": "^1.4.0",
"assert": "^2.0.0",
"dids": "^2.4.0",
"evm-chains": "^0.2.0",
"fs": "^0.0.1-security",
"https-browserify": "^1.0.0",
"ipfs-http-client": "^55.0.0",
"markdown-to-jsx": "^7.1.3",
"os": "^0.1.2",
"os-browserify": "^0.3.0",
"react": "^17.0.2",
"react-app-rewired": "^2.2.1",
"react-dom": "^17.0.2",
"react-router-dom": "^5.2.0",
"react-router-hash-link": "^2.4.3",
"react-scripts": "^4.0.3",
"react-scripts": "5.0.1",
"react-youtube": "^7.13.1",
"sass": "^1.32.12",
"store": "^2.0.12",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"typescript": "^4.2.4",
"url": "^0.11.0",
"web-vitals": "^1.1.1",
"web3": "^1.5.2",
"web3": "^1.7.3",
"web3modal": "^1.9.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"eslint": "eslint --ignore-path .gitignore ."
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test",
"eject": "react-app-rewired eject",
"eslint": "eslint --ignore-path .gitignore .",
"postinstall": "patch-package"
},
"eslintConfig": {
"extends": [
Expand Down
9 changes: 0 additions & 9 deletions src/App.test.tsx

This file was deleted.

8 changes: 4 additions & 4 deletions src/components/discordEmbed.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import WidgetBot from '@widgetbot/react-embed'
import WidgetBot from '@widgetbot/react-embed';

const DiscordEmbed = () => {
return (
Expand All @@ -17,7 +17,7 @@ const DiscordEmbed = () => {
/>
</div>
</div>
)
}
);
};

export default DiscordEmbed
export default DiscordEmbed;
5 changes: 0 additions & 5 deletions src/setupTests.ts

This file was deleted.