diff --git a/package-lock.json b/package-lock.json index a045c49..be491fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "typescript": "5.5.2", "typescript-eslint": "^7.6.0", "typescript-to-lua": "~1.26.0", - "typescript-tstl-plugin": "^0.3.0" + "typescript-tstl-plugin": "^0.3.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" diff --git a/package.json b/package.json index 89ed16e..4449a6d 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,6 @@ "typescript": "5.5.2", "typescript-eslint": "^7.6.0", "typescript-to-lua": "~1.26.0", - "typescript-tstl-plugin": "^0.3.0" + "typescript-tstl-plugin": "^0.3.2" } } diff --git a/tsconfig.json b/tsconfig.json index fca5ff6..a1d7f5e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,13 +6,7 @@ "module": "commonjs", "esModuleInterop": true, "moduleResolution": "node", - "types": ["types", "language-extensions"], - "typeRoots": [ - "./@types", - "./node_modules/@types", - "./node_modules/@typescript-to-lua", - "./node_modules/@ts-defold" - ], + "types": ["@typescript-to-lua/language-extensions", "@ts-defold/types"], "rootDir": "src", "outDir": "app", @@ -23,7 +17,7 @@ "plugins": [{ "name": "typescript-tstl-plugin" }] }, - "exclude": ["./node_modules/*", "./plugins/*"], + "exclude": ["./node_modules/*"], "tstl": { "luaTarget": "5.1", "luaLibImport": "require",