-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add initial setup for config, GraphQL, Prisma, TypeScript, ESLint and Jest #1
Conversation
theskumar
commented
May 17, 2022
•
edited
Loading
edited
- Prisma setup
- GraphQL setup
|
Added `tsc --noEmit` validation - attempts to compile TypeScript without emitting files. Cache npm modules for GitHub actions. Updated `npm install` to `npm ci` - CI specific npm install command.
- Updated tsconfig.json - Removed the need for merging configs. - Removed environment specific config - should be done via .env files - Updated .env.sample - Updated server & graphql files
- Removed manual cache action. - Updated checkout & setup-node to v3.
@theskumar this should be good to go in now. Outstanding points covered in issues. |
|
||
datasource db { | ||
provider = "postgresql" | ||
url = env("DATABASE_URL") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible we can pull this from the central config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed on slack - this is needed here for npx prisma ...
commands. I've added some config improvements here though - 842232b
- Renamed Prisma client - client.ts => prisma-client.ts for explicit naming. - Added config types.