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

feat: use [email protected] #119

Merged
merged 28 commits into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
5bb40dd
fix: npm install works with [email protected]
SgtPooki May 25, 2023
0b9e0a4
chore: uninstall react-scripts, install vite
SgtPooki May 25, 2023
994525c
chore: jsx files should use .jsx extension
SgtPooki May 25, 2023
5ec6090
chore: create vite.config.js and mv index.html
SgtPooki May 25, 2023
4486d2f
chore: update index.html for vite
SgtPooki May 25, 2023
2c121a4
chore: fix npm start
SgtPooki May 25, 2023
e5b2886
chore: use import.meta.env instead of process.env
SgtPooki May 25, 2023
0e986c9
chore: use VITE env vars
SgtPooki May 25, 2023
a78458c
fix: runtime errors
SgtPooki May 25, 2023
82fd023
fix: global not being defined properly
SgtPooki May 25, 2023
c1c3f63
fix: Buffer is not defined
SgtPooki May 25, 2023
4955d7f
fix: polyfills and aliases
SgtPooki May 25, 2023
2a37375
fix: App propTypes for route
SgtPooki May 25, 2023
72d08b5
fix: use ipld-explorer-components from remove-js-ipfs branch
SgtPooki May 25, 2023
140a91f
fix: unit tests
SgtPooki May 25, 2023
93e4246
fix: add e2e and unit tests
SgtPooki May 25, 2023
f6bb05a
fix: production build works
SgtPooki May 25, 2023
68981de
fix: build scripts
SgtPooki May 25, 2023
cf212c6
Merge branch 'master' into use-vite
SgtPooki May 25, 2023
3029941
tmp: add ipld-explorer-components tgz to repo
SgtPooki May 25, 2023
22e96f3
chore: use explorer-components tgz from 2254cedb1cbd50a8e8100eaf7a7a4…
SgtPooki May 31, 2023
faba246
update package-lock.json
SgtPooki May 31, 2023
43425d6
chore: update ipld-explorer-components
SgtPooki Jun 3, 2023
0aec90e
fix: use doInitHelia instead of doInitIpfs
SgtPooki Jun 6, 2023
d474933
chore: update ipld-explorer-components and vite
SgtPooki Jun 6, 2023
fab1a5a
chore: update ipld-explorer-components
SgtPooki Jun 7, 2023
93b2f5b
chore: use [email protected]
SgtPooki Jun 8, 2023
c11fa04
fix: use error message on fetch timeout
SgtPooki Jul 12, 2023
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
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
REACT_APP_VERSION=$npm_package_version
VITE_VERSION=$npm_package_version
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

part of vite migration

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
/test-results/
/playwright-report/
/playwright/.cache/
14 changes: 3 additions & 11 deletions public/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,8 @@
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.

Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<link rel="manifest" href="/manifest.json">
<link rel="shortcut icon" href="/favicon.ico">
Comment on lines +11 to +12
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

part of vite migration

<title>IPFS</title>
</head>
<body>
Expand All @@ -36,5 +27,6 @@
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
<script type="module" src="/src/index.jsx"></script>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

part of vite migration

</body>
</html>
Loading