Skip to content

Commit e72e830

Browse files
😒 chore(deps): Upgrade.
- up deps - patch some weird import issue in src/4-lazy/0-Lazy.js - update README - rename esdoc.json -> .esdoc.json - ignore /lib - commit yarn.lock - update travis config
1 parent 7b3ac16 commit e72e830

File tree

7 files changed

+6650
-37
lines changed

7 files changed

+6650
-37
lines changed

esdoc.json renamed to .esdoc.json

File renamed without changes.

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# lock file
2+
!yarn.lock
3+
4+
# Generated files
5+
/lib
6+
17
# Dependency directory
28
node_modules
39
jspm_packages

.travis.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
env:
2-
- CXX=g++-4.8
3-
4-
addons:
5-
apt:
6-
sources:
7-
- ubuntu-toolchain-r-test
8-
packages:
9-
- g++-4.8
10-
111
language: node_js
122

133
node_js:
@@ -16,10 +6,17 @@ node_js:
166
install:
177
- npm install
188

9+
before_script:
10+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
11+
- chmod +x ./cc-test-reporter
12+
- ./cc-test-reporter before-build
13+
1914
script:
2015
- npm run cover
2116

17+
after_script:
18+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
19+
2220
after_success:
23-
- bash <(curl -s https://codecov.io/bash) || true
21+
- bash <(curl -s https://codecov.io/bash) || true
2422
- coveralls < coverage/lcov.info || true
25-
- codeclimate-test-reporter < coverage/lcov.info || true

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,19 @@ Parent is [@aureooms/js-persistent](https://github.com/aureooms/js-persistent).
1111
| Single x
1212
| Deep ( Digit x ) ( FingerTree ( Node x ) ) ( Digit x )
1313

14-
[![License](https://img.shields.io/github/license/aureooms/js-fingertree.svg?style=flat)](https://raw.githubusercontent.com/aureooms/js-fingertree/master/LICENSE)
15-
[![NPM version](https://img.shields.io/npm/v/@aureooms/js-fingertree.svg?style=flat)](https://www.npmjs.org/package/@aureooms/js-fingertree)
16-
[![Build Status](https://img.shields.io/travis/aureooms/js-fingertree.svg?style=flat)](https://travis-ci.org/aureooms/js-fingertree)
17-
[![Coverage Status](https://img.shields.io/coveralls/aureooms/js-fingertree.svg?style=flat)](https://coveralls.io/r/aureooms/js-fingertree)
18-
[![Dependencies Status](https://img.shields.io/david/aureooms/js-fingertree.svg?style=flat)](https://david-dm.org/aureooms/js-fingertree#info=dependencies)
19-
[![devDependencies Status](https://img.shields.io/david/dev/aureooms/js-fingertree.svg?style=flat)](https://david-dm.org/aureooms/js-fingertree#info=devDependencies)
20-
[![Code Climate](https://img.shields.io/codeclimate/github/aureooms/js-fingertree.svg?style=flat)](https://codeclimate.com/github/aureooms/js-fingertree)
21-
[![NPM downloads per month](https://img.shields.io/npm/dm/@aureooms/js-fingertree.svg?style=flat)](https://www.npmjs.org/package/@aureooms/js-fingertree)
22-
[![GitHub issues](https://img.shields.io/github/issues/aureooms/js-fingertree.svg?style=flat)](https://github.com/aureooms/js-fingertree/issues)
14+
[![License](https://img.shields.io/github/license/aureooms/js-fingertree.svg)](https://raw.githubusercontent.com/aureooms/js-fingertree/master/LICENSE)
15+
[![Version](https://img.shields.io/npm/v/@aureooms/js-fingertree.svg)](https://www.npmjs.org/package/@aureooms/js-fingertree)
16+
[![Build](https://img.shields.io/travis/aureooms/js-fingertree/master.svg)](https://travis-ci.org/aureooms/js-fingertree/branches)
17+
[![Dependencies](https://img.shields.io/david/aureooms/js-fingertree.svg)](https://david-dm.org/aureooms/js-fingertree)
18+
[![Dev dependencies](https://img.shields.io/david/dev/aureooms/js-fingertree.svg)](https://david-dm.org/aureooms/js-fingertree?type=dev)
19+
[![GitHub issues](https://img.shields.io/github/issues/aureooms/js-fingertree.svg)](https://github.com/aureooms/js-fingertree/issues)
20+
[![Downloads](https://img.shields.io/npm/dm/@aureooms/js-fingertree.svg)](https://www.npmjs.org/package/@aureooms/js-fingertree)
21+
22+
[![Code issues](https://img.shields.io/codeclimate/issues/aureooms/js-fingertree.svg)](https://codeclimate.com/github/aureooms/js-fingertree/issues)
23+
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/github/aureooms/js-fingertree.svg)](https://codeclimate.com/github/aureooms/js-fingertree/trends/churn)
24+
[![Code coverage (cov)](https://img.shields.io/codecov/c/github/aureooms/js-fingertree.svg)](https://codecov.io/gh/aureooms/js-fingertree)
25+
[![Code coverage (clim)](https://img.shields.io/codeclimate/coverage-letter/aureooms/js-fingertree.svg)](https://codeclimate.com/github/aureooms/js-fingertree/trends/test_coverage_new_code)
26+
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/aureooms/js-fingertree.svg)](https://codeclimate.com/github/aureooms/js-fingertree/trends/technical_debt)
2327
[![Documentation](https://aureooms.github.io/js-fingertree/badge.svg)](https://aureooms.github.io/js-fingertree/source.html)
2428

2529

package.json

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,20 @@
44
"version": "4.0.6",
55
"author": "Aurélien Ooms <[email protected]>",
66
"ava": {
7+
"sources": [
8+
"src/**/*"
9+
],
10+
"files": [
11+
"test/src/**/*"
12+
],
713
"require": [
8-
"babel-polyfill",
9-
"babel-register"
14+
"@babel/polyfill",
15+
"@babel/register"
1016
]
1117
},
1218
"babel": {
1319
"presets": [
14-
"env"
20+
"@babel/preset-env"
1521
],
1622
"env": {
1723
"development": {
@@ -27,22 +33,23 @@
2733
"@aureooms/js-itertools": "^3.4.0",
2834
"@aureooms/js-measure": "1.0.3",
2935
"@aureooms/js-predicate": "^2.0.2",
36+
"@babel/cli": "7.7.4",
37+
"@babel/core": "7.7.4",
38+
"@babel/polyfill": "7.7.0",
39+
"@babel/preset-env": "7.7.4",
40+
"@babel/register": "7.7.4",
3041
"argparse": "^1.0.10",
31-
"ava": "^0.25.0",
32-
"babel-cli": "^6.26.0",
33-
"babel-polyfill": "^6.26.0",
34-
"babel-preset-env": "^1.6.1",
42+
"ava": "^2.4.0",
3543
"benchmark": "^2.1.4",
36-
"codeclimate-test-reporter": "^0.5.0",
37-
"coveralls": "^3.0.0",
38-
"esdoc": "^1.0.4",
44+
"coveralls": "^3.0.8",
45+
"esdoc": "^1.1.0",
3946
"esdoc-inject-script-plugin": "^1.0.0",
4047
"esdoc-inject-style-plugin": "^1.0.0",
4148
"esdoc-standard-plugin": "^1.0.0",
4249
"fingertree": "^0.1.7",
43-
"microtime": "^2.1.7",
44-
"np": "^2.20.1",
45-
"nyc": "^11.6.0"
50+
"microtime": "^3.0.0",
51+
"np": "^5.1.3",
52+
"nyc": "^14.1.1"
4653
},
4754
"files": [
4855
"lib"
@@ -63,14 +70,14 @@
6370
"main": "lib/index.js",
6471
"repository": {
6572
"type": "git",
66-
"url": "https://github.com/aureooms/js-fingertree.git"
73+
"url": "https://github.com/aureooms/js-fingertree"
6774
},
6875
"scripts": {
6976
"build": "rm -rf lib && babel src -d lib",
7077
"cover": "nyc --reporter=lcov npm test",
7178
"esdoc": "esdoc",
7279
"prepare": "npm run build",
7380
"release": "np",
74-
"test": "ava ./test/src"
81+
"test": "ava"
7582
}
7683
}

src/4-lazy/0-Lazy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Tree } from '../3-tree' ;
1+
import { Tree } from '../3-tree/base/Tree' ;
22

33
export function Lazy ( thunk ) {
44
this.tree = null ;

0 commit comments

Comments
 (0)