Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

feat(kit): add addImportsSources utility#7270

Merged
pi0 merged 5 commits intomainfrom
feat/import-sources
Sep 6, 2022
Merged

feat(kit): add addImportsSources utility#7270
pi0 merged 5 commits intomainfrom
feat/import-sources

Conversation

@danielroe
Copy link
Copy Markdown
Member

🔗 Linked issue

Context: #7158

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

This PR adds support for auto-imports sources. With deprecation of autoImports:sources hook there is not an easy tool for module authors to add sources without manually passing allowDeprecated themselves.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroe danielroe added enhancement New feature or request 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing labels Sep 6, 2022
@danielroe danielroe requested review from antfu and pi0 September 6, 2022 08:55
@danielroe danielroe self-assigned this Sep 6, 2022
@netlify
Copy link
Copy Markdown

netlify Bot commented Sep 6, 2022

Deploy Preview for nuxt3-docs canceled.

Name Link
🔨 Latest commit 357acb9
🔍 Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/63171e21fd4e4c00083cd723

@pi0
Copy link
Copy Markdown
Member

pi0 commented Sep 6, 2022

Do you mind to also update deprecation message in nuxt.ts?

Comment thread packages/nuxt/src/core/nuxt.ts Outdated
@pi0 pi0 changed the title feat(kit): add utility to add auto-import sources feat(kit): add addImportsSources utility Sep 6, 2022
@pi0 pi0 merged commit a931667 into main Sep 6, 2022
@pi0 pi0 deleted the feat/import-sources branch September 6, 2022 10:17
This was referenced Sep 9, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3.x enhancement New feature or request 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants