Skip to content

Commit

Permalink
Merge pull request #150 from bbeesley/fix-deps
Browse files Browse the repository at this point in the history
fix(deps): fix undocumented dependencies on corejs & babel runtime
  • Loading branch information
bbeesley authored Feb 19, 2020
2 parents 66d1fc6 + 8d6717f commit 84c98f3
Show file tree
Hide file tree
Showing 8 changed files with 1,954 additions and 4,429 deletions.
9 changes: 3 additions & 6 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,14 @@
"@babel/preset-env",
{
"targets": {
"node": "8.10.0"
},
"corejs": 3,
"useBuiltIns": "usage"
"node": "10.16.0"
}
}
],
"@babel/preset-flow"
],
"plugins": [
"@babel/plugin-transform-flow-strip-types",
"@babel/plugin-transform-runtime"
"@babel/plugin-transform-flow-strip-types"
],
"env": {
"test": {
Expand Down
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ orbs:
jobs:
build:
docker:
- image: circleci/node:10
- image: circleci/node:12

working_directory: ~/repo

Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
paths: .
publish:
docker:
- image: circleci/node:10
- image: circleci/node:12
working_directory: ~/repo
steps:
- attach_workspace:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8
10
17 changes: 0 additions & 17 deletions .releaserc

This file was deleted.

12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ where username is the user whose data you want to export, and filename is the na

### traktHistoryToCsv

[src/main/index.js:19-28](https://github.com/bbeesley/trakt-to-letterboxd/blob/f2a599d9590719e5a0de8a87eb5d5519f2e2354f/src/main/index.js#L19-L28 "Source code on GitHub")
[src/main/index.js:19-28](https://github.com/bbeesley/trakt-to-letterboxd/blob/66d1fc6eb6faf6a9f266f3ac339afd46649f4b5a/src/main/index.js#L19-L28 "Source code on GitHub")

Export a trakt user's history to csv to be uploaded to letterboxd

Expand All @@ -47,19 +47,19 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/

### headers

[src/main/fetcher.js:10-14](https://github.com/bbeesley/trakt-to-letterboxd/blob/f2a599d9590719e5a0de8a87eb5d5519f2e2354f/src/main/fetcher.js#L10-L14 "Source code on GitHub")
[src/main/fetcher.js:10-14](https://github.com/bbeesley/trakt-to-letterboxd/blob/66d1fc6eb6faf6a9f266f3ac339afd46649f4b5a/src/main/fetcher.js#L10-L14 "Source code on GitHub")

HTTP headers to send with our request to trakt's api

### options

[src/main/fetcher.js:20-22](https://github.com/bbeesley/trakt-to-letterboxd/blob/f2a599d9590719e5a0de8a87eb5d5519f2e2354f/src/main/fetcher.js#L20-L22 "Source code on GitHub")
[src/main/fetcher.js:20-22](https://github.com/bbeesley/trakt-to-letterboxd/blob/66d1fc6eb6faf6a9f266f3ac339afd46649f4b5a/src/main/fetcher.js#L20-L22 "Source code on GitHub")

The fetch options object (only really needs headers)

### fetchMovies

[src/main/fetcher.js:30-41](https://github.com/bbeesley/trakt-to-letterboxd/blob/f2a599d9590719e5a0de8a87eb5d5519f2e2354f/src/main/fetcher.js#L30-L41 "Source code on GitHub")
[src/main/fetcher.js:30-41](https://github.com/bbeesley/trakt-to-letterboxd/blob/66d1fc6eb6faf6a9f266f3ac339afd46649f4b5a/src/main/fetcher.js#L30-L41 "Source code on GitHub")

Fetches the user's history data from the trakt api

Expand All @@ -71,14 +71,14 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/

### schema

[src/main/exporter.js:9-29](https://github.com/bbeesley/trakt-to-letterboxd/blob/f2a599d9590719e5a0de8a87eb5d5519f2e2354f/src/main/exporter.js#L9-L29 "Source code on GitHub")
[src/main/exporter.js:9-29](https://github.com/bbeesley/trakt-to-letterboxd/blob/66d1fc6eb6faf6a9f266f3ac339afd46649f4b5a/src/main/exporter.js#L9-L29 "Source code on GitHub")

Schema for the output csv.
Based on <https://letterboxd.com/about/importing-data/>

### builder

[src/main/exporter.js:37-38](https://github.com/bbeesley/trakt-to-letterboxd/blob/f2a599d9590719e5a0de8a87eb5d5519f2e2354f/src/main/exporter.js#L37-L38 "Source code on GitHub")
[src/main/exporter.js:37-38](https://github.com/bbeesley/trakt-to-letterboxd/blob/66d1fc6eb6faf6a9f266f3ac339afd46649f4b5a/src/main/exporter.js#L37-L38 "Source code on GitHub")

The instance of CsvBuilder we'll use to export the data.
We need to remap the format of the last watched date to YYYY-MM-DD
Expand Down
Loading

0 comments on commit 84c98f3

Please sign in to comment.