Skip to content

Commit

Permalink
tsconfig / tsup 周りをいい感じに (sourceMapとか) (tsupのせいでsourcemapはあんまりうまくいかなかった)
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-20 committed Nov 30, 2023
1 parent fac4c59 commit 5139dfd
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 27 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"@biomejs/biome": "1.4.0",
"eslint": "^8.54.0",
"husky": "^8.0.0",
"lint-staged": "^15.1.0"
"lint-staged": "^15.1.0",
"tsup": "^8.0.1"
}
}
4 changes: 2 additions & 2 deletions packages/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"dependencies": {
"@read-stack/lib": "workspace:*",
"@read-stack/tsconfig": "workspace:*",
"@vercel/postgres": "^0.5.1",
"dotenv": "^16.3.1",
"drizzle-orm": "^0.28.6",
Expand All @@ -26,7 +27,6 @@
"devDependencies": {
"drizzle-kit": "^0.19.13",
"@read-stack/eslint-config": "workspace:*",
"ts-node": "^10.9.1",
"tsup": "^8.0.1"
"ts-node": "^10.9.1"
}
}
2 changes: 1 addition & 1 deletion packages/database/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "@read-stack/tsconfig/tsconfig.base.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
Expand Down
4 changes: 2 additions & 2 deletions packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
},
"dependencies": {
"@mozilla/readability": "^0.4.4",
"@read-stack/tsconfig": "workspace:*",
"cheerio": "1.0.0-rc.12",
"jsdom": "^23.0.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/jsdom": "^21.1.6",
"@read-stack/eslint-config": "workspace:*",
"tsup": "^8.0.1"
"@read-stack/eslint-config": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion packages/lib/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "@read-stack/tsconfig/tsconfig.base.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
Expand Down
4 changes: 2 additions & 2 deletions packages/openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"dependencies": {
"@asteasolutions/zod-to-openapi": "^6.2.0",
"@hono/zod-openapi": "^0.8.3",
"@read-stack/tsconfig": "workspace:*",
"openapi3-ts": "^4.1.2",
"zod": "^3.21.4"
},
"devDependencies": {
"@read-stack/eslint-config": "workspace:*",
"tsup": "^8.0.1"
"@read-stack/eslint-config": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion packages/openapi/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "@read-stack/tsconfig/tsconfig.base.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
Expand Down
12 changes: 12 additions & 0 deletions pnpm-lock.yaml

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

17 changes: 0 additions & 17 deletions tsconfig.base.json

This file was deleted.

0 comments on commit 5139dfd

Please sign in to comment.