Permalink
Browse files

Bump deps

  • Loading branch information...
novemberborn committed Aug 12, 2018
1 parent 604dd4a commit 6fb0964941b66ce1cc613c62d0b74c3301398d95
Showing with 3,603 additions and 1,871 deletions.
  1. +1 −1 .travis.yml
  2. +1 −1 appveyor.yml
  3. +1 −1 docs/recipes/flow.md
  4. +1 −1 docs/recipes/typescript.md
  5. +0 −3 lib/ava-files.js
  6. +1 −1 lib/reporters/mini.js
  7. +2 −2 lib/watcher.js
  8. +3,579 −1,843 package-lock.json
  9. +17 −18 package.json
View
@@ -16,7 +16,7 @@ cache:
directories:
- $HOME/.npm
before_install:
- npm install --global npm@6.2.0
- npm install --global npm@6.3.0
- npm --version
install: |
if [[ ${FRESH_DEPS} == "true" ]]; then
View
@@ -23,7 +23,7 @@ matrix:
nodejs_version: 6
install:
- ps: Install-Product node $env:nodejs_version
- npm install --global npm@6.2.0
- npm install --global npm@6.3.0
- npm --version
- git config core.symlinks true
- git reset --hard
View
@@ -4,7 +4,7 @@ Translations: [Français](https://github.com/avajs/ava-docs/blob/master/fr_FR/do
AVA comes bundled with a Flow definition file. This allows developers to leverage Flow for writing tests.
This guide assumes you've already set up Flow for your project. Note that AVA's definition as been tested with version 0.73.0.
This guide assumes you've already set up Flow for your project. Note that AVA's definition as been tested with version 0.78.0.
We recommend you use AVA's built-in Babel pipeline to strip Flow type annotations and declarations. AVA automatically applies your project's Babel configuration, so everything may just work without changes. Alternatively install [`@babel/plugin-transform-flow-strip-types`](https://www.npmjs.com/package/@babel/plugin-transform-flow-strip-types) and customize AVA's configuration in the `package.json` file (or the `ava.config.js` file) as follows:
@@ -4,7 +4,7 @@ Translations: [Español](https://github.com/avajs/ava-docs/blob/master/es_ES/doc
AVA comes bundled with a TypeScript definition file. This allows developers to leverage TypeScript for writing tests.
This guide assumes you've already set up TypeScript for your project. Note that AVA's definition has been tested with version 2.8.3.
This guide assumes you've already set up TypeScript for your project. Note that AVA's definition has been tested with version 3.0.1.
## Configuring AVA to compile TypeScript files on the fly
View
@@ -5,7 +5,6 @@ const Promise = require('bluebird');
const slash = require('slash');
const globby = require('globby');
const flatten = require('lodash.flatten');
const autoBind = require('auto-bind');
const defaultIgnore = require('ignore-by-default').directories();
const multimatch = require('multimatch');
@@ -131,8 +130,6 @@ class AvaFiles {
realpathCache: Object.create(null),
symlinks: Object.create(null)
};
autoBind(this);
}
findTestFiles() {
View
@@ -81,7 +81,7 @@ class MiniReporter {
this.watching = options.watching;
this.spinner = ora({
enabled: true,
isEnabled: true,
color: options.spinner ? options.spinner.color : 'gray',
hideCursor: false,
spinner: options.spinner || (process.platform === 'win32' ? 'line' : 'dots'),
View
@@ -177,7 +177,7 @@ class Watcher {
return;
}
const sourceDeps = evt.dependencies.map(x => relative(x)).filter(this.avaFiles.isSource);
const sourceDeps = evt.dependencies.map(x => relative(x)).filter(filePath => this.avaFiles.isSource(filePath));
this.updateTestDependencies(evt.testFile, sourceDeps);
});
});
@@ -360,7 +360,7 @@ class Watcher {
}
return true;
});
const dirtyTests = dirtyPaths.filter(this.avaFiles.isTest);
const dirtyTests = dirtyPaths.filter(filePath => this.avaFiles.isTest(filePath));
const dirtySources = diff(dirtyPaths, dirtyTests);
const addedOrChangedTests = dirtyTests.filter(path => dirtyStates[path] !== 'unlink');
const unlinkedTests = diff(dirtyTests, addedOrChangedTests);
Oops, something went wrong.

0 comments on commit 6fb0964

Please sign in to comment.