Skip to content

Commit

Permalink
chore: configure turbo repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ijsKoud committed Jun 18, 2023
1 parent b5d38b5 commit 80c2026
Show file tree
Hide file tree
Showing 6 changed files with 163 additions and 2,315 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
/coverage

# next.js
/.next/
/out/
/dist/
.next/
out/
dist/
.turbo/

# production
/build
Expand Down
27 changes: 6 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,25 @@
"license": "MIT",
"type": "module",
"homepage": "https://github.com/ijsKoud/ijsblokje",
"keywords": [
"probot",
"github",
"probot-app"
"workspaces": [
"packages/*",
"apps/*"
],
"scripts": {
"build": "tsc --build",
"dev:watch": "tsc --watch",
"build": "turbo build",
"build:watch": "turbo build:watch",
"start:dev": "nodemon ./dist",
"start": "node ./dist",
"lint": "eslint src",
"postinstall": "is-ci || husky install"
},
"dependencies": {
"@discordjs/collection": "^1.5.1",
"@sapphire/timestamp": "^1.0.1",
"@snowcrystals/icicle": "2.0.4",
"axios": "^1.4.0",
"colorette": "^2.0.20",
"dotenv": "^16.3.1",
"lodash": "^4.17.21",
"parse-link-header": "^2.0.0",
"probot": "^12.3.1"
},
"devDependencies": {
"@commitlint/cli": "^17.6.5",
"@commitlint/config-angular": "^17.6.5",
"@octokit/webhooks-types": "^7.0.3",
"@sapphire/eslint-config": "^4.4.2",
"@sapphire/prettier-config": "^1.4.5",
"@sapphire/ts-config": "^4.0.0",
"@types/lodash": "^4.14.195",
"@types/node": "^18.16.18",
"@types/parse-link-header": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"eslint": "^8.43.0",
Expand All @@ -49,7 +34,7 @@
"is-ci": "^3.0.1",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"smee-client": "^1.2.3",
"turbo": "^1.10.3",
"typescript": "5.1.3"
},
"engines": {
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "./tsconfig.json",
"include": ["test", "src"]
"extends": "./tsconfig.json"
}
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@
"module": "ESNext",
"moduleResolution": "NodeNext"
},
"exclude": ["node_modules"],
"include": ["./src/**/*"]
"exclude": ["node_modules"]
}
14 changes: 14 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"build:watch": {
"dependsOn": ["^build"],
"outputs": ["dist/**"],
"persistent": true
}
}
}
Loading

0 comments on commit 80c2026

Please sign in to comment.