From 308b59c8a324d650e4f45acdf96d1179b7743fd6 Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Fri, 11 Oct 2024 13:15:12 +0200 Subject: [PATCH] docs: specify web-pkg as dev dependency --- packages/web-pkg/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/web-pkg/README.md b/packages/web-pkg/README.md index 0461fd005cc..dc16fa856e4 100644 --- a/packages/web-pkg/README.md +++ b/packages/web-pkg/README.md @@ -7,9 +7,11 @@ Depending on your package manager, run one of the following commands: ``` -$ npm install @ownclouders/web-pkg +$ npm install @ownclouders/web-pkg --save-dev -$ pnpm add @ownclouders/web-pkg +$ pnpm add -D @ownclouders/web-pkg -$ yarn add @ownclouders/web-pkg +$ yarn add @ownclouders/web-pkg --dev ``` + +It's recommended to install this package as a dev dependency because it's only really needed for providing autocompletion in your IDE and unit tests. In a runtime context, the ownCloud Web runtime provides the actual implementation.