Skip to content

Commit

Permalink
Merge pull request #32 from kitsuyui/refactor-storybook-directory
Browse files Browse the repository at this point in the history
Move storybook directory into examples
  • Loading branch information
kitsuyui authored May 13, 2023
2 parents b5b1b1b + 57af985 commit 4861424
Show file tree
Hide file tree
Showing 11 changed files with 2,791 additions and 87 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
run: yarn pack

- name: Upload coverage to Codecov
if: matrix.node-version == '18.x'
if: matrix.node-version == '20.x'
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 4 additions & 2 deletions storybook/package.json → examples/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"private": true,
"devDependencies": {
"@babel/preset-env": "^7.21.5",
"@babel/preset-react": "^7.18.6",
Expand All @@ -18,10 +19,11 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"storybook": "^7.0.8",
"@kitsuyui/react-clock": "file:../packages/clock",
"@kitsuyui/react-timer": "file:../packages/timer"
"@kitsuyui/react-clock": "file:../../packages/clock",
"@kitsuyui/react-timer": "file:../../packages/timer"
},
"scripts": {
"start": "storybook dev -p 6006",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
}
Expand Down
File renamed without changes.
File renamed without changes.
16 changes: 12 additions & 4 deletions storybook/yarn.lock → examples/storybook/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1291,13 +1291,21 @@
resolved "https://registry.yarnpkg.com/@juggle/resize-observer/-/resize-observer-3.4.0.tgz#08d6c5e20cf7e4cc02fd181c4b0c225cd31dbb60"
integrity sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==

"@kitsuyui/react-clock@link:../packages/clock":
"@kitsuyui/react-clock@file:../packages/clock":
version "0.0.0"
uid ""
dependencies:
luxon "^3.3.0"
react "^18.2.0"
react-dom "^18.2.0"
react-use "^17.4.0"

"@kitsuyui/react-timer@link:../packages/timer":
"@kitsuyui/react-timer@file:../packages/timer":
version "0.0.0"
uid ""
dependencies:
luxon "^3.3.0"
react "^18.2.0"
react-dom "^18.2.0"
react-use "^17.4.0"

"@mdx-js/react@^2.1.5":
version "2.3.0"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"license": "MIT",
"scripts": {
"start": "turbo run start --parallel",
"build": "turbo build",
"test": "turbo test",
"lint": "turbo lint",
Expand Down
3 changes: 3 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"$schema": "https://turborepo.org/schema.json",
"pipeline": {
"start": {
"dependsOn": ["^start"]
},
"build": {
"dependsOn": ["^build"],
"outputs": ["build/**"]
Expand Down
2,848 changes: 2,769 additions & 79 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 4861424

Please sign in to comment.