mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
fixed packaging issue
This commit is contained in:
parent
2bebb8550f
commit
d3fd0fe04c
11
gulpfile.ts
11
gulpfile.ts
@ -231,6 +231,15 @@ export class Gulpfile {
|
||||
.pipe(gulp.dest("./build/package"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Copies package_browser.json into package.json for the typeorm-browser package.
|
||||
*/
|
||||
@Task()
|
||||
packageCopyReadme() {
|
||||
return gulp.src("./README.md")
|
||||
.pipe(gulp.dest("./build/package"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a package that can be published to npm.
|
||||
*/
|
||||
@ -239,7 +248,7 @@ export class Gulpfile {
|
||||
return [
|
||||
"packageCompile",
|
||||
"packageMoveCompiledFiles",
|
||||
["packageClearCompileDirectory", "packageReplaceReferences", "packagePreparePackageFile"],
|
||||
["packageClearCompileDirectory", "packageReplaceReferences", "packagePreparePackageFile", "packageCopyReadme"],
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user