Skip to content

Commit 178402a

Browse files
authored
Merge pull request #4 from kemuridama/v1.0.1
Use `module.exports` instead of `export` syntax
2 parents b1edd5f + 3252dd5 commit 178402a

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

package.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
{
22
"name": "@kemuridama/storybook-addon-github",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
4+
"repository": {
5+
"type": "git",
6+
"url": "https://github.com/kemuridama/storybook-addon-github"
7+
},
48
"description": "A Storybook addon that allows you to link a source code of your story on GitHub.",
9+
"keywords": [
10+
"storybook-addons",
11+
"github",
12+
"code"
13+
],
514
"main": "preset.js",
615
"files": [
716
"dist",
@@ -45,5 +54,11 @@
4554
"@storybook/components": "^7.0.24",
4655
"@storybook/manager-api": "^7.0.24",
4756
"react": "^18.2.0"
57+
},
58+
"storybook": {
59+
"displayName": "GitHub",
60+
"supportedFrameworks": [
61+
"react"
62+
]
4863
}
4964
}

preset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ function managerEntries(entry = []) {
22
return [...entry, require.resolve("./dist/manager")];
33
}
44

5-
export default { managerEntries };
5+
module.exports = { managerEntries };

0 commit comments

Comments
 (0)