Skip to content

Conversation

@khaosdoctor
Copy link
Member

@khaosdoctor khaosdoctor commented Jan 20, 2025

Description

This PR extends and improves upon the original article about "How to run TS with Node". It fixes a small conceptual issue (using both flags), while adding the configuration section to point that the users will probably need to update their tsconfig and expands on new versions of node, especially on v23 which enables type stripping by default, but not type transformation.

Overall, it just adds more information on running TS by default.

Validation

Documentation change, no code.

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run npm run format to ensure the code follows the style guide.
  • I have run npm run test to check if all tests are passing.
  • I have run npx turbo build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

Fix a small conceptual issue and add details for v23

Signed-off-by: Lucas Santos <[email protected]>
@vercel
Copy link

vercel bot commented Jan 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Jan 20, 2025 10:42pm

@khaosdoctor khaosdoctor marked this pull request as ready for review January 20, 2025 18:52
@khaosdoctor khaosdoctor requested a review from a team as a code owner January 20, 2025 18:52
@khaosdoctor
Copy link
Member Author

cc @nodejs/typescript

@khaosdoctor khaosdoctor enabled auto-merge January 20, 2025 20:51
Copy link
Member

@AugustinMauroy AugustinMauroy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General note :

khaosdoctor and others added 2 commits January 20, 2025 23:34
Co-authored-by: Augustin Mauroy <[email protected]>
Signed-off-by: Lucas Santos <[email protected]>
Co-authored-by: Rob Palmer <[email protected]>
Signed-off-by: Lucas Santos <[email protected]>
@khaosdoctor
Copy link
Member Author

General note :

Done! Also added a link to V23's --no-experimental-strip-types

@khaosdoctor
Copy link
Member Author

It seems to be stuck apparently, I can't get any results from the checks back and it's blocking the merge 🤔

@mikeesto mikeesto added the github_actions:pull-request Trigger Pull Request Checks label Jan 21, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jan 21, 2025

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🟢 99 🟢 100 🟢 100 🟢 91 🔗
/en/about 🟢 100 🟢 100 🟢 100 🟢 91 🔗
/en/about/previous-releases 🟢 99 🟢 100 🟢 100 🟢 92 🔗
/en/download 🟢 95 🟢 100 🟢 100 🟢 91 🔗
/en/blog 🟢 100 🟢 100 🟢 96 🟢 92 🔗

@github-actions
Copy link
Contributor

Unit Test Coverage Report

Lines Statements Branches Functions
Coverage: 88%
87.47% (740/846) 74.3% (240/323) 86.58% (142/164)

Unit Test Report

Tests Skipped Failures Errors Time
182 0 💤 0 ❌ 0 🔥 5.535s ⏱️

@khaosdoctor khaosdoctor added this pull request to the merge queue Jan 21, 2025
Merged via the queue into main with commit 95047b1 Jan 21, 2025
16 checks passed
@khaosdoctor khaosdoctor deleted the doc-ts-with-node branch January 21, 2025 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants