Extract slug-media npm package #235
Labels
No labels
activitypub
admin
api
architecture
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
content
database
deployment
design
dev-env
diagnostics
docs
documentation
email
enhancement
feature
federation
feed
health
homepage
implementation
integration
logging
mastodon
media
navigation
npm-packages
openapi
opengraph
packages
passkeys
preview
priority:high
priority:low
priority:medium
production
proof
proxy
public-routes
public-ui
release
safety
slug-api
slug-auth
slug-core
slug-federation
slug-media
slug-template
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
webauthn
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit#235
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Create
@evcraddock/slug-mediafor reusable S3-compatible media storage and upload validation behavior while keeping template-site media routes and presentation customizable.Requirements
docs/npm-specs/02-slug-media.md.packages/slug-mediawith TypeScript build, tests, README, package metadata, and public exports.@evcraddock/slug-mediaviaworkspace:*.template/site/src/media/*where they expose site-specific configuration, persistence, routes, or customization points.@evcraddock/slug-mediapackage version.Acceptance criteria
@evcraddock/slug-mediaexists as a workspace package.@evcraddock/slug-mediaviaworkspace:*.@evcraddock/slug-mediapackage../scripts/pre-pr.shpasses.Dependencies
Synced from todu comment by @todu on 2026-06-29T16:05:02.866Z
Review update
@evcraddock/slug-mediapackage extraction, template wrapper integration, generated-site dependency mapping, package pack/release dry-runs,./scripts/pre-pr.sh, and Forgejo CIbuild-lint-testpassed.@evcraddock/slug-media@0.1.0through Forgejo CI and verify post-publish install/import before task closure.Synced from todu comment by @todu on 2026-06-29T16:17:33.657Z
Completed
main, adding@evcraddock/slug-mediaunderpackages/slug-mediawith package metadata, README, TypeScript build config, public exports, and tests.@evcraddock/slug-media@0.1.0through npm workspace linking while preserving local media wrapper modules and documenting customization escape hatches intemplate/site/src/media/README.md.@evcraddock/slug-media@0.1.0../scripts/pre-pr.sh, PR CI, and post-merge push CI.@evcraddock/slug-media@0.1.0through Forgejo CI and verified npm view plus temporary install/import and S3 storage helper construction.Synced from todu comment by @todu on 2026-06-29T16:16:07.418Z
Update
main.@evcraddock/slug-media@0.1.0through Forgejo CI.npm view @evcraddock/slug-media@0.1.0 versionreturns0.1.0.@evcraddock/slug-media@0.1.0and construct the S3 storage helper.