Skip to content

Commit 4bdc2f5

Browse files
committed
Fix tsconfig
1 parent a877a5e commit 4bdc2f5

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vscode-phpactor",
3-
"version": "1.0.1",
3+
"version": "1.1.0",
44
"description": "Phpactor PHP Language Server extension for vscode",
55
"main": "lib/extension.js",
66
"publisher": "dantleech",
@@ -14,13 +14,12 @@
1414
],
1515
"scripts": {
1616
"clean": "rimraf lib",
17-
"build-ts": "tsc -p tsconfig.json",
1817
"build-vsce": "vsce package --out=artifacts/phpactor.vsix",
19-
"build": "npm run build-ts && npm run build-vsce",
18+
"build": "npm run compile && npm run build-vsce",
2019
"prepare": "yarn clean && yarn build",
2120
"watch": "tsc -watch -p ./",
2221
"pretest": "npm run compile",
23-
"compile": "tsc -p ./",
22+
"compile": "npm run clean && tsc -p ./",
2423
"test": "node ./lib/test/runTests.js"
2524
},
2625
"activationEvents": [

tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"extends": "./node_modules/@chemzqm/tsconfig/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "lib",
5-
"target": "es2015",
5+
"target": "es2021",
66
"module": "commonjs",
77
"moduleResolution": "node",
8-
"importHelpers": true,
8+
"strict": true,
99
"lib": [
10-
"es2018"
10+
"es2021"
1111
],
1212
"plugins": []
1313
},

0 commit comments

Comments
 (0)