File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11# plugin-typescript
2- A typescript plugin for db-migrate.
2+ A TypeScript plugin for db-migrate.
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ module.exports = {
66
77 'migrator:migration:hook:require' : function ( ) {
88
9- // We use ts-node because the official typescript module does not implement the register() method
10- require ( 'ts-node' ) . register ( ) ;
9+ // We use ts-node because the official TypeScript module does not implement the register() method
10+ require ( 'ts-node/ register' ) ;
1111
1212 /**
13- * Return value of this hook can be both, pure value or a promise .
13+ * Return value of this hook can be either a pure value or a Promise .
1414 */
1515 return {
1616 extensions : 'ts'
Original file line number Diff line number Diff line change 11{
22 "name" : " db-migrate-plugin-typescript" ,
33 "version" : " 1.0.1" ,
4- "description" : " A db-migrate plugin to enable Typescript style migrations." ,
4+ "description" : " A db-migrate plugin to enable TypeScript style migrations." ,
55 "main" : " index.js" ,
66 "dependencies" : {
7- "ts-node" : " ^1. 3.0"
7+ "ts-node" : " ^3.0.2 "
88 },
99 "devDependencies" : {},
1010 "scripts" : {
You can’t perform that action at this time.
0 commit comments