Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 650ceef

Browse files
Merge pull request #15 from skovhus/fix-build
Fix compilation
2 parents 4f34775 + 37a0592 commit 650ceef

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

‎docs/development-guide.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ whenever you've made a change, and then reload you vscode window to re-launch
6363
the server.
6464

6565
```
66-
cd server
67-
npm run compile
68-
npm i -g .
66+
npm run reinstall-server
6967
# Reload vscode window.
7068
```
7169

‎package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"test:coverage": "npm run test -- --coverage",
1414
"test:watch": "npm run test -- --watch",
1515
"check": "npm run lint && npm run test",
16-
"check:bail": "npm run lint:bail && npm run test"
16+
"check:bail": "npm run lint:bail && npm run test",
17+
"reinstall-server": "npm run compile && npm i -g ./server"
1718
},
1819
"devDependencies": {
1920
"@types/jest": "^22.2.2",
@@ -63,5 +64,6 @@
6364
"text-summary",
6465
"html"
6566
]
66-
}
67+
},
68+
"dependencies": {}
6769
}

‎server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"vscode-languageserver": "^3.5.0"
2424
},
2525
"scripts": {
26-
"compile": "tsc -p ./",
26+
"compile": "rm -rf out && tsc -p ./",
2727
"compile:watch": "tsc -w -p ./"
2828
}
2929
}

‎tsconfig.base.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
"sourceMap": true
1515
},
1616
"exclude": [
17-
"node_modules"
17+
"node_modules",
18+
"**/__tests__/*",
19+
"server/setupJest.ts",
20+
"testing"
1821
]
1922
}

‎vscode-client/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"main": "./out/src/extension",
2929
"contributes": {},
3030
"scripts": {
31-
"vscode:prepublish": "tsc -p ./",
32-
"compile": "tsc -p ./",
31+
"vscode:prepublish": "npm run compile",
32+
"compile": "rm -rf out && tsc -p ./",
3333
"compile:watch": "tsc -w -p ./",
3434
"update-vscode": "node ./node_modules/vscode/bin/install",
3535
"postinstall": "node ./node_modules/vscode/bin/install"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /