-
-
Notifications
You must be signed in to change notification settings - Fork 2k
convert everything to ESM #355
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
* fix(test): manually control `UVU_QUEUE` positions; Have to replicate the `uvu` internals since all internal loader/iterator logic is bypassed. * fix: force `UVU_QUEUE` values * chore: add `context.reset` method; - chasing unterminated process * fix(kit): return `snowpack.shutdown` promise - so that `dev.close` is await'able * fix(runner): manually exit process; - also part of what uvu cli does; derp * chore: convert "test/apps/basics" fixture * chore: convert "test/apps/options" fixture
meriyah 4.1.1 is out now (though I'm having some trouble using it. I haven't tried it with this PR though) |
I found another issue related to this. In the |
the |
* start converting everything to ESM * more stuff * chore: finish ESM conversion (#360) * fix(test): manually control `UVU_QUEUE` positions; Have to replicate the `uvu` internals since all internal loader/iterator logic is bypassed. * fix: force `UVU_QUEUE` values * chore: add `context.reset` method; - chasing unterminated process * fix(kit): return `snowpack.shutdown` promise - so that `dev.close` is await'able * fix(runner): manually exit process; - also part of what uvu cli does; derp * chore: convert "test/apps/basics" fixture * chore: convert "test/apps/options" fixture * bump meriyah * all tests passing, i think? * simplify * get CLI working * brute force Co-authored-by: Luke Edwards <luke.edwards05@gmail.com>
#349.
Most stuff doesn't work yet. The
app-utils
tests are passing, but thekit
unit tests won't at least until the new version of Meriyah is released.The integration tests in
test
don't work, because I haven't been able to get uvu to work with tests that are loaded asynchronously (cc @lukeed). The simplest way to see this is tocd test/apps/amp
(after updating dependencies) andpnpm test
: