Skip to content

Commit a9a0391

Browse files
authored
Merge pull request #11 from DanielJoyce/patch-1
Change TS Node to peer dependency
2 parents 715efe7 + f9732fc commit a9a0391

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ A TypeScript plugin for db-migrate.
66
Usage is very simple. Simply install this plugin via `npm install db-migrate-plugin-typescript`
77
or if using yarn: `yarn add db-migrate-plugin-typescript`
88

9+
This plugin has a peer dependency on ts-node as well. So you will need to install that as a dependency or dev-dependency as well, `npm install ts-node` or `yarn add ts-node` if using yarn.
10+
911
The plugin will automatically resolve and compile any `.ts` files in your migrations directory,
1012
using your regular `tsconfig.json`
1113

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.1",
44
"description": "A db-migrate plugin to enable TypeScript style migrations.",
55
"main": "index.js",
6-
"dependencies": {
6+
"peerDependencies": {
77
"ts-node": "^3.3.0"
88
},
99
"devDependencies": {},

0 commit comments

Comments
 (0)