mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-22 16:48:30 +02:00
Fix plugin runtime
This commit is contained in:
11
package.json
11
package.json
@@ -7,12 +7,13 @@
|
|||||||
"url": "git+https://github.com/yaakapp/app.git"
|
"url": "git+https://github.com/yaakapp/app.git"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"src-tauri/yaak_plugin_runtime",
|
|
||||||
"src-tauri/yaak_models",
|
|
||||||
"src-tauri/yaak_templates",
|
|
||||||
"src-web",
|
|
||||||
"plugin-runtime",
|
"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": {
|
"scripts": {
|
||||||
"app-build": "tauri build",
|
"app-build": "tauri build",
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"watch": ["src"],
|
|
||||||
"ext": "ts",
|
|
||||||
"exec": "node -r ts-node/register ./src/index.ts"
|
|
||||||
}
|
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@yaakapp-internal/plugin-runtime",
|
"name": "@yaakapp-internal/plugin-runtime",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "nodemon",
|
|
||||||
"build": "run-p build:*",
|
"build": "run-p build:*",
|
||||||
"build:main": "esbuild src/index.ts --bundle --platform=node --outfile=build/index.cjs",
|
"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",
|
"build:worker": "esbuild src/index.worker.ts --bundle --platform=node --outfile=build/index.worker.cjs",
|
||||||
@@ -16,8 +15,6 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/intercept-stdout": "^0.1.3",
|
"@types/intercept-stdout": "^0.1.3",
|
||||||
"grpc-tools": "^1.12.4",
|
"grpc-tools": "^1.12.4",
|
||||||
"nodemon": "^3.1.4",
|
|
||||||
"ts-node": "^10.9.2",
|
|
||||||
"ts-proto": "^2.2.0"
|
"ts-proto": "^2.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
"target": "es2021",
|
"target": "es2021",
|
||||||
"lib": ["es2021"],
|
"lib": ["es2021"],
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node16",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"outDir": "dist",
|
"outDir": "build",
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"*": [
|
"*": [
|
||||||
@@ -19,6 +19,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"src/**/*"
|
"src"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,12 +20,5 @@
|
|||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"jsx": "react-jsx"
|
"jsx": "react-jsx"
|
||||||
},
|
}
|
||||||
"include": [
|
|
||||||
"."
|
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"vite.config.ts"
|
|
||||||
],
|
|
||||||
"references": [{ "path": "./tsconfig.node.json" }]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"composite": true,
|
|
||||||
"module": "ESNext",
|
|
||||||
"moduleResolution": "Node",
|
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
"noUncheckedIndexedAccess": true
|
|
||||||
},
|
|
||||||
"include": ["vite.config.ts"]
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user