diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c66a3d9..115f3b5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,6 +32,9 @@ jobs: - name: 📦 Install Dependencies run: mkdir node_modules && npm ci + - name: 📖 Readme + run: npm run copy-readme + - name: 🏗️ Build run: npm run build diff --git a/package.json b/package.json index 8c50ddd..dbf7526 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "root", - "version": "1.1.0", + "version": "0.0.0", "repository": "git@github.com:lucas-labs/plots.git", "private": false, "workspaces": [ @@ -12,6 +12,7 @@ }, "scripts": { "build": "npm run build --workspaces --if-present", + "copy-readme": "cp README.md packages/plots/README.md", "tgz": "npm pack --workspace=@lucas-labs/plots", "serve": "concurrently \"npm run watch\" \"npm run example\" -n \"ts,sb\" -c \"blue.bold,magenta.bold\" -p \"[{name}]\"", "watch": "npm run watch --workspaces --if-present", diff --git a/packages/plots/package.json b/packages/plots/package.json index d687f5d..7b0b77e 100644 --- a/packages/plots/package.json +++ b/packages/plots/package.json @@ -1,6 +1,6 @@ { "name": "@lucas-labs/plots", - "version": "1.0.0", + "version": "1.1.0", "description": "Storybook addon for embedding your design preview in addon panel", "main": "cjs/index.js", "module": "esm/index.js",