From 3fa81e2916dd84c70712dacd901e68954489040f Mon Sep 17 00:00:00 2001 From: av8ta <17036768+av8ta@users.noreply.github.com> Date: Thu, 23 May 2024 10:53:42 +0800 Subject: [PATCH] remove packageManager key from package.json and update dev instructions in readme (#15) --- README.md | 25 +++++++++++++++++++++++-- package.json | 1 - 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c6736e56..4ba66539 100644 --- a/README.md +++ b/README.md @@ -44,10 +44,31 @@ git clone https://github.com/MattFerraro/CADmium.git cd CADmium pnpm build:wasm pnpm install -turbo dev +pnpm dev ``` -You will need rust and wasm-pack working locally. See `vercel_build.sh` for an example of installing these dependencies. +## Tooling setup + +### pnpm + +We use pnpm to manage the monorepo. Please follow the instructions here to install: https://pnpm.io/installation#using-a-standalone-script + +If you're new to node you can use pnpm to manage nodejs: + +```shell +# https://pnpm.io/cli/env#use +pnpm env use --global 20 +``` + +### rust + +First install rust using rustup: https://rustup.rs + +Then install wasm-pack + +```shell +cargo install wasm-pack +``` ## Running Tests diff --git a/package.json b/package.json index 602ee198..3226389a 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,6 @@ "@playwright/test": "^1.42.1", "turbo": "^1.13.2" }, - "packageManager": "pnpm@8.15.5", "engines": { "node": ">=20.12.0", "pnpm": ">=8.15.5"