Skip to content

Commit 461fdf6

Browse files
committed
Move storybook
1 parent 25b46b8 commit 461fdf6

19 files changed

+19
-4
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "external/react-tutorial-demo"]
2+
path = external/react-tutorial-demo
3+
url = [email protected]:code-hike/react-tutorial-demo.git

contributing.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## submodules
2+
3+
Add a submodule:
4+
5+
```bash
6+
$ git submodule add [email protected]:code-hike/react-tutorial-demo.git external/react-tutorial-demo
7+
```
8+
9+
Remove a submodule:
10+
11+
```bash
12+
$ ./scripts/rm-submodule.sh react-tutorial-demo
13+
```

external/react-tutorial-demo

Submodule react-tutorial-demo added at f112f19

LICENSE license

File renamed without changes.

package.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"workspaces": {
44
"packages": [
55
"packages/*",
6-
"demos/*",
7-
"storybook",
6+
"external/*",
87
"site"
98
]
109
},
@@ -17,8 +16,7 @@
1716
"version": "yarn wsrun -m --serial -c script version",
1817
"watch-package": "yarn wsrun -p '@code-hike/scroller' -r script watch ",
1918
"publish-canary": "yarn wsrun -p '@code-hike/*' --exclude '@code-hike/build' --serial -c publish-canary",
20-
"build-site": "yarn build && yarn workspace site export",
21-
"storybook-watch": "yarn watch & yarn storybook start"
19+
"build-site": "yarn build && yarn workspace site export"
2220
},
2321
"devDependencies": {
2422
"wsrun": "^5.2.4"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)