Skip to content

Commit

Permalink
v1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
MartyO256 committed Apr 3, 2020
1 parent b52a50e commit 0b0aaf9
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 41 deletions.
11 changes: 1 addition & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- "10"
- "lts/*"

os:
- linux
Expand All @@ -20,15 +20,11 @@ stages:
jobs:
include:
- stage: build
os: linux
node_js: "10"
script:
- yarn run build
- stage: test
script: yarn run test
- stage: coverage
os: linux
node_js: "10"
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
Expand All @@ -39,8 +35,6 @@ jobs:
- ./cc-test-reporter after-build
- stage: deploy
if: tag IS present
os: linux
node_js: "10"
script:
- yarn run build
- yarn pack
Expand All @@ -50,20 +44,17 @@ jobs:
github_token: $GITHUB_TOKEN
local_dir: ./doc/
keep_history: true
cleanup: false
on:
tags: true
- provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: find-files-by-patterns-*.tgz
cleanup: false
on:
tags: true
- provider: npm
email: ouimetmarcantoine@gmail.com
api_key: $NPM_TOKEN
cleanup: false
on:
tags: true

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "find-files-by-patterns",
"version": "1.1.1",
"version": "1.1.2",
"description": "Find files by patterns in directories, upwards or downwards from other paths.",
"license": "MIT",
"author": "Marc-Antoine Ouimet <ouimetmarcantoine@gmail.com>",
Expand Down
12 changes: 0 additions & 12 deletions src/directories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export interface DownwardDirectoriesFetcher extends Function {
* @returns An iterable over the downward directories down to the maximum
* depth.
*/
// tslint:disable-next-line:unified-signatures
(maximumDepth: number): AsyncIterable<string>;

/**
Expand All @@ -48,7 +47,6 @@ export interface DownwardDirectoriesFetcher extends Function {
* @throws If the start path is inexistant.
* @returns An iterable over the downward directories.
*/
// tslint:disable-next-line:unified-signatures
(startDirectory: string): AsyncIterable<string>;

/**
Expand All @@ -66,7 +64,6 @@ export interface DownwardDirectoriesFetcher extends Function {
* @returns An iterable over the downward directories down to the maximum
* depth.
*/
// tslint:disable-next-line:unified-signatures
(startDirectory: string, maximumDepth: number): AsyncIterable<string>;
}

Expand Down Expand Up @@ -96,7 +93,6 @@ export interface DownwardDirectoriesFetcherSync extends Function {
* @returns An iterable over the downward directories down to the maximum
* depth.
*/
// tslint:disable-next-line:unified-signatures
(maximumDepth: number): Iterable<string>;

/**
Expand All @@ -110,7 +106,6 @@ export interface DownwardDirectoriesFetcherSync extends Function {
* @throws If the start path is inexistant.
* @returns An iterable over the downward directories.
*/
// tslint:disable-next-line:unified-signatures
(startDirectory: string): Iterable<string>;

/**
Expand All @@ -128,7 +123,6 @@ export interface DownwardDirectoriesFetcherSync extends Function {
* @returns An iterable over the downward directories down to the maximum
* depth.
*/
// tslint:disable-next-line:unified-signatures
(startDirectory: string, maximumDepth: number): Iterable<string>;
}

Expand Down Expand Up @@ -288,7 +282,6 @@ export interface UpwardDirectoriesFetcher extends Function {
* @param startPath The start path from which to traverse upwards.
* @returns An iterable over the upward directories.
*/
// tslint:disable-next-line:unified-signatures
(startPath: string): AsyncIterable<string>;

/**
Expand All @@ -302,7 +295,6 @@ export interface UpwardDirectoriesFetcher extends Function {
* @param maximumHeight The maximum height of any yielded directory path.
* @returns An iterable over the upward directories.
*/
// tslint:disable-next-line:unified-signatures
(startPath: string, maximumHeight: number): AsyncIterable<string>;

/**
Expand All @@ -318,7 +310,6 @@ export interface UpwardDirectoriesFetcher extends Function {
* encountered in the upward traversal.
* @returns An iterable over the upward directories.
*/
// tslint:disable-next-line:unified-signatures
(startPath: string, endPath: string): AsyncIterable<string>;
}

Expand All @@ -344,7 +335,6 @@ export interface UpwardDirectoriesFetcherSync extends Function {
* @param startPath The start path from which to traverse upwards.
* @returns An iterable over the upward directories.
*/
// tslint:disable-next-line:unified-signatures
(startPath: string): Iterable<string>;

/**
Expand All @@ -358,7 +348,6 @@ export interface UpwardDirectoriesFetcherSync extends Function {
* @param maximumHeight The maximum height of any yielded directory path.
* @returns An iterable over the upward directories.
*/
// tslint:disable-next-line:unified-signatures
(startPath: string, maximumHeight: number): Iterable<string>;

/**
Expand All @@ -374,7 +363,6 @@ export interface UpwardDirectoriesFetcherSync extends Function {
* encountered in the upward traversal.
* @returns An iterable over the upward directories.
*/
// tslint:disable-next-line:unified-signatures
(startPath: string, endPath: string): Iterable<string>;
}

Expand Down
14 changes: 0 additions & 14 deletions src/files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ export interface DownwardFilesFetcher extends Function {
* @throws If the maximum depth is negative.
* @returns An iterable over the downward files down to the maximum depth.
*/
// tslint:disable-next-line:unified-signatures
(maximumDepth: number): AsyncIterable<string>;

/**
Expand All @@ -131,7 +130,6 @@ export interface DownwardFilesFetcher extends Function {
* @throws If the starting path is inexistant.
* @returns An iterable over the downward files.
*/
// tslint:disable-next-line:unified-signatures
(startDirectory: string): AsyncIterable<string>;

/**
Expand All @@ -148,7 +146,6 @@ export interface DownwardFilesFetcher extends Function {
* @throws If the maximum depth is negative.
* @returns An iterable over the downward files down to the maximum depth.
*/
// tslint:disable-next-line:unified-signatures
(startDirectory: string, maximumDepth: number): AsyncIterable<string>;
}

Expand All @@ -175,7 +172,6 @@ export interface DownwardFilesFetcherSync extends Function {
* @throws If the maximum depth is negative.
* @returns An iterable over the downward files down to the maximum depth.
*/
// tslint:disable-next-line:unified-signatures
(maximumDepth: number): Iterable<string>;

/**
Expand All @@ -188,7 +184,6 @@ export interface DownwardFilesFetcherSync extends Function {
* @throws If the starting path is inexistant.
* @returns An iterable over the downward files.
*/
// tslint:disable-next-line:unified-signatures
(startDirectory: string): Iterable<string>;

/**
Expand All @@ -205,7 +200,6 @@ export interface DownwardFilesFetcherSync extends Function {
* @throws If the maximum depth is negative.
* @returns An iterable over the downward files down to the maximum depth.
*/
// tslint:disable-next-line:unified-signatures
(startDirectory: string, maximumDepth: number): Iterable<string>;
}

Expand Down Expand Up @@ -407,7 +401,6 @@ export interface UpwardFilesFetcher extends Function {
* start directory is zero. This value should be greater than or equal to one.
* @returns An iterable over the upward files.
*/
// tslint:disable-next-line:unified-signatures
(maximumHeight: number): AsyncIterable<string>;

/**
Expand All @@ -419,7 +412,6 @@ export interface UpwardFilesFetcher extends Function {
* @param startPath The start path of the upward traversal.
* @returns An iterable over the upward files.
*/
// tslint:disable-next-line:unified-signatures
(startPath: string): AsyncIterable<string>;

/**
Expand All @@ -435,7 +427,6 @@ export interface UpwardFilesFetcher extends Function {
* start path is zero. This value should be greater than or equal to one.
* @returns An iterable over the upward files.
*/
// tslint:disable-next-line:unified-signatures
(startPath: string, maximumHeight: number): AsyncIterable<string>;

/**
Expand All @@ -452,7 +443,6 @@ export interface UpwardFilesFetcher extends Function {
* directories have been read.
* @returns An iterable over the upward files.
*/
// tslint:disable-next-line:unified-signatures
(startPath: string, endDirectory: string): AsyncIterable<string>;
}

Expand Down Expand Up @@ -480,7 +470,6 @@ export interface UpwardFilesFetcherSync extends Function {
* start directory is zero. This value should be greater than or equal to one.
* @returns An iterable over the upward files.
*/
// tslint:disable-next-line:unified-signatures
(maximumHeight: number): Iterable<string>;

/**
Expand All @@ -492,7 +481,6 @@ export interface UpwardFilesFetcherSync extends Function {
* @param startPath The start path of the upward traversal.
* @returns An iterable over the upward files.
*/
// tslint:disable-next-line:unified-signatures
(startPath: string): Iterable<string>;

/**
Expand All @@ -508,7 +496,6 @@ export interface UpwardFilesFetcherSync extends Function {
* start path is zero. This value should be greater than or equal to one.
* @returns An iterable over the upward files.
*/
// tslint:disable-next-line:unified-signatures
(startPath: string, maximumHeight: number): Iterable<string>;

/**
Expand All @@ -525,7 +512,6 @@ export interface UpwardFilesFetcherSync extends Function {
* directories have been read.
* @returns An iterable over the upward files.
*/
// tslint:disable-next-line:unified-signatures
(startPath: string, endDirectory: string): Iterable<string>;
}

Expand Down
5 changes: 1 addition & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@
"lib": ["esnext"],
"target": "esnext",
"outDir": "./lib",
"typeRoots": ["./node_modules/@types"],
"alwaysStrict": true,
"declaration": true,
"declarationMap": true,
"composite": true,
"noImplicitAny": false,
"downlevelIteration": true,
"listFiles": true,
"listEmittedFiles": true,
"pretty": true
"listEmittedFiles": true
}
}

0 comments on commit 0b0aaf9

Please sign in to comment.