From 0d9fc2877c2e32c9c7b31a5c8f712c59f68be93e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zendran?= Date: Mon, 18 Nov 2024 11:46:15 +0100 Subject: [PATCH] Updating readme and package.json --- pnpm-lock.yaml | 3 +++ website/README.md | 12 +++++++++--- website/package.json | 3 ++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 749b02288..db7f431ac 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -590,6 +590,9 @@ importers: typescript: specifier: ~5.5.2 version: 5.5.4 + uniforms: + specifier: workspace:* + version: link:../packages/uniforms packages: diff --git a/website/README.md b/website/README.md index 0c6c2c27b..0a1b48113 100644 --- a/website/README.md +++ b/website/README.md @@ -4,22 +4,28 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern stati ### Installation +In the root directory of the project, run: + ``` -$ yarn +$ pnpm install ``` ### Local Development +In the root directory of the project, run: + ``` -$ yarn start +$ pnpm -filter=website run start ``` This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. ### Build +In the root directory of the project, run: + ``` -$ yarn build +$ pnpm -filter=website run build ``` This command generates static content into the `build` directory and can be served using any static contents hosting service. diff --git a/website/package.json b/website/package.json index 95b129ef2..8b61087ff 100644 --- a/website/package.json +++ b/website/package.json @@ -42,7 +42,8 @@ "@docusaurus/types": "3.5.2", "@types/simpl-schema": "1.12.8", "simpl-schema": "1.13.1", - "typescript": "~5.5.2" + "typescript": "~5.5.2", + "uniforms": "workspace:*" }, "browserslist": { "production": [