From b8ab3376bad26f5f237b1c92a950308b8683cb1e Mon Sep 17 00:00:00 2001 From: Marc-Antoine Ouimet Date: Thu, 2 Apr 2020 21:37:56 -0400 Subject: [PATCH] v1.1.2 Update development dependencies --- .travis.yml | 14 ++++---------- package.json | 2 +- src/directories.ts | 12 ------------ src/files.ts | 14 -------------- tsconfig.json | 5 +---- 5 files changed, 6 insertions(+), 41 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4bd7cdc..ce8cfb9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: node_js node_js: -- "10" +- "lts/*" os: - linux @@ -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 @@ -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 @@ -49,21 +43,21 @@ jobs: - provider: pages github_token: $GITHUB_TOKEN local_dir: ./doc/ + skip_cleanup: true keep_history: true - cleanup: false on: tags: true - provider: releases api_key: $GITHUB_TOKEN + skip_cleanup: true 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 + skip_cleanup: true on: tags: true diff --git a/package.json b/package.json index bf513a4..ffcd39f 100644 --- a/package.json +++ b/package.json @@ -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 ", diff --git a/src/directories.ts b/src/directories.ts index 134b36e..56c6a0f 100644 --- a/src/directories.ts +++ b/src/directories.ts @@ -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; /** @@ -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; /** @@ -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; } @@ -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; /** @@ -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; /** @@ -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; } @@ -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; /** @@ -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; /** @@ -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; } @@ -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; /** @@ -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; /** @@ -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; } diff --git a/src/files.ts b/src/files.ts index 0260e18..ad326db 100644 --- a/src/files.ts +++ b/src/files.ts @@ -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; /** @@ -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; /** @@ -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; } @@ -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; /** @@ -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; /** @@ -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; } @@ -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; /** @@ -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; /** @@ -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; /** @@ -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; } @@ -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; /** @@ -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; /** @@ -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; /** @@ -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; } diff --git a/tsconfig.json b/tsconfig.json index 37d0a69..f7d397b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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 } }