-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
CLI: Re-Add Nuxt support #28607
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
Merged
Merged
CLI: Re-Add Nuxt support #28607
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
b9bf7d3
Revert "Revert: Nuxt support"
valentinpalkovic ac0b619
Merge branch 'next' into revert-28479-revert/26884
ndelangen a729e4f
dedupe
ndelangen 0356e44
fixes
ndelangen 7849598
Merge branch 'next' into revert-28479-revert/26884
tobiasdiez 846bf4b
add nuxt sandbox
tobiasdiez e78c4cc
Merge branch 'next' into revert-28479-revert/26884
valentinpalkovic 00ffb6b
Update sandbox template for Nuxt v3 (Vite | TypeScript)
valentinpalkovic f434a98
Merge remote-tracking branch 'origin/next' into revert-28479-revert/2…
valentinpalkovic a4f3e0c
Fix sandbox generation for Nuxt
valentinpalkovic 9439677
Refactor sandbox generation for Nuxt templates
valentinpalkovic 4ca546b
Refactor parallelism values in CircleCI config to add Nuxt sandbox
valentinpalkovic 7635ba7
Merge branch 'next' into revert-28479-revert/26884
valentinpalkovic 1f8bcbb
Skip e2e tests for nuxt sandbox
valentinpalkovic 19f21e0
Fix typings
valentinpalkovic bf7484a
Fix CI scripts
valentinpalkovic e8daf4e
Use vue3 template stories for sandbox creation
kasperpeulen dee3222
Run e2e tests for Nuxt
kasperpeulen d02250a
Fix parallelism
kasperpeulen 31aee40
Merge remote-tracking branch 'origin/next' into revert-28479-revert/2…
kasperpeulen bf3a3ca
Adjust tests
kasperpeulen 47b4b69
Merge branch 'next' into revert-28479-revert/26884
kasperpeulen e7f32c8
Add temporary workaround for Nuxt sandboxes
yannbf 8b788b1
Merge branch 'next' into revert-28479-revert/26884
yannbf 334d401
Merge remote-tracking branch 'origin/next' into revert-28479-revert/2…
kasperpeulen abd2d62
Fix parallelism
kasperpeulen 1c0791e
Fix parallelism
kasperpeulen 72c0fab
Merge branch 'next' into revert-28479-revert/26884
kasperpeulen f3b3e56
Disable react check for nuxt
kasperpeulen 54ec63f
Merge branch 'next' into revert-28479-revert/26884
kasperpeulen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| import { baseGenerator } from '../baseGenerator'; | ||
| import type { Generator } from '../types'; | ||
|
|
||
| const generator: Generator = async (packageManager, npmOptions, options) => { | ||
| await baseGenerator( | ||
| packageManager, | ||
| npmOptions, | ||
| options, | ||
| 'vue3', | ||
| { | ||
| extraPackages: async () => { | ||
| return ['@nuxtjs/storybook']; | ||
| }, | ||
| installFrameworkPackages: false, | ||
| componentsDestinationPath: './components', | ||
| extraMain: { | ||
| stories: ['../components/**/*.mdx', '../components/**/*.stories.@(js|jsx|ts|tsx|mdx)'], | ||
| }, | ||
| }, | ||
| 'nuxt' | ||
| ); | ||
| // Add nuxtjs/storybook to nuxt.config.js | ||
| await packageManager.runPackageCommand('nuxi', [ | ||
| 'module', | ||
| 'add', | ||
| '@nuxtjs/storybook', | ||
| '--skipInstall', | ||
| ]); | ||
valentinpalkovic marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| }; | ||
|
|
||
| export default generator; | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.