fix: add emojis to build scripts

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-08-26 15:03:26 +02:00
parent a49f119e66
commit a8a6789f3c
3 changed files with 18 additions and 18 deletions

View file

@ -7,27 +7,27 @@
set -e
echo "Clear dist directory.."
echo "🦔 > Clear dist directory.."
rm -rf dist
echo "Compile to CJS.."
echo "🦔 > Compile to CJS.."
tsc --project tsconfig.cjs.json
echo "Compile to ESM.."
echo "🦔 > Compile to ESM.."
tsc --project tsconfig.esm.json
echo "Fix CJS package.json.."
echo "🦔 > Fix CJS package.json.."
cat > dist/cjs/package.json <<!EOF
{
"type": "commonjs"
}
!EOF
echo "Fix ESM package.json.."
echo "🦔 > Fix ESM package.json.."
cat > dist/esm/package.json <<!EOF
{
"type": "module"
}
!EOF
echo "Done!"
echo "🦔 > Done!"

View file

@ -7,27 +7,27 @@
set -e
echo "Clear dist directory.."
echo "🦔 > Clear dist directory.."
rm -rf dist
echo "Compile to CJS.."
echo "🦔 > Compile to CJS.."
tsc --project tsconfig.cjs.json
echo "Compile to ESM.."
echo "🦔 > Compile to ESM.."
tsc --project tsconfig.esm.json
echo "Fix CJS package.json.."
echo "🦔 > Fix CJS package.json.."
cat > dist/cjs/package.json <<!EOF
{
"type": "commonjs"
}
!EOF
echo "Fix ESM package.json.."
echo "🦔 > Fix ESM package.json.."
cat > dist/esm/package.json <<!EOF
{
"type": "module"
}
!EOF
echo "Done!"
echo "🦔 > Done!"

View file

@ -8,27 +8,27 @@
set -e
echo "Clear dist directory.."
echo "🦔 > Clear dist directory.."
rm -rf dist
echo "Compile to CJS.."
echo "🦔 > Compile to CJS.."
tsc --project tsconfig.cjs.json
echo "Compile to ESM.."
echo "🦔 > Compile to ESM.."
tsc --project tsconfig.esm.json
echo "Fix CJS package.json.."
echo "🦔 > Fix CJS package.json.."
cat > dist/cjs/package.json <<!EOF
{
"type": "commonjs"
}
!EOF
echo "Fix ESM package.json.."
echo "🦔 > Fix ESM package.json.."
cat > dist/esm/package.json <<!EOF
{
"type": "module"
}
!EOF
echo "Done!"
echo "🦔 > Done!"