Skip to content

Commit

Permalink
feat: complete upgrade to v8
Browse files Browse the repository at this point in the history
  • Loading branch information
mplewis committed Oct 5, 2024
1 parent 393b0c9 commit ba81ac9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 98 deletions.
52 changes: 0 additions & 52 deletions api/server.config.js

This file was deleted.

9 changes: 4 additions & 5 deletions api/src/lib/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ import { emitLogLevels, handlePrismaLogging } from '@redwoodjs/api/logger'

import { logger } from './logger'

/*
* Instance of the Prisma Client
*/
export const db = new PrismaClient({
const prismaClient = new PrismaClient({
log: emitLogLevels(['info', 'warn', 'error']),
})

handlePrismaLogging({
db,
db: prismaClient,
logger,
logLevels: ['info', 'warn', 'error'],
})

export const db = prismaClient
40 changes: 0 additions & 40 deletions api/src/mail/Example/Example.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion prettier.config.js → prettier.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://prettier.io/docs/en/options.html
/** @type {import('prettier').RequiredOptions} */
module.exports = {
export default {
trailingComma: 'es5',
bracketSpacing: true,
tabWidth: 2,
Expand Down

0 comments on commit ba81ac9

Please sign in to comment.