Skip to content

[Bug]: Makefile and local development instructions still use pre-app project paths #779

Closed

Description

@jimhoyd

Runtime revision and environment

URLCode v0.6.2 (a7d7ce1c4a540032cbc032ca0f605f1b3555b996), published npm core 0.6.2; macOS, Node v26.8.2. Read-only review on 2026-09-26; reproductions in disposable directories.

Minimal reproduction

From a clean source checkout with dependencies installed, run make validate (or make dev). Makefile:5 defaults PROJECT to starters/default; the project is now starters/default/app. The first-run command in CONTRIBUTING therefore fails rather than starting the documented empty starter.

The independent-app flow in docs/LOCAL-DEVELOPMENT.md repeats the mismatch: npm run init -- ../my-links writes ../my-links/app/urlcode.yaml, but the documented dev/validate/test commands pass --project ../my-links. Using the generated site's scripts or passing its app directory works.

Expected: first-run Make targets and independent-app instructions resolve the generated route project. Align Makefile defaults, help examples and CONTRIBUTING/local-development examples with the app/ layout, without flattening the operator/project boundary.

Relevant output

make validate invokes node packages/core/src/cli.ts validate --local --project "starters/default" and fails with no-project / no urlcode.yaml. Independently reproduced with published urlcode init: validation at the generated site root fails; validation at <site>/app passes with zero routes.

Activity

  1. jimhoyd commented on Sep 26, 2026

    @jimhoyd
    CollaboratorAuthor

    The all-docs path scan also found the same stale command in packages/core/README.md:14: validate --local --project starters/default. Include that package-facing onboarding entry in the app/ path correction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions