Skip to content

Commit

Permalink
next@14 and babylonjs
Browse files Browse the repository at this point in the history
  • Loading branch information
ergofriend committed Dec 16, 2024
1 parent 7d98b9b commit 6829b2c
Show file tree
Hide file tree
Showing 6 changed files with 239 additions and 377 deletions.
7 changes: 7 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
/* config options here */
output: "export",
}

module.exports = nextConfig
8 changes: 0 additions & 8 deletions next.config.ts

This file was deleted.

21 changes: 14 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,37 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"dev": "next dev --hostname 0.0.0.0",
"build": "next build",
"start": "serve out/",
"lint": "biome check --write .",
"ci": "biome ci"
},
"dependencies": {
"@babylonjs/addons": "^7.40.2",
"@babylonjs/core": "^7.40.2",
"@babylonjs/gui": "^7.40.2",
"@radix-ui/react-slot": "^1.1.1",
"aframe": "^1.6.0",
"aframe-htmlmesh": "^2.3.0",
"babylon-htmlmesh": "^2.0.1",
"babylonjs-addons": "^7.40.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^0.468.0",
"next": "15.1.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"next": "14.2.20",
"react": "^18.3.1",
"react-babylonjs": "^3.2.1",
"react-dom": "^18.3.1",
"tailwind-merge": "^2.5.5",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@tailwindcss/typography": "^0.5.15",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/react": "^18",
"@types/react-dom": "^18",
"postcss": "^8",
"serve": "^14.2.4",
"tailwindcss": "^3.4.1",
Expand All @@ -36,7 +42,8 @@
"packageManager": "pnpm@8.15.6+sha1.8105075ad0aa306138be128c017e9c41e28ecffa",
"pnpm": {
"patchedDependencies": {
"aframe-htmlmesh@2.3.0": "patches/aframe-htmlmesh@2.3.0.patch"
"aframe-htmlmesh@2.3.0": "patches/aframe-htmlmesh@2.3.0.patch",
"@babylonjs/addons@7.40.2": "patches/@babylonjs__addons@7.40.2.patch"
}
}
}
8 changes: 8 additions & 0 deletions patches/@babylonjs__addons@7.40.2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
diff --git a/index.js b/index.js
index 0447b79db0247a5c0a86d0e16ba66936b1d98349..098fd7317a51c09e53d00558194119c957415b33 100644
--- a/index.js
+++ b/index.js
@@ -1,2 +1,2 @@
-export * from "./htmlMesh.js";
+export * from "./htmlMesh/index.js";
//# sourceMappingURL=index.js.map
Loading

0 comments on commit 6829b2c

Please sign in to comment.