1
0
Эх сурвалжийг харах

This repository's changelog is the truth

Alex Dima 8 жил өмнө
parent
commit
f635a90223
2 өөрчлөгдсөн 3 нэмэгдсэн , 7 устгасан
  1. 1 0
      CHANGELOG.md
  2. 2 7
      gulpfile.js

+ 1 - 0
CHANGELOG.md

@@ -6,6 +6,7 @@
   - exposed API to get to the underlying language service.
   - fixed a bug that prevented modifying `extraLibs`.
 - Multiple improvements/bugfixes to the `css`, `less`, `scss` and `json` language services.
+- Added support for ATS/Postiats.
 
 ### API changes:
   - settings:

+ 2 - 7
gulpfile.js

@@ -31,23 +31,18 @@ gulp.task('release', ['clean-release'], function() {
 			}))
 			.pipe(gulp.dest('release')),
 
+		gulp.src('CHANGELOG.md'),
+
 		// min-maps folder
 		gulp.src('node_modules/monaco-editor-core/min-maps/**/*').pipe(gulp.dest('release/min-maps')),
 
 		// other files
 		gulp.src([
 			'node_modules/monaco-editor-core/LICENSE',
-			'node_modules/monaco-editor-core/CHANGELOG.md',
 			'node_modules/monaco-editor-core/monaco.d.ts',
 			'node_modules/monaco-editor-core/ThirdPartyNotices.txt',
 			'README.md'
 		])
-		.pipe(es.through(function(data) {
-			if (/CHANGELOG\.md$/.test(data.path)) {
-				fs.writeFileSync('CHANGELOG.md', data.contents);
-			}
-			this.emit('data', data);
-		}))
 		.pipe(addPluginDTS())
 		.pipe(addPluginThirdPartyNotices())
 		.pipe(gulp.dest('release'))