Skip to content

Commit ba9b8ab

Browse files
committed
Refactor JSON formatting in turbo.json and config.json files for consistency
1 parent 2bfc466 commit ba9b8ab

8 files changed

Lines changed: 19 additions & 44 deletions

File tree

examples/express/turbo.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
{
2-
"extends": [
3-
"//"
4-
],
2+
"extends": ["//"],
53
"tasks": {
64
"build": {
7-
"outputs": [
8-
"dist/**"
9-
]
5+
"outputs": ["dist/**"]
106
}
117
}
128
}

examples/nextjs/cache/config.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"telemetry": {
3-
"notifiedAt": "1715050199607",
4-
"enabled": false
5-
}
6-
}
2+
"telemetry": {
3+
"notifiedAt": "1715050199607",
4+
"enabled": false
5+
}
6+
}

examples/nextjs/turbo.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
{
2-
"extends": [
3-
"//"
4-
],
2+
"extends": ["//"],
53
"tasks": {
64
"build": {
7-
"outputs": [
8-
".next/**",
9-
"!.next/cache/**"
10-
]
5+
"outputs": [".next/**", "!.next/cache/**"]
116
}
127
}
138
}

examples/vite/turbo.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
{
2-
"extends": [
3-
"//"
4-
],
2+
"extends": ["//"],
53
"tasks": {
64
"build": {
7-
"outputs": [
8-
"dist/**"
9-
]
5+
"outputs": ["dist/**"]
106
}
117
}
128
}

lib/turbo.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
{
2-
"extends": [
3-
"//"
4-
],
2+
"extends": ["//"],
53
"tasks": {
64
"build": {
7-
"outputs": [
8-
"dist/**"
9-
]
5+
"outputs": ["dist/**"]
106
}
117
}
128
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"clean": "turbo clean",
77
"dev": "turbo dev",
88
"doc": "node scripts/doc.js && typedoc",
9-
"format": "prettier --write \"**/*.{ts,tsx,md,css,scss}\"",
9+
"format": "prettier --write \"**/*.{js,jsx,json,ts,tsx,md,css,scss}\"",
1010
"lint": "turbo lint",
1111
"lint:fix": "turbo lint:fix",
1212
"test": "turbo test",
@@ -45,4 +45,4 @@
4545
"next@>=15.0.0 <15.2.3": ">=15.2.3"
4646
}
4747
}
48-
}
48+
}

packages/logger/turbo.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
{
2-
"extends": [
3-
"//"
4-
],
2+
"extends": ["//"],
53
"tasks": {
64
"build": {
7-
"outputs": [
8-
"dist/**"
9-
]
5+
"outputs": ["dist/**"]
106
}
117
}
128
}

packages/shared/turbo.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
{
2-
"extends": [
3-
"//"
4-
],
2+
"extends": ["//"],
53
"tasks": {
64
"build": {
7-
"outputs": [
8-
"dist/**"
9-
]
5+
"outputs": ["dist/**"]
106
}
117
}
128
}

0 commit comments

Comments
 (0)