Skip to content

Commit 572977b

Browse files
committed
Upgrade packages and typescript
1 parent ef2e7bc commit 572977b

File tree

3 files changed

+107
-88
lines changed

3 files changed

+107
-88
lines changed

package-lock.json

Lines changed: 98 additions & 82 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "vba-lsp",
3+
"type": "module",
34
"displayName": "VBA Pro",
45
"description": "A VBA extension for VSCode with Language Server support",
56
"icon": "images/vba-lsp-icon.png",
@@ -90,7 +91,7 @@
9091
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
9192
"test": "sh ./scripts/e2e.sh",
9293
"textMate": "npx js-yaml client/src/syntaxes/vba.tmLanguage.yaml > client/out/vba.tmLanguage.json",
93-
"antlr4ts": "antlr4ng -Dlanguage=TypeScript -visitor ./server/src/antlr/vba.g4 -o ./server/src/antlr/out/"
94+
"antlr4ng": "antlr4ng -Dlanguage=TypeScript -visitor ./server/src/antlr/vba.g4 -o ./server/src/antlr/out/"
9495
},
9596
"devDependencies": {
9697
"@types/mocha": "^9.1.0",
@@ -102,6 +103,6 @@
102103
"eslint": "^8.13.0",
103104
"js-yaml": "^4.1.0",
104105
"mocha": "^9.2.1",
105-
"typescript": "^4.7.2"
106+
"typescript": "^5.4.5"
106107
}
107108
}

tsconfig.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"compilerOptions": {
3-
"module": "commonjs",
4-
"target": "es2020",
5-
"lib": ["es2020"],
3+
"module": "NodeNext",
4+
"target": "ESNext",
5+
"moduleResolution": "NodeNext",
6+
"lib": ["ESNext", "DOM"],
67
"outDir": "out",
78
"rootDir": "src",
8-
"sourceMap": true
9+
"sourceMap": true,
10+
"forceConsistentCasingInFileNames": true
911
},
1012
"include": [
1113
"src"

0 commit comments

Comments
 (0)