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

View file

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

View file

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