@joplo-app/server 0.2.17 → 0.3.0
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/binary-assets.d.ts +6 -0
- package/dist/binary-assets.js +25 -0
- package/dist/build.d.ts +8 -1
- package/dist/build.js +90 -5
- package/dist/cloud.d.ts +129 -2
- package/dist/cloud.js +29 -6
- package/dist/contract.d.ts +73 -0
- package/dist/dev.d.ts +3 -0
- package/dist/dev.js +140 -5
- package/dist/export.d.ts +2 -1
- package/dist/export.js +22 -3
- package/dist/film.d.ts +27 -0
- package/dist/film.js +263 -0
- package/dist/index.d.ts +7 -1
- package/dist/index.js +6 -1
- package/dist/local-resources.d.ts +47 -0
- package/dist/local-resources.js +368 -0
- package/dist/local-review.js +2 -1
- package/dist/media-calibration.d.ts +8 -0
- package/dist/media-calibration.js +67 -0
- package/dist/media-check.d.ts +9 -0
- package/dist/media-check.js +56 -0
- package/dist/media-mux.d.ts +9 -0
- package/dist/media-mux.js +68 -0
- package/dist/page-report.js +9 -0
- package/dist/plugin-assets.d.ts +5 -0
- package/dist/plugin-assets.js +35 -0
- package/dist/plugin-keys.d.ts +35 -0
- package/dist/plugin-keys.js +66 -0
- package/dist/project.d.ts +10 -0
- package/dist/project.js +33 -6
- package/dist/render.d.ts +7 -1
- package/dist/render.js +80 -0
- package/dist/resources-run.d.ts +31 -0
- package/dist/resources-run.js +43 -0
- package/dist/voice-http.d.ts +53 -4
- package/dist/voice-http.js +167 -39
- package/dist/voice-run.d.ts +71 -0
- package/dist/voice-run.js +98 -0
- package/dist/voice.d.ts +188 -62
- package/dist/voice.js +492 -274
- package/dist/web-assets.js +3 -3
- package/package.json +5 -5
package/dist/web-assets.js
CHANGED
|
@@ -100,7 +100,7 @@ export function findPackageJson(dir, name) {
|
|
|
100
100
|
cur = parent;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
const KIT_SUBPATHS = ['
|
|
103
|
+
const KIT_SUBPATHS = ['node', 'plugin', 'jsx-runtime', 'jsx-dev-runtime'];
|
|
104
104
|
/**
|
|
105
105
|
* 项目源文件里的 `@joplo-app/kit` 怎样解析:
|
|
106
106
|
* - source:指向仓库里的 kit 源码(项目可在任意目录,不需要自己的 node_modules);`@/` 指向 web 源码。
|
|
@@ -110,7 +110,7 @@ export function kitAliases(web, projectDir) {
|
|
|
110
110
|
if (web.mode === 'source')
|
|
111
111
|
return [
|
|
112
112
|
{ find: /^@joplo-app\/kit$/, replacement: path.join(web.kitSrc, 'index.ts') },
|
|
113
|
-
{ find: /^@joplo-app\/kit\/(
|
|
113
|
+
{ find: /^@joplo-app\/kit\/(node|plugin|jsx-runtime|jsx-dev-runtime)$/, replacement: path.join(web.kitSrc, '$1.ts') },
|
|
114
114
|
{ find: /^@\//, replacement: path.join(web.webDir, 'src') + '/' },
|
|
115
115
|
];
|
|
116
116
|
if (findPackageJson(projectDir, '@joplo-app/kit'))
|
|
@@ -122,6 +122,6 @@ export function kitAliases(web, projectDir) {
|
|
|
122
122
|
const ext = path.extname(main);
|
|
123
123
|
return [
|
|
124
124
|
{ find: /^@joplo-app\/kit$/, replacement: main },
|
|
125
|
-
{ find: /^@joplo-app\/kit\/(
|
|
125
|
+
{ find: /^@joplo-app\/kit\/(node|plugin|jsx-runtime|jsx-dev-runtime)$/, replacement: path.join(path.dirname(main), `$1${ext}`) },
|
|
126
126
|
];
|
|
127
127
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@joplo-app/server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Joplo 本地服务:dev 看板、build 发布站、render 截图",
|
|
5
5
|
"license": "PolyForm-Shield-1.0.0",
|
|
6
6
|
"type": "module",
|
|
@@ -15,16 +15,16 @@
|
|
|
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.3.0",
|
|
19
|
+
"@joplo-app/kit": "0.3.0",
|
|
20
|
+
"@joplo-app/web": "0.3.0",
|
|
21
21
|
"@tailwindcss/vite": "4.3.4",
|
|
22
|
+
"mediabunny": "1.65.2",
|
|
22
23
|
"tailwindcss": "4.3.4",
|
|
23
24
|
"vite": "8.3.5",
|
|
24
25
|
"zod": "4.6.7"
|
|
25
26
|
},
|
|
26
27
|
"devDependencies": {
|
|
27
|
-
"@joplo-app/core-legacy": "npm:@joplo-app/core@0.2.10",
|
|
28
28
|
"@vitejs/plugin-react": "6.2.1",
|
|
29
29
|
"playwright": "1.64.1",
|
|
30
30
|
"playwright-core": "1.64.1"
|