diff --git a/package.json b/package.json index f2b1feed..3436ca74 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/plugin-runtime/nodemon.json b/plugin-runtime/nodemon.json deleted file mode 100644 index b819ba41..00000000 --- a/plugin-runtime/nodemon.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "watch": ["src"], - "ext": "ts", - "exec": "node -r ts-node/register ./src/index.ts" -} diff --git a/plugin-runtime/package.json b/plugin-runtime/package.json index c3aac18b..535344a0 100644 --- a/plugin-runtime/package.json +++ b/plugin-runtime/package.json @@ -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" } } diff --git a/plugin-runtime/tsconfig.json b/plugin-runtime/tsconfig.json index 9ccaccf0..d27c4e4c 100644 --- a/plugin-runtime/tsconfig.json +++ b/plugin-runtime/tsconfig.json @@ -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" ] } diff --git a/tsconfig.json b/tsconfig.json index 8d6ab483..914d9ae0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,12 +20,5 @@ "isolatedModules": true, "noEmit": true, "jsx": "react-jsx" - }, - "include": [ - "." - ], - "exclude": [ - "vite.config.ts" - ], - "references": [{ "path": "./tsconfig.node.json" }] + } } diff --git a/tsconfig.node.json b/tsconfig.node.json deleted file mode 100644 index c87264aa..00000000 --- a/tsconfig.node.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "compilerOptions": { - "composite": true, - "module": "ESNext", - "moduleResolution": "Node", - "allowSyntheticDefaultImports": true, - "noUncheckedIndexedAccess": true - }, - "include": ["vite.config.ts"] -}