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 1
1
# 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 = {
6
6
7
7
'migrator:migration:hook:require' : function ( ) {
8
8
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' ) ;
11
11
12
12
/**
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 .
14
14
*/
15
15
return {
16
16
extensions : 'ts'
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " db-migrate-plugin-typescript" ,
3
3
"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." ,
5
5
"main" : " index.js" ,
6
6
"dependencies" : {
7
- "ts-node" : " ^1. 3.0"
7
+ "ts-node" : " ^3.0.2 "
8
8
},
9
9
"devDependencies" : {},
10
10
"scripts" : {
You can’t perform that action at this time.
0 commit comments