mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 06:27:27 +00:00
fix: restore a2ui bundling deps
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
import { existsSync } from "node:fs";
|
import { existsSync } from "node:fs";
|
||||||
import { fileURLToPath } from "node:url";
|
import { fileURLToPath } from "node:url";
|
||||||
import { defineConfig } from "rolldown";
|
|
||||||
|
|
||||||
const here = path.dirname(fileURLToPath(import.meta.url));
|
const here = path.dirname(fileURLToPath(import.meta.url));
|
||||||
const repoRoot = path.resolve(here, "../../../../..");
|
const repoRoot = path.resolve(here, "../../../../..");
|
||||||
@@ -39,7 +38,7 @@ function resolveUiDependency(moduleId) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default defineConfig({
|
export default {
|
||||||
input: fromHere("bootstrap.js"),
|
input: fromHere("bootstrap.js"),
|
||||||
experimental: {
|
experimental: {
|
||||||
attachDebugInfo: "none",
|
attachDebugInfo: "none",
|
||||||
@@ -56,7 +55,7 @@ export default defineConfig({
|
|||||||
"@lit-labs/signals/": resolveUiDependency("@lit-labs/signals/"),
|
"@lit-labs/signals/": resolveUiDependency("@lit-labs/signals/"),
|
||||||
lit: resolveUiDependency("lit"),
|
lit: resolveUiDependency("lit"),
|
||||||
"lit/": resolveUiDependency("lit/"),
|
"lit/": resolveUiDependency("lit/"),
|
||||||
"signal-utils": resolveUiDependency("signal-utils"),
|
"signal-utils/": resolveUiDependency("signal-utils/"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
@@ -65,4 +64,4 @@ export default defineConfig({
|
|||||||
codeSplitting: false,
|
codeSplitting: false,
|
||||||
sourcemap: false,
|
sourcemap: false,
|
||||||
},
|
},
|
||||||
});
|
};
|
||||||
|
|||||||
@@ -174,6 +174,7 @@
|
|||||||
"json5": "^2.2.3",
|
"json5": "^2.2.3",
|
||||||
"jszip": "^3.10.1",
|
"jszip": "^3.10.1",
|
||||||
"linkedom": "^0.18.12",
|
"linkedom": "^0.18.12",
|
||||||
|
"long": "^5.3.2",
|
||||||
"markdown-it": "^14.1.1",
|
"markdown-it": "^14.1.1",
|
||||||
"node-edge-tts": "^1.2.10",
|
"node-edge-tts": "^1.2.10",
|
||||||
"opusscript": "^0.0.8",
|
"opusscript": "^0.0.8",
|
||||||
@@ -192,6 +193,8 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@grammyjs/types": "^3.24.0",
|
"@grammyjs/types": "^3.24.0",
|
||||||
|
"@lit-labs/signals": "^0.1.3",
|
||||||
|
"@lit/context": "^1.1.6",
|
||||||
"@types/express": "^5.0.6",
|
"@types/express": "^5.0.6",
|
||||||
"@types/markdown-it": "^14.1.2",
|
"@types/markdown-it": "^14.1.2",
|
||||||
"@types/node": "^25.3.0",
|
"@types/node": "^25.3.0",
|
||||||
@@ -199,9 +202,11 @@
|
|||||||
"@types/ws": "^8.18.1",
|
"@types/ws": "^8.18.1",
|
||||||
"@typescript/native-preview": "7.0.0-dev.20260219.1",
|
"@typescript/native-preview": "7.0.0-dev.20260219.1",
|
||||||
"@vitest/coverage-v8": "^4.0.18",
|
"@vitest/coverage-v8": "^4.0.18",
|
||||||
|
"lit": "^3.3.2",
|
||||||
"oxfmt": "0.33.0",
|
"oxfmt": "0.33.0",
|
||||||
"oxlint": "^1.48.0",
|
"oxlint": "^1.48.0",
|
||||||
"oxlint-tsgolint": "^0.14.1",
|
"oxlint-tsgolint": "^0.14.1",
|
||||||
|
"signal-utils": "0.21.1",
|
||||||
"tsdown": "^0.20.3",
|
"tsdown": "^0.20.3",
|
||||||
"tsx": "^4.21.0",
|
"tsx": "^4.21.0",
|
||||||
"typescript": "^5.9.3",
|
"typescript": "^5.9.3",
|
||||||
|
|||||||
15
pnpm-lock.yaml
generated
15
pnpm-lock.yaml
generated
@@ -131,6 +131,9 @@ importers:
|
|||||||
linkedom:
|
linkedom:
|
||||||
specifier: ^0.18.12
|
specifier: ^0.18.12
|
||||||
version: 0.18.12
|
version: 0.18.12
|
||||||
|
long:
|
||||||
|
specifier: ^5.3.2
|
||||||
|
version: 5.3.2
|
||||||
markdown-it:
|
markdown-it:
|
||||||
specifier: ^14.1.1
|
specifier: ^14.1.1
|
||||||
version: 14.1.1
|
version: 14.1.1
|
||||||
@@ -183,6 +186,12 @@ importers:
|
|||||||
'@grammyjs/types':
|
'@grammyjs/types':
|
||||||
specifier: ^3.24.0
|
specifier: ^3.24.0
|
||||||
version: 3.24.0
|
version: 3.24.0
|
||||||
|
'@lit-labs/signals':
|
||||||
|
specifier: ^0.1.3
|
||||||
|
version: 0.1.3
|
||||||
|
'@lit/context':
|
||||||
|
specifier: ^1.1.6
|
||||||
|
version: 1.1.6
|
||||||
'@types/express':
|
'@types/express':
|
||||||
specifier: ^5.0.6
|
specifier: ^5.0.6
|
||||||
version: 5.0.6
|
version: 5.0.6
|
||||||
@@ -204,6 +213,9 @@ importers:
|
|||||||
'@vitest/coverage-v8':
|
'@vitest/coverage-v8':
|
||||||
specifier: ^4.0.18
|
specifier: ^4.0.18
|
||||||
version: 4.0.18(@vitest/browser@4.0.18(vite@7.3.1(@types/node@25.3.0)(jiti@2.6.1)(lightningcss@1.30.2)(tsx@4.21.0)(yaml@2.8.2))(vitest@4.0.18))(vitest@4.0.18)
|
version: 4.0.18(@vitest/browser@4.0.18(vite@7.3.1(@types/node@25.3.0)(jiti@2.6.1)(lightningcss@1.30.2)(tsx@4.21.0)(yaml@2.8.2))(vitest@4.0.18))(vitest@4.0.18)
|
||||||
|
lit:
|
||||||
|
specifier: ^3.3.2
|
||||||
|
version: 3.3.2
|
||||||
oxfmt:
|
oxfmt:
|
||||||
specifier: 0.33.0
|
specifier: 0.33.0
|
||||||
version: 0.33.0
|
version: 0.33.0
|
||||||
@@ -213,6 +225,9 @@ importers:
|
|||||||
oxlint-tsgolint:
|
oxlint-tsgolint:
|
||||||
specifier: ^0.14.1
|
specifier: ^0.14.1
|
||||||
version: 0.14.1
|
version: 0.14.1
|
||||||
|
signal-utils:
|
||||||
|
specifier: 0.21.1
|
||||||
|
version: 0.21.1(signal-polyfill@0.2.2)
|
||||||
tsdown:
|
tsdown:
|
||||||
specifier: ^0.20.3
|
specifier: ^0.20.3
|
||||||
version: 0.20.3(@typescript/native-preview@7.0.0-dev.20260219.1)(typescript@5.9.3)
|
version: 0.20.3(@typescript/native-preview@7.0.0-dev.20260219.1)(typescript@5.9.3)
|
||||||
|
|||||||
Reference in New Issue
Block a user