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

@@ -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"
]
}