Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit bba3a5d

Browse files
author
Enda Phelan
committed
fix(templates): set correct path to index.js
1 parent 4f9ce7c commit bba3a5d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

templates/ts-apollo-mongodb-backend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"version": "1.0.0",
44
"description": "Graphback runtime template with Apollo Server and MongoDb",
55
"private": true,
6-
"main": "dist/src/index.js",
6+
"main": "dist/index.js",
77
"scripts": {
88
"build": "tsc",
99
"develop": "ts-node src/index.ts",
10-
"start": "node dist/src/index.js",
10+
"start": "node dist/index.js",
1111
"watch": "tsc -w",
1212
"generate": "graphback generate && graphql codegen"
1313
},

templates/ts-apollo-mongodb-datasync-backend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"version": "1.0.0",
44
"description": "Graphback with Data Synchronization runtime template with Apollo Server and MongoDb",
55
"private": true,
6-
"main": "dist/src/index.js",
6+
"main": "dist/index.js",
77
"scripts": {
88
"build": "tsc",
99
"develop": "ts-node src/index.ts",
10-
"start": "node dist/src/index.js",
10+
"start": "node dist/index.js",
1111
"watch": "tsc -w",
1212
"generate": "graphback generate && graphql codegen"
1313
},

templates/ts-apollo-postgres-backend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"version": "1.0.0",
44
"description": "Graphback runtime template with Apollo Server and PostgreSQL",
55
"private": true,
6-
"main": "dist/src/index.js",
6+
"main": "dist/index.js",
77
"scripts": {
88
"build": "tsc",
99
"develop": "ts-node src/index.ts",
10-
"start": "node dist/src/index.js",
10+
"start": "node dist/index.js",
1111
"watch": "tsc -w",
1212
"generate": "graphback generate && graphql codegen"
1313
},

0 commit comments

Comments
 (0)