From 124d21714770efd1e0ed8b8e0c1ac7fdced5cea9 Mon Sep 17 00:00:00 2001 From: Sharon Stratsianis Date: Sun, 21 Jun 2026 12:15:59 +1000 Subject: [PATCH 1/2] add pivot & make reset and watch match --- scripts/reset | 6 +++++- scripts/switch-branch | 6 +++++- scripts/watch-pivot | 15 +++++---------- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/scripts/reset b/scripts/reset index 7df1f4e..9405a3f 100755 --- a/scripts/reset +++ b/scripts/reset @@ -19,7 +19,8 @@ declare -a packages=( "solid-ui" "pane-registry" "solid-logic" - "rdflib") + "rdflib" + "pivot") # Clone and npm install dependent packages for package in "${packages[@]}" @@ -37,6 +38,9 @@ do pushd workspaces/$package nvm use --delete-prefix npm run build + if [[ "$package" == "rdflib" ]]; then + npm run build:types + fi popd done diff --git a/scripts/switch-branch b/scripts/switch-branch index 0c692ee..d6322b5 100755 --- a/scripts/switch-branch +++ b/scripts/switch-branch @@ -20,7 +20,8 @@ declare -a packages=( "profile-pane" "solid-panes" "mashlib" - "css-mashlib") + "css-mashlib" + "pivot") # Clone and npm install dependent packages for package in "${packages[@]}" @@ -50,6 +51,9 @@ do pushd workspaces/$package nvm use --delete-prefix npm run build + if [[ "$package" == "rdflib" ]]; then + npm run build:types + fi popd done diff --git a/scripts/watch-pivot b/scripts/watch-pivot index e851c36..bbed25d 100755 --- a/scripts/watch-pivot +++ b/scripts/watch-pivot @@ -13,9 +13,8 @@ nvm use --delete-prefix npx lerna bootstrap --force-local declare -a packageNames=( + "solid-logic" "solid-ui" - "contacts-pane" - "profile-pane" "solid-panes" "mashlib" "pivot" @@ -31,18 +30,14 @@ trap cleanup INT TERM EXIT for package in "${packageNames[@]}"; do case "$package" in + "solid-logic") + prestart="npm run build" + start="npm run watch" + ;; "solid-ui") prestart="npm run build-version && npm run build-js && npm run postbuild-js" start="sh -c 'npm run watch:js & npm run watch:dist & wait'" ;; - "contacts-pane") - prestart="npm run build-dist" - start="npm run watch-dist" - ;; - "profile-pane") - prestart="npm run build-dist && npm run build-js" - start='npx concurrently -k -n babel,webpack "npm:watch-js" "npm:watch-dist"' - ;; "solid-panes") prestart="npm run build-version" start='npx concurrently -k -n babel,types,webpack "npm:watch-js" "npm:watch-types" "npm:watch-dist"' From fb0307888d37846e065e7537c60f333084013cb8 Mon Sep 17 00:00:00 2001 From: Sharon Stratsianis Date: Sun, 21 Jun 2026 12:15:59 +1000 Subject: [PATCH 2/2] add pivot & make reset and watch match --- scripts/watch-pivot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/watch-pivot b/scripts/watch-pivot index bbed25d..fd1fa82 100755 --- a/scripts/watch-pivot +++ b/scripts/watch-pivot @@ -44,7 +44,7 @@ for package in "${packageNames[@]}"; do ;; "mashlib") prestart="npm run build-version" - start="npm run watch" + start="npm run watch:workspace" ;; "pivot") prestart=""