-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compile ahk2 project alongside main project (#461)
* Use composite build command * Remove submodule * Move submodule to top level * Update tsconfig for submodule * Make @types/vscode match submodule version * Use correct libraries for submodule compatibility * Use Node 20 * Use Node 20 to build * Ignore new submodule location * Fixup new submodule location * Validate project with new build strat * Fix entrypoint * Fixup npm prepare * Cleanup tsconfig.json * Remove unused TS libs
- Loading branch information
1 parent
d653813
commit bd03fb4
Showing
12 changed files
with
84 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "src/ahk2"] | ||
path = src/ahk2 | ||
[submodule "ahk2"] | ||
path = ahk2 | ||
url = https://github.com/mark-wiemer-org/vscode-autohotkey2-lsp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
dist | ||
node_modules | ||
out | ||
src/ahk2 | ||
ahk2 | ||
|
||
# Files | ||
.vscode/settings.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ahk2
deleted from
d936c0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,18 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"target": "es2019", | ||
"target": "ES2022", | ||
"lib": ["ES2022", "WebWorker"], | ||
"outDir": "out", | ||
"experimentalDecorators": true, | ||
"lib": ["es6", "es2017", "es2019"], | ||
"sourceMap": true, | ||
"rootDir": "src", | ||
|
||
// Type checking | ||
"alwaysStrict": true, | ||
// "exactOptionalPropertyTypes": true, // TODO | ||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitAny": true, | ||
"noImplicitOverride": true, | ||
"noImplicitReturns": true, | ||
"noImplicitThis": true, | ||
"noPropertyAccessFromIndexSignature": true, | ||
"noUncheckedIndexedAccess": true, | ||
// "strict": true // TODO | ||
"strictBindCallApply": true, | ||
"strictFunctionTypes": true, | ||
// "strictNullChecks": true // TODO | ||
// "strictPropertyInitialization": true // TODO | ||
"useUnknownInCatchVariables": true, | ||
|
||
// ESM | ||
"rootDirs": ["src", "ahk2/client"], | ||
"esModuleInterop": true | ||
}, | ||
"exclude": ["node_modules", "src/ahk2"] | ||
"exclude": ["node_modules", "./ahk2/node_modules"], | ||
"references": [ | ||
{ | ||
"path": "./ahk2/client" | ||
} | ||
] | ||
} |