next-auth icon indicating copy to clipboard operation
next-auth copied to clipboard

fix(tsconfig): update `extends` property in packages configuration

Open halvaradop opened this issue 1 year ago β€’ 4 comments

β˜•οΈ Reasoning

This pull request resolves issues caused by the incorrect configuration of the extends property in the tsconfig.json files within the packages folder. The errors were due to invalid paths in the configuration. The following changes were made:

  • Updated extends Property: The extends property in each tsconfig.json file within the packages has been updated to ../utils/tsconfig.json. This change corrects the path errors that were causing issues. tsconfig image

  • You can verify the fixes by running the following bash script before and after applying the changes

#!/bin/bash

for dir in */ ; do
    cd "$dir"
    tsc --showConfig
    cd ..
done

Before

not-found

After

image

Note

The extends property in the framework-sveltekit folder has not been updated, as the correct reference file is currently unknown.

🧒 Checklist

  • [x] Documentation
  • [ ] Tests
  • [ ] Ready to be merged

🎫 Affected issues

πŸ“Œ Resources

halvaradop avatar Aug 24 '24 15:08 halvaradop

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
auth-docs βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Sep 7, 2024 6:41pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Sep 7, 2024 6:41pm

vercel[bot] avatar Aug 24 '24 15:08 vercel[bot]

@halvaradop is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Aug 24 '24 15:08 vercel[bot]

Related priviously-raised Issue: #11665

k-taro56 avatar Aug 26 '24 14:08 k-taro56

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 39.35%. Comparing base (cfcb221) to head (2ee4d51). Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #11666   +/-   ##
=======================================
  Coverage   39.35%   39.35%           
=======================================
  Files         185      185           
  Lines       29346    29346           
  Branches     1270     1270           
=======================================
  Hits        11549    11549           
  Misses      17797    17797           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Aug 27 '24 02:08 codecov[bot]

Thank you for explaining the error in SvelteKit, even though I don’t have knowledge in SvelteKit. πŸ‘Œ

halvaradop avatar Sep 12 '24 14:09 halvaradop