Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix(globe): pin cobe to ^0.6.4 to prevent v2 install break (#965)

Jinho Yeom1f2281b0013a
diff --git a/apps/www/content/docs/components/globe.mdx b/apps/www/content/docs/components/globe.mdx
index 8a80d768..778158af 100644
--- a/apps/www/content/docs/components/globe.mdx
+++ b/apps/www/content/docs/components/globe.mdx
@@ -32,7 +32,7 @@ npx shadcn@latest add @magicui/globe
<Step>Install the following dependencies:</Step>
```bash
-npm install cobe motion
+npm install [email protected] motion
```
<Step>Copy and paste the following code into your project.</Step>
diff --git a/apps/www/public/r/globe.json b/apps/www/public/r/globe.json
index b72ac85b..33bb6da6 100644
--- a/apps/www/public/r/globe.json
+++ b/apps/www/public/r/globe.json
@@ -5,7 +5,7 @@
"title": "Globe",
"description": "An autorotating, interactive, and highly performant globe made using WebGL.",
"dependencies": [
- "cobe",
+ "cobe@^0.6.4",
"motion"
],
"files": [
diff --git a/apps/www/public/r/registry.json b/apps/www/public/r/registry.json
index fa8ff0eb..ce7754ff 100644
--- a/apps/www/public/r/registry.json
+++ b/apps/www/public/r/registry.json
@@ -432,7 +432,7 @@
"title": "Globe",
"description": "An autorotating, interactive, and highly performant globe made using WebGL.",
"dependencies": [
- "cobe",
+ "cobe@^0.6.4",
"motion"
],
"files": [
diff --git a/apps/www/public/registry.json b/apps/www/public/registry.json
index fa8ff0eb..ce7754ff 100644
--- a/apps/www/public/registry.json
+++ b/apps/www/public/registry.json
@@ -432,7 +432,7 @@
"title": "Globe",
"description": "An autorotating, interactive, and highly performant globe made using WebGL.",
"dependencies": [
- "cobe",
+ "cobe@^0.6.4",
"motion"
],
"files": [
diff --git a/apps/www/registry.json b/apps/www/registry.json
index fa8ff0eb..ce7754ff 100644
--- a/apps/www/registry.json
+++ b/apps/www/registry.json
@@ -432,7 +432,7 @@
"title": "Globe",
"description": "An autorotating, interactive, and highly performant globe made using WebGL.",
"dependencies": [
- "cobe",
+ "cobe@^0.6.4",
"motion"
],
"files": [
diff --git a/apps/www/registry/registry-ui.ts b/apps/www/registry/registry-ui.ts
index 873cf43e..0969e85f 100644
--- a/apps/www/registry/registry-ui.ts
+++ b/apps/www/registry/registry-ui.ts
@@ -404,7 +404,7 @@ export const ui: Registry["items"] = [
title: "Globe",
description:
"An autorotating, interactive, and highly performant globe made using WebGL.",
- dependencies: ["cobe", "motion"],
+ dependencies: ["cobe@^0.6.4", "motion"],
files: [
{
path: "magicui/globe.tsx",