@jxrstudios/jxr 1.2.26 → 1.2.28
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 -2
- package/bin/jxr.js +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
[](https://opensource.org/licenses/MIT)
|
|
9
9
|
|
|
10
10
|
**Website:** https://jxrstudios.online
|
|
11
|
-
**Documentation:** https://jxrstudios.online/
|
|
12
|
-
**Discord:** https://discord.gg/jxr
|
|
11
|
+
**Documentation:** https://jxrstudios.online/
|
|
13
12
|
|
|
14
13
|
---
|
|
14
|
+
Pro Tip: Just swap in your tsx where the template /src is run ``` jxr dev ``` zero build step needed if it doesnt work update your browser. Enjoy
|
|
15
15
|
|
|
16
16
|
## Table of Contents
|
|
17
17
|
|
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
|
+
}
|