Skip to content

Commit 03e3dd4

Browse files
authored
feat: convert package to esm, use got v12 (#104)
BREAKING CHANGE: This package is now pure ESM. gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c BREAKING CHANGE: requires node > 14.16 BREAKING CHANGE: upgrade to got v12 adds @ctrl/magnet-link as a dependency adds formdata-node as a dependency adds support for adding torrent magnet links to normalizedAddTorrent
1 parent 3a14a89 commit 03e3dd4

10 files changed

+6713
-6978
lines changed

Diff for: .circleci/config.yml

+13-10
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
11
version: 2.1
2+
orbs:
3+
node: circleci/node@4
4+
codecov: codecov/codecov@3
25
jobs:
36
test:
47
docker:
5-
- image: circleci/node:14
8+
- image: cimg/base:stable
69
- image: linuxserver/deluge
710
steps:
811
- checkout
9-
- run:
10-
name: npm-install
11-
command: npm ci
12+
- node/install
13+
- node/install-packages
1214
- run:
1315
name: test
1416
command: npm run test:ci
1517
- run:
1618
name: lint
1719
command: npm run lint
18-
- run:
19-
name: codecov
20-
command: bash <(curl -s https://codecov.io/bash)
20+
- codecov/upload
2121
release:
22-
docker:
23-
- image: circleci/node:14
22+
executor:
23+
name: node/default
24+
tag: 'current'
2425
steps:
2526
- checkout
26-
- run: npm ci
27+
- node/install-packages
2728
- run: npx semantic-release
2829

2930
workflows:
@@ -37,5 +38,7 @@ workflows:
3738
branches:
3839
only:
3940
- master
41+
context:
42+
- npm
4043
requires:
4144
- test

0 commit comments

Comments
 (0)