Package slug-template for npm init use #231
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#231
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-templateas a versioned npm artifact thatslug initcan consume while keeping generated sites standalone and free of CLI source code.Requirements
docs/npm-specs/06-slug-template.md.packages/slug-templateor equivalent template packaging workspace with TypeScript build/tests where appropriate, README, package metadata, and public exports.@evcraddock/slug-clisoslug initconsumes@evcraddock/slug-template.@evcraddock/slug-*dependency versions, notworkspace:*.slug initbehavior.Acceptance criteria
@evcraddock/slug-templateexists as a workspace package.slug initconsumes the template package rather than relying only on ad hoc in-repo paths.@evcraddock/slug-*dependency versions.slug initverification succeeds../scripts/pre-pr.shpasses.Dependencies
Synced from todu comment by @todu on 2026-06-30T05:13:20.530Z
Review update
@evcraddock/slug-templateworkspace/package extraction, package metadata/copy filters/placeholder rules, package-backedslug init, generated-site published dependency versions, no CLI source in generated sites, package pack/release dry-runs, built-CLI init smoke test,./scripts/pre-pr.sh, and Forgejo CIbuild-lint-testpassed.@evcraddock/slug-template@0.1.0through Forgejo CI and verify post-publishslug initbefore task closure.Synced from todu comment by @todu on 2026-06-30T12:00:40.879Z
Merge and release update
main.@evcraddock/slug-template@0.1.0through Forgejo release workflow: run #361 succeeded after propagation-related reruns.npm view @evcraddock/slug-template@0.1.0 versionreturned0.1.0.slug initbehavior by packing the updated CLI, installing it in a temp project so@evcraddock/slug-template@0.1.0resolved from npm, and runningnpx slug init. Generated site used@evcraddock/slug-template/default, used published@evcraddock/slug-core@0.1.0, and did not include@evcraddock/slug-templateas a runtime dependency.Synced from todu comment by @todu on 2026-06-30T12:10:28.484Z
Closing summary
All acceptance criteria are satisfied.
@evcraddock/slug-templateexists as a workspace package inpackages/slug-templatewith package metadata, README, public exports, build/test support, template metadata, copy filters, and placeholder rules.slug initconsumes the package-backed default template and generated sites remain standalone.@evcraddock/slug-*semver dependencies and do not contain CLI source.main; Forgejo push CI run #358 passed.@evcraddock/slug-template@0.1.0was published through Forgejo release workflow run #361.npx slug initusing the published template package.