Skip to content

Commit

Permalink
Merge pull request #4 from kemuridama/v1.0.1
Browse files Browse the repository at this point in the history
Use `module.exports` instead of `export` syntax
  • Loading branch information
kemuridama committed Jul 2, 2023
2 parents b1edd5f + 3252dd5 commit 178402a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
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 };

0 comments on commit 178402a

Please sign in to comment.