Add "type" = "module" to ensure it is present (#4350)

This commit is contained in:
BLCK
2024-08-15 16:50:05 +02:00
committed by GitHub
parent 467908703b
commit d6080398db
+3
View File
@@ -12,3 +12,6 @@ do
jq ".$i = .matrix_lib_$i" package.json > package.json.new && mv package.json.new package.json && yarn prettier --write package.json
fi
done
# Ensure that "type": "module" is present
jq '.type = "module"' package.json > package.json.new && mv package.json.new package.json && yarn prettier --write package.json