descargar pdf y fotos

This commit is contained in:
2026-06-09 08:25:57 -05:00
parent 0a9c672c75
commit b19deda02c
4404 changed files with 664668 additions and 84 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
set -eu
./scripts/generator.sh > src/index.js
npm build
+24
View File
@@ -0,0 +1,24 @@
#!/bin/bash
set -eu
files=$(ls ./src/_*.js | xargs -I "{}" basename {} .js)
lines=$(echo $files | tr " " "\n")
content='';
for src in $lines; do
name=$(echo $src | perl -pe 's/(^|_)./uc($&)/ge;s/_//g')
if [ $name = "classNameTdzError" ]; then
name='classNameTDZError';
fi
if [ $name = "typeof" ]; then
name='_typeof';
fi
if [ $name = "instanceof" ]; then
name='_instanceof';
fi
if [ $name = "throw" ]; then
name='_throw';
fi
echo "export { default as $name } from './$src';"
done