Skip to content

Commit

Permalink
Add basic turbo config, but don't enable running in repo yet (#383)
Browse files Browse the repository at this point in the history
Closes DG-47

## What changed? Why?

Adds a basic turbo config for all tasks as authored, but requires using
them with `pnpm turbo dev db:connect` (for example) right now. Will do
the actual migration to using it when I finish DG-59
  • Loading branch information
dgattey committed Dec 8, 2022
2 parents 84f2ae3 + 2666ad9 commit cd26325
Show file tree
Hide file tree
Showing 3 changed files with 166 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
"semantic-release": "19.0.5",
"sequelize-cli": "6.5.2",
"tsm": "2.3.0",
"turbo": "1.6.3",
"typescript": "4.9.3"
},
"engines": {
Expand Down
63 changes: 63 additions & 0 deletions pnpm-lock.yaml

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

102 changes: 102 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": [
".env*",
"config/database.config.js",
"config/eslint.config.js",
"config/lint-staged.config.mjs",
".node-version",
".npmrc",
".sequelizerc",
".pretterrc.js",
".pretterignore",
"codegen.js",
"next.config.js",
"tsconfig.json"
],
"globalEnv": [
"NEXT_PUBLIC_MAPBOX_TOKEN",
"CONTENTFUL_SPACE_ID",
"CONTENTFUL_ACCESS_TOKEN",
"GITHUB_AUTHENTICATION_TOKEN",
"CONTENTFUL_SPACE_ID",
"DATABASE_URL",
"WEBHOOK_CALLBACK_URL",
"STRAVA_CLIENT_ID",
"STRAVA_CLIENT_SECRET",
"STRAVA_TOKEN_NAME",
"STRAVA_VERIFY_TOKEN",
"SPOTIFY_CLIENT_ID",
"SPOTIFY_CLIENT_SECRET",
"SENTRY_AUTH_TOKEN",
"NEXT_PUBLIC_SENTRY_DSN"
],
"pipeline": {
"dev": {
"inputs": ["src/**/*"],
"cache": false
},
"build": {
"outputs": [".next/**"]
},
"build:analyze": {
"outputs": [".next/**"]
},
"serve": {
"dependsOn": ["build"],
"cache": false
},
"release": {
"dependsOn": ["build", "lint", "lint:styles", "lint:types", "format"],
"cache": false
},
"format": {},
"lint": {
"outputs": []
},
"lint:types": {
"outputs": []
},
"codegen": {
"cache": false,
"inputs": ["src/api/server/*"],
"outputs": ["src/api/types/generated/*"]
},
"db": {
"cache": false
},
"db:migrate": {
"cache": false
},
"db:migrate:status": {
"cache": false
},
"db:migrate:undo": {
"cache": false
},
"db:generate": {
"cache": false
},
"db:connect": {
"cache": false
},
"webhooks": {
"cache": false
},
"webhooks:local": {
"cache": false
},
"webhooks:create": {
"cache": false
},
"webhooks:list": {
"cache": false
},
"webhooks:delete": {
"cache": false
},
"clean": {
"cache": false
}
}
}

1 comment on commit cd26325

@vercel
Copy link

@vercel vercel bot commented on cd26325 Dec 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dg – ./

dg-dgattey.vercel.app
dylangattey.com
dg-git-main-dgattey.vercel.app
dg.vercel.app

Please sign in to comment.