mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-08-19 09:55:15 +02:00
Adds packages/plugin-sandbox: QuickJS-ng compiled to wasm, running in a dedicated worker, with a runtime shell inside it that loads a plugin bundle and answers the same InternalEventPayload events the Node runtime answers. Plugins are unmodified. Wires the browser host's template function, authentication, cURL import and template render commands to it, and relaxes TemplateCallback's Send bound on wasm32 so the engine's renderer can call back out to a plugin.
144 lines
5.1 KiB
JSON
144 lines
5.1 KiB
JSON
{
|
|
"name": "yaak-monorepo",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/mountain-loop/yaak.git"
|
|
},
|
|
"workspaces": [
|
|
"packages/ui",
|
|
"packages/theme",
|
|
"packages/tailwind-config",
|
|
"packages/model-store",
|
|
"packages/common-lib",
|
|
"packages/platform",
|
|
"packages/plugin-runtime",
|
|
"packages/plugin-runtime-types",
|
|
"packages/plugin-sandbox",
|
|
"plugins-external/mcp-server",
|
|
"plugins-external/faker",
|
|
"plugins-external/httpsnippet",
|
|
"plugins/action-copy-curl",
|
|
"plugins/action-copy-grpcurl",
|
|
"plugins/action-send-folder",
|
|
"plugins/auth-apikey",
|
|
"plugins/auth-aws",
|
|
"plugins/auth-basic",
|
|
"plugins/auth-bearer",
|
|
"plugins/auth-jwt",
|
|
"plugins/auth-ntlm",
|
|
"plugins/auth-oauth2",
|
|
"plugins/auth-oauth1",
|
|
"plugins/filter-jsonpath",
|
|
"plugins/filter-xpath",
|
|
"plugins/importer-curl",
|
|
"plugins/importer-insomnia",
|
|
"plugins/importer-openapi",
|
|
"plugins/importer-postman",
|
|
"plugins/importer-postman-environment",
|
|
"plugins/importer-yaak",
|
|
"plugins/template-function-1password",
|
|
"plugins/template-function-cookie",
|
|
"plugins/template-function-ctx",
|
|
"plugins/template-function-encode",
|
|
"plugins/template-function-fs",
|
|
"plugins/template-function-hash",
|
|
"plugins/template-function-json",
|
|
"plugins/template-function-prompt",
|
|
"plugins/template-function-random",
|
|
"plugins/template-function-regex",
|
|
"plugins/template-function-timestamp",
|
|
"plugins/template-function-uuid",
|
|
"plugins/template-function-xml",
|
|
"plugins/template-function-request",
|
|
"plugins/template-function-response",
|
|
"plugins/themes-yaak",
|
|
"crates-tauri/yaak-app-client",
|
|
"crates-tauri/yaak-app-proxy",
|
|
"crates-tauri/yaak-fonts",
|
|
"crates-tauri/yaak-license",
|
|
"crates-tauri/yaak-mac-window",
|
|
"crates/common/yaak-rpc-schema",
|
|
"crates/yaak-crypto",
|
|
"crates/yaak-git",
|
|
"crates/yaak-models",
|
|
"crates/yaak-plugins",
|
|
"crates/yaak-sse",
|
|
"crates/yaak-sync",
|
|
"crates/yaak-templates",
|
|
"crates/yaak-web",
|
|
"crates/yaak-ws",
|
|
"crates-proxy/yaak-proxy-lib",
|
|
"crates-server/yaak-send-proxy",
|
|
"apps/yaak-client",
|
|
"apps/yaak-proxy"
|
|
],
|
|
"scripts": {
|
|
"prepare": "vp config",
|
|
"init": "npm install && npm run bootstrap",
|
|
"start": "npm run client:dev",
|
|
"client:build": "node scripts/run-build.mjs client",
|
|
"client:dev": "node scripts/run-dev.mjs client",
|
|
"client:bundle": "node scripts/run-build.mjs client --config crates-tauri/yaak-app-client/tauri.release.conf.json --no-sign",
|
|
"proxy:build": "node scripts/run-build.mjs proxy",
|
|
"proxy:dev": "node scripts/run-dev.mjs proxy",
|
|
"migration": "node scripts/create-migration.cjs",
|
|
"build": "npm run --workspaces --if-present build",
|
|
"test": "npm run --workspaces --if-present test",
|
|
"icons": "run-p client:icons:*",
|
|
"client:icons:dev": "tauri icon crates-tauri/yaak-app-client/icons/icon-dev.png --output crates-tauri/yaak-app-client/icons/dev",
|
|
"client:icons:release": "tauri icon crates-tauri/yaak-app-client/icons/icon.png --output crates-tauri/yaak-app-client/icons/release",
|
|
"bootstrap": "run-s bootstrap:*",
|
|
"bootstrap:install-wasm-pack": "node scripts/install-wasm-pack.cjs",
|
|
"bootstrap:build": "npm run build",
|
|
"bootstrap:vendor": "npm run vendor",
|
|
"vendor": "run-p vendor:*",
|
|
"vendor:vendor-plugins": "node scripts/vendor-plugins.cjs",
|
|
"vendor:vendor-protoc": "node scripts/vendor-protoc.cjs",
|
|
"vendor:vendor-node": "node scripts/vendor-node.cjs",
|
|
"lint": "run-p lint:*",
|
|
"lint:vp": "vp lint",
|
|
"lint:workspaces": "npm run --workspaces --if-present lint",
|
|
"replace-version": "node scripts/replace-version.cjs",
|
|
"format": "vp fmt --ignore-path .oxfmtignore",
|
|
"tauri": "tauri",
|
|
"client:tauri-before-build": "npm run bootstrap",
|
|
"client:tauri-before-dev": "node scripts/run-workspaces-dev.mjs apps/yaak-client",
|
|
"proxy:tauri-before-build": "npm run bootstrap",
|
|
"proxy:tauri-before-dev": "node scripts/run-workspaces-dev.mjs apps/yaak-proxy"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/lang-go": "^6.0.1",
|
|
"@codemirror/lang-java": "^6.0.2",
|
|
"@codemirror/lang-php": "^6.0.2",
|
|
"@codemirror/lang-python": "^6.2.1",
|
|
"@codemirror/legacy-modes": "^6.5.2"
|
|
},
|
|
"devDependencies": {
|
|
"@rolldown/plugin-babel": "^0.2.3",
|
|
"@tailwindcss/postcss": "^4.3.2",
|
|
"@tauri-apps/cli": "npm:@tauri-apps/cli-cef@3.0.0-alpha.6",
|
|
"@types/babel__core": "^7.20.5",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"@yaakapp/cli": "0.5.1",
|
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
"dotenv-cli": "^11.0.0",
|
|
"nodejs-file-downloader": "^4.13.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss": "^8.5.25",
|
|
"tailwindcss": "^4.3.2",
|
|
"tar": "^7.5.22",
|
|
"typescript": "^5.8.3",
|
|
"vite": "npm:@voidzero-dev/vite-plus-core@^0.2.9",
|
|
"vite-plus": "^0.2.9",
|
|
"vitest": "^4.1.10",
|
|
"yauzl": "^3.4.0"
|
|
},
|
|
"overrides": {
|
|
"js-yaml": "^4.3.1",
|
|
"vite": "npm:@voidzero-dev/vite-plus-core@^0.2.9"
|
|
},
|
|
"packageManager": "npm@11.11.1"
|
|
}
|