@joplo-app/server 0.7.3 → 0.8.1
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/dist/dev.js +2 -2
- package/package.json +4 -4
package/dist/dev.js
CHANGED
|
@@ -754,7 +754,7 @@ export async function createHub(opts = {}) {
|
|
|
754
754
|
optimizeDeps: web.mode === 'dist'
|
|
755
755
|
? { noDiscovery: true, include: [] }
|
|
756
756
|
: {
|
|
757
|
-
include: ['react', 'react-dom', 'react-dom/client', 'react/jsx-dev-runtime', 'react/jsx-runtime', 'motion', 'motion/react', 'roughjs', 'lucide-react', 'clsx', 'tailwind-merge', 'modern-screenshot', '@joplo-app/core > zod'],
|
|
757
|
+
include: ['react', 'react-dom', 'react-dom/client', 'react/jsx-dev-runtime', 'react/jsx-runtime', 'motion', 'motion/react', 'roughjs', 'lucide-react', 'clsx', 'tailwind-merge', 'modern-screenshot', '@tokenroll/juice/primitives', '@tokenroll/juice/core', '@joplo-app/core > zod'],
|
|
758
758
|
},
|
|
759
759
|
server: {
|
|
760
760
|
host: '127.0.0.1',
|
|
@@ -762,7 +762,7 @@ export async function createHub(opts = {}) {
|
|
|
762
762
|
strictPort: true,
|
|
763
763
|
open: false,
|
|
764
764
|
...(web.mode === 'dist' ? { fs: { allow: [web.webDir] } } : {}),
|
|
765
|
-
...(watch ? { watch: { ignored: (p) => { const s = slotOfFile(p) ?? [...slots.values()].find((x) => p.startsWith(x.dir + path.sep)); return !!s && p !== s.dir && !isProjectSource(s.dir, p, s.watchIgnore ?? []); } } } : { watch: null }),
|
|
765
|
+
...(watch ? { watch: { ignored: (p) => { const s = slotOfFile(p) ?? [...slots.values()].find((x) => p.startsWith(x.dir + path.sep)); return !!s && p !== s.dir && !isProjectSource(s.dir, p, s.watchIgnore ?? []); } } } : { watch: null, hmr: false }),
|
|
766
766
|
},
|
|
767
767
|
});
|
|
768
768
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@joplo-app/server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "Joplo 作品本地服务:dev 看板、build 静态发布站、render 截图,服务链接与嵌入交付",
|
|
5
5
|
"license": "PolyForm-Shield-1.0.0",
|
|
6
6
|
"type": "module",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@joplo-app/core": "0.
|
|
19
|
-
"@joplo-app/kit": "0.
|
|
20
|
-
"@joplo-app/web": "0.
|
|
18
|
+
"@joplo-app/core": "0.8.1",
|
|
19
|
+
"@joplo-app/kit": "0.8.1",
|
|
20
|
+
"@joplo-app/web": "0.8.1",
|
|
21
21
|
"@tailwindcss/vite": "4.3.4",
|
|
22
22
|
"mediabunny": "1.65.2",
|
|
23
23
|
"tailwindcss": "4.3.4",
|