From 126705f97fd17525f7ec0b681b9fcff3ff24ee52 Mon Sep 17 00:00:00 2001 From: Niko Date: Tue, 13 Jun 2023 23:51:41 +0300 Subject: [PATCH] fix pnpm workspace --- ng-app/README.md | 1 + ng-app/package.json | 7 ------- ngone/README.md | 1 + 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/ng-app/README.md b/ng-app/README.md index e1f03bc..77d2e1a 100644 --- a/ng-app/README.md +++ b/ng-app/README.md @@ -45,6 +45,7 @@ cd dist-web ; python3 -m http.server in order to build a self-contained html file, useful for offline use, do: ``` +// uncomment line 14 of src/App.svelte: import * as api from "ng-sdk-js"; pnpm filebuild // single file is available in dist-file/index.html // the assets folder can be discarded diff --git a/ng-app/package.json b/ng-app/package.json index 01ed8f7..31e454e 100644 --- a/ng-app/package.json +++ b/ng-app/package.json @@ -45,12 +45,5 @@ "vite-plugin-singlefile": "^0.13.5", "vite-plugin-svelte-svg": "^2.2.1", "vite-plugin-wasm": "^3.2.2" - }, - "pnpm": { - "peerDependencyRules": { - "ignoreMissing": [ - "rollup" - ] - } } } diff --git a/ngone/README.md b/ngone/README.md index 3bd87ba..93fdf88 100644 --- a/ngone/README.md +++ b/ngone/README.md @@ -6,6 +6,7 @@ This server is used internally by NextGraph to redirect users to the right app s ``` cd web +npm install -g pnpm pnpm install ```