From bb9a1427df7ef332eab68469d854a603162b392c Mon Sep 17 00:00:00 2001 From: Hunter Bertoson <44106297+hkbertoson@users.noreply.github.com> Date: Wed, 10 Apr 2024 10:28:54 -0500 Subject: [PATCH] feat: new dev script (#56) --- package.json | 3 ++- package/README.md | 10 ++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index d09281d..3e57d71 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "scripts": { "package:dev": "pnpm --filter package-name dev", "playground:dev": "pnpm --filter playground dev", + "dev": "pnpm --stream -r -parallel dev", "changeset": "changeset", "release": "node scripts/release.mjs", "lint": "biome check .", @@ -17,4 +18,4 @@ "@biomejs/biome": "1.6.4", "@changesets/cli": "^2.27.1" } -} +} \ No newline at end of file diff --git a/package/README.md b/package/README.md index bb6bd9a..097d8d6 100644 --- a/package/README.md +++ b/package/README.md @@ -69,16 +69,10 @@ Install dependencies using pnpm: pnpm i --frozen-lockfile ``` -Watch for package changes: +Start the playground and package watcher: ```bash -pnpm package:dev -``` - -Start the playground: - -```bash -pnpm playground:dev +pnpm dev ``` You can now edit files in `package`. Please note that making changes to those files may require restarting the playground dev server.