It doesn't look like it was testing any rnx-kit packages (besides
calling `@rnx-kit/scripts`). We've also not seen any significant usage
among Expo users. Removing it to reduce maintenance overhead.
* Add note to set experimentalImportSupport in metro.config.js when turning on tree shaking.
* Revert "Add note to set experimentalImportSupport in metro.config.js when turning on tree shaking."
This reverts commit 3b7ab97e2a.
* Explicitly fail when our custom resolver encounters TS path-remapping. It can't handle this, and will do the wrong thing.
* Add an export
* docs(changeset): Explicitly fail when our custom resolver encounters TS path-remapping. It can't handle this, and will do the wrong thing. Also, export an existing function as part of the public interface.
* Add a new TypeScript module resolver for React Native projects which uses the `moduleSuffixes` compiler option. All resolution is delegated to TypeScript, rather than run through our custom resolvers, since TypeScript's resolvers are more feature-rich and in sync with the node ecosystem.
* docs(changeset): Add a new TypeScript module resolver for React Native projects which uses the `moduleSuffixes` compiler option. All resolution is delegated to TypeScript, rather than run through our custom resolvers, since TypeScript's resolvers are more feature-rich and in sync with the node ecosystem.
* Add a blank file extension to the list of platform extensions when using the TS 47 delegating resolver. This ensures that we fall back to "no extension" when resolving modules using TS.
* add tests
* Add deprecation notes/messages to the typescrpit-react-native-compiler/-resolver packages.
* docs(changeset): Mark this package as depcrecated.
* Add code/test to ensure moduleSuffixes when resolving type reference directives.
* Allow packages which set moduleSuffixes to use the convention of omitting the platform name.
* typos
* use `import type`
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
* refactor(cli): extract TypeScript plugin to separate package
* formatting
* don't export createProjectCache
* add entry under docsite
* Fix dependency version
* Remove unused dependencies brough in during merge from main
Co-authored-by: Adam Foxman <5109471+afoxman@users.noreply.github.com>
* Add note to set experimentalImportSupport in metro.config.js when turning on tree shaking.
* Revert "Add note to set experimentalImportSupport in metro.config.js when turning on tree shaking."
This reverts commit 3b7ab97e2a.
* Remove the specialized trace logging that exists in our custom TypeScript module resolver. Revert to using TypeScript's trace() function for logging, and only invoking it when the compiler option traceResolution is true. This matches the convention in TypeScript itself.
This impacts our TypeScript resolver, our "rn-tsc" TypeScript compiler wrapper, and our CLI (no client-facing impacts).
* docs(changeset): BREAKING: update the public method 'changeHostToUseReactNativeResolver'. Remove trace logging parameters. From this version onward, standard TypeScript module resolution tracing applies. Set the compiler option 'traceResolution' to true, and you will see trace messages appear in the console. Logging to a file is no longer supported.
* docs(changeset): BREAKING: remove command-line parameters 'traceReactNativeModuleResolutionErrors' and 'traceResolutionLog' which were used for configuring custom trace logging. From this version onward, standard TypeScript trace logging should be used. This amounts to setting the compiler option 'traceResolution' to true. Trace messages will appear on the console. Logging to a file is no longer supported.
* Update change files
I forgot to account for the additional changes made to
`metro.config.js`, applying `esbuildTransformerConfig`. This config does
not work with dev server. We still need two separate config files (or
some other mechanism to conditionally apply `esbuildTransformerConfig`).