Run check:edge on the project that Cookieplone generates

Open
#507 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
1-2 days
Newbie friendliness
57/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, javascript, node.js, vite

Research direction

Start with packages/scripts/check-edge.js and compare its project handling with pnpm check:thin-app, which accepts --project <dir>. Then read .github/workflows/cookieplone.yml and docs/development/server-build-without-nodejs.md to see how the generated project and acceptance backend are used. Done means the workflow checks the generated project and fails if its server build needs Node.js.

Written by the indexing model from the issue text.

Description

04 type: enhancement

Follow-up of #452.

pnpm check:edge (packages/scripts/check-edge.js, added in #499) only checks apps/aurora. pnpm check:thin-app takes --project <dir> to check an existing project instead, such as the one the Cookieplone templates generate, and the "Cookieplone" workflow uses it.

A generated project can bring its own add-ons and dependencies, and one of them may need Node.js on the server. The core CI wouldn't notice that.

To do

  • Add --project <dir> to check-edge.js:
    • build the project's app instead of apps/aurora, with its own vite.config.ts and react-router.config.ts;
    • set the build folder without relying on REACT_ROUTER_BUILD_DIR, which apps/aurora reads but a generated project may not.
  • Run it in .github/workflows/cookieplone.yml, after the thin app check, with the acceptance backend.
  • Mention it in docs/development/server-build-without-nodejs.md.

Done when

The Cookieplone workflow fails when a generated project's server build needs Node.js.

Assisted-by: Claude Opus 5.5

Dominant language
JavaScript
Stars
10
Forks
9
Avg merge
4d 7h
Merged PRs (30d)
54

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from plone/aurora

All issues in plone/aurora

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.