-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add support for generating tsconfig.json in context * feat: add support for generating tsconfig in lwc-server * Update packages/lightning-lsp-common/src/resources/sfdx/tsconfig-sfdx.base.json Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com> * test: fix unit tests * chore: test node version for ci * chore: trigger ci --------- Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com>
- Loading branch information
Showing
6 changed files
with
141 additions
and
6 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
8 changes: 8 additions & 0 deletions
8
packages/lightning-lsp-common/src/resources/sfdx/tsconfig-sfdx.base.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"paths": { | ||
"c/*": [] | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
packages/lightning-lsp-common/src/resources/sfdx/tsconfig-sfdx.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": "${project_root}/.sfdx/tsconfig.sfdx.json", | ||
"include": [ | ||
"**/*.ts", | ||
"${project_root}/.sfdx/typings/lwc/**/*.d.ts" | ||
], | ||
"exclude": [ | ||
"**/__tests__/**" | ||
] | ||
} |
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