Skip to content

Commit

Permalink
Merge pull request #300 from automerge/fix-watch
Browse files Browse the repository at this point in the history
Fix watch scripts
  • Loading branch information
acurrieclark authored Mar 4, 2024
2 parents 01b473f + 418321f commit 3feadfc
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 19 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"test:log": "cross-env DEBUG='automerge-repo:*' vitest",
"test:coverage": "vitest --coverage",
"test:ui": "vitest --coverage --ui",
"watch": "pnpm -r watch --parallel --stream"
"watch": "pnpm run --parallel --stream -r watch "
},
"engines": {
"node": ">= 18.x"
Expand Down Expand Up @@ -70,4 +70,4 @@
"vite-plugin-wasm": "^3.3.0",
"vitest": "^1.2.2"
}
}
}
4 changes: 2 additions & 2 deletions packages/automerge-repo-network-broadcastchannel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"watch": "npm-watch",
"watch": "npm-watch build",
"test": "vitest"
},
"dependencies": {
Expand All @@ -26,4 +26,4 @@
"publishConfig": {
"access": "public"
}
}
}
4 changes: 2 additions & 2 deletions packages/automerge-repo-network-messagechannel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"watch": "npm-watch",
"watch": "npm-watch build",
"test": "vitest"
},
"dependencies": {
Expand All @@ -28,4 +28,4 @@
"publishConfig": {
"access": "public"
}
}
}
4 changes: 2 additions & 2 deletions packages/automerge-repo-network-websocket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"watch": "npm-watch",
"watch": "npm-watch build",
"test": "vitest"
},
"dependencies": {
Expand All @@ -31,4 +31,4 @@
"publishConfig": {
"access": "public"
}
}
}
4 changes: 2 additions & 2 deletions packages/automerge-repo-react-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"scripts": {
"build": "tsc --noEmit && vite build",
"test": "vitest run",
"watch": "npm-watch",
"watch": "npm-watch build",
"visualize": "VISUALIZE=true vite build"
},
"dependencies": {
Expand Down Expand Up @@ -42,4 +42,4 @@
"publishConfig": {
"access": "public"
}
}
}
4 changes: 2 additions & 2 deletions packages/automerge-repo-storage-indexeddb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"watch": "npm-watch"
"watch": "npm-watch build"
},
"dependencies": {
"@automerge/automerge-repo": "workspace:*"
Expand All @@ -25,4 +25,4 @@
"publishConfig": {
"access": "public"
}
}
}
4 changes: 2 additions & 2 deletions packages/automerge-repo-storage-nodefs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"watch": "npm-watch"
"watch": "npm-watch build"
},
"dependencies": {
"@automerge/automerge-repo": "workspace:*",
Expand All @@ -26,4 +26,4 @@
"publishConfig": {
"access": "public"
}
}
}
4 changes: 2 additions & 2 deletions packages/automerge-repo-svelte-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"watch": "npm-watch"
"watch": "npm-watch build"
},
"peerDependencies": {
"@automerge/automerge": "^2.1.9",
Expand All @@ -31,4 +31,4 @@
"devDependencies": {
"svelte": "^3.0.0"
}
}
}
5 changes: 2 additions & 3 deletions packages/create-repo-node-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
"bin": "dist/index.js",
"scripts": {
"build": "tsc",
"postbuild": "node postbuild.js",
"watch": "npm-watch build"
"postbuild": "node postbuild.js"
},
"publishConfig": {
"access": "public"
}
}
}

0 comments on commit 3feadfc

Please sign in to comment.