Skip to content

Commit 946fa9e

Browse files
committed
chore(js): align root scripts with pnpm
1 parent dc26167 commit 946fa9e

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

package.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,18 @@
44
"packageManager": "pnpm@10.22.0",
55
"workspaces": [
66
"desktop",
7-
"browser/chromium-extension"
7+
"browser/chromium-extension",
8+
"website"
89
],
9-
"description": "Persona monorepo: core (Rust), CLI (Rust), desktop (Tauri+React), server (Rust), agents, docs",
10+
"description": "Persona monorepo: core (Rust), CLI (Rust), desktop (Tauri+React), browser extension, website, server (Rust), agents, docs",
1011
"scripts": {
11-
"build": "echo \"Use 'cargo build' for Rust crates and 'npm -w desktop run build' for desktop\"",
12-
"dev:desktop": "npm -w desktop run dev",
13-
"test:desktop": "npm -w desktop run test"
12+
"build": "echo \"Use 'cargo build' for Rust crates; use pnpm scripts for JS packages.\"",
13+
"dev:desktop": "pnpm --filter persona-desktop run dev",
14+
"build:desktop": "pnpm --filter persona-desktop run build",
15+
"test:desktop": "pnpm --filter persona-desktop run test",
16+
"dev:extension": "pnpm --filter persona-chromium-extension run build --watch",
17+
"build:extension": "pnpm --filter persona-chromium-extension run build",
18+
"dev:website": "pnpm --filter persona-website run dev",
19+
"build:website": "pnpm --filter persona-website run build"
1420
}
1521
}

0 commit comments

Comments
 (0)