Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validation for exported ActivityPub tarballs #7

Merged
merged 8 commits into from
Jan 15, 2025
Prev Previous commit
Next Next commit
Add validateExportStream to ESM build script
0marSalah committed Jan 9, 2025
commit ac6fb51b7153efc19e491b166f244cd90628e92a
3 changes: 2 additions & 1 deletion build-dist.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
mkdir ./dist/esm
mkdir -p ./dist/esm
cat >dist/esm/index.js <<!EOF
import cjsModule from "../index.js";
export const exportActorProfile = cjsModule.exportActorProfile;
export const importActorProfile = cjsModule.importActorProfile;
export const validateExportStream = cjsModule.validateExportStream;
!EOF

cat >dist/esm/package.json <<!EOF