vanilla 18.0

This commit is contained in:
Ernad Husremovic 2025-10-08 10:48:04 +02:00
parent 0a7ae8db93
commit 5454004ff9
1963 changed files with 1187893 additions and 919508 deletions

View file

@ -8,13 +8,12 @@ if [[ $testRealPath == "" ]]; then
fi
enableInDir () {
cd $1
cd "$1" || exit
hooksPath="$(realpath --relative-to=. "$tooling/hooks")"
git config core.hooksPath "$hooksPath"
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
if [[ $2 == "copy" ]]; then
# -i is not supported on mac
@ -34,7 +33,7 @@ if [[ $willingToInstallToolingInEnterprise != "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")
pathFromEnterpriseToCommunity=$(realpath --relative-to="$pathToEnterprise" "$community")
fi
@ -47,6 +46,6 @@ fi
echo ""
echo "JS tooling have been added to the roots"
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 ""