@jxrstudios/jxr 1.2.26 → 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.
Files changed (3) hide show
  1. package/README.md +2 -3
  2. package/bin/jxr.js +3 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -8,8 +8,7 @@
8
8
  [![License: MIT](https://img.shields.io/badge/License-MIT-orange.svg)](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,7 +145,6 @@ if (command === "init") {
144
145
  }),
145
146
  },
146
147
  external: [
147
- // Bundle React to avoid hooks mismatch with external CDN
148
148
  ...(platform === "cloudflare-worker" ? ["__STATIC_CONTENT_MANIFEST"] : []),
149
149
  ],
150
150
  alias: {
@@ -333,6 +333,7 @@ if (command === "init") {
333
333
  console.log(" jxr init <project-name> Create new project");
334
334
  console.log(" jxr dev [--port=3000] Start dev server");
335
335
  console.log(" jxr build [--platform=web] Production build");
336
+ console.log(" jxr serve [--port=3000] Serve production build");
336
337
  console.log(" jxr deploy [--target=auto] Deploy to production");
337
338
  console.log("");
338
339
  console.log("Deploy targets:");
@@ -345,4 +346,4 @@ if (command === "init") {
345
346
  console.log(" Auto-detected when CF_PAGES env var is set");
346
347
  console.log(" URL: https://<project>.app.jxrstudios.online");
347
348
  process.exit(1);
348
- }
349
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jxrstudios/jxr",
3
- "version": "1.2.26",
3
+ "version": "1.2.27",
4
4
  "description": "JXR.js — Edge OS Runtime Framework for elite developers",
5
5
  "type": "module",
6
6
  "license": "MIT",