Plugins: Remove deprecated grafana-toolkit (#73489)

* remove grafana-toolkit

* replaces old tsconfig with grafana tsconfig

* fix betterer
This commit is contained in:
Yulia Shanyrova
2023-09-05 09:56:04 +02:00
committed by GitHub
parent a403027608
commit 77bf8215d4
28 changed files with 7 additions and 661 deletions

View File

@@ -30,18 +30,6 @@ for file in "$ARTIFACTS_DIR"/*.tgz; do
fi
done
# @grafana/toolkit structure is different to the other packages
if [[ "$dir_name" == "grafana-toolkit" ]]; then
if [ ! -d bin ] || [ ! -f bin/grafana-toolkit.js ]; then
echo -e "❌ Failed: Missing 'bin' directory or required files in package $dir_name.\n"
exit 1
fi
echo -e "✅ Passed: package checks for $file.\n"
popd || exit
continue
fi
# Assert commonjs builds
if [ ! -d dist ] || [ ! -f dist/index.js ] || [ ! -f dist/index.d.ts ]; then
echo -e "❌ Failed: Missing 'dist' directory or required commonjs files in package $dir_name.\n"