@jxrstudios/jxr 1.2.25 → 1.2.27
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.
- package/README.md +2 -3
- package/bin/jxr.js +3 -34
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
[](https://opensource.org/licenses/MIT)
|
|
9
9
|
|
|
10
10
|
**Website:** https://jxrstudios.online
|
|
11
|
-
**Documentation:** https://jxrstudios.online/docs
|
|
12
|
-
**Discord:** https://discord.gg/jxr
|
|
11
|
+
**Documentation:** https://jxrstudios.online/docs
|
|
13
12
|
|
|
14
13
|
---
|
|
15
14
|
|
|
@@ -748,4 +747,4 @@ MIT License — see [LICENSE](LICENSE) file for details.
|
|
|
748
747
|
<p align="center">
|
|
749
748
|
<strong>Powered by JXR Studios × DamascusAI</strong><br>
|
|
750
749
|
<sub>The edge OS runtime for developers who take their game to the next level.</sub>
|
|
751
|
-
</p>
|
|
750
|
+
</p>
|
package/bin/jxr.js
CHANGED
|
@@ -136,6 +136,7 @@ if (command === "init") {
|
|
|
136
136
|
chunkNames: "[name]-[hash]",
|
|
137
137
|
assetNames: "[name]-[hash]",
|
|
138
138
|
metafile: true,
|
|
139
|
+
absWorkingDir: process.cwd(),
|
|
139
140
|
define: {
|
|
140
141
|
"process.env.NODE_ENV": '"production"',
|
|
141
142
|
...(platform === "cloudflare-worker" && {
|
|
@@ -144,11 +145,6 @@ if (command === "init") {
|
|
|
144
145
|
}),
|
|
145
146
|
},
|
|
146
147
|
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",
|
|
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>
|
|
@@ -365,6 +333,7 @@ if (command === "init") {
|
|
|
365
333
|
console.log(" jxr init <project-name> Create new project");
|
|
366
334
|
console.log(" jxr dev [--port=3000] Start dev server");
|
|
367
335
|
console.log(" jxr build [--platform=web] Production build");
|
|
336
|
+
console.log(" jxr serve [--port=3000] Serve production build");
|
|
368
337
|
console.log(" jxr deploy [--target=auto] Deploy to production");
|
|
369
338
|
console.log("");
|
|
370
339
|
console.log("Deploy targets:");
|
|
@@ -377,4 +346,4 @@ if (command === "init") {
|
|
|
377
346
|
console.log(" Auto-detected when CF_PAGES env var is set");
|
|
378
347
|
console.log(" URL: https://<project>.app.jxrstudios.online");
|
|
379
348
|
process.exit(1);
|
|
380
|
-
}
|
|
349
|
+
}
|