diff --git a/.github/workflows/v2-lighthousesrc.json b/.github/workflows/v2-lighthousesrc.json index 1510b0dd71..266bc66b49 100644 --- a/.github/workflows/v2-lighthousesrc.json +++ b/.github/workflows/v2-lighthousesrc.json @@ -1,9 +1,16 @@ { - "ci": { - "collect": { - "settings": { - "skipAudits": ["robots-txt", "canonical", "tap-targets", "is-crawlable", "works-offline", "offline-start-url"] - } - } + "ci": { + "collect": { + "settings": { + "skipAudits": [ + "robots-txt", + "canonical", + "tap-targets", + "is-crawlable", + "works-offline", + "offline-start-url" + ] + } } + } } diff --git a/examples/bootstrap/package.json b/examples/bootstrap/package.json index 8596455664..07ccee5d13 100644 --- a/examples/bootstrap/package.json +++ b/examples/bootstrap/package.json @@ -35,4 +35,4 @@ ] }, "description": "Docusaurus example project (bootstrap template)" -} \ No newline at end of file +} diff --git a/examples/bootstrap/sandbox.config.json b/examples/bootstrap/sandbox.config.json index aeec7c2727..a3e712c82f 100644 --- a/examples/bootstrap/sandbox.config.json +++ b/examples/bootstrap/sandbox.config.json @@ -3,4 +3,4 @@ "hardReloadOnChange": true, "view": "browser", "template": "docusaurus" -} \ No newline at end of file +} diff --git a/examples/classic/package.json b/examples/classic/package.json index b8bddf481a..c91bf6002c 100644 --- a/examples/classic/package.json +++ b/examples/classic/package.json @@ -35,4 +35,4 @@ ] }, "description": "Docusaurus example project" -} \ No newline at end of file +} diff --git a/examples/classic/sandbox.config.json b/examples/classic/sandbox.config.json index aeec7c2727..a3e712c82f 100644 --- a/examples/classic/sandbox.config.json +++ b/examples/classic/sandbox.config.json @@ -3,4 +3,4 @@ "hardReloadOnChange": true, "view": "browser", "template": "docusaurus" -} \ No newline at end of file +} diff --git a/examples/facebook/package.json b/examples/facebook/package.json index 62a3ecd5fd..95e651b6da 100644 --- a/examples/facebook/package.json +++ b/examples/facebook/package.json @@ -52,4 +52,4 @@ ] }, "description": "Docusaurus example project (facebook template)" -} \ No newline at end of file +} diff --git a/examples/facebook/sandbox.config.json b/examples/facebook/sandbox.config.json index aeec7c2727..a3e712c82f 100644 --- a/examples/facebook/sandbox.config.json +++ b/examples/facebook/sandbox.config.json @@ -3,4 +3,4 @@ "hardReloadOnChange": true, "view": "browser", "template": "docusaurus" -} \ No newline at end of file +} diff --git a/package.json b/package.json index 6ab0feea4b..3f4d952ba9 100644 --- a/package.json +++ b/package.json @@ -39,8 +39,8 @@ "postinstall": "run-p postinstall:**", "postinstall:main": "yarn lock:update && yarn build:packages", "postinstall:dev": "is-ci || husky install", - "prettier": "prettier --config .prettierrc --write \"**/*.{js,jsx,ts,tsx}\"", - "prettier:diff": "prettier --config .prettierrc --list-different \"**/*.{js,jsx,ts,tsx}\"", + "prettier": "prettier --config .prettierrc --write \"**/*.{js,jsx,ts,tsx,json}\"", + "prettier:diff": "prettier --config .prettierrc --list-different \"**/*.{js,jsx,ts,tsx,json}\"", "prettier-docs": "prettier --config .prettierrc --write \"**/*.{md,mdx}\"", "prettier-docs:diff": "prettier --config .prettierrc --list-different \"**/*.{md,mdx}\"", "lint": "yarn lint:js && yarn lint:style", diff --git a/packages/docusaurus-migrate/tsconfig.json b/packages/docusaurus-migrate/tsconfig.json index c3d8af3af9..e893590d89 100644 --- a/packages/docusaurus-migrate/tsconfig.json +++ b/packages/docusaurus-migrate/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../tsconfig.json", - "compilerOptions": { - "incremental": true, - "tsBuildInfoFile": "./lib/.tsbuildinfo", - "rootDir": "src", - "outDir": "lib", - "typeRoots": [ "./external_types", "./node_modules/@types"] - } - } \ No newline at end of file + "extends": "../../tsconfig.json", + "compilerOptions": { + "incremental": true, + "tsBuildInfoFile": "./lib/.tsbuildinfo", + "rootDir": "src", + "outDir": "lib", + "typeRoots": ["./external_types", "./node_modules/@types"] + } +} diff --git a/packages/docusaurus-plugin-client-redirects/tsconfig.json b/packages/docusaurus-plugin-client-redirects/tsconfig.json index f189eb943b..7b696ed384 100644 --- a/packages/docusaurus-plugin-client-redirects/tsconfig.json +++ b/packages/docusaurus-plugin-client-redirects/tsconfig.json @@ -5,6 +5,6 @@ "tsBuildInfoFile": "./lib/.tsbuildinfo", "rootDir": "src", "outDir": "lib", - "typeRoots": [ "./types", "./node_modules/@types"] + "typeRoots": ["./types", "./node_modules/@types"] } } diff --git a/packages/docusaurus-plugin-content-blog/tsconfig.json b/packages/docusaurus-plugin-content-blog/tsconfig.json index f50aa9ee6d..f5902ba108 100644 --- a/packages/docusaurus-plugin-content-blog/tsconfig.json +++ b/packages/docusaurus-plugin-content-blog/tsconfig.json @@ -4,6 +4,6 @@ "incremental": true, "tsBuildInfoFile": "./lib/.tsbuildinfo", "rootDir": "src", - "outDir": "lib", + "outDir": "lib" } } diff --git a/packages/docusaurus-plugin-ideal-image/tsconfig.json b/packages/docusaurus-plugin-ideal-image/tsconfig.json index f50aa9ee6d..f5902ba108 100644 --- a/packages/docusaurus-plugin-ideal-image/tsconfig.json +++ b/packages/docusaurus-plugin-ideal-image/tsconfig.json @@ -4,6 +4,6 @@ "incremental": true, "tsBuildInfoFile": "./lib/.tsbuildinfo", "rootDir": "src", - "outDir": "lib", + "outDir": "lib" } } diff --git a/packages/docusaurus-theme-common/tsconfig.json b/packages/docusaurus-theme-common/tsconfig.json index f50aa9ee6d..f5902ba108 100644 --- a/packages/docusaurus-theme-common/tsconfig.json +++ b/packages/docusaurus-theme-common/tsconfig.json @@ -4,6 +4,6 @@ "incremental": true, "tsBuildInfoFile": "./lib/.tsbuildinfo", "rootDir": "src", - "outDir": "lib", + "outDir": "lib" } } diff --git a/packages/docusaurus-utils/tsconfig.json b/packages/docusaurus-utils/tsconfig.json index f50aa9ee6d..f5902ba108 100644 --- a/packages/docusaurus-utils/tsconfig.json +++ b/packages/docusaurus-utils/tsconfig.json @@ -4,6 +4,6 @@ "incremental": true, "tsBuildInfoFile": "./lib/.tsbuildinfo", "rootDir": "src", - "outDir": "lib", + "outDir": "lib" } } diff --git a/packages/docusaurus/tsconfig.client.json b/packages/docusaurus/tsconfig.client.json index 713d7753e9..9793574687 100644 --- a/packages/docusaurus/tsconfig.client.json +++ b/packages/docusaurus/tsconfig.client.json @@ -7,7 +7,7 @@ "tsBuildInfoFile": "./lib/client/.tsbuildinfo", "outDir": "lib/client", "noImplicitAny": false, - "jsx": "react", + "jsx": "react" }, "include": ["src/client"] } diff --git a/tsconfig.json b/tsconfig.json index 03a8307a46..11295f909e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -34,7 +34,7 @@ /* Use tslib */ "importHelpers": true, - "noEmitHelpers": true, + "noEmitHelpers": true }, "exclude": ["node_modules", "**/__tests__/**/*", "**/lib/**/*"] } diff --git a/website-1.x/data/custom-translation-strings.json b/website-1.x/data/custom-translation-strings.json index c475739e04..5dd1806ca7 100644 --- a/website-1.x/data/custom-translation-strings.json +++ b/website-1.x/data/custom-translation-strings.json @@ -3,7 +3,7 @@ "localized-strings": { "translation": "Translations and Localization" }, - "pages-strings" : { + "pages-strings": { "Help Translate|recruit community translators for your project": "Help Us Translate" } } diff --git a/website-1.x/sidebars.json b/website-1.x/sidebars.json index 8d015456ff..05a2f482a4 100644 --- a/website-1.x/sidebars.json +++ b/website-1.x/sidebars.json @@ -15,12 +15,7 @@ "translation", "versioning" ], - "API": [ - "commands", - "doc-markdown", - "api-pages", - "site-config" - ] + "API": ["commands", "doc-markdown", "api-pages", "site-config"] }, "tutorial": { "Tutorial": [ diff --git a/website/versions.json b/website/versions.json index d3e129f682..b5cc0aae88 100644 --- a/website/versions.json +++ b/website/versions.json @@ -1,4 +1 @@ -[ - "2.0.0-alpha.72", - "2.0.0-alpha.71" -] +["2.0.0-alpha.72", "2.0.0-alpha.71"]