Collapse core/compiler/parser into parser

This commit is contained in:
Ryan Cavanaugh
2018-06-11 17:07:58 -07:00
parent 7553d900fc
commit 066b191982
31 changed files with 472 additions and 3338 deletions

File diff suppressed because it is too large Load Diff

4
scripts/produceLKG.ts Normal file
View File

@@ -0,0 +1,4 @@
/// <reference types="node" />
const fs = require('fs');

View File

@@ -3,7 +3,22 @@
"compilerOptions": {
"outFile": "../../built/local/compiler.js"
},
"references": [],
"files": [
"core.ts",
"performance.ts",
"types.ts",
"sys.ts",
"diagnosticInformationMap.generated.ts",
"scanner.ts",
"utilities.ts",
"parser.ts",
"commandLineParser.ts",
"moduleNameResolver.ts",
"binder.ts",
"symbolWalker.ts",
"checker.ts",
@@ -36,9 +51,5 @@
"moduleSpecifiers.ts",
"watch.ts",
"tsbuild.ts"
],
"references": [
{ "path": "../core" },
{ "path": "../parser" }
]
}

View File

@@ -1,11 +0,0 @@
{
"extends": "../tsconfig-base",
"compilerOptions": {
"outFile": "../../built/local/core.js"
},
"files": [
"performance.ts",
"core.ts"
],
"references": [ ]
}

View File

@@ -11,8 +11,6 @@
]
},
"references": [
{ "path": "../core" },
{ "path": "../parser" },
{ "path": "../compiler" },
{ "path": "../services" },
{ "path": "../jsTyping" },

View File

@@ -11,8 +11,7 @@
]
},
"references": [
{ "path": "../core" },
{ "path": "../parser" }
{ "path": "../compiler" }
],
"files": [
"shared.ts",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,19 +0,0 @@
{
"extends": "../tsconfig-base",
"compilerOptions": {
"outFile": "../../built/local/parser.js"
},
"files": [
"types.ts",
"sys.ts",
"diagnosticInformationMap.generated.ts",
"scanner.ts",
"utilities.ts",
"parser.ts",
"commandLineParser.ts",
"moduleNameResolver.ts"
],
"references": [
{ "path": "../core" }
]
}

View File

@@ -9,8 +9,6 @@
]
},
"references": [
{ "path": "../core" },
{ "path": "../parser" },
{ "path": "../compiler" },
{ "path": "../jsTyping" },
{ "path": "../services" }

View File

@@ -4,10 +4,8 @@
"outFile": "../../built/local/services.js"
},
"references": [
{ "path": "../core" },
{ "path": "../parser" },
{ "path": "../compiler" },
{ "path": "../jsTyping" },
{ "path": "../jsTyping" }
],
"files": [
"types.ts",

View File

@@ -14,8 +14,6 @@
]
},
"references": [
{ "path": "../core", "prepend": true },
{ "path": "../parser", "prepend": true },
{ "path": "../compiler", "prepend": true },
{ "path": "../services", "prepend": true },
{ "path": "../jsTyping", "prepend": true },

View File

@@ -7,8 +7,6 @@
"tsc.ts"
],
"references": [
{ "path": "../core", "prepend": true },
{ "path": "../parser", "prepend": true },
{ "path": "../compiler", "prepend": true }
]
}

View File

@@ -4,7 +4,6 @@
"references": [
{ "path": "./tsc" },
{ "path": "./tsserver" },
{ "path": "./tsserverLibrary" },
{ "path": "./typingsInstaller" },
{ "path": "./watchGuard" },
{ "path": "./cancellationToken" },

View File

@@ -11,8 +11,6 @@
"server.ts"
],
"references": [
{ "path": "../core", "prepend": true },
{ "path": "../parser", "prepend": true },
{ "path": "../compiler", "prepend": true },
{ "path": "../services", "prepend": true },
{ "path": "../jsTyping", "prepend": true },

View File

@@ -1 +0,0 @@
// Workaround file, please delete once tsbuild understands it's not safe to skip this container

View File

@@ -1,19 +0,0 @@
{
"extends": "../tsconfig-base",
"compilerOptions": {
"outFile": "../../built/local/tsserverlibrary.js",
"types": [
"node"
]
},
"files": ["empty.ts"],
"references": [
{ "path": "../core", "prepend": true },
{ "path": "../parser", "prepend": true },
{ "path": "../compiler", "prepend": true },
{ "path": "../services", "prepend": true },
{ "path": "../jsTyping", "prepend": true },
{ "path": "../server", "prepend": true }
]
}

View File

@@ -1 +0,0 @@
// Delete soon

View File

@@ -1,20 +0,0 @@
{
"extends": "../tsconfig-base",
"compilerOptions": {
"outFile": "../../built/local/typescriptServices.js",
"types": [
"node"
]
},
"files": [
"empty.ts"
],
"references": [
{ "path": "../core", "prepend": true },
{ "path": "../parser", "prepend": true },
{ "path": "../compiler", "prepend": true },
{ "path": "../jsTyping", "prepend": true },
{ "path": "../services", "prepend": true },
]
}

View File

@@ -12,8 +12,7 @@
]
},
"references": [
{ "path": "../core", "prepend": true },
{ "path": "../parser", "prepend": true },
{ "path": "../compiler", "prepend": true },
{ "path": "../jsTyping", "prepend": true },
{ "path": "../typingsInstallerCore", "prepend": true }
],

View File

@@ -11,8 +11,7 @@
]
},
"references": [
{ "path": "../core" },
{ "path": "../parser" },
{ "path": "../compiler" },
{ "path": "../jsTyping" }
],
"files": [