Skip to content

Commit

Permalink
Fix missing TS definitions in packaged extension (#5)
Browse files Browse the repository at this point in the history
* Fix node_modules resolution and add tsconfig support

* fix typescript version to 4.3.5

* replace replaceAll by replace with global modifier

* set node version to 14

* remove console.log

* do not search for tsconfig if source file not exits

* fix missing definitions in packaged extension
  • Loading branch information
skarab42 committed Aug 31, 2021
1 parent b034a2f commit d7e7ae2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ src/**
**/*.ts
.github/**
images/**
!images/logo.png
!images/logo.png
!node_modules/typescript/lib/lib.*.d.ts
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"clean": "rimraf dist",
"build": "yarn clean && tsc",
"pretest": "yarn build",
"test": "node dist/test/runTest.js"
"test": "node dist/test/runTest.js",
"package": "yarn build && vsce package"
},
"devDependencies": {
"@types/glob": "^7.1.4",
Expand Down

0 comments on commit d7e7ae2

Please sign in to comment.