Skip to content

Commit

Permalink
add config files
Browse files Browse the repository at this point in the history
  • Loading branch information
ToyB0x committed Aug 31, 2024
1 parent fa15d89 commit 4ba7ba9
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 8 deletions.
8 changes: 8 additions & 0 deletions packages/database/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/** @type {import("eslint").Linter.Config} */
module.exports = {
root: true,
extends: ['@repo/eslint-config/base.js'],
env: {
node: true,
},
}
8 changes: 8 additions & 0 deletions packages/database/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "@repo/typescript-config/base.json",
"compilerOptions": {
"skipLibCheck": true
},
"include": ["src"],
"exclude": ["dist", "node_modules", "src/**/*.test.ts"]
}
8 changes: 8 additions & 0 deletions packages/database/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { defineConfig } from 'tsup'

export default defineConfig({
entry: ['src/index.ts'],
format: ['esm'],
minify: true,
sourcemap: true,
})
13 changes: 5 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4ba7ba9

Please sign in to comment.