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

Use module.exports instead of export syntax #4

Merged
merged 3 commits into from
Jul 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 16 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
{
"name": "@kemuridama/storybook-addon-github",
"version": "1.0.0",
"version": "1.0.1",
"repository": {
"type": "git",
"url": "https://github.com/kemuridama/storybook-addon-github"
},
"description": "A Storybook addon that allows you to link a source code of your story on GitHub.",
"keywords": [
"storybook-addons",
"github",
"code"
],
"main": "preset.js",
"files": [
"dist",
Expand Down Expand Up @@ -45,5 +54,11 @@
"@storybook/components": "^7.0.24",
"@storybook/manager-api": "^7.0.24",
"react": "^18.2.0"
},
"storybook": {
"displayName": "GitHub",
"supportedFrameworks": [
"react"
]
}
}
2 changes: 1 addition & 1 deletion preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ function managerEntries(entry = []) {
return [...entry, require.resolve("./dist/manager")];
}

export default { managerEntries };
module.exports = { managerEntries };