Skip to content

Upgrade [email protected] #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"fs-tree-diff": "^0.5.7",
"heimdalljs": "0.3.3",
"md5-hex": "^2.0.0",
"typescript": "~3.2.1",
"typescript": "~3.5.3",
"walk-sync": "^0.3.2"
},
"devDependencies": {
Expand Down
10 changes: 8 additions & 2 deletions src/compiler/create-parse-config-host.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ export default function createParseConfigHost(
return input.getFileSystemEntries(path);
}

function realpath(path: string): string {
return input.realpath(path) || path;
}

function readDirectory(
rootDir: string,
extensions: ReadonlyArray<string>,
Expand All @@ -26,7 +30,8 @@ export default function createParseConfigHost(
useCaseSensitiveFileNames,
workingPath,
depth,
getFileSystemEntries
getFileSystemEntries,
realpath
);
}

Expand Down Expand Up @@ -60,6 +65,7 @@ declare module "typescript" {
useCaseSensitiveFileNames: boolean,
currentDirectory: string,
depth: number | undefined,
getFileSystemEntries: (path: string) => FileSystemEntries
getFileSystemEntries: (path: string) => FileSystemEntries,
realpath: (path: string) => string,
): string[];
}
27 changes: 25 additions & 2 deletions src/generated/typescript-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ export interface CompilerOptionsDefinition {
* Only emit '.d.ts' declaration files.
*/
emitDeclarationOnly?: boolean;
/**
* Enable incremental compilation.
*/
incremental?: boolean;
/**
* Specify file to store incremental compilation information.
*/
tsBuildInfoFile?: string;
/**
* Emit a single file with source maps instead of having a separate file.
*/
Expand Down Expand Up @@ -184,10 +192,10 @@ export interface CompilerOptionsDefinition {
*/
stripInternal?: boolean;
/**
* Specify ECMAScript target version. Permitted values are 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018' or 'esnext'.
* Specify ECMAScript target version. Permitted values are 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020' or 'esnext'.
*/
target?:
| ("es3" | "es5" | "es6" | "es2015" | "es2016" | "es2017" | "es2018" | "esnext")
| ("es3" | "es5" | "es6" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "esnext")
| {
[k: string]: any;
};
Expand Down Expand Up @@ -302,10 +310,13 @@ export interface CompilerOptionsDefinition {
| "es2016"
| "es2017"
| "es2018"
| "es2019"
| "es2020"
| "esnext"
| "dom"
| "dom.iterable"
| "webworker"
| "webworker.importscripts"
| "scripthost"
| "es2015.core"
| "es2015.collection"
Expand All @@ -322,11 +333,19 @@ export interface CompilerOptionsDefinition {
| "es2017.sharedmemory"
| "es2017.string"
| "es2017.typedarrays"
| "es2018.asynciterable"
| "es2018.intl"
| "es2018.promise"
| "es2018.regexp"
| "es2019.array"
| "es2019.object"
| "es2019.string"
| "es2019.symbol"
| "es2020.string"
| "es2020.symbol.wellknown"
| "esnext.asynciterable"
| "esnext.array"
| "esnext.bigint"
| "esnext.intl"
| "esnext.symbol")[];
/**
Expand Down Expand Up @@ -377,6 +396,10 @@ export interface CompilerOptionsDefinition {
* Emit '__importStar' and '__importDefault' helpers for runtime babel ecosystem compatibility and enable '--allowSyntheticDefaultImports' for typesystem compatibility. Requires TypeScript version 2.7 or later.
*/
esModuleInterop?: boolean;
/**
* Allow accessing UMD globals from modules.
*/
allowUmdGlobalAccess?: boolean;
/**
* Resolve 'keyof' to string valued property names only (no numbers or symbols). Requires TypeScript version 2.9 or later.
*/
Expand Down
2 changes: 1 addition & 1 deletion vendor/typescript
Submodule typescript updated 3258 files
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2532,10 +2532,10 @@ tsutils@^2.27.2:
dependencies:
tslib "^1.8.1"

typescript@~3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.1.tgz#0b7a04b8cf3868188de914d9568bd030f0c56192"
integrity sha512-jw7P2z/h6aPT4AENXDGjcfHTu5CSqzsbZc6YlUIebTyBAq8XaKp78x7VcSh30xwSCcsu5irZkYZUSFP1MrAMbg==
typescript@~3.5.0:
version "3.5.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.3.tgz#c830f657f93f1ea846819e929092f5fe5983e977"
integrity sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g==

uglify-js@^2.6:
version "2.8.29"
Expand Down