Skip to content

Commit fa36640

Browse files
committed
Merge branch 'master' into multiple-jsx-factories
2 parents 52a6f22 + 1c3e484 commit fa36640

File tree

1,785 files changed

+130299
-71570
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,785 files changed

+130299
-71570
lines changed

.circleci/config.yml

+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
workflows:
2+
version: 2
3+
main:
4+
jobs:
5+
- node9:
6+
filters:
7+
branches:
8+
only:
9+
- master
10+
- release-2.5
11+
- release-2.6
12+
- release-2.7
13+
- node8:
14+
filters:
15+
branches:
16+
only:
17+
- master
18+
- release-2.5
19+
- release-2.6
20+
- release-2.7
21+
- node6:
22+
filters:
23+
branches:
24+
only:
25+
- master
26+
- release-2.5
27+
- release-2.6
28+
- release-2.7
29+
nightly:
30+
triggers:
31+
- schedule:
32+
cron: "0 8 * * *"
33+
filters:
34+
branches:
35+
only: master
36+
jobs:
37+
- node9:
38+
filters:
39+
branches:
40+
only:
41+
- master
42+
- release-2.5
43+
- release-2.6
44+
- release-2.7
45+
context: nightlies
46+
- node8:
47+
filters:
48+
branches:
49+
only:
50+
- master
51+
- release-2.5
52+
- release-2.6
53+
- release-2.7
54+
context: nightlies
55+
- node6:
56+
filters:
57+
branches:
58+
only:
59+
- master
60+
- release-2.5
61+
- release-2.6
62+
- release-2.7
63+
context: nightlies
64+
65+
base: &base
66+
environment:
67+
- workerCount: 4
68+
steps:
69+
- checkout
70+
- run: |
71+
npm uninstall typescript --no-save
72+
npm uninstall tslint --no-save
73+
npm install
74+
#npm update Appeared in Jenkins only
75+
npm test
76+
77+
version: 2
78+
jobs:
79+
node9:
80+
docker:
81+
- image: circleci/node:9
82+
<<: *base
83+
node8:
84+
docker:
85+
- image: circleci/node:8
86+
<<: *base
87+
node6:
88+
docker:
89+
- image: circleci/node:6
90+
<<: *base

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ scripts/word2md.js
3939
scripts/buildProtocol.js
4040
scripts/ior.js
4141
scripts/authors.js
42-
scripts/configureNightly.js
42+
scripts/configurePrerelease.js
4343
scripts/processDiagnosticMessages.d.ts
4444
scripts/processDiagnosticMessages.js
4545
scripts/importDefinitelyTypedTests/importDefinitelyTypedTests.js

.mailmap

+31-2
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Mike Busyrev <busyrev@gmail.com>
140140
Mine Starks <minestarks@users.noreply.github.com> Mine Starks <mineyalc@microsoft.com>
141141
Mohamed Hegazy <mhegazy@microsoft.com>
142142
ncoley <nrcoley@gmail.com> # Natalie Coley
143-
Nathan Shively-Sanders <nathansa@microsoft.com>
143+
Nathan Shively-Sanders <nathansa@microsoft.com> Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
144144
Nathan Yee <ny.nathan.yee@gmail.com>
145145
Nima Zahedi <nima.zahedee@gmail.com>
146146
Noah Chen <nchen@palantir.com>
@@ -287,4 +287,33 @@ Stas Vilchik <stas.vilchik@sonarsource.com>
287287
Taras Mankovski <tarasm@gmail.com>
288288
Thomas den Hollander <ThomasdenH@users.noreply.github.com>
289289
Vakhurin Sergey <igelbox@gmail.com>
290-
Zeeshan Ahmed <ziishaned@gmail.com>
290+
Zeeshan Ahmed <ziishaned@gmail.com>
291+
Orta <orta.therox+github@gmail.com> # Orta Therox
292+
IdeaHunter <admin@fckn.me> # @IdeaHunter
293+
kujon <jakub.korzeniowski@gmail.com> # Jakub Korzeniowski
294+
Matt <begincalendar@users.noreply.github.com> # @begincalendar
295+
meyer <github.com@meyer.fm> # @meyer
296+
micbou <contact@micbou.com> # @micbou
297+
Alan Agius <alan.agius4@gmail.com>
298+
Alex Khomchenko <akhomchenko@gmail.com>
299+
Oussama Ben Brahim <benbraou@gmail.com> benbraou <benbraou@users.noreply.github.com>
300+
Cameron Taggart <cameron.taggart@gmail.com>
301+
Eugene Timokhov <timocov@gmail.com>
302+
Kris Zyp <kriszyp@gmail.com>
303+
Jing Ma <mjingm87@qq.com>
304+
Martin Hiller <martin.hiller88@gmail.com>
305+
Mike Morearty <mmorearty@users.noreply.github.com>
306+
Priyantha Lankapura <403912+lankaapura@users.noreply.github.com>
307+
Remo H. Jansen <remo.jansen@wolksoftware.com>
308+
Sean Barag <sjbarag@gmail.com>
309+
Sharon Rolel <sharonrolel@gmail.com>
310+
Stanislav Iliev <gigobest2@gmail.com>
311+
Wenlu Wang <805037171@163.com> wenlu.wang <805037171@163.com> kingwl <805037171@163.com>
312+
Wilson Hobbs <wilsonhobbs1@gmail.com>
313+
Yuval Greenfield <ubershmekel@gmail.com>
314+
Daniel <nieltg@users.noreply.github.com> # @nieltg
315+
Adnan Chowdhury <bttf@users.noreply.github.com>
316+
Esakki Raj <esakkiraj.tce@gmail.com>
317+
Jack Williams <jw@jackw.io>
318+
Philippe Voinov <philippevoinov@gmail.com>
319+
Stephan Ginthör <26004708+Lazarus535@users.noreply.github.com>

.npmignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ Jakefile.js
1818
.settings/
1919
.travis.yml
2020
.vscode/
21-
test.config
21+
test.config
22+
package-lock.json

AUTHORS.md

+29
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@ TypeScript is authored by:
33
* Abubaker Bashir
44
* Adam Freidin
55
* Adi Dahiya
6+
* Adnan Chowdhury
67
* Adrian Leonhard
78
* Ahmad Farid
89
* Akshar Patel
10+
* Alan Agius
911
* Alex Chugaev
1012
* Alex Eagle
13+
* Alex Khomchenko
1114
* Alexander Kuvaev
1215
* Alexander Rusakov
1316
* Ali Sabzevari
@@ -34,6 +37,7 @@ TypeScript is authored by:
3437
* Asad Saeeduddin
3538
* Avery Morin
3639
* Basarat Ali Syed
40+
* @begincalendar
3741
* Ben Duffield
3842
* Ben Mosher
3943
* Benjamin Bock
@@ -47,6 +51,7 @@ TypeScript is authored by:
4751
* Brett Mayen
4852
* Bryan Forbes
4953
* Caitlin Potter
54+
* Cameron Taggart
5055
* @cedvdb
5156
* Charles Pierce
5257
* Charly POLY
@@ -83,8 +88,10 @@ TypeScript is authored by:
8388
* Eric Tsang
8489
* Erik Edrosa
8590
* Erik McClenney
91+
* Esakki Raj
8692
* Ethan Resnick
8793
* Ethan Rubio
94+
* Eugene Timokhov
8895
* Evan Martin
8996
* Evan Sebastian
9097
* Eyas Sharaiha
@@ -111,13 +118,16 @@ TypeScript is authored by:
111118
* Herrington Darkholme
112119
* Homa Wong
113120
* Iain Monro
121+
* @IdeaHunter
114122
* Igor Novozhilov
115123
* Ika
116124
* Ingvar Stepanyan
117125
* Isiah Meadows
118126
* Ivan Enderlin
119127
* Ivo Gabe de Wolff
120128
* Iwata Hidetaka
129+
* Jack Williams
130+
* Jakub Korzeniowski
121131
* Jakub Młokosiewicz
122132
* James Henry
123133
* James Whitney
@@ -130,6 +140,7 @@ TypeScript is authored by:
130140
* Jed Mao
131141
* Jeffrey Morlan
132142
* Jesse Schalken
143+
* Jing Ma
133144
* Jiri Tobisek
134145
* Joe Calzaretta
135146
* Joe Chung
@@ -160,6 +171,7 @@ TypeScript is authored by:
160171
* Kevin Lang
161172
* Kitson Kelly
162173
* Klaus Meinhardt
174+
* Kris Zyp
163175
* Kyle Kelley
164176
* Kārlis Gaņģis
165177
* Lorant Pinter
@@ -170,6 +182,7 @@ TypeScript is authored by:
170182
* Manish Giri
171183
* Marin Marinov
172184
* Marius Schulz
185+
* Martin Hiller
173186
* Martin Vseticka
174187
* Masahiro Wakame
175188
* Matt Bierner
@@ -179,10 +192,13 @@ TypeScript is authored by:
179192
* Mattias Buelens
180193
* Max Deepfield
181194
* Maxwell Paul Brickner
195+
* @meyer
182196
* Micah Zoltu
197+
* @micbou
183198
* Michael
184199
* Michael Bromley
185200
* Mike Busyrev
201+
* Mike Morearty
186202
* Mine Starks
187203
* Mohamed Hegazy
188204
* Mohsen Azimi
@@ -191,14 +207,17 @@ TypeScript is authored by:
191207
* Nathan Shively-Sanders
192208
* Nathan Yee
193209
* Nicolas Henry
210+
* @nieltg
194211
* Nima Zahedi
195212
* Noah Chen
196213
* Noel Varanda
197214
* Noj Vek
198215
* Oleg Mihailik
199216
* Oleksandr Chekhovskyi
200217
* Omer Sheikh
218+
* Orta Therox
201219
* Oskar Segersva¨rd
220+
* Oussama Ben Brahim
202221
* Patrick Zhong
203222
* Paul Jolly
204223
* Paul van Brenk
@@ -207,14 +226,17 @@ TypeScript is authored by:
207226
* Perry Jiang
208227
* Peter Burns
209228
* Philip Bulley
229+
* Philippe Voinov
210230
* Piero Cangianiello
211231
* @piloopin
212232
* Prayag Verma
233+
* Priyantha Lankapura
213234
* @progre
214235
* Punya Biswal
215236
* Rado Kirov
216237
* Raj Dosanjh
217238
* Reiner Dolp
239+
* Remo H. Jansen
218240
* Richard Karmazín
219241
* Richard Knoll
220242
* Richard Sentino
@@ -227,8 +249,10 @@ TypeScript is authored by:
227249
* Ryohei Ikegami
228250
* Sam El-Husseini
229251
* Sarangan Rajamanickam
252+
* Sean Barag
230253
* Sergey Rubanov
231254
* Sergey Shandar
255+
* Sharon Rolel
232256
* Sheetal Nandi
233257
* Shengping Zhong
234258
* Shyyko Serhiy
@@ -237,8 +261,10 @@ TypeScript is authored by:
237261
* Solal Pirelli
238262
* Soo Jae Hwang
239263
* Stan Thomas
264+
* Stanislav Iliev
240265
* Stanislav Sysoev
241266
* Stas Vilchik
267+
* Stephan Ginthör
242268
* Steve Lucco
243269
* Sudheesh Singanamalla
244270
* Sébastien Arod
@@ -268,11 +294,14 @@ TypeScript is authored by:
268294
* Vilic Vane
269295
* Vladimir Kurchatkin
270296
* Vladimir Matveev
297+
* Wenlu Wang
271298
* Wesley Wigham
272299
* William Orr
300+
* Wilson Hobbs
273301
* York Yao
274302
* @yortus
275303
* Yuichi Nukiyama
304+
* Yuval Greenfield
276305
* Zeeshan Ahmed
277306
* Zev Spitz
278307
* Zhengbo Li

Gulpfile.ts

+6-10
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ const cmdLineOptions = minimist(process.argv.slice(2), {
5353
"ru": "runners", "runner": "runners",
5454
"r": "reporter",
5555
"c": "colors", "color": "colors",
56-
"f": "files", "file": "files",
5756
"w": "workers",
5857
},
5958
default: {
@@ -69,7 +68,6 @@ const cmdLineOptions = minimist(process.argv.slice(2), {
6968
light: process.env.light === undefined || process.env.light !== "false",
7069
reporter: process.env.reporter || process.env.r,
7170
lint: process.env.lint || true,
72-
files: process.env.f || process.env.file || process.env.files || "",
7371
workers: process.env.workerCount || os.cpus().length,
7472
}
7573
});
@@ -528,7 +526,7 @@ gulp.task(tsserverLibraryFile, /*help*/ false, [servicesFile, typesMapJson], (do
528526
const serverLibraryProject = tsc.createProject("src/server/tsconfig.library.json", getCompilerSettings({ removeComments: false }, /*useBuiltCompiler*/ true));
529527
const {js, dts}: { js: NodeJS.ReadableStream, dts: NodeJS.ReadableStream } = serverLibraryProject.src()
530528
.pipe(sourcemaps.init())
531-
.pipe(newer(tsserverLibraryFile))
529+
.pipe(newer(<any>{ dest: tsserverLibraryFile, extra: ["src/compiler/**/*.ts", "src/services/**/*.ts"] }))
532530
.pipe(serverLibraryProject());
533531

534532
return merge2([
@@ -1112,13 +1110,11 @@ function spawnLintWorker(files: {path: string}[], callback: (failures: number) =
11121110

11131111
gulp.task("lint", "Runs tslint on the compiler sources. Optional arguments are: --f[iles]=regex", ["build-rules"], () => {
11141112
if (fold.isTravis()) console.log(fold.start("lint"));
1115-
const fileMatcher = cmdLineOptions.files;
1116-
const files = fileMatcher
1117-
? `src/**/${fileMatcher}`
1118-
: "Gulpfile.ts 'scripts/generateLocalizedDiagnosticMessages.ts' 'scripts/tslint/**/*.ts' 'src/**/*.ts' --exclude 'src/lib/*.d.ts'";
1119-
const cmd = `node node_modules/tslint/bin/tslint ${files} --formatters-dir ./built/local/tslint/formatters --format autolinkableStylish`;
1120-
console.log("Linting: " + cmd);
1121-
child_process.execSync(cmd, { stdio: [0, 1, 2] });
1113+
for (const project of ["scripts/tslint/tsconfig.json", "src/tsconfig-base.json"]) {
1114+
const cmd = `node node_modules/tslint/bin/tslint --project ${project} --formatters-dir ./built/local/tslint/formatters --format autolinkableStylish`;
1115+
console.log("Linting: " + cmd);
1116+
child_process.execSync(cmd, { stdio: [0, 1, 2] });
1117+
}
11221118
if (fold.isTravis()) console.log(fold.end("lint"));
11231119
});
11241120

0 commit comments

Comments
 (0)