Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
rename variables
Mateusz Burzyński7c3616a6f3ad
diff --git a/bin/update-ts-project-references.ts b/bin/update-ts-project-references.tsindex 1bb7bc59e0..29f1dc6c9a 100644--- a/bin/update-ts-project-references.ts+++ b/bin/update-ts-project-references.ts@@ -10,7 +10,7 @@ import { getPackages } from "@manypkg/get-packages";type GetPackagesResult = Awaited<ReturnType<typeof getPackages>>;type Package = GetPackagesResult["packages"][number];type DependencyGraph = Map<string, Set<string>>;-type TSConfig = { references?: { path: string }[] };+type TsConfig = { references?: { path: string }[] };const stringArrayEquals = (arrA: string[], arrB: string[]): boolean => {return (@@ -57,13 +57,13 @@ const updateFile = async (filePath: string, content: string) => {cp.spawnSync("git", ["add", filePath]);};-const updateTSConfig = async (+const updateTsConfig = async (dependentDir: string,dependencies: Package[]) => {const tsConfigPath = path.join(dependentDir, "tsconfig.json");const tsConfigContent = await fsP.readFile(tsConfigPath, "utf8");- const tsConfig: TSConfig = JSON.parse(tsConfigContent);+ const tsConfig: TsConfig = JSON.parse(tsConfigContent);const dependencyPaths = [...dependencies.values()].filter((dependency) =>@@ -107,7 +107,7 @@ const updateTSConfig = async ();}- await updateTSConfig(+ await updateTsConfig(dependent.dir,[...dependencies.values()].map((dependencyName) => {const dependency = indexedPackages.get(dependencyName);@@ -124,7 +124,7 @@ const updateTSConfig = async (await Promise.all([...packageTasks,- updateTSConfig(rootDir, getPackagesResult.packages),+ updateTsConfig(rootDir, getPackagesResult.packages),]);})().catch((err) => {// eslint-disable-next-line no-console