Skip to content

Commit 18b96d3

Browse files
authored
Migrate to yarn and update dependencies (#58)
Removed `package-lock.json` and added `yarn.lock` instead. Even if there are outdated version in package.json, yarn installed up-to-date versions. The only problem is with flow@0.78, it returns me an error which I can not figure out: <details> <summary>Flow@0.78 error</summary> ``` $ yarn flow yarn run v1.6.0 $ flow Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ /private/tmp/flow/flowlib_316436e7/webassembly.js:11:52 Function [1] is not a polymorphic type. /private/tmp/flow/flowlib_316436e7/webassembly.js 8│ type ResultObject = { module: WebAssembly$Module, instance: WebAssembly$Instance }; 9│ 10│ // https://github.com/WebAssembly/design/blob/master/JS.md#exported-function-exotic-objects 11│ declare class ExportedFunctionExoticObject extends Function { │ ---------------------------------------------------^^^^^^^^-------------------------------- 12│ (): mixed; 13│ } 14│ scripts/babel-nodes.js [1] 1910│ type Function = ( │ -----^^^^^^^^------------------------------------------------------------------------------ ``` </details>
1 parent 4d7e171 commit 18b96d3

7 files changed

Lines changed: 4380 additions & 9484 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.DS_Store
22
npm-debug.log
3+
package-lock.json
4+
yarn-error.log
35
node_modules
46
/coverage
57
/lib

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: node_js
22
node_js:
33
- "6"
44
script:
5-
- npm run build
6-
- npm test
7-
- npm run flow
8-
- npm run lint
5+
- yarn build
6+
- yarn test
7+
- yarn flow
8+
- yarn lint

0 commit comments

Comments
 (0)