Skip to content

Commit 0ba511c

Browse files
committed
style: run prettier and add newline at eof
1 parent ee2c727 commit 0ba511c

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.env.example

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1+
# rename file to .env
12
DATABASE_URL=postgres://prisma:prisma@localhost:5432/hackernews-db
2-
3-
# rename file to .env

.github/workflows/deployment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ jobs:
2020
with:
2121
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
2222
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
23-
heroku_email: ${{ secrets.HEROKU_EMAIL }}
23+
heroku_email: ${{ secrets.HEROKU_EMAIL }}
24+

docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ services:
1515
- '5432:5432'
1616

1717
volumes:
18-
postgres:
18+
postgres:
19+

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import { context } from "./context";
77
export const server = new ApolloServer({
88
schema,
99
context,
10-
introspection: true,
11-
plugins: [ApolloServerPluginLandingPageLocalDefault()],
10+
introspection: true,
11+
plugins: [ApolloServerPluginLandingPageLocalDefault()],
1212
});
1313

14-
const port = process.env.PORT || 3000;
14+
const port = process.env.PORT || 3000;
1515

1616
server.listen({ port }).then(({ url }) => {
1717
console.log(`🚀 Server ready at ${url}`);

src/schema.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { makeSchema } from "nexus";
22
import { join } from "path";
33
import * as types from "./graphql";
44

5-
65
export const schema = makeSchema({
76
types,
87
outputs: {
@@ -13,4 +12,4 @@ export const schema = makeSchema({
1312
module: join(process.cwd(), "./src/context.ts"),
1413
export: "Context",
1514
},
16-
});
15+
});

0 commit comments

Comments
 (0)