File tree 3 files changed +14
-2
lines changed
3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -35,3 +35,6 @@ jspm_packages
35
35
36
36
# Optional REPL history
37
37
.node_repl_history
38
+
39
+ .idea
40
+ yarn.lock
Original file line number Diff line number Diff line change 1
- # plugin-typescript
1
+ # Plugin-Typescript
2
2
A TypeScript plugin for db-migrate.
3
+
4
+ Usage is very simple. Simply install this plugin via ` npm install db-migrate-plugin-typescript `
5
+ or if using yarn: ` yarn add db-migrate-plugin-typescript `
6
+
7
+ The plugin will automatically resolve and compile any ` .ts ` files in your migrations directory,
8
+ using your regular ` tsconfig.json `
9
+
10
+ Do however note that this has no effect on generating new migrations.
11
+ Using ` db-migrate create FooMigrations.ts ` will not create a TypeScript migration file.
Original file line number Diff line number Diff line change 4
4
"description" : " A db-migrate plugin to enable TypeScript style migrations." ,
5
5
"main" : " index.js" ,
6
6
"dependencies" : {
7
- "ts-node" : " ^3.0.2 "
7
+ "ts-node" : " ^3.3.0 "
8
8
},
9
9
"devDependencies" : {},
10
10
"scripts" : {
You can’t perform that action at this time.
0 commit comments