-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TS MVP] Update NPM release process #11720
Comments
We should check if the online builder works with the new process or update it. |
First, we need to answer a question: what do we want to publish?
We need to understand the current release path to identify the changes required in the release process.
We can use pre/post hooks for attaching additional steps. Transpiling TS to JS must be done before publishing packages but after bumping their versions. Hence, I suggest adding the I prepared on a separate branch a solution that plugs the compilation step right after bumping the version: ck/epic/11708-migrate-typescript-mvp...ck/11720-ts-publish Also, I share the result of executing the We can use the example package to check whether the TS compiler can handle the package. If not, we would need to identify problems and redesign the solution for fixing these. |
Scenarios that I'd like to verify:
Questions:
|
TL;DR: The following steps should confirm that our builders (so far) can handle a TypeScript package published on npm. Steps:
|
In my case, I had to restart the manual test server because changes were not detected automatically. Besides that, the other points work as described. |
Internal: Prepared the repository to release a package written in TypeScript. Closes #11720.
We should be able to publish NPM packages from sources written in both JavaScript and TypeScript.
The open question is: how much backward compatibility we want to achieve? If the users import modules directly reaching
src
directories, should we continue to support that or ask them to import fromdist
(or any other name) directory instead?Part of #11708.
The text was updated successfully, but these errors were encountered: