@file-services/typescript
Advanced tools
Comparing version 0.2.4 to 0.3.0
@@ -8,2 +8,3 @@ import ts from 'typescript'; | ||
export interface IBaseHost extends ts.ParseConfigHost, ts.FormatDiagnosticsHost, ts.ModuleResolutionHost { | ||
readDirectory(path: string, extensions?: ReadonlyArray<string>, exclude?: ReadonlyArray<string>, include?: ReadonlyArray<string>, depth?: number): string[]; | ||
getCurrentDirectory(): string; | ||
@@ -10,0 +11,0 @@ directoryExists(directoryPath: string): boolean; |
@@ -8,2 +8,3 @@ import ts from 'typescript'; | ||
export interface IBaseHost extends ts.ParseConfigHost, ts.FormatDiagnosticsHost, ts.ModuleResolutionHost { | ||
readDirectory(path: string, extensions?: ReadonlyArray<string>, exclude?: ReadonlyArray<string>, include?: ReadonlyArray<string>, depth?: number): string[]; | ||
getCurrentDirectory(): string; | ||
@@ -10,0 +11,0 @@ directoryExists(directoryPath: string): boolean; |
{ | ||
"name": "@file-services/typescript", | ||
"description": "Helpers for creation of TypeScript hosts", | ||
"version": "0.2.4", | ||
"version": "0.3.0", | ||
"main": "cjs/index.js", | ||
@@ -10,9 +10,5 @@ "module": "esm/index.js", | ||
"clean": "rimraf ./cjs ./esm", | ||
"build": "run-p build:cjs build:esm", | ||
"build:cjs": "tsc -p src --outDir cjs --module commonjs", | ||
"build:esm": "tsc -p src --outDir esm --module esnext", | ||
"lint": "run-p lint:src lint:test", | ||
"lint:src": "tslint -p src", | ||
"lint:test": "tslint -p test", | ||
"test": "mocha -r @ts-tools/node \"test/**/*.spec.ts?(x)\" --watch-extensions ts,tsx" | ||
"build": "ts-build ./src --cjs --esm", | ||
"lint": "tslint -p src", | ||
"prepack": "yarn build" | ||
}, | ||
@@ -23,3 +19,3 @@ "peerDependencies": { | ||
"dependencies": { | ||
"@file-services/types": "^0.2.2" | ||
"@file-services/types": "^0.3.0" | ||
}, | ||
@@ -38,3 +34,3 @@ "files": [ | ||
"sideEffects": false, | ||
"gitHead": "3134da9970d72deda9c0003b00e11aaeb54d9b48" | ||
"gitHead": "6203b5b30191f38c522498dfb1a3a31ef42c5cba" | ||
} |
@@ -12,2 +12,9 @@ import ts from 'typescript' | ||
export interface IBaseHost extends ts.ParseConfigHost, ts.FormatDiagnosticsHost, ts.ModuleResolutionHost { | ||
readDirectory( | ||
path: string, | ||
extensions?: ReadonlyArray<string>, | ||
exclude?: ReadonlyArray<string>, | ||
include?: ReadonlyArray<string>, | ||
depth?: number | ||
): string[] | ||
getCurrentDirectory(): string | ||
@@ -14,0 +21,0 @@ directoryExists(directoryPath: string): boolean |
@@ -11,3 +11,4 @@ import ts from 'typescript' | ||
useCaseSensitiveFileNames: boolean, | ||
currentDirectory: string, depth: number | undefined, | ||
currentDirectory: string, | ||
depth: number | undefined, | ||
getFileSystemEntries: (path: string) => FileSystemEntries | ||
@@ -18,4 +19,4 @@ ): string[] | ||
export interface FileSystemEntries { | ||
files: ReadonlyArray<string> | ||
directories: ReadonlyArray<string> | ||
readonly files: ReadonlyArray<string> | ||
readonly directories: ReadonlyArray<string> | ||
} | ||
@@ -22,0 +23,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31600
430
+ Added@file-services/types@0.3.0(transitive)
- Removed@file-services/types@0.2.2(transitive)
Updated@file-services/types@^0.3.0