Skip to content

Commit

Permalink
chore(examples): lots of changes to examples (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
goldcaddy77 authored Jan 15, 2019
1 parent 938d602 commit 51b76cc
Show file tree
Hide file tree
Showing 40 changed files with 6,131 additions and 38 deletions.
4 changes: 4 additions & 0 deletions examples/1-simple-model/nodemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"verbose": true,
"ignore": ["dist/*", "generated/*"]
}
4 changes: 3 additions & 1 deletion examples/1-simple-model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"db:drop": "dropdbjs $(dotenv -p TYPEORM_DATABASE) 2>&1 || :",
"playground:open": "open http://localhost:$(dotenv -p APP_PORT)/graphql",
"start": "npm-run-all --parallel start:ts playground:open",
"start:ts": "ts-node --type-check src/index.ts"
"start:ts": "ts-node --type-check src/index.ts",
"watch:ts": "nodemon -e ts,graphql -x ts-node --type-check src/index.ts"
},
"dependencies": {
"pgtools": "^0.3.0",
Expand All @@ -24,6 +25,7 @@
"dotenv-cli": "^1.4.0",
"faker": "^4.1.0",
"jest": "^23.6.0",
"nodemon": "^1.18.9",
"npm-run-all": "^4.1.5",
"ts-jest": "^23.10.5",
"ts-node": "^7.0.1"
Expand Down
1 change: 1 addition & 0 deletions examples/1-simple-model/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"noUnusedLocals": false, // Avoid noise in our resolvers when we use DI
"strict": true,
"strictNullChecks": true,
"strictPropertyInitialization": false,
"types": ["jest", "isomorphic-fetch", "node"]
},
"include": ["src/**/*"],
Expand Down
Loading

0 comments on commit 51b76cc

Please sign in to comment.