From 7cc7d957d26cd7db6207d9361a4454c26a1940f4 Mon Sep 17 00:00:00 2001 From: Serge Ilyashenko Date: Mon, 29 Apr 2024 21:57:52 +0200 Subject: [PATCH] feat(root): dev mode for packages and homepage-legacy --- docs/monorepo.md | 13 +++++++++++++ package.json | 1 + packages/react-simple-pie/package.json | 1 + packages/simple-pie/package.json | 1 + 4 files changed, 16 insertions(+) diff --git a/docs/monorepo.md b/docs/monorepo.md index 4d066f1..4e91e8f 100644 --- a/docs/monorepo.md +++ b/docs/monorepo.md @@ -64,4 +64,17 @@ Start releasing new npm package version (read more in [package-publishing.md](./ npm run changeset ``` +## Development mode + +> ⚠️ Before starting development mode, you must run the build command + +```bash +npm run build +``` + +Run dev mode +```bash +npm run dev +``` + 🚧 TBD diff --git a/package.json b/package.json index 023c223..0eeaa6a 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "packages/*" ], "scripts": { + "dev": "turbo dev", "build": "turbo build", "build:packages": "turbo build --filter='./packages/*'", "changeset": "npx changeset", diff --git a/packages/react-simple-pie/package.json b/packages/react-simple-pie/package.json index d0a8bf1..41baa66 100644 --- a/packages/react-simple-pie/package.json +++ b/packages/react-simple-pie/package.json @@ -10,6 +10,7 @@ "dist" ], "scripts": { + "dev": "rollup --config --watch", "build": "rm -rf dist && rollup --config", "npm:publish": "npm version patch && npm publish", "lint": "eslint src" diff --git a/packages/simple-pie/package.json b/packages/simple-pie/package.json index d5d443f..e6c2778 100644 --- a/packages/simple-pie/package.json +++ b/packages/simple-pie/package.json @@ -10,6 +10,7 @@ "dist" ], "scripts": { + "dev": "rollup --config --watch", "build": "rm -rf dist && rollup --config", "npm:publish": "npm version patch && npm publish", "lint": "eslint src"