Skip to content

Commit 7539f3a

Browse files
authored
Merge pull request #224 from forestream/feat-components
Feat components
2 parents 9c62838 + 29b7cb0 commit 7539f3a

File tree

55 files changed

+3541
-428
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+3541
-428
lines changed

.changeset/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"ignore": [
1111
"*-example",
1212
"*-benchmark",
13-
"landing"
13+
"landing",
14+
"@devup-ui/components"
1415
]
1516
}

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ jobs:
4242
pnpm lint
4343
pnpm test
4444
- name: Build Landing
45-
run: pnpm -F landing build
45+
run: |
46+
pnpm -F landing build
47+
pnpm -F components build-storybook
48+
mv -r ./packages/components/storybook-static ./apps/landing/public/storybook
4649
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
4750
- name: Upload artifact
4851
uses: actions/upload-pages-artifact@v3

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ codecov.*
1414
codecov.*.*
1515
lcov.info
1616
tarpaulin-report.html
17-
tarpaulin-report.json
17+
tarpaulin-report.json
18+
*storybook.log
19+
storybook-static

apps/landing/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ public/search.json
1212
!.yarn/releases
1313
!.yarn/versions
1414

15+
public/storybook
16+
1517
# testing
1618
/coverage
1719

apps/landing/next.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ export default withMDX(
99
pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'],
1010
output: 'export',
1111
},
12-
{},
12+
{ include: ['@devup-ui/components'] },
1313
),
1414
)

apps/landing/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"dependencies": {
1414
"body-scroll-lock": "3.1.5",
1515
"@devup-ui/react": "workspace:*",
16+
"@devup-ui/components": "workspace:*",
1617
"@mdx-js/loader": "^3.1.0",
1718
"@mdx-js/react": "^3.1.0",
1819
"@next/mdx": "^15.3.4",
@@ -34,4 +35,4 @@
3435
"glob": "^11.0.3",
3536
"remark": "^15.0.1"
3637
}
37-
}
38+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Bottom Sheet
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { Button } from '@devup-ui/components'
2+
3+
# Button
4+
5+
<Button>Button</Button>
6+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Checkbox
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Color Picker

0 commit comments

Comments
 (0)