feat: replace ts-node with tsx, remove autoCompileOpts#12752
feat: replace ts-node with tsx, remove autoCompileOpts#12752christian-bromann merged 23 commits intowebdriverio:mainfrom
ts-node with tsx, remove autoCompileOpts#12752Conversation
9e52168 to
70e1271
Compare
58c4c8d to
cf983ef
Compare
christian-bromann
left a comment
There was a problem hiding this comment.
Thanks so much for taking a stab at this. I have two questions based on the changes. Let me know when I can make a full review.
21bee3f to
75690c3
Compare
|
Getting there, close to looking at docs. I'm not sure what to do about this |
|
@goosewobbler the user doesn't really need this option since WebdriverIO takes care of compiling any TypeScript code. Feel free to just leave as is. |
|
I took a stab at the docs -- presumably the i18n files need to be updated too. |
Don't worry about these, we do this through a different platform. |
|
Still some more to do here, I tried to run some tests locally and the ConfigParser is failing to handle the TS file... EDIT: found the culprit, we're exclusively using the ESM loader for |
69fcd76 to
e445f11
Compare
e445f11 to
db90bd8
Compare
christian-bromann
left a comment
There was a problem hiding this comment.
Can we also update the TypeScript docs: https://webdriver.io/docs/typescript ?
|
I will hopefully be able to take a close look over the weekend. |
|
Hey goosewobbler 👋 Thank you for your contribution to WebdriverIO! Your pull request has been marked as an "Expensable" contribution. We've sent you an email with further instructions on how to claim your expenses from our development fund. Please make sure to check your spam folder as well. If you have any questions, feel free to reach out to us at expense@webdriver.io or in the contributing channel on Discord. We are looking forward to more contributions from you in the future 🙌 Have a nice day, |
|
Hey @christian-bromann has this been released in prod ? I cannot find |
|
@sshmaxime it's in v9 which hasn't been released yet. You can try pre-release builds by using the |
|
Our v9 release is planned for August 15th. |
|
Ohhh sweet ! Thanks 🙏 |
Proposed changes
Removing
ts-nodeand replacing it withtsx.This also removes
autoCompileOptsfrom the wdio configuration, replacing it with atsConfigPathoption for providing a custom tsconfig.Closes #11878
TODO:
Types of changes
Checklist
Backport Request
v9and doesn't need to be back-ported#XXXXXFurther comments
Reviewers: @webdriverio/project-committers