-
Notifications
You must be signed in to change notification settings - Fork 532
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
Use ESNext modules in test-end-to-end-tests #15976
Conversation
⯅ @fluid-example/bundle-size-tests: +30 Bytes
Baseline commit: d4265d9 |
I wasn't familiar with why we needed to specify the file extension now, but that's covered here if anyone is interested in the change in module resolution for ESNext modules in NodeJS: https://nodejs.org/docs/latest-v16.x/api/esm.html#import-specifiers. |
yup, good reference. Also see microsoft/TypeScript#33588 for some comments from the typescript team on why it's a |
build(client): use fluid-tsc for Node16 test builds - remove now stale tsc-multi configurations and replace all use with fluid-tsc. - enable ESM build for tree test - Make ajvValidator CommonJS to accommodate typescript's rejection of Ajv's handcrafted ES Module support. - *However*, ESM test build is not runnable per internal module import of id-compressor CommonJS output (`@fluidframework/id-compressor/dist/test`). - correct @fluid-private/test-end-to-end-tests build dependencies (was changed to ESNext in #15976) and @fluidframework/container-runtime test support was previously moved to production (in #18826). - update build-tools Updated the following: client (release group) client-release-group-root Dependencies on build-tools updated: @fluid-tools/build-cli: 0.34.0 @fluidframework/build-tools: 0.34.0 @fluidframework/bundle-size-tools: 0.34.0 @fluid-tools/version-tools: 0.34.0 Command used: ```shell pnpm flub bump deps build-tools -g client -t latest --updateChecker homegrown -x ```
Description
Transitions
@fluid-internal/test-end-to-end-tests
to ESNext modules.This makes progress toward #15917, a planned improvement for
describeCompat
.