refactor: optimize plugin system

This commit is contained in:
2023-07-26 17:35:33 +08:00
parent 002f2c47c6
commit c07f1131c4
13 changed files with 95 additions and 48 deletions

View File

@@ -1,3 +1,4 @@
#!/bin/bash
for package in `ls packages`; do
echo $package
pushd packages/$package

1
script/sync.sh Normal file → Executable file
View File

@@ -1,3 +1,4 @@
#!/bin/bash
for PACKAGE in `ls packages`;do
echo "${PACKAGE} $(curl -s "https://registry-direct.npmmirror.com/@ccms/${PACKAGE}/sync?sync_upstream=true" -X 'PUT')"
done