File tree Expand file tree Collapse file tree 3 files changed +24
-2
lines changed
Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 11node_modules
22plugins /*
3- ! plugins /installplugins .sh
3+ ! plugins /install-plugins .sh
44adapters /*
55! adapters /install-adapters.sh
Original file line number Diff line number Diff line change 2525 "--comment_postinstall" : " postinstall executed after package installed in other project package and when we do npm ci in the package" ,
2626 "postinstall" : " if test -d ./dist/spa/; then cd ./dist/spa/ && npm ci && echo 'installed spa dependencies'; fi" ,
2727 "install-plugins" : " cd ../plugins && sh install-plugins.sh" ,
28- "install-adapters" : " cd ./adapters && sh install-adapters.sh"
28+ "install-adapters" : " cd .. /adapters && sh install-adapters.sh"
2929 },
3030 "exports" : {
3131 "." : {
Original file line number Diff line number Diff line change 1+ PLUGINS=" adminforth-audit-log adminforth-email-password-reset adminforth-foreign-inline-list \
2+ adminforth-i18n adminforth-import-export adminforth-text-complete adminforth-open-signup \
3+ adminforth-rich-editor adminforth-two-factors-auth adminforth-upload"
4+
5+ # for each plugin
6+ for plugin in $PLUGINS ; do
7+
8+ if [ -d " $plugin /.git" ]; then
9+ echo " Repository for $plugin exists. Pulling latest changes..."
10+ cd " $plugin "
11+ git pull
12+ else
13+ echo " Repository for $plugin does not exist. Cloning..."
14+ git clone git@github.com:devforth/$plugin .git
15+ cd $plugin
16+ fi
17+
18+ npm ci
19+ cd ..
20+ done
21+
22+
You can’t perform that action at this time.
0 commit comments