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

Add @storybook/nextjs framework #19382

Merged
merged 35 commits into from
Oct 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
b7c1ad2
Add `nextjs` framework
kylegach Aug 17, 2022
48c4b08
Add `nextjs/default-js` and `nextjs/default-ts` to repro configs
kylegach Jul 27, 2022
eeb7e2a
Add basic NEXTJS project type to CLI
kylegach Jul 27, 2022
53246d3
add framework option to baseGenerator
yannbf Sep 15, 2022
ba0b1ea
Update `baseGenerator` to use framework's template
kylegach Oct 5, 2022
738dfb1
Add nextjs framework template files
kylegach Oct 6, 2022
562049a
Feature flag CLI framework detection
kylegach Oct 13, 2022
5bda6db
fix helpers test
yannbf Oct 17, 2022
e0c6e51
temporarily fix tests
yannbf Oct 17, 2022
acc5289
fix lint issues in nextjs framework
yannbf Oct 17, 2022
8850f01
Remove extra types
kylegach Oct 12, 2022
99a6ab0
show logs in repros generation action
yannbf Oct 17, 2022
a08dd72
switch order of repro templates
yannbf Oct 17, 2022
9a1d672
Merge branch 'next' into nextjs-framework-support
yannbf Oct 17, 2022
a4ba7e3
fix import
yannbf Oct 17, 2022
8ec2e83
Merge branch 'next' into nextjs-framework-support
yannbf Oct 18, 2022
9203898
remove .git folder when generating repros
yannbf Oct 18, 2022
04fa066
provide babel preset typescript out of the box
yannbf Oct 18, 2022
c38d8cf
Merge branch 'next' into nextjs-framework-support
yannbf Oct 18, 2022
f024afb
update package version
yannbf Oct 18, 2022
5dbf97c
fix prep command to get listed by nx
yannbf Oct 19, 2022
1db64fa
skip tsconfig-paths if projects contain no baseUrl
yannbf Oct 19, 2022
b4622fd
set correct expected framework in repro-templates for cra
yannbf Oct 19, 2022
ff27b65
include framework specific stories in sandbox
yannbf Oct 19, 2022
8d62582
add nextjs specific stories in sandbox
yannbf Oct 19, 2022
68d0860
fix vue2 repro framework
yannbf Oct 19, 2022
1b81218
fix lint issues
yannbf Oct 19, 2022
412e4dd
fix lint issue
yannbf Oct 20, 2022
2f2a198
Merge branch 'next' into nextjs-framework-support
yannbf Oct 20, 2022
8a8c346
remove debug flag
yannbf Oct 20, 2022
252fb59
support ESM nextjs config files
yannbf Oct 20, 2022
bfeb0c6
add comment in nextjs css webpack config for future reference
yannbf Oct 20, 2022
1020906
skip lib check in nextjs framework package
yannbf Oct 20, 2022
b072997
fix nextConfigFile logic
yannbf Oct 20, 2022
f81747f
only inject babel typescript preset in typescript projects
yannbf Oct 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions code/frameworks/nextjs/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"rules": {
"global-require": "off",
"no-param-reassign": "off",
"import/no-dynamic-require": "off",
"import/no-unresolved": "off"
},
"overrides": [
{
"files": ["**/*.stories.@(jsx|tsx)"],
"rules": {
"react/no-unknown-property": "off",
"jsx-a11y/anchor-is-valid": "off"
}
}
]
}
Loading