Added Required logic if not found, and added better update logic

This commit is contained in:
2026-09-19 22:07:07 +02:00
parent 45c988c989
commit dcd1bf25e7
14 changed files with 661 additions and 735 deletions
+11 -4
View File
@@ -2,7 +2,7 @@
"name": "dutchies-dcs-scripting-tools",
"displayName": "Dutchies Dcs Scripting Tools",
"description": "Scripting tools to create DCS script and frameworks easier",
"version": "0.1.7",
"version": "0.2.0",
"author": {
"name": "dutchie031",
"email": "54616262+dutchie031@users.noreply.github.com"
@@ -36,7 +36,7 @@
"properties": {
"dutchies-dcs-scripting-tools.dcsTypes": {
"type": "boolean",
"default": true,
"default": false,
"description": "Enable or disable DCS Types (adds types for DCS functions and objects)"
},
"dutchies-dcs-scripting-tools.spearheadTypes": {
@@ -64,7 +64,15 @@
"type":"string",
"default": "${workspaceFolder}/dist",
"description": "Where the compiled Lua files will be output. default: ${workspaceFolder}/dist"
}
},
"dutchies-dcs-scripting-tools.globalRequirables": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "List of global requirable Lua scripts that will be included automatically."
}
}
},
"grammars": [
@@ -114,7 +122,6 @@
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"watch:compiler": "cd ../compiler && npm run watch",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",