Skip to content

Commit

Permalink
Initial turbo test
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbenincasa committed Mar 6, 2024
1 parent 3fb5699 commit 6c94d02
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ build/
log.txt
*.db
.DS_Store
.turbo
.turbo/
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"license": "Zlib",
"scripts": {
"preinstall": "npx only-allow pnpm",
"clean": "del-cli --force ./bin ./dist ./.dizquetv ./web/public/bundle.js",
"dist": "./make_dist.sh"
"dev": "turbo run dev"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.0.0",
Expand Down
1 change: 0 additions & 1 deletion server/scripts/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ await esbuild.build({
inject: ['cjs-shim.ts'],
packages: 'external',
tsconfig: './tsconfig.build.json',
logLevel: 'verbose',
// external: [
// 'mysql',
// 'mysql2',
Expand Down
17 changes: 17 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["build/**"]
},
"bundle": {
"dependsOn": ["build"],
"outputs": ["build/**", "dist/**"]
},
"dev": {
"cache": false,
"persistent": true
}
}
}

0 comments on commit 6c94d02

Please sign in to comment.