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

Run REPL in process #534

Merged
merged 2 commits into from
Sep 21, 2021
Merged

Run REPL in process #534

merged 2 commits into from
Sep 21, 2021

Conversation

72636c
Copy link
Member

@72636c 72636c commented Sep 21, 2021

When skuba was first conceived, we were unsure if it would have much staying power. As such, it stuck to extending regular config files and executing command line tooling; the idea was that consumers could easily offboard themselves by simply rolling their own underlying commands, and we could fairly easily sunset skuba if it proved less than useful.

If we fast forward to the present, we are now held back by some of these initial constraints. For example, sticking with a vanilla tsc means that we can't perform compile-time import alias resolution, and the abundance of execing is fairly wasteful as each one spins up its own Node.js process with a separate V8 instance and all.

This is a simple first step: replace a trivial exec with a pre-existing Node.js API that does the same thing. There's much more to come in subsequent PRs.

When skuba was first conceived, we were unsure if it would have much
staying power. As such, it stuck to extending regular config files and
executing command line tooling; the idea was that consumers could easily
offboard themselves by simply rolling their our underlying commands, and
we could fairly easily sunset skuba if it proved less than useful.

If we fast forward to the present, we are now held back by some of these
initial constraints. For example, sticking with a vanilla `tsc` means
that we can't perform compile-time import alias resolution, and the
abundance of `exec`ing is fairly wasteful as each one spins up its own
Node.js process with a separate V8 instance and all.

This is a simple first step: replace a trivial `exec` with a
pre-existing Node.js API that does the same thing. There's much more to
come in subsequent PRs.
@72636c 72636c requested a review from a team as a code owner September 21, 2021 08:02
@changeset-bot
Copy link

changeset-bot bot commented Sep 21, 2021

🦋 Changeset detected

Latest commit: 512e416

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
skuba Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@72636c 72636c merged commit 5b3c81b into master Sep 21, 2021
@72636c 72636c deleted the repl-in-process branch September 21, 2021 23:41
@github-actions github-actions bot mentioned this pull request Sep 21, 2021
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

2 participants