Skip to content
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

feat(ci): remove need to compile scripts #5370

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

christian-bromann
Copy link
Member

@christian-bromann christian-bromann commented Feb 15, 2024

What is the current behavior?

Currently a developer working on Stencil needs to compile the entire scripts folder first before running the files in them. This seems cumbersome and there is an opportunity to improve the DX here.

What is the new behavior?

By adding tsx we can get rid of the intermediate build step by running TS files on demand. This simplifies a lot of internal scripts and confusion when it comes to resolving paths.

Documentation

Does this introduce a breaking change?

  • Yes
  • No

Testing

Checkout the branch and run npm run build.

Other information

n/a

Copy link
Contributor

github-actions bot commented Feb 15, 2024

PR built and packed!

Download the tarball here: https://github.com/ionic-team/stencil/actions/runs/9120837284/artifacts/1511481409

If your browser saves files to ~/Downloads you can install it like so:

unzip -d ~/Downloads ~/Downloads/stencil-core-4.18.1-dev.1715904728.6c081d4.tgz.zip && npm install ~/Downloads/stencil-core-4.18.1-dev.1715904728.6c081d4.tgz

@tanner-reits tanner-reits removed their request for review May 2, 2024 19:39
@christian-bromann
Copy link
Member Author

Tech Debt Burndown / Download error files and report (pull_request_target) Failing after 31s

This is due to the fact that we are running the workflow from main which still uses the compiled script.

@christian-bromann christian-bromann marked this pull request as ready for review May 17, 2024 00:19
@christian-bromann
Copy link
Member Author

@tanner-reits @alicewriteswrongs this is ready for review now.

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.

None yet

1 participant