Skip to content
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

chore: test bundler module resolution #176

Merged
merged 1 commit into from
Dec 31, 2023
Merged

Conversation

danielroe
Copy link
Contributor

This is a 'canary' pull request. It aims to ensure that the ecosystem is ready for a shift in the default Nuxt TypeScript module resolution from 'Legacy' to 'Bundler': nuxt/nuxt#24837. You'll need to run your build + type checking tests to verify that things still work; I'm hoping that CI will do that for us so we get an immediate indication of whether there's anything to investigate further here.

'Bundler' module resolution is recommended by Vue and by Vite, but unfortunately there are still many packages that do not have the correct entries in their package.json.

This might include this module or packages that are used by this module. You can see, for example: https://arethetypeswrong.github.io/?p=@nuxtjs/google-fonts. The initial red X for node10 needs to be fixed in https://github.com/nuxt/module-builder; you can ignore that for now.

If there are any errors reported in CI for this PR, it would be good to fix them for the sake of any users of this module who enable the Bundler module resolution. Feel free to ping me or others on the Nuxt Discord if you need any help resolving any issues discovered by this PR - and feel free to check out nuxt/nuxt#24837 for any feedback or comments from others affected.

Copy link

netlify bot commented Dec 21, 2023

Deploy Preview for pedantic-sinoussi-65c819 ready!

Name Link
🔨 Latest commit ab53d0f
🔍 Latest deploy log https://app.netlify.com/sites/pedantic-sinoussi-65c819/deploys/65843972b9dda70008e2c0c0
😎 Deploy Preview https://deploy-preview-176--pedantic-sinoussi-65c819.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (661287f) 89.51% compared to head (ab53d0f) 67.21%.
Report is 10 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #176       +/-   ##
===========================================
- Coverage   89.51%   67.21%   -22.31%     
===========================================
  Files           1        7        +6     
  Lines         229      305       +76     
  Branches       22       27        +5     
===========================================
  Hits          205      205               
- Misses         24       94       +70     
- Partials        0        6        +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ricardogobbosouza ricardogobbosouza merged commit dbd45b4 into main Dec 31, 2023
6 of 7 checks passed
@ricardogobbosouza ricardogobbosouza deleted the bundler-resolution branch December 31, 2023 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants