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

feat(kit): add addImportsSources utility #7270

Merged
merged 5 commits into from
Sep 6, 2022
Merged

feat(kit): add addImportsSources utility #7270

merged 5 commits into from
Sep 6, 2022

Conversation

danielroe
Copy link
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 pi0 and antfu September 6, 2022 08:55
@danielroe danielroe self-assigned this Sep 6, 2022
@netlify
Copy link

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
Member

pi0 commented Sep 6, 2022

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

packages/nuxt/src/core/nuxt.ts Outdated Show resolved Hide resolved
@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.

None yet

2 participants