Extract slug-api npm package #245
No reviewers
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!245
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/task-8f5c9063-slug-api-package"
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?
Summary
@evcraddock/slug-apiworkspace package with standard Slugkit response helpers, health/meta helpers, bearer-auth middleware helpers, and OpenAPI serving helpers.@evcraddock/slug-api@0.1.0.@evcraddock/slug-apito the Forgejo npm package release workflow choices.Verification
npm run build --workspacesnpm run typecheck --workspacesnpm test --workspace @evcraddock/slug-apinpm test --workspace @slugkit/template-site -- src/apinpm test --workspace @evcraddock/slug-cli -- commands.test.tsnpm run package:pack:dry-run -- --workspace @evcraddock/slug-apinpm run package:release -- --workspace @evcraddock/slug-api --dry-run./scripts/pre-pr.shTask: #task-8f5c9063
39accc4fa1f383def655f383def65564bab5694aReview summary
PR #245 extracts generic Slugkit API helpers into
@evcraddock/slug-apiwhile preserving generated-site route composition and service ownership in local template API modules. The root workspace order was made explicit so package builds run dependency packages before consumers in CI.Acceptance criteria
@evcraddock/slug-apiexists as a workspace package —packages/slug-apiincludes package metadata, TS configs, README, public exports, and tests.@evcraddock/slug-apithrough the local workspace link during monorepo development —template/site/package.jsondeclares@evcraddock/slug-api: 0.1.0, which npm links locally in the workspace.@evcraddock/slug-api@0.1.0.template/site/src/api/*, andtemplate/site/src/api/README.mddocuments route override points../scripts/pre-pr.shpasses — verified locally and Forgejo CI run #348 passed.Blocking issues
None for merging this implementation PR.
Warnings
@evcraddock/slug-apiand verify install/mount/import before closing the task.Verdict
Approved. Stop at the human merge gate.