@jxrstudios/jxr 1.2.25 → 1.2.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/jxr.js +1 -33
  2. package/package.json +1 -1
package/bin/jxr.js CHANGED
@@ -144,11 +144,7 @@ if (command === "init") {
144
144
  }),
145
145
  },
146
146
  external: [
147
- "react", "react/jsx-runtime", "react/jsx-dev-runtime", "react-dom/client",
148
- "wouter", "lucide-react", "sonner", "next-themes", "framer-motion", "motion-dom",
149
- "@radix-ui/react-dialog", "@radix-ui/react-tooltip", "@radix-ui/react-slot",
150
- "clsx", "tailwind-merge", "class-variance-authority",
151
- "tailwindcss", "tw-animate-css",
147
+ // Bundle React to avoid hooks mismatch with external CDN
152
148
  ...(platform === "cloudflare-worker" ? ["__STATIC_CONTENT_MANIFEST"] : []),
153
149
  ],
154
150
  alias: {
@@ -206,34 +202,6 @@ if (command === "init") {
206
202
  <title>JXR.js — Edge OS Runtime Framework</title>
207
203
  <meta name="description" content="JXR.js is the next-generation edge runtime framework for React Native and React. MoQ transport, Web Crypto, Worker pools.">
208
204
 
209
- <!-- Import Map for External Dependencies -->
210
- <script type="importmap">
211
- {
212
- "imports": {
213
- "react": "https://esm.sh/react@19",
214
- "react/": "https://esm.sh/react@19/",
215
- "react-dom/client": "https://esm.sh/react-dom@19/client",
216
- "react-dom/": "https://esm.sh/react-dom@19/",
217
- "react/jsx-runtime": "https://esm.sh/react@19/jsx-runtime",
218
- "react/jsx-dev-runtime": "https://esm.sh/react@19/jsx-dev-runtime",
219
- "wouter": "https://esm.sh/wouter",
220
- "lucide-react": "https://esm.sh/lucide-react",
221
- "sonner": "https://esm.sh/sonner",
222
- "next-themes": "https://esm.sh/next-themes",
223
- "framer-motion": "https://esm.sh/framer-motion",
224
- "motion-dom": "https://esm.sh/motion-dom",
225
- "@radix-ui/react-dialog": "https://esm.sh/@radix-ui/react-dialog",
226
- "@radix-ui/react-tooltip": "https://esm.sh/@radix-ui/react-tooltip",
227
- "@radix-ui/react-slot": "https://esm.sh/@radix-ui/react-slot",
228
- "clsx": "https://esm.sh/clsx",
229
- "tailwind-merge": "https://esm.sh/tailwind-merge",
230
- "class-variance-authority": "https://esm.sh/class-variance-authority",
231
- "tailwindcss": "https://esm.sh/tailwindcss",
232
- "tw-animate-css": "https://esm.sh/tw-animate-css"
233
- }
234
- }
235
- </script>
236
-
237
205
  <!-- Google Fonts -->
238
206
  <link rel="preconnect" href="https://fonts.googleapis.com">
239
207
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jxrstudios/jxr",
3
- "version": "1.2.25",
3
+ "version": "1.2.26",
4
4
  "description": "JXR.js — Edge OS Runtime Framework for elite developers",
5
5
  "type": "module",
6
6
  "license": "MIT",