Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
0.1.5 (#29)
Browse files Browse the repository at this point in the history
* 0.1.5

* remove package-lock.json

* Revert "remove package-lock.json"

This reverts commit ce69833.

* set up dotenvx

* add default env

* remove sentry
  • Loading branch information
nahtnam authored Jun 23, 2024
1 parent 225474c commit e3e67b1
Show file tree
Hide file tree
Showing 13 changed files with 1,192 additions and 1,659 deletions.
6 changes: 6 additions & 0 deletions .env.x.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SKIP_ENV_VALIDATION="true"
NEXT_PUBLIC_SKIP_ENV_VALIDATION="true"
DATABASE_DIRECT_URL="${DATABASE_URL}"
DATABASE_URL=
SMTP_URL=
AUTH_SECRET=
4 changes: 4 additions & 0 deletions .env.x.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DATABASE_DIRECT_URL="${DATABASE_URL}"
DATABASE_URL=
SMTP_URL=
AUTH_SECRET=
6 changes: 1 addition & 5 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
PATH_add node_modules/.bin
# eval "$(infisical export -e dev --format=dotenv-export)"

export SKIP_ENV_VALIDATION=true
export NEXT_PUBLIC_SKIP_ENV_VALIDATION=true

dotenv_if_exists .env.local
source <(dotenvx get -f .env.x.local .env.x.development --pretty-print | jq -r 'to_entries | .[] | "export \(.key)=\(.value | @sh)"')
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ yarn-debug.log*
yarn-error.log*

# local env files
.env.keys
.env*.local

# vercel
Expand All @@ -37,9 +38,6 @@ yarn-error.log*
# wireit
.wireit

# Sentry Config File
.sentryclirc

# prisma
prisma/json-schema
prisma/schema.prisma
Expand Down
9 changes: 1 addition & 8 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// @ts-check
import { withSentryConfig } from '@sentry/nextjs';
import cpx from 'cpx2';
import { env } from './src/config/env.mjs';

Expand Down Expand Up @@ -42,10 +41,4 @@ const nextConfig = {
},
};

export default withSentryConfig(nextConfig, {
silent: true,
widenClientFileUpload: true,
tunnelRoute: '/monitoring',
hideSourceMaps: true,
disableLogger: true,
});
export default nextConfig;
Loading

0 comments on commit e3e67b1

Please sign in to comment.