Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
91 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,5 @@ node_modules | |
coverage | ||
npm-debug.log | ||
docs/ | ||
|
||
|
||
|
||
|
||
.nyc_output | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- '4' | ||
- '6' | ||
- 'stable' | ||
after_script: nyc report --reporter=text-lcov | coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# IstanbulJS | ||
|
||
[![Build Status](https://travis-ci.org/istanbuljs/istanbuljs.svg?branch=master)](https://travis-ci.org/istanbuljs/istanbuljs) | ||
[![Coverage Status](https://coveralls.io/repos/istanbuljs/istanbuljs/badge.svg?branch=master)](https://coveralls.io/r/istanbuljs/istanbuljs?branch=master) | ||
|
||
> Everyone's favorite JS code coverage tool. | ||
## About this Repo | ||
|
||
This [monorepo](https://github.com/babel/babel/blob/master/doc/design/monorepo.md) contains the _nuts and bolts_ utility libraries that facilitate IstanbulJS test coverage; Why a monorepo? | ||
|
||
* it allows us to more easily test API changes across coupled modules, e.g., changes to `istanbul-lib-coverage` | ||
potentially have an effect on `istanbul-lib-instrument`. | ||
* it gives us a centralized repo for discussions about bugs and upcoming features. | ||
|
||
## Where Should I Start | ||
|
||
_You're probably actually looking for one of the following repos:_ | ||
|
||
* [nyc](https://github.com/istanbuljs/nyc): the IstanbulJS 2.0 command line interface, providing painless coverage support for [most popular testing Frameworks](https://istanbul.js.org/docs/tutorials/). | ||
* [babel-plugin-istanbul](https://github.com/istanbuljs/babel-plugin-istanbul): a babel plugin | ||
for instrumenting your ES6 code with Istanbul compatible coverage tracking. | ||
* [istanbul](https://github.com/gotwarlost/istanbul): the legacy 1.0 IstanbulJS interface (you should | ||
now consider instead using nyc or babel-plugin-istanbul). | ||
|
||
### Contributing | ||
|
||
Contributing to the packages contained in this repo is easy: | ||
|
||
1. after checking out, run `npm install` (this will run the lerna build). | ||
2. to run all tests, simply run `npm test` in the root directory. | ||
3. to run tests for a single package `cd package/:name` and run | ||
`npm test` within the package's folder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"lerna": "2.0.0-beta.36", | ||
"lerna": "2.0.0-beta.38-31-g0749ea6", | ||
"packages": [ | ||
"packages/*" | ||
], | ||
"version": "0.0.0" | ||
"version": "independent" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,32 @@ | ||
{ | ||
"name": "istanbuljs", | ||
"version": "2.0.0", | ||
"private": true, | ||
"description": "monorepo containing the various nuts and bolts that facilitate istanbul.js test instrumentation", | ||
"scripts": { | ||
"test": "cross-env LERNA_TEST_RUN=1 nyc lerna exec npm test", | ||
"postinstall": "lerna bootstrap", | ||
"release": "lerna publish --conventional-commits" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:istanbuljs/istanbuljs.git" | ||
}, | ||
"keywords": [ | ||
"istanbuljs", | ||
"coverage", | ||
"nyc" | ||
], | ||
"author": "Ben Coe <ben@npmjs.com>", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/istanbuljs/istanbuljs/issues" | ||
}, | ||
"homepage": "https://istanbul.js.org/", | ||
"devDependencies": { | ||
"lerna": "2.0.0-beta.36" | ||
"coveralls": "^2.11.16", | ||
"cross-env": "^3.2.3", | ||
"lerna": "^2.0.0-beta.38-31-g0749ea6", | ||
"nyc": "^10.2.0-candidate.0" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
if (process.env.LERNA_TEST_RUN) { | ||
console.log('TODO: figure out exception that occurs when running with nyc'); | ||
process.exit(0); | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
{ | ||
"presets": ["es2015"], | ||
"env": { | ||
"test": { | ||
"plugins": [ | ||
"istanbul" | ||
] | ||
} | ||
} | ||
"presets": ["es2015"] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.