Skip to content

Commit c0f1f33

Browse files
author
Umed Khudoiberdiev
committed
fixed packaging issues
1 parent 749a5e8 commit c0f1f33

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

gulpfile.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class Gulpfile {
2929
*/
3030
@Task()
3131
compile() {
32-
return gulp.src("*.js", { read: false })
32+
return gulp.src("gulpfile.ts", { read: false })
3333
.pipe(shell(["tsc"]));
3434
}
3535

@@ -42,7 +42,7 @@ export class Gulpfile {
4242
*/
4343
@Task()
4444
npmPublish() {
45-
return gulp.src("*.js", { read: false })
45+
return gulp.src("gulpfile.ts", { read: false })
4646
.pipe(shell([
4747
"cd ./build/package && npm publish"
4848
]));
@@ -53,7 +53,7 @@ export class Gulpfile {
5353
*/
5454
@Task()
5555
packageFiles() {
56-
return gulp.src("./build/es5/src/**/*")
56+
return gulp.src("./build/compiled/src/**/*")
5757
.pipe(gulp.dest("./build/package"));
5858
}
5959

@@ -132,7 +132,7 @@ export class Gulpfile {
132132
unit() {
133133
chai.should();
134134
chai.use(require("sinon-chai"));
135-
return gulp.src("./build/es5/test/unit/**/*.js")
135+
return gulp.src("./build/compiled/test/unit/**/*.js")
136136
.pipe(mocha());
137137
}
138138

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typeorm-typedi-extensions",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Dependancy injection and service container integration with TypeORM using typedi library.",
55
"license": "MIT",
66
"readmeFilename": "README.md",

0 commit comments

Comments
 (0)