Skip to content

Commit

Permalink
feat(root): dev mode for packages and homepage-legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
serjilyashenko committed Apr 29, 2024
1 parent a1a25a5 commit 7cc7d95
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/monorepo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"packages/*"
],
"scripts": {
"dev": "turbo dev",
"build": "turbo build",
"build:packages": "turbo build --filter='./packages/*'",
"changeset": "npx changeset",
Expand Down
1 change: 1 addition & 0 deletions packages/react-simple-pie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions packages/simple-pie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7cc7d95

Please sign in to comment.