build(config): refactored build and TypeScript configuration with Bun loaders

- Removed WASM generation script; use Bun `wasm?raw` loader for imports.
- Added bunfig.toml with loaders for `.md`, `.py`, and `.wasm?raw` text imports.
- Added types/assets/index.d.ts for global TypeScript module declarations.
- Unified TypeScript configuration with tsgo-based checking across monorepo.
- Removed build and WASM steps from install and publish pipelines.
This commit is contained in:
can1357
2026-01-23 23:50:31 +01:00
parent 237b8f8c99
commit f66e5dba9b
355 changed files with 5039 additions and 4293 deletions
@@ -102,7 +102,7 @@ describe("PythonKernel.start (local gateway)", () => {
using tempDir = createTempDirSync("@python-kernel-env-");
const kernel = await PythonKernel.start({ cwd: tempDir.path, env: { CUSTOM_VAR: "ok" } });
const createCall = fetchSpy.mock.calls.find(([input, init]) => {
const createCall = fetchSpy.mock.calls.find(([input, init]: [string | URL, RequestInit?]) => {
const url = typeof input === "string" ? input : input.toString();
return url.endsWith("/api/kernels") && init?.method === "POST";
});