-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔨 Add archived packages to update script
- Loading branch information
Showing
1 changed file
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,24 @@ | ||
#!/usr/bin/env bash | ||
#!/usr/bin/env zsh | ||
|
||
set -eo pipefail | ||
|
||
npx --no-install npm-check-updates -u -ws --root | ||
|
||
# packages | ||
print -P "\n[ %5FUpdating packages%f ]" | ||
|
||
npm install --ignore-scripts -ws --include-workspace-root | ||
npm run format --if-present | ||
npm run build --if-present | ||
npm run test --if-present | ||
|
||
# archived packages | ||
pushd archived/vartastorage | ||
print -P "\n[ %5FUpdating archived/vartastorage%f ]" | ||
|
||
npx --no-install npm-check-updates -u | ||
npm install --ignore-scripts | ||
npm run format --if-present | ||
npm run build --if-present | ||
npm run test --if-present | ||
popd |