Skip to content

Commit

Permalink
chore: migrate from tsc to esbuild (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh authored Sep 17, 2023
1 parent 9d48106 commit 4259cc1
Show file tree
Hide file tree
Showing 5 changed files with 234 additions and 6 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"autoprefixer": "^10.4.15",
"conventional-changelog-conventionalcommits": "^7.0.2",
"drizzle-kit": "^0.19.13",
"esbuild": "^0.19.3",
"nx": "16.8.1",
"pg-hstore": "^2.3.3",
"postcss": "^8.4.29",
Expand Down
3 changes: 0 additions & 3 deletions packages/app/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ const nextConfig = {
)
return config
},
api: {
responseLimit: false,
},
}

// Injected content via Sentry wizard below
Expand Down
2 changes: 1 addition & 1 deletion packages/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"access": "public"
},
"scripts": {
"build": "tsc"
"build": "esbuild src/index.ts --outdir=dist --sourcemap --bundle && tsc --emitDeclarationOnly --declaration"
},
"bugs": {
"url": "https://github.com/jpedroh/mach/issues"
Expand Down
3 changes: 1 addition & 2 deletions packages/rpl-crawler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"author": "Joao Pedro Henrique <[email protected]>",
"license": "MIT",
"scripts": {
"build": "tsc",
"test": "jest"
"build": "esbuild src/main.ts --outdir=dist --bundle --platform=node"
},
"dependencies": {
"@mach/database": "*"
Expand Down
Loading

0 comments on commit 4259cc1

Please sign in to comment.