-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: updated contributing guidelines, eslint rules and storybook te…
…mplates (#5294) Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com> Co-authored-by: Manish Kumar ⛄ <manishprivet@protonmail.com>
- Loading branch information
1 parent
bb46dfe
commit bfcabb9
Showing
74 changed files
with
571 additions
and
344 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
|
@@ -25,3 +25,6 @@ coverage | |
|
||
# Storybook | ||
storybook-static | ||
|
||
# Vercel Config | ||
.vercel |
This file contains 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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
# Default rules | ||
* @nodejs/website | ||
|
||
- @nodejs/website | ||
|
||
# Node.js Release Blog Posts | ||
|
||
/pages/en/blog/release @nodejs/releasers | ||
/pages/en/blog/announcements @nodejs/releasers |
This file contains 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 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 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 |
---|---|---|
@@ -1,9 +1,13 @@ | ||
import Alert from './index'; | ||
import type { Meta as MetaObj, StoryObj } from '@storybook/react'; | ||
|
||
export default { component: Alert }; | ||
type Story = StoryObj<typeof Alert>; | ||
type Meta = MetaObj<typeof Alert>; | ||
|
||
export const Default = { | ||
export const Default: Story = { | ||
args: { | ||
children: 'This is an alert', | ||
}, | ||
}; | ||
|
||
export default { component: Alert } as Meta; |
This file contains 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 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 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 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 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 |
---|---|---|
@@ -1,9 +1,13 @@ | ||
import AuthorList from '.'; | ||
import AuthorList from './index'; | ||
import type { Meta as MetaObj, StoryObj } from '@storybook/react'; | ||
|
||
export default { component: AuthorList }; | ||
type Story = StoryObj<typeof AuthorList>; | ||
type Meta = MetaObj<typeof AuthorList>; | ||
|
||
export const Default = { | ||
export const Default: Story = { | ||
args: { | ||
authors: ['flaviocopes', 'MarkPieszak', 'mcollina', 'unavailable-author'], | ||
}, | ||
}; | ||
|
||
export default { component: AuthorList } as Meta; |
This file contains 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
Oops, something went wrong.
bfcabb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nodejs-org-stories – ./
nodejs-org-storybook.vercel.app
nodejs-org-stories-git-major-website-redesign-openjs.vercel.app
nodejs-org-stories-openjs.vercel.app