Skip to content

Commit

Permalink
clean up tsconfig.json & delete /dist before build
Browse files Browse the repository at this point in the history
  • Loading branch information
nkeil committed Oct 5, 2023
1 parent 69ea644 commit 94658b2
Show file tree
Hide file tree
Showing 3 changed files with 244 additions and 10 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prisma-extension-random",
"version": "0.1.1",
"version": "0.1.2",
"author": "Nicolas Keil <nkeil.dev@gmail.com>",
"description": "Add some randomness to your favorite Prisma queries!",
"repository": {
Expand All @@ -20,8 +20,9 @@
"/dist"
],
"scripts": {
"build": "tsc",
"format": "prettier --write src/**/*.ts *.md --ignore-unknown --no-error-on-unmatched-pattern"
"build": "rimraf dist && tsc",
"format": "prettier --write src/**/*.ts *.md --ignore-unknown --no-error-on-unmatched-pattern",
"type-check": "tsc --noEmit"
},
"peerDependencies": {
"@prisma/client": "latest"
Expand All @@ -30,6 +31,7 @@
"@prisma/client": "latest",
"prettier": "^3.0.3",
"prisma": "latest",
"rimraf": "^5.0.5",
"typescript": "4.9.4"
}
}
237 changes: 237 additions & 0 deletions pnpm-lock.yaml

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

9 changes: 2 additions & 7 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
{
"compilerOptions": {
"lib": ["es5", "es6", "es7", "esnext", "dom"],
"target": "es2016",
"removeComments": false,
"lib": ["es6"],
"module": "CommonJS",
"moduleResolution": "node",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"strict": true,
"skipDefaultLibCheck": true,
"skipLibCheck": false,
"strictPropertyInitialization": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"downlevelIteration": true,
"isolatedModules": true,
"declaration": true,
"outDir": "./dist"
},
Expand Down

0 comments on commit 94658b2

Please sign in to comment.