mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 09:16:30 -05:00
fix: add emojis to build scripts
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
a49f119e66
commit
a8a6789f3c
3 changed files with 18 additions and 18 deletions
|
@ -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!"
|
||||||
|
|
|
@ -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!"
|
||||||
|
|
|
@ -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!"
|
||||||
|
|
Loading…
Reference in a new issue