Skip to content

Commit

Permalink
chore(ci): upgrade turborepo config file
Browse files Browse the repository at this point in the history
  • Loading branch information
tericcabrel committed Oct 11, 2022
1 parent ce5d0ce commit f82ad1b
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 14 deletions.
2 changes: 1 addition & 1 deletion packages/embed/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"ignorePatterns": ["dist", "build", "tsup.config.ts", "env.d.ts"],
"ignorePatterns": ["dist", "build", "tsup.config.ts", "env.d.ts", "src/server/public"],
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module",
Expand Down
45 changes: 32 additions & 13 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,41 @@
],
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
"dependsOn": [
"^build"
],
"outputs": [
"dist/**"
]
},
"@sharingan/core#build": {
"dependsOn": [
"^build",
"$NODE_ENV",
"$DATABASE_URL"
"^build"
],
"outputs": [
"dist/**"
],
"outputs": ["dist/**"],
"inputs": [
"src/**/*.tsx",
"src/**/*.ts",
"*.ts",
"codegen.yml",
".eslintignore",
"*.json"
],
"env": [
"NODE_ENV",
"DATABASE_URL"
]
},
"@sharingan/web#build": {
"dependsOn": [
"^build",
"$NODE_ENV",
"$NEXT_PUBLIC_SERVER_URL"
"^build"
],
"outputs": [
".next/**",
"dist/**"
],
"outputs": [".next/**", "dist/**"],
"inputs": [
"src/**/*.tsx",
"src/**/*.ts",
Expand All @@ -46,15 +55,25 @@
"codegen.yml",
".eslintignore",
"*.json"
],
"env": [
"NODE_ENV",
"NEXT_PUBLIC_SERVER_URL"
]
},
"test": {
"dependsOn": ["^build"],
"dependsOn": [
"^build"
],
"outputs": []
},
"build:prod": {
"dependsOn": ["^build"],
"outputs": ["build/**"]
"dependsOn": [
"^build"
],
"outputs": [
"build/**"
]
},
"lint": {
"outputs": []
Expand Down

0 comments on commit f82ad1b

Please sign in to comment.