Skip to content

Commit 602408e

Browse files
committed
fix release?
1 parent 33ec5e5 commit 602408e

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"vscode": "^1.110.0"
1717
},
1818
"scripts": {
19-
"test": "mocha -r ts-node/register test/**/*.test.ts",
2019
"build": "npm run build:grammar && tsc",
20+
"test": "mocha -r ts-node/register -p tsconfig.test.json test/**/*.test.ts",
2121
"watch": "npm run build:grammar && concurrently \"npm:watch:ts\" \"npm:watch:grammar\"",
2222
"watch:ts": "tsc -w",
2323
"watch:grammar": "chokidar \"syntaxes/*.jsonc\" -c \"npm run build:grammar\"",

tsconfig.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
{
22
"compilerOptions": {
3-
"types": [
4-
"node",
5-
"vscode",
6-
"mocha"
7-
],
3+
"types": ["node", "vscode"],
84
"target": "ES2020",
95
"module": "commonjs",
106
"moduleResolution": "node",
117
"outDir": "out",
128
"rootDir": "src",
139
"strict": true,
1410
"esModuleInterop": true,
15-
"skipLibCheck": true,
16-
"ignoreDeprecations": "6.0"
11+
"skipLibCheck": true
1712
},
18-
"include": [
19-
"src",
20-
"test"
21-
]
22-
}
13+
"include": ["src"]
14+
}

tsconfig.test.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": ".",
5+
"types": ["node", "mocha"]
6+
},
7+
"include": ["src", "test"]
8+
}

0 commit comments

Comments
 (0)