Adjective-Object / good-fences-rs-core

8 stars 0 forks source link

Reverted good-fences resolver function to enable run quick checks on local environments #71

Closed flickyiyo closed 3 months ago

flickyiyo commented 3 months ago

Current SWC resolver prioritizes resolving paths to **/lib/** files instead of using tsconfig.paths.json compilerOptions.paths values. This prevents devs from running good-fences accurately if they run local builds or run yarn typecheck since those generate files under packages lib/ dir. Reverting to old resolver and adding some logic to handle cases such as adding extensions to files and appending index whenever is needed.