Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion scripts/reset
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}"
Expand All @@ -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

Expand Down
6 changes: 5 additions & 1 deletion scripts/switch-branch
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}"
Expand Down Expand Up @@ -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

Expand Down
17 changes: 6 additions & 11 deletions scripts/watch-pivot
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -31,25 +30,21 @@ 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"'
;;
"mashlib")
prestart="npm run build-version"
start="npm run watch"
start="npm run watch:workspace"
;;
"pivot")
prestart=""
Expand Down