Skip to content

Commit

Permalink
Add TS as peer dependency for CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
adelsz committed Sep 29, 2019
1 parent f48fa84 commit 368ddde
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const result = await insertUsers(usersToInsert, connection);

### Getting started:

1. `npm install @pgtyped/cli @pgtyped/query`
1. `npm install @pgtyped/cli @pgtyped/query typescript`
2. Create a config file for the type generator
3. `npx pgtyped`

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@
"@types/debug": "^4.1.5",
"@types/glob": "^7.1.1",
"@types/minimist": "^1.2.0"
},
"peerDependencies": {
"typescript": "^3.1"
}
}
7 changes: 6 additions & 1 deletion packages/example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"check": "tsc --noEmit"
},
"dependencies": {
"typescript": "^3.1",
"@pgtyped/cli": "^0.1.0",
"@pgtyped/query": "^0.1.0",
"@types/pg": "^7.11.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/query/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/wire/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 368ddde

Please sign in to comment.