Skip to content

Commit

Permalink
use prebuilds scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardozgz committed Dec 16, 2024
1 parent dad4e68 commit 7ff5369
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/bot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"type": "module",
"scripts": {
"clean": "git clean -xdf .next .turbo node_modules",
"build": "pnpm run generate-i18next-res; tsup-node",
"prebuild": "pnpm run generate-i18next-res",
"build": "tsup-node",
"dev": "pnpm with-env pnpm build --watch . --watch ../../packages --onSuccess \"node dist/index.js\"",
"format": "prettier --check . --ignore-path ../../.gitignore",
"lint": "eslint",
Expand Down
3 changes: 2 additions & 1 deletion apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"private": true,
"type": "module",
"scripts": {
"build": "pnpm run generate-i18next-res; pnpm with-env next build --experimental-build-mode compile",
"prebuild": "pnpm run generate-i18next-res",
"build": "pnpm with-env next build --experimental-build-mode compile",
"clean": "git clean -xdf .next .turbo node_modules",
"dev": "pnpm with-env next dev",
"format": "prettier --check . --ignore-path ../../.gitignore",
Expand Down

0 comments on commit 7ff5369

Please sign in to comment.