Skip to content

Commit

Permalink
feat: export types, update dep (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
scttcper authored Dec 2, 2021
1 parent 56a6254 commit 6e6ff32
Show file tree
Hide file tree
Showing 9 changed files with 2,798 additions and 3,772 deletions.
10 changes: 6 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1
orbs:
node: circleci/node@4
codecov: codecov/codecov@1
codecov: codecov/codecov@3
jobs:
test:
docker:
Expand All @@ -23,8 +23,9 @@ jobs:
command: npm run lint
- codecov/upload
release:
docker:
- image: cimg/node:current
executor:
name: node/default
tag: 'current'
steps:
- checkout
- node/install-packages
Expand All @@ -33,13 +34,14 @@ jobs:
workflows:
version: 2
test_and_release:
# Run the test jobs first, then the release only when all the test jobs are successful
jobs:
- test
- release:
filters:
branches:
only:
- master
context:
- npm
requires:
- test
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
16
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
### Install

```console
```sh
npm install @ctrl/transmission
```

Expand Down
5,661 changes: 2,341 additions & 3,320 deletions package-lock.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,36 +16,36 @@
],
"sideEffects": false,
"scripts": {
"lint": "eslint --ext .js,.ts, .",
"lint:fix": "eslint --fix --ext .js,.ts, .",
"lint": "eslint --ext .ts .",
"lint:fix": "eslint --fix --ext .ts .",
"prepare": "npm run build",
"build": "tsc -p tsconfig.build.json",
"build:docs": "typedoc",
"test": "jest --runInBand",
"test:watch": "jest --watch --runInBand",
"test:ci": "jest --coverage --no-cache --runInBand"
"test:ci": "jest --ci --runInBand --reporters=default --reporters=jest-junit --coverage"
},
"dependencies": {
"@ctrl/shared-torrent": "^3.0.5",
"got": "^11.8.2",
"got": "^11.8.3",
"@ctrl/url-join": "^1.0.4"
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "7.14.0",
"@babel/preset-typescript": "7.13.0",
"@ctrl/eslint-config": "2.0.8",
"@jest/globals": "27.0.3",
"@types/jest": "26.0.23",
"@types/node": "15.12.2",
"@types/url-join": "4.0.0",
"jest": "27.0.4",
"jest-junit": "12.1.0",
"@babel/plugin-transform-modules-commonjs": "7.16.0",
"@babel/preset-typescript": "7.16.0",
"@ctrl/eslint-config": "3.1.3",
"@jest/globals": "27.4.2",
"@types/node": "16.11.11",
"@types/url-join": "4.0.1",
"jest": "27.4.3",
"jest-junit": "13.0.0",
"p-wait-for": "3.2.0",
"typedoc": "0.21.0-beta.2",
"typescript": "4.3.2"
"typedoc": "0.22.10",
"typescript": "4.5.2"
},
"jest": {
"testEnvironment": "node"
"testEnvironment": "node",
"coverageProvider": "v8"
},
"babel": {
"presets": [
Expand Down
Loading

0 comments on commit 6e6ff32

Please sign in to comment.