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"