diff --git a/package.json b/package.json index 8aee825..1e901d7 100644 --- a/package.json +++ b/package.json @@ -2,13 +2,13 @@ "private": true, "scripts": { "preinstall": "npx only-allow pnpm", - "dev": "pnpm --filter '*' dev", - "build": "pnpm --filter '*' build", - "preview": "pnpm --filter '*' preview", - "lint": "pnpm --filter '*' lint", - "lint:fix": "pnpm --filter '*' lint:fix", - "test": "pnpm --filter '*' test", - "test:watch": "pnpm --filter '*' test:watch" + "dev": "pnpm -r dev", + "build": "pnpm -r build", + "preview": "pnpm -r preview", + "lint": "pnpm -r lint", + "lint:fix": "pnpm -r lint:fix", + "test": "pnpm -r test", + "test:watch": "pnpm -r test:watch" }, "keywords": [], "author": { @@ -31,4 +31,4 @@ "lerna": "^6.1.0" }, "packageManager": "pnpm@8.0.0" -} \ No newline at end of file +} diff --git a/packages/app/README.md b/packages/app/README.md index 83b09f7..692e551 100644 --- a/packages/app/README.md +++ b/packages/app/README.md @@ -13,6 +13,7 @@ The Commerce Layer Identity micro frontend (React) provides you with an applicat - [Getting started](#getting-started) - [Hosted version](#hosted-version) - [Contributors guide](#contributors-guide) +- [Running on Windows](#running-on-windows) - [Help and support](#need-help) - [License](#license) @@ -80,6 +81,13 @@ pnpm dev 7. Someone will attend to your pull request and provide some feedback. +## Running on Windows +When working on Microsoft Windows, we suggest to use the PowerShell terminal or any alternative shell with the ability to run scripts as admin user. + +This is required to install `pnpm` following the instruction [here](https://pnpm.io/installation#on-windows). + +Once done, install globally the `touch-cli` package by running `pnpm add -g touch-cli` in order to successfully execute the `prepare` script. + ## Need help? 1. Join [Commerce Layer's Slack community](https://slack.commercelayer.app).