Include dev environment in slug init #200
No reviewers
Labels
No labels
activitypub
admin
api
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
database
deployment
design
dev-env
docs
documentation
email
enhancement
feature
federation
feed
homepage
implementation
integration
media
openapi
priority:high
priority:low
priority:medium
proof
public-routes
public-ui
release
safety
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit!200
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/task-634b7185-slug-init-dev-environment"
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
Add generated-site dev environment scaffolding so
slug initcreates an Overmind-based local development setup.Task
Task: #task-634b7185
Changes
Makefiletargets for starting, stopping, checking, and connecting to the Overmind dev environment.Procfile.devthat runs the Hono app and Tailwind watcher from a standalone generated site.make devthe generated-site local development path.slug inittests to verify generated dev environment files and standalone config.Testing
Verification:
npm exec --workspace @evcraddock/slug-cli -- vitest run --config ../vitest.config.ts src/__tests__/commands.test.tsnpm run build --workspace @slugkit/template-site && npm test --workspace @slugkit/template-site./scripts/pre-pr.shChecklist
./scripts/pre-pr.shpassesPR review completed for task
task-634b7185.Result: approved
Acceptance criteria: 3/3 met, 0 missing.
Verification:
slug initoutput now includesMakefileandProcfile.devfrom the template.template/sitepaths.tsconfig.jsonno longer depend on repository-relative config paths, so generated sites are more suitable for local website changes.npm exec --workspace @evcraddock/slug-cli -- vitest run --config ../vitest.config.ts src/__tests__/commands.test.ts.npm run build --workspace @slugkit/template-site && npm test --workspace @slugkit/template-site../scripts/pre-pr.sh.566392b(build-lint-test, pull_request).Blocking issues: none.
Warnings: none.
Merge gate: waiting for explicit human approval.
PR Review Worker Result
566392bb90d471b8600dPR review completed for task
task-634b7185after updated471b86.Result: approved
Acceptance criteria: 3/3 met, 0 missing.
Verification:
d471b86.slug initoutput includes generated-siteMakefile,Procfile.dev, and standalonevitest.config.ts.template/sitepaths.src/__tests__/dev-environment.test.tssrc/federation/__tests__/follow.test.tsnpm exec --workspace @evcraddock/slug-cli -- vitest run --config ../vitest.config.ts src/__tests__/commands.test.ts src/__tests__/template-package-script.test.tsandnpm exec --workspace @slugkit/template-site -- vitest run --config ./vitest.config.ts src/__tests__/dev-environment.test.ts src/federation/__tests__/follow.test.ts src/api/__tests__/comments.test.ts./Users/erik/Private/code/forgejo/my-site:npm install,npm run db:migrate,npm run build,npm test(41 files, 263 tests), andmake dev/make dev-stop../scripts/pre-pr.sh.d471b86(build-lint-test, pull_request).Blocking issues: none.
Warnings: none.
Merge gate: waiting for explicit human approval.
PR Review Worker Result