Skip to content

Commit

Permalink
Update package versions and build scripts (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins authored Jul 26, 2024
1 parent 1f41b46 commit 2d29c7a
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm install -g pnpm
- run: pnpm i
- run: pnpm run build
3 changes: 1 addition & 2 deletions .github/workflows/storybook-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ jobs:
- name: Build 🔧
run: |
cd apps/storybook
pnpm build:storybook
pnpm run build
- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v3
Expand Down
9 changes: 4 additions & 5 deletions apps/storybook/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "@yorkie-ui/storybook",
"private": true,
"version": "0.0.1",
"version": "0.5.33",
"type": "module",
"scripts": {
"build": "tsc -b && vite build",
"build:storybook": "pnpm prestorybook && storybook build",
"prebuild": "pnpm --filter @yorkie-ui/components build",
"build": "storybook build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"prestorybook": "pnpm --filter @yorkie-ui/components build",
"storybook": "storybook dev -p 6006"
"dev": "pnpm prebuild && storybook dev -p 6006"
},
"dependencies": {
"react": "^18.3.1",
Expand Down
5 changes: 3 additions & 2 deletions apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "@yorkie-ui/test",
"version": "0.0.1",
"name": "@yorkie-ui/web",
"version": "0.5.33",
"private": true,
"scripts": {
"prebuild": "pnpm --filter @yorkie-ui/components build",
"dev": "next dev",
"build": "next build",
"start": "next start",
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"name": "yorkie-ui",
"version": "0.0.1",
"version": "0.5.33",
"description": "",
"packageManager": "[email protected]",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"build": "pnpm -r run build",
"dev": "pnpm -r run dev",
"version": "pnpm -r exec -- npm version $npm_package_version"
},
"keywords": []
}
6 changes: 3 additions & 3 deletions packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yorkie-ui/components",
"version": "0.0.1",
"version": "0.5.33",
"type": "module",
"main": "./src/index.ts",
"publishConfig": {
Expand All @@ -23,9 +23,9 @@
],
"scripts": {
"build": "rm -rf dist && tsc && vite build && pnpm build:style",
"build:style": "pnpm prepare && panda cssgen --outfile dist/styles.css",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"prepare": "panda codegen",
"build:style": "pnpm prepare && panda cssgen --outfile dist/styles.css"
"prepare": "panda codegen"
},
"dependencies": {
"@ark-ui/react": "^3.5.0"
Expand Down

0 comments on commit 2d29c7a

Please sign in to comment.