Skip to content

Commit

Permalink
config: update to latest next.js boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
mimecuvalo committed Nov 4, 2023
1 parent 88dc207 commit daabcce
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 21 deletions.
24 changes: 11 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage
Expand All @@ -24,28 +25,25 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# sessions
sessions/

# vim
*.sw[a-p]

# local env files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel

# i18n
i18n-compiled-lang

# typescript
*.tsbuildinfo

# storybook
build-storybook.log
storybook-static
Expand Down
2 changes: 2 additions & 0 deletions prisma/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DATABASE_URL=postgresql://mime:UzvbS$pbj[u3.G@localhost:5432/helloworld?pgbouncer=true&connection_limit=1&pool_timeout=30
#DATABASE_URL=postgres://postgres:[email protected]:6543/postgres?pgbouncer=true&sslmode=require&connection_limit=1&pool_timeout=30
17 changes: 9 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,21 @@
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"baseUrl": ".",
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./*"],
"app/*": ["./app/*"],
"components": ["./components"],
"components/*": ["./components/*"],
Expand All @@ -29,11 +33,8 @@
"util/*": ["./util/*"],
"vendor/*": ["./vendor/*"]
},
"plugins": [
{
"name": "next"
}
]
"forceConsistentCasingInFileNames": true,
"baseUrl": "."
},
"include": [
"next-env.d.ts",
Expand Down

1 comment on commit daabcce

@vercel
Copy link

@vercel vercel bot commented on daabcce Nov 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.