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

feat(nuxt): add workspaceDir option and add it to modulesDir #7439

Merged
merged 5 commits into from
Sep 12, 2022

Conversation

danielroe
Copy link
Member

πŸ”— Linked issue

resolves nuxt/nuxt#11074

❓ 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 adds workspaceDir as an option in nuxt config. By default it uses pkg-types to locate this directory.

πŸ“ 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 12, 2022
@danielroe danielroe requested a review from pi0 September 12, 2022 11:18
@danielroe danielroe self-assigned this Sep 12, 2022
@netlify
Copy link

netlify bot commented Sep 12, 2022

βœ… Deploy Preview for nuxt3-docs canceled.

Name Link
πŸ”¨ Latest commit e0002cc
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/631f89513b0e810009dc6033

@pi0
Copy link
Member

pi0 commented Sep 12, 2022

Would be nice if in same PR, we can sync workpaceDir to the nitro config as well (releasing next version shortly)

@danielroe
Copy link
Member Author

Great! Will update shortly. I think I already added the option in Nitro config in this PR (though it won't be effective until next Nitro version).

@danielroe danielroe requested a review from pi0 September 12, 2022 19:40
@pi0 pi0 merged commit 3753ea0 into main Sep 12, 2022
@pi0 pi0 deleted the feat/workspace-dir branch September 12, 2022 20:06
This was referenced Sep 14, 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.

workspaceDir
2 participants