Skip to content

refactor: extract base TS client config + upgrade TS + refactor TS setup#10065

Merged
slorber merged 2 commits intomainfrom
slorber/refactor-ts-setup
Apr 19, 2024
Merged

refactor: extract base TS client config + upgrade TS + refactor TS setup#10065
slorber merged 2 commits intomainfrom
slorber/refactor-ts-setup

Conversation

@slorber
Copy link
Collaborator

@slorber slorber commented Apr 19, 2024

Motivation

Move shared client compilation options to tsconfig.base.client.json

(note starting TS5.5 we'll be able to move even more options there, see https://twitter.com/sebastienlorber/status/1781320460732395819)

Rename root tsconfig.json to tsconfig.base.json to make it explicit it's a config meant to be extended.

Upgrade to TS 5.4

Useful preliminary step for #10062

Test Plan

Test links

Deploy preview: https://deploy-preview-_____--docusaurus-2.netlify.app/

Related issues/PRs

@slorber slorber requested a review from Josh-Cena as a code owner April 19, 2024 17:40
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Apr 19, 2024
@slorber slorber added pr: maintenance This PR does not produce any behavior differences to end users when upgrading. and removed CLA Signed Signed Facebook CLA labels Apr 19, 2024
@netlify
Copy link

netlify bot commented Apr 19, 2024

[V2]

Name Link
🔨 Latest commit 8ee96c8
🔍 Latest deploy log https://app.netlify.com/sites/docusaurus-2/deploys/6622ac7abd858b0008edd680
😎 Deploy Preview https://deploy-preview-10065--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions
Copy link

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO PWA Report
/ 🟠 86 🟢 98 🟢 96 🟢 100 🟠 88 Report
/docs/installation 🟠 59 🟢 96 🟢 100 🟢 100 🟠 88 Report
/docs/category/getting-started 🟠 74 🟢 100 🟢 100 🟢 90 🟠 88 Report
/blog 🟠 69 🟢 100 🟢 100 🟢 90 🟠 88 Report
/blog/preparing-your-site-for-docusaurus-v3 🟠 59 🟢 96 🟢 100 🟢 100 🟠 88 Report
/blog/tags/release 🟠 70 🟢 100 🟢 100 🟠 80 🟠 88 Report
/blog/tags 🟠 76 🟢 100 🟢 100 🟢 90 🟠 88 Report

@github-actions
Copy link

Size Change: 0 B

Total Size: 1.59 MB

ℹ️ View Unchanged
Filename Size
website/.docusaurus/codeTranslations.json 2 B
website/.docusaurus/docusaurus.config.mjs 26.7 kB
website/.docusaurus/globalData.json 91.2 kB
website/.docusaurus/i18n.json 930 B
website/.docusaurus/registry.js 247 kB
website/.docusaurus/routes.js 156 kB
website/.docusaurus/routesChunkNames.json 109 kB
website/.docusaurus/site-metadata.json 2.17 kB
website/build/assets/css/styles.********.css 113 kB
website/build/assets/js/main.********.js 810 kB
website/build/index.html 38 kB

compressed-size-action

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Apr 19, 2024
@slorber slorber merged commit f88da6c into main Apr 19, 2024
@slorber slorber deleted the slorber/refactor-ts-setup branch April 19, 2024 19:03
iAdramelk pushed a commit to iAdramelk/docusaurus that referenced this pull request Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA pr: maintenance This PR does not produce any behavior differences to end users when upgrading.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants