Skip to content
This repository was archived by the owner on Jul 24, 2021. It is now read-only.

Commit c73bd71

Browse files
committed
Update deps and move mocks to tests folder
1 parent 25bf58f commit c73bd71

File tree

7 files changed

+752
-713
lines changed

7 files changed

+752
-713
lines changed

.vscodeignore

+5-3
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,19 @@
66
src
77
node_modules
88
coverage
9-
__mocks__
109

1110
# Files
1211

1312
.all-contributorsrc
13+
.xo-config.json
14+
.huskyrc
15+
.lintstagedrc
16+
.prettierrc
17+
codecov.yml
1418
.gitignore
1519
.gitmodules
1620
tsconfig.json
17-
tslint.json
1821
assets/ui/.git
1922
assets/ui/index.html
20-
translocalizer.json
2123
*.map
2224
*.log

.xo-config.json

+7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
"unicorn/filename-case": 0,
66
"unicorn/string-content": 0,
77
"@typescript-eslint/explicit-function-return-type": 0,
8+
"no-unused-expressions": 0,
9+
"@typescript-eslint/no-unused-expressions": [
10+
2,
11+
{
12+
"allowShortCircuit": true
13+
}
14+
],
815
"import/extensions": 0,
916
"no-inner-declarations": 0
1017
}

package.json

+13-10
Original file line numberDiff line numberDiff line change
@@ -26,38 +26,38 @@
2626
"vscode-chokidar": "^2.1.7"
2727
},
2828
"devDependencies": {
29-
"@types/express": "^4.17.3",
29+
"@types/express": "^4.17.4",
3030
"@types/fs-extra": "^8.1.0",
31-
"@types/jest": "^25.1.4",
31+
"@types/jest": "^25.1.5",
3232
"@types/lodash": "^4.14.149",
33-
"@types/node": "^13.9.3",
33+
"@types/node": "^13.11.0",
3434
"@types/semver": "^7.1.0",
3535
"@types/terser-webpack-plugin": "^2.2.0",
3636
"@types/vscode": "1.41.0",
37-
"@types/webpack": "^4.41.8",
37+
"@types/webpack": "^4.41.10",
3838
"@types/webpack-merge": "^4.1.5",
3939
"awesome-typescript-loader": "^5.2.1",
4040
"clean-webpack-plugin": "^3.0.0",
4141
"codecov": "^3.6.5",
4242
"eslint-plugin-jest": "^23.8.2",
4343
"husky": "^4.2.3",
44-
"jest": "^25.1.0",
44+
"jest": "^25.2.6",
4545
"jest-raw-loader": "^1.0.1",
46-
"lint-staged": "^10.0.9",
46+
"lint-staged": "^10.1.1",
4747
"raw-loader": "^4.0.0",
4848
"shx": "^0.3.2",
4949
"terser-webpack-plugin": "^2.3.5",
50-
"ts-jest": "^25.2.1",
50+
"ts-jest": "^25.3.0",
5151
"ts-loader": "^6.2.2",
5252
"ts-node": "^8.8.1",
5353
"typescript": "^3.8.3",
5454
"typescript-json-schema": "^0.42.0",
5555
"utility-types": "^3.10.0",
56-
"vsce": "^1.74.0",
57-
"webpack": "^4.42.0",
56+
"vsce": "^1.75.0",
57+
"webpack": "^4.42.1",
5858
"webpack-cli": "^3.3.11",
5959
"webpack-merge": "^4.2.2",
60-
"xo": "^0.28.0"
60+
"xo": "^0.28.2"
6161
},
6262
"engines": {
6363
"vscode": "^1.41.0"
@@ -157,6 +157,9 @@
157157
"jest": {
158158
"preset": "ts-jest",
159159
"testEnvironment": "node",
160+
"roots": [
161+
"<rootDir>/src/tests/"
162+
],
160163
"moduleNameMapper": {
161164
"^~/(.*)": "<rootDir>/src/$1"
162165
},

src/services/oauth.ts

+2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ export namespace OAuth {
9999
method: "POST",
100100
data: {
101101
code,
102+
// eslint-disable-next-line camelcase
102103
client_id: Environment.oauthClientIds.github,
104+
// eslint-disable-next-line camelcase
103105
client_secret: "3ac123310971a75f0a26e979ce0030467fc32682"
104106
}
105107
}
File renamed without changes.

tsconfig.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
"paths": {
55
"~/*": ["./*"]
66
},
7-
"module": "commonjs",
7+
"module": "CommonJS",
88
"target": "ES5",
9-
"outDir": "out",
10-
"lib": ["esnext"],
9+
"lib": ["ESNext"],
1110
"esModuleInterop": true,
1211
"resolveJsonModule": true,
1312
"sourceMap": true,

0 commit comments

Comments
 (0)