Skip to content

Commit ac02e17

Browse files
committed
fix: upgrade dependencies
1 parent d7b5f6e commit ac02e17

9 files changed

+245
-346
lines changed

Diff for: .eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist

Diff for: .eslintrc.js

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
module.exports = {
22
root: true,
3-
parserOptions: {
4-
project: 'tsconfig.eslint.json',
5-
},
63
env: {
74
node: true,
85
jest: true,

Diff for: circle.yml

-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ jobs:
2424
- run:
2525
name: codecov
2626
command: bash <(curl -s https://codecov.io/bash)
27-
- store_test_results:
28-
path: junit.xml
2927
release:
3028
docker:
3129
- image: circleci/node:10

Diff for: jest.config.js

-9
This file was deleted.

Diff for: package-lock.json

+218-309
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+17-14
Original file line numberDiff line numberDiff line change
@@ -16,42 +16,45 @@
1616
],
1717
"sideEffects": false,
1818
"scripts": {
19-
"lint": "eslint src/**/*.ts test/**/*.ts",
20-
"lint:fix": "eslint --fix src/**/*.ts test/**/*.ts",
19+
"lint": "eslint --ext .js,.ts, .",
20+
"lint:fix": "eslint --fix --ext .js,.ts, .",
2121
"prepare": "npm run build",
22-
"build": "tsc",
22+
"build": "tsc -p tsconfig.build.json",
2323
"build:docs": "typedoc --out docs --target es6 --theme minimal --mode file src && touch docs/.nojekyll",
2424
"test": "jest --runInBand",
2525
"test:watch": "jest --watch --runInBand",
26-
"test:ci": "jest --runInBand --coverage --no-cache --reporters=default --reporters=jest-junit",
26+
"test:ci": "jest --runInBand --coverage --no-cache",
2727
"semantic-release": "semantic-release"
2828
},
2929
"dependencies": {
30-
"@ctrl/shared-torrent": "^1.3.1",
31-
"form-data": "^2.5.0",
30+
"@ctrl/shared-torrent": "^1.3.2",
31+
"form-data": "^2.5.1",
3232
"got": "^9.6.0",
3333
"tough-cookie": "^3.0.1",
3434
"url-join": "^4.0.1"
3535
},
3636
"devDependencies": {
3737
"@types/got": "9.6.7",
3838
"@types/jest": "24.0.18",
39-
"@types/node": "12.7.3",
39+
"@types/node": "12.7.7",
4040
"@types/tough-cookie": "2.3.5",
4141
"@types/url-join": "4.0.0",
42-
"@typescript-eslint/eslint-plugin": "2.0.0",
43-
"@typescript-eslint/parser": "2.0.0",
44-
"eslint": "6.3.0",
42+
"@typescript-eslint/eslint-plugin": "2.3.1",
43+
"@typescript-eslint/parser": "2.3.1",
44+
"eslint": "6.4.0",
4545
"eslint-config-xo-space": "0.21.0",
46-
"eslint-config-xo-typescript": "0.17.0",
46+
"eslint-config-xo-typescript": "0.18.0",
4747
"eslint-plugin-import": "2.18.2",
4848
"jest": "24.9.0",
49-
"jest-junit": "7.0.0",
5049
"p-wait-for": "3.1.0",
5150
"semantic-release": "15.13.24",
52-
"ts-jest": "24.0.2",
51+
"ts-jest": "24.1.0",
5352
"typedoc": "0.15.0",
54-
"typescript": "3.6.2"
53+
"typescript": "3.6.3"
54+
},
55+
"jest": {
56+
"preset": "ts-jest",
57+
"testEnvironment": "node"
5558
},
5659
"publishConfig": {
5760
"access": "public"

Diff for: tsconfig.build.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"include": ["src/index.ts"]
4+
}

Diff for: tsconfig.eslint.json

-4
This file was deleted.

Diff for: tsconfig.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
"compileOnSave": false,
33
"compilerOptions": {
44
"moduleResolution": "node",
5-
"esModuleInterop": true,
6-
"lib": ["es2017", "dom"],
5+
"lib": ["es2018"],
76
"target": "es2017",
87
"module": "commonjs",
9-
"incremental": true,
8+
"esModuleInterop": true,
109
"strict": true,
11-
"sourceMap": true,
10+
"noImplicitAny": false,
11+
"noUnusedLocals": true,
1212
"declaration": true,
13+
"sourceMap": true,
1314
"inlineSources": true,
1415
"outDir": "dist"
1516
},
16-
"include": ["src/index.ts"],
1717
"typedocOptions": {
1818
"out": "docs",
1919
"mode": "file",

0 commit comments

Comments
 (0)