mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-20 00:52:07 +02:00
vanilla 17.0
This commit is contained in:
parent
d72e748793
commit
a9bcec8e91
1986 changed files with 1613876 additions and 568976 deletions
|
|
@ -8,11 +8,10 @@ if [[ $testRealPath == "" ]]; then
|
|||
fi
|
||||
|
||||
refreshInDir () {
|
||||
cd $1
|
||||
cd "$1" || exit
|
||||
cp "$tooling/_eslintignore" .eslintignore
|
||||
cp "$tooling/_prettierignore" .prettierignore
|
||||
cp "$tooling/_eslintrc.json" .eslintrc.json
|
||||
cp "$tooling/_prettierrc.json" .prettierrc.json
|
||||
cp "$tooling/_jsconfig.json" jsconfig.json
|
||||
cp "$tooling/_package.json" package.json
|
||||
cd - &> /dev/null
|
||||
}
|
||||
|
|
@ -21,7 +20,7 @@ read -p "Refresh tooling in enterprise ? [y, n]" doEnterprise
|
|||
if [[ $doEnterprise != "n" ]]; then
|
||||
read -p "What is the relative path from community to enterprise ? (../enterprise)" pathToEnterprise
|
||||
pathToEnterprise=${pathToEnterprise:-../enterprise}
|
||||
pathToEnterprise=$(realpath $community/$pathToEnterprise)
|
||||
pathToEnterprise=$(realpath "$community/$pathToEnterprise")
|
||||
fi
|
||||
|
||||
refreshInDir "$community"
|
||||
|
|
@ -33,7 +32,7 @@ fi
|
|||
|
||||
echo ""
|
||||
echo "The JS tooling config files have been refreshed"
|
||||
echo "Make sure to refresh the eslint service and configure your IDE so it uses the config files"
|
||||
echo "Make sure to refresh the eslint and typescript service and configure your IDE so it uses the config files"
|
||||
echo 'For VSCode, look inside your .vscode/settings.json file ("editor.defaultFormatter": "dbaeumer.vscode-eslint")'
|
||||
echo "If you still have issues, try doing a full reload instead which will reinstall the node modules"
|
||||
echo ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue