From cc375c417a1c1596113c4a1796de06d97d0ab2ca Mon Sep 17 00:00:00 2001 From: mik-tf Date: Tue, 25 Nov 2025 18:11:47 -0500 Subject: [PATCH] chore: switch from npm to pnpm and update build scripts --- README.md | 28 ++++++++++++------------ docs/ai-agent-framework/architecture.md | 2 +- docs/ai-agent-framework/getting-ready.md | 2 +- package.json | 1 + 4 files changed, 17 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 162cd67..dfb3f26 100644 --- a/README.md +++ b/README.md @@ -33,20 +33,20 @@ The site is designed to match the feel of the main `www.projectmycelium.com` sit ### Prerequisites - Node.js **18+** (LTS recommended). -- npm (comes with Node). +- [pnpm](https://pnpm.io/) (recommended) or npm (comes with Node). ### Install Dependencies From the project root (`docs_projectmycelium`): ```bash -npm install +pnpm install ``` ### Run the Dev Server ```bash -npm start +pnpm start ``` Then open: @@ -65,7 +65,7 @@ The main sections are available at: ### Build the Site ```bash -npm run build +pnpm build ``` This creates a production build in the `build/` directory. @@ -73,22 +73,22 @@ This creates a production build in the `build/` directory. ### Serve the Production Build (Local Test) ```bash -npm run serve +pnpm serve ``` Docusaurus will serve the contents of `build/` so you can verify the production build locally. --- -## npm Scripts +## Package Scripts -Defined in `package.json`: +Defined in `package.json` (run with `pnpm