LearnNewsExamplesConnect
Frontmatter
assigneesbh1090
createdAtNov 14, 2026, 3:02 AM
updatedAtNov 16, 2026, 12:10 AM
githubUrlhttps://github.com/neomjs/neo/issues/20924
authorneo-opus-vega
commentsCount4
parentIssue20667
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined1
signals[]
blockedBy[]
blocking[]
closedAtNov 16, 2026, 12:10 AM
milestonev14.0

No guide names the install step the engine's build scripts need

Closed v14.0.0/archive-v14-0-0-chunk-2 documentationenhancementhelp wantedgood first issueai
neo-opus-vega
neo-opus-vega commented on Nov 14, 2026, 3:02 AM

Please comment to claim before starting; check current assignees and linked PRs.

Context

The engine is published without generated output and without runtime dependencies: .npmignore drops /dist ("The npm package contains their sources and build scripts, never generated output."), and package.json declares no dependencies, only 38 devDependencies, among them webpack, sass and @playwright/test.

A workspace made by npx neo-app works anyway, because create-app writes this postinstall into its package.json (neomjs/create-app tasks/createPackageJson.mjs:41):

cd node_modules/neo.mjs && npm i && npm run bundle-parse5 && npm run bundle-marked

and lists the engine's toolchain as the workspace's own devDependencies. No engine guide says any of this. Anyone who depends on the engine without starting from create-app, such as a package that lives in its own repository (#20667), has to find the line in the generator's source.

Measured 2026-11-14 on such a package, installed from a tarball packed at dev a07f581f13 (receipt on #20667):

  • without the step, npm run build-themes stops at Cannot find package 'autoprefixer' imported from …/node_modules/neo.mjs/buildScripts/build/themes.mjs, and scripts that call node_modules/neo.mjs/node_modules/.bin/webpack or …/playwright find no file;
  • with it, the themes build in all five themes, and the package's e2e suite and production build pass.

The Problem

learn/gettingstarted/Workspaces.md says that "a Neo.mjs workspace is a conventional npm package", but not that installing the engine takes two installs: the workspace's own, then the engine's inside node_modules/neo.mjs, followed by the two bundles the engine imports at module scope. Because every npm install replaces node_modules/neo.mjs, the bundles go with it, which is why the step is a postinstall and not a one-time setup.

The Architectural Reality

  • create-app tasks/createPackageJson.mjs:39-41 states the reason in its comment: the engine package ships no generated bundles and an install replaces node_modules/neo.mjs, so every install rebuilds the two the engine imports at module scope; the others load lazily through bundle-browser-deps.
  • The package side is documented: learn/guides/uibuildingblocks/StylingAndTheming.md:402 explains how an installed package ships its own SCSS (neo.scss). The clone path for engine contributors is documented in CONTRIBUTING.md (#18999). The step between them is not.
  • Design authority: n/a — this ticket calls no existing behavior wrong; it documents it.

The Fix

One short section in learn/gettingstarted/Workspaces.md, after the "conventional npm package" sentence (a sibling page linked from there is fine if learn/tree.json reads better). It says what the published engine leaves out (/dist, runtime dependencies), quotes the postinstall line as create-app writes it and explains each part, names the lazily loaded bundles and npm run bundle-browser-deps, and tells a package that depends on the engine without create-app to add the same line and the toolchain devDependencies. When node_modules/neo.mjs links an engine checkout instead, that checkout's own install already did this. Quote create-app; do not write a second recipe. Follow the guide-authoring skill (.agents/skills/guide-authoring/SKILL.md).

Acceptance Criteria

  • The guide names what the published engine leaves out (/dist, runtime dependencies).
  • It quotes the postinstall line exactly as create-app writes it and says why it runs on every install.
  • It names the lazily loaded bundles and npm run bundle-browser-deps.
  • It tells a package that depends on the engine without create-app what to add, names the linked-checkout case, and links StylingAndTheming.md for how such a package ships its SCSS.
  • No other file changes.

Out of Scope

  • Changing the install model (runtime dependencies, an engine postinstall, a setup command). Whether the nested npm i is needed at all is create-app's question (#20131, Out of Scope).
  • create-app itself, and the engine-contributor path in CONTRIBUTING.md.

Related

#20667 (parent) · #20131 · #19052 (a consumer owns its install lifecycle) · #18999 · neomjs/create-app tasks/createPackageJson.mjs

Live latest-open + closed sweep: checked latest 20 open + searches (postinstall bundle-parse5; installed engine npm i node_modules/neo.mjs; Workspaces guide install; engine package no runtime dependencies) at 2026-11-14T01:59Z; Out of Scope read on #20131, #19052, #18999; no equivalent or prior exclusion found. Backlog: 51 open, red band; filed as a leaf of the owning epic #20667. A2A in-flight claim sweep: latest 30 messages, all read-states, at 2026-11-14T02:02Z; no claim on this scope. MC sweep: query_raw_memories on the symptom (installed engine, build-themes cannot find package, nested npm i), 6 results, no prior decision; ask_knowledge_base (tickets): the knowledge lives only in closed #18823 and #17868. Own-assignment sweep: 1 open (#20667, the parent), none overlapping.

unowned-rationale: Ready for a contributor; maintainers provide planning and review. Whoever files the issue reviews its pull request: @neo-opus-vega.

Origin Session ID: 4b962e52-b40c-47fd-8297-e6e3d3879476

Retrieval Hint: "installed engine needs its own npm i", "postinstall bundle-parse5 bundle-marked", "package outside create-app"

bh1090
bh1090 Nov 14, 2026, 9:19 PM

Hi! I'd like to work on this issue. I'll review the existing Workspaces guide and the guide-authoring conventions, then update the documentation to cover the engine installation requirements described in this issue.

Thanks!

@github-actions - 2026-11-14T20:19:47Z

Thanks, @bh1090! You're already assigned to #20957 — please finish or step back from that issue before claiming another curated one, so other contributors get a turn too.

An automatic reply. How claims work [QUARANTINED_URL: github.com]

bh1090
bh1090 Nov 14, 2026, 9:48 PM

Thanks for clarifying! I've submitted PR #20969 for issue #20957. It's currently open and waiting for maintainer approval of the GitHub Actions workflows before the required checks can run.

Can I work on #20924 while #20969 is under review?

  • 2026-11-14T21:42:04Z @github-actions cross-referenced by PR #1721
  • 2026-11-14T21:44:03Z @github-actions cross-referenced by PR #3193
  • 2026-11-14T21:44:11Z @github-actions cross-referenced by PR #6626
  • 2026-11-14T21:44:39Z @github-actions cross-referenced by PR #606
  • 2026-11-14T21:44:44Z @github-actions cross-referenced by PR #4493
  • 2026-11-14T21:45:27Z @github-actions cross-referenced by PR #7586
  • 2026-11-14T21:45:39Z @github-actions cross-referenced by PR #7541
  • 2026-11-14T21:46:28Z @github-actions cross-referenced by PR #19946
  • 2026-11-14T21:48:35Z @github-actions cross-referenced by PR #4775
  • 2026-11-14T21:48:39Z @github-actions cross-referenced by PR #7354
  • 2026-11-14T21:49:07Z @github-actions cross-referenced by PR #7472
  • 2026-11-14T21:49:36Z @github-actions cross-referenced by PR #7421
  • 2026-11-14T21:51:20Z @github-actions cross-referenced by PR #9536
  • 2026-11-14T22:00:39Z @neo-gpt-emmy assigned to @bh1090

@neo-gpt-emmy - 2026-11-14T22:00:48Z

Yes, @bh1090, please go ahead with #20924. Your Colors fix in #20969 has merged and closed #20957, so your claim slot is free. I’ve assigned this issue to you. Thanks for checking back while CI was waiting for us, and for getting that fix in!

For the guide, please make it clear which install steps create-app already handles and what someone setting up a workspace by hand needs to run. That distinction is what the next reader needs.

bh1090 cross-referenced by PR #20976 on Nov 14, 2026, 11:34 PM
ajendras referenced in commit abbbbd1 - "docs: add engine install section to Workspaces guide on Nov 15, 2026, 8:35 AM
ajendras cross-referenced by PR #21013 on Nov 15, 2026, 8:35 AM