Skip to content

Commit

Permalink
Feat: react demo (#12)
Browse files Browse the repository at this point in the history
* dependency update

* local test of p2p-media-loader-demo package

* nodePolyfills

* removed unused files

* updated tsconfig

* Add p2p-media-loader-demo package

* Update dependencies

* fix styles

* Improved overview page

* Improved technical overview page

* Add missed link
  • Loading branch information
DimaDemchenko authored Jun 26, 2024
1 parent 0bcaede commit 9511785
Show file tree
Hide file tree
Showing 10 changed files with 4,794 additions and 3,540 deletions.
7 changes: 7 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import { defineConfig } from "astro/config";
import { nodePolyfills } from "vite-plugin-node-polyfills";
import react from "@astrojs/react";

// https://astro.build/config
export default defineConfig({
vite: {
plugins: [nodePolyfills()],
},
build: {
format: "preserve",
},
Expand All @@ -11,4 +17,5 @@ export default defineConfig({
syntaxHighlight: "shiki",
},
site: "https://novage.com.ua/",
integrations: [react()],
});
6,594 changes: 4,646 additions & 1,948 deletions package-lock.json

Large diffs are not rendered by default.

17 changes: 12 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,19 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/check": "^0.5.3",
"astro": "^4.3.5",
"typescript": "^5.3.3"
"@astrojs/check": "^0.7.0",
"@astrojs/react": "^3.6.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"astro": "^4.11.1",
"p2p-media-loader-demo": "^1.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.5.2"
},
"devDependencies": {
"prettier": "^3.2.5",
"prettier-plugin-astro": "^0.13.0"
"prettier": "^3.3.2",
"prettier-plugin-astro": "^0.14.0",
"vite-plugin-node-polyfills": "^0.22.0"
}
}
68 changes: 68 additions & 0 deletions public/mejs-controls.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9511785

Please sign in to comment.