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
+1 -1
View File
@@ -16,7 +16,7 @@ while IFS=" " read -r -a package; do
CURRENT="./pr/$PACKAGE_PATH"
# Temporarily skipping these packages as they don't have any exposed static typing
if [[ "$PACKAGE_PATH" == 'grafana-toolkit' || "$PACKAGE_PATH" == 'grafana-eslint-rules' ]]; then
if [[ "$PACKAGE_PATH" == 'grafana-eslint-rules' ]]; then
continue
fi
-12
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"