Skip to content

Commit cf55087

Browse files
committed
Fix Gulp build of tsserverlibrary to match Jake.
1 parent 8b44ce2 commit cf55087

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

Gulpfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ gulp.task(tsserverLibraryFile, false, [servicesFile], (done) => {
471471
js.pipe(prependCopyright())
472472
.pipe(sourcemaps.write("."))
473473
.pipe(gulp.dest(".")),
474-
dts.pipe(prependCopyright())
474+
dts.pipe(prependCopyright(/*outputCopyright*/true))
475475
.pipe(insert.transform((content) => {
476476
return content + "\r\nexport = ts;";
477477
}))

Jakefile.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -184,17 +184,17 @@ var servicesSources = [
184184
}));
185185

186186
var baseServerCoreSources = [
187-
"types.ts",
188-
"shared.ts",
189-
"utilities.ts",
190-
"scriptVersionCache.ts",
191-
"typingsCache.ts",
192-
"scriptInfo.ts",
187+
"editorServices.ts",
193188
"lsHost.ts",
194189
"project.ts",
195-
"editorServices.ts",
196190
"protocol.ts",
191+
"scriptInfo.ts",
192+
"scriptVersionCache.ts",
197193
"session.ts",
194+
"shared.ts",
195+
"types.ts",
196+
"typingsCache.ts",
197+
"utilities.ts",
198198
].map(function (f) {
199199
return path.join(serverDirectory, f);
200200
});

src/server/tsconfig.library.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
"compilerOptions": {
33
"noImplicitAny": true,
44
"noImplicitThis": true,
5-
"removeComments": true,
5+
"removeComments": false,
66
"preserveConstEnums": true,
77
"pretty": true,
88
"outFile": "../../built/local/tsserverlibrary.js",
99
"sourceMap": true,
10-
"stripInternal": true,
1110
"types": [
1211
"node"
1312
],
@@ -17,17 +16,18 @@
1716
"declaration": true
1817
},
1918
"files": [
20-
"../services/shims.ts",
21-
"../services/utilities.ts",
22-
"shared.ts",
23-
"utilities.ts",
24-
"scriptVersionCache.ts",
25-
"scriptInfo.ts",
19+
"editorServices.ts",
2620
"lsHost.ts",
27-
"typingsCache.ts",
2821
"project.ts",
29-
"editorServices.ts",
30-
"protocol.ts",
31-
"session.ts"
22+
"protocol.d.ts",
23+
"scriptInfo.ts",
24+
"scriptVersionCache.ts",
25+
"session.ts",
26+
"shared.ts",
27+
"types.ts",
28+
"typingsCache.ts",
29+
"utilities.ts",
30+
"../services/shims.ts",
31+
"../services/utilities.ts"
3232
]
3333
}

0 commit comments

Comments
 (0)