Fix plugin runtime

This commit is contained in:
Gregory Schier
2024-09-23 07:46:32 -07:00
parent 9bb1e1232f
commit c938b62d35
6 changed files with 10 additions and 34 deletions

View File

@@ -7,12 +7,13 @@
"url": "git+https://github.com/yaakapp/app.git"
},
"workspaces": [
"src-tauri/yaak_plugin_runtime",
"src-tauri/yaak_models",
"src-tauri/yaak_templates",
"src-web",
"plugin-runtime",
"plugin-runtime-types"
"plugin-runtime-types",
"src-tauri/yaak_models",
"src-tauri/yaak_plugin_runtime",
"src-tauri/yaak_sync",
"src-tauri/yaak_templates",
"src-web"
],
"scripts": {
"app-build": "tauri build",

View File

@@ -1,5 +0,0 @@
{
"watch": ["src"],
"ext": "ts",
"exec": "node -r ts-node/register ./src/index.ts"
}

View File

@@ -1,7 +1,6 @@
{
"name": "@yaakapp-internal/plugin-runtime",
"scripts": {
"dev": "nodemon",
"build": "run-p build:*",
"build:main": "esbuild src/index.ts --bundle --platform=node --outfile=build/index.cjs",
"build:worker": "esbuild src/index.worker.ts --bundle --platform=node --outfile=build/index.worker.cjs",
@@ -16,8 +15,6 @@
"devDependencies": {
"@types/intercept-stdout": "^0.1.3",
"grpc-tools": "^1.12.4",
"nodemon": "^3.1.4",
"ts-node": "^10.9.2",
"ts-proto": "^2.2.0"
}
}

View File

@@ -7,9 +7,9 @@
"target": "es2021",
"lib": ["es2021"],
"noImplicitAny": false,
"moduleResolution": "node",
"moduleResolution": "node16",
"sourceMap": true,
"outDir": "dist",
"outDir": "build",
"baseUrl": ".",
"paths": {
"*": [
@@ -19,6 +19,6 @@
}
},
"include": [
"src/**/*"
"src"
]
}

View File

@@ -20,12 +20,5 @@
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
},
"include": [
"."
],
"exclude": [
"vite.config.ts"
],
"references": [{ "path": "./tsconfig.node.json" }]
}
}

View File

@@ -1,10 +0,0 @@
{
"compilerOptions": {
"composite": true,
"module": "ESNext",
"moduleResolution": "Node",
"allowSyntheticDefaultImports": true,
"noUncheckedIndexedAccess": true
},
"include": ["vite.config.ts"]
}