Skip to content

Commit

Permalink
chore(prettier): fix unformatted files 🤖 ✨ (#5854)
Browse files Browse the repository at this point in the history
Co-authored-by: github-merge-queue[bot] <118344674+github-merge-queue[bot]@users.noreply.github.com>
  • Loading branch information
ecospark[bot] and github-merge-queue[bot] authored Feb 26, 2024
1 parent 8a6d67f commit bcdb319
Show file tree
Hide file tree
Showing 26 changed files with 62 additions and 65 deletions.
4 changes: 2 additions & 2 deletions dev/design-studio/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../tsconfig.dev",
"include": ["**/*.ts", "**/*.tsx"],
"compilerOptions": {
"jsx": "preserve",
"jsx": "preserve"
},
"references": [{"path": "../../packages/sanity/tsconfig.lib.json"}],
"references": [{"path": "../../packages/sanity/tsconfig.lib.json"}]
}
4 changes: 2 additions & 2 deletions dev/embedded-studio/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"incremental": true
},
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"],
"exclude": ["node_modules"]
}
4 changes: 2 additions & 2 deletions dev/starter-next-studio/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"jsx": "preserve"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"],
"exclude": ["node_modules"]
}
4 changes: 2 additions & 2 deletions dev/starter-studio/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../tsconfig.dev",
"include": ["**/*.ts", "**/*.tsx"],
"compilerOptions": {
"jsx": "preserve",
"jsx": "preserve"
},
"references": [{"path": "../../packages/sanity/tsconfig.lib.json"}],
"references": [{"path": "../../packages/sanity/tsconfig.lib.json"}]
}
4 changes: 2 additions & 2 deletions dev/strict-studio/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"include": ["**/*.ts", "**/*.tsx"],
"compilerOptions": {
"composite": true,
"jsx": "preserve",
"jsx": "preserve"
},
"references": [{"path": "../../packages/sanity/tsconfig.lib.json"}],
"references": [{"path": "../../packages/sanity/tsconfig.lib.json"}]
}
4 changes: 2 additions & 2 deletions dev/studio-e2e-testing/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"incremental": true,
"incremental": true
},
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"],
"exclude": ["node_modules"]
}
8 changes: 4 additions & 4 deletions dev/test-next-studio/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"jsx": "preserve",
"plugins": [
{
"name": "next",
},
"name": "next"
}
],
"strictNullChecks": true,
"strictNullChecks": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"],
"exclude": ["node_modules"]
}
6 changes: 3 additions & 3 deletions dev/test-studio/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"compilerOptions": {
"jsx": "react-jsx",
"allowJs": true,
"isolatedModules": false,
"isolatedModules": false
},
"references": [
{"path": "../../packages/@sanity/types/tsconfig.lib.json"},
{"path": "../../packages/@sanity/vision/tsconfig.lib.json"},
{"path": "../../packages/sanity/tsconfig.lib.json"},
{"path": "../../packages/@sanity/migrate/tsconfig.lib.json"},
],
{"path": "../../packages/@sanity/migrate/tsconfig.lib.json"}
]
}
4 changes: 2 additions & 2 deletions packages/@sanity/block-tools/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"rootDir": ".",
"outDir": "./lib/dts",

"jsx": "react-jsx",
"jsx": "react-jsx"
},
"references": [{"path": "../schema/tsconfig.lib.json"}, {"path": "../types/tsconfig.lib.json"}],
"references": [{"path": "../schema/tsconfig.lib.json"}, {"path": "../types/tsconfig.lib.json"}]
}
4 changes: 2 additions & 2 deletions packages/@sanity/cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"checkJs": false,
"allowJs": true,
"jsx": "react-jsx",
"resolveJsonModule": true,
"resolveJsonModule": true
},
"references": [{"path": "../types/tsconfig.lib.json"}, {"path": "../util/tsconfig.lib.json"}],
"references": [{"path": "../types/tsconfig.lib.json"}, {"path": "../util/tsconfig.lib.json"}]
}
4 changes: 2 additions & 2 deletions packages/@sanity/diff/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"jsx": "react-jsx",

// todo: we need to disable noImplicitAny in a transition phase and should be removed eventually
"noImplicitAny": false,
},
"noImplicitAny": false
}
}
4 changes: 2 additions & 2 deletions packages/@sanity/migrate/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"composite": true,
"rootDir": ".",
"outDir": "./lib/dts",
"declarationDir": "./lib/dts",
"declarationDir": "./lib/dts"
},
"references": [{"path": "../@sanity/types/tsconfig.lib.json"}],
"references": [{"path": "../@sanity/types/tsconfig.lib.json"}]
}
4 changes: 2 additions & 2 deletions packages/@sanity/mutator/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"composite": true,
"declarationDir": "./lib/dts",
"rootDir": ".",
"outDir": "./lib/dts",
},
"outDir": "./lib/dts"
}
}
8 changes: 4 additions & 4 deletions packages/@sanity/portable-text-editor/e2e-tests/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"ts-node": {
// these options are overrides used only by ts-node
"compilerOptions": {
"module": "commonjs",
},
"module": "commonjs"
}
},
"compilerOptions": {
"target": "ESNext",
},
"target": "ESNext"
}
}
6 changes: 3 additions & 3 deletions packages/@sanity/portable-text-editor/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"outDir": "./lib/dts",

"jsx": "react-jsx",
"isolatedModules": false,
"isolatedModules": false
},
"references": [
{"path": "../block-tools/tsconfig.lib.json"},
{"path": "../schema/tsconfig.lib.json"},
{"path": "../types/tsconfig.lib.json"},
{"path": "../util/tsconfig.lib.json"},
],
{"path": "../util/tsconfig.lib.json"}
]
}
4 changes: 2 additions & 2 deletions packages/@sanity/schema/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"outDir": "./lib/dts",

"noUnusedLocals": false,
"strict": false,
"strict": false
},
"references": [{"path": "../types/tsconfig.lib.json"}],
"references": [{"path": "../types/tsconfig.lib.json"}]
}
6 changes: 3 additions & 3 deletions packages/@sanity/types/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

"jsx": "react-jsx",
"paths": {
"_self_": ["./src"],
},
},
"_self_": ["./src"]
}
}
}
2 changes: 1 addition & 1 deletion packages/@sanity/util/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"include": ["../src", "."],
"include": ["../src", "."]
}
4 changes: 2 additions & 2 deletions packages/@sanity/util/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"compilerOptions": {
"composite": true,
"rootDir": ".",
"outDir": "./lib",
"outDir": "./lib"
},
"references": [{"path": "../types/tsconfig.lib.json"}],
"references": [{"path": "../types/tsconfig.lib.json"}]
}
7 changes: 2 additions & 5 deletions packages/@sanity/vision/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"rootDir": ".",
"outDir": "./lib/dts",

"jsx": "react-jsx",
"jsx": "react-jsx"
},
"references": [
{"path": "../types/tsconfig.lib.json"},
{"path": "../../sanity/tsconfig.lib.json"},
],
"references": [{"path": "../types/tsconfig.lib.json"}, {"path": "../../sanity/tsconfig.lib.json"}]
}
4 changes: 2 additions & 2 deletions packages/groq/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"compilerOptions": {
"composite": true,
"rootDir": ".",
"outDir": "./lib/dts",
},
"outDir": "./lib/dts"
}
}
10 changes: 5 additions & 5 deletions packages/sanity/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"./scripts",
"./src",
"./test",
"./typings",
"./typings"
],
"compilerOptions": {
"composite": true,
Expand All @@ -21,7 +21,7 @@
"sanity/desk": ["./exports/desk.ts"],
"sanity/router": ["./exports/router.ts"],
"sanity/structure": ["./exports/structure.ts"],
"sanity": ["./exports/index.ts"],
"sanity": ["./exports/index.ts"]
},

"emitDeclarationOnly": true,
Expand All @@ -31,7 +31,7 @@
"resolveJsonModule": true,

// For import.meta.env/import.meta.hot definition and similar
"types": ["vite/client"],
"types": ["vite/client"]
},
"references": [
{"path": "../@sanity/cli/tsconfig.lib.json"},
Expand All @@ -42,6 +42,6 @@
{"path": "../@sanity/types/tsconfig.lib.json"},
{"path": "../@sanity/cli/tsconfig.lib.json"},
{"path": "../@sanity/util/tsconfig.lib.json"},
{"path": "../@sanity/migrate/tsconfig.lib.json"},
],
{"path": "../@sanity/migrate/tsconfig.lib.json"}
]
}
4 changes: 2 additions & 2 deletions perf/studio/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"extends": "../../tsconfig.settings.json",
"compilerOptions": {
"jsx": "react-jsx",
"esModuleInterop": true,
},
"esModuleInterop": true
}
}
4 changes: 2 additions & 2 deletions perf/tests/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"esModuleInterop": true,
"module": "CommonJS",
"noEmit": true,
"resolveJsonModule": true,
},
"resolveJsonModule": true
}
}
4 changes: 2 additions & 2 deletions scripts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"include": ["./**/*.ts", "./**/*.tsx", "./**/*.js", "./**/*.jsx", "./**/*.json"],
"extends": "../tsconfig.settings.json",
"compilerOptions": {
"resolveJsonModule": true,
},
"resolveJsonModule": true
}
}
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"compilerOptions": {
"emitDeclarationOnly": true,
"outDir": "./node_modules/.sanity-monorepo/dts",
"allowJs": true,
"allowJs": true
},
"references": [
{"path": "./packages/@sanity/block-tools"},
Expand All @@ -16,6 +16,6 @@
{"path": "./packages/@sanity/types"},
{"path": "./packages/@sanity/util"},
{"path": "./packages/@sanity/vision"},
{"path": "./packages/sanity"},
],
{"path": "./packages/sanity"}
]
}

0 comments on commit bcdb319

Please sign in to comment.