diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a1d3f7..5b7e9ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,3 +20,4 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm install -g pnpm - run: pnpm i + - run: pnpm run build diff --git a/.github/workflows/storybook-publish.yml b/.github/workflows/storybook-publish.yml index 5fc43b9..0c7a60f 100644 --- a/.github/workflows/storybook-publish.yml +++ b/.github/workflows/storybook-publish.yml @@ -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 diff --git a/apps/storybook/package.json b/apps/storybook/package.json index 1b31772..c1ef793 100644 --- a/apps/storybook/package.json +++ b/apps/storybook/package.json @@ -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", diff --git a/apps/web/package.json b/apps/web/package.json index 4ea927c..1997a07 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -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", diff --git a/package.json b/package.json index 0ec0de2..b458e99 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,12 @@ { "name": "yorkie-ui", - "version": "0.0.1", + "version": "0.5.33", "description": "", "packageManager": "pnpm@9.3.0", "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": [] } diff --git a/packages/components/package.json b/packages/components/package.json index e714df4..d52b1b0 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@yorkie-ui/components", - "version": "0.0.1", + "version": "0.5.33", "type": "module", "main": "./src/index.ts", "publishConfig": { @@ -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"