From a9c6430531e32f321ac068afd8189eb8b220d0ba Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Mon, 12 Feb 2024 17:40:25 +0100 Subject: [PATCH] Document current publishing workflow Docement the adaptations I've made to the publishing procedure which uses a less dangerous publish command and removes the dist folders before publishing to avoid accidental upload of stale build files. --- docs/contributing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/contributing.md b/docs/contributing.md index 8f1d73fe..9a4ef6a9 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -319,6 +319,6 @@ You will need commit access to the repository as well publish access to the @clu 4. Publish the packages. ```sh - # Warning: Double check your current working directory is the repository before running this - pnpm -r --filter='!./external_plugins/**' publish + rm -r ./{plugins,packages}/*/dist + pnpm -r --filter='./{plugins,packages}/*' publish ```