@typescript-deploys/pr-build 4.9.0-pr-50528-10 → 4.9.0-pr-49886-16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -53
- package/lib/tsc.js +988 -727
- package/lib/tsserver.js +1090 -763
- package/lib/tsserverlibrary.d.ts +1 -1
- package/lib/tsserverlibrary.js +1090 -763
- package/lib/typescript.d.ts +1 -1
- package/lib/typescript.js +1090 -763
- package/lib/typescriptServices.d.ts +1 -1
- package/lib/typescriptServices.js +1090 -763
- package/lib/typingsInstaller.js +1023 -736
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,59 +46,6 @@ with any additional questions or comments.
|
|
|
46
46
|
* [Programming handbook](https://www.typescriptlang.org/docs/handbook/intro.html)
|
|
47
47
|
* [Homepage](https://www.typescriptlang.org/)
|
|
48
48
|
|
|
49
|
-
## Building
|
|
50
|
-
|
|
51
|
-
In order to build the TypeScript compiler, ensure that you have [Git](https://git-scm.com/downloads) and [Node.js](https://nodejs.org/) installed.
|
|
52
|
-
|
|
53
|
-
Clone a copy of the repo:
|
|
54
|
-
|
|
55
|
-
```bash
|
|
56
|
-
git clone https://github.com/microsoft/TypeScript.git
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
Change to the TypeScript directory:
|
|
60
|
-
|
|
61
|
-
```bash
|
|
62
|
-
cd TypeScript
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
Install [Gulp](https://gulpjs.com/) tools and dev dependencies:
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
npm install -g gulp
|
|
69
|
-
npm ci
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
Use one of the following to build and test:
|
|
73
|
-
|
|
74
|
-
```
|
|
75
|
-
gulp local # Build the compiler into built/local.
|
|
76
|
-
gulp clean # Delete the built compiler.
|
|
77
|
-
gulp LKG # Replace the last known good with the built one.
|
|
78
|
-
# Bootstrapping step to be executed when the built compiler reaches a stable state.
|
|
79
|
-
gulp tests # Build the test infrastructure using the built compiler.
|
|
80
|
-
gulp runtests # Run tests using the built compiler and test infrastructure.
|
|
81
|
-
# You can override the specific suite runner used or specify a test for this command.
|
|
82
|
-
# Use --tests=<testPath> for a specific test and/or --runner=<runnerName> for a specific suite.
|
|
83
|
-
# Valid runners include conformance, compiler, fourslash, project, user, and docker
|
|
84
|
-
# The user and docker runners are extended test suite runners - the user runner
|
|
85
|
-
# works on disk in the tests/cases/user directory, while the docker runner works in containers.
|
|
86
|
-
# You'll need to have the docker executable in your system path for the docker runner to work.
|
|
87
|
-
gulp runtests-parallel # Like runtests, but split across multiple threads. Uses a number of threads equal to the system
|
|
88
|
-
# core count by default. Use --workers=<number> to adjust this.
|
|
89
|
-
gulp baseline-accept # This replaces the baseline test results with the results obtained from gulp runtests.
|
|
90
|
-
gulp lint # Runs eslint on the TypeScript source.
|
|
91
|
-
gulp help # List the above commands.
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
## Usage
|
|
96
|
-
|
|
97
|
-
```bash
|
|
98
|
-
node built/local/tsc.js hello.ts
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
|
|
102
49
|
## Roadmap
|
|
103
50
|
|
|
104
51
|
For details on our planned features and future direction please refer to our [roadmap](https://github.com/microsoft/TypeScript/wiki/Roadmap).
|