diff --git a/compiler/package.json b/compiler/package.json deleted file mode 100644 index 1223d4a..0000000 --- a/compiler/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "dcs-mission-scripting-tools-compiler", - "devDependencies": { - "@types/node": "25.5.2" - }, - "scripts": { - "build": "tsc -p . --outDir dist", - "watch": "tsc -p . --outDir dist --watch" - }, - "files": [ - "dist/**/*" - ] -} \ No newline at end of file diff --git a/dutchies-dcs-scripting-tools/tsconfig.json b/dutchies-dcs-scripting-tools/tsconfig.json index 8a4afe0..1816a24 100644 --- a/dutchies-dcs-scripting-tools/tsconfig.json +++ b/dutchies-dcs-scripting-tools/tsconfig.json @@ -10,6 +10,9 @@ "paths": { "dcs-script-compiler": ["../compiler/src/ScriptCompiler.ts"] }, + "types": [ + "node" + ], /* Additional Checks */ "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ diff --git a/package-lock.json b/package-lock.json index d39b303..e76ebb0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -911,6 +911,7 @@ "integrity": "sha512-BtE0k6cjwjLZoZixN0t5AKP0kSzlGu7FctRXYuPAm//aaiZhmfq1JwdYpYr1brzEspYyFeF+8XF5j2VK6oalrA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.54.0", "@typescript-eslint/types": "8.54.0", @@ -1143,6 +1144,7 @@ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "dev": true, "license": "MIT", + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -2079,6 +2081,7 @@ "integrity": "sha512-LEyamqS7W5HB3ujJyvi0HQK/dtVINZvd5mAAp9eT5S/ujByGjiZLCzPcHVzuXbpJDJF/cxwHlfceVUDZ2lnSTw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", @@ -5168,6 +5171,7 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -5298,6 +5302,7 @@ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "dev": true, "license": "Apache-2.0", + "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver"