Skip to content

chore(cli): upgrade @nanoforge-dev/editor to 1.1.0 - #337

Merged
Exeloo merged 1 commit into
mainfrom
chore/editor-1.1.0
Nov 22, 2026
Merged

Exeloo merged 1 commit into
mainfrom
chore/editor-1.1.0

Conversation

@Exeloo

@Exeloo Exeloo commented Nov 22, 2026

Copy link
Copy Markdown
Member

What does this PR do?

No linked issue: requested directly, to ship editor 1.1.0 (which includes NanoForge-dev/Editor#335, the signed-out hosted editor fix) with the CLI.

Forces the CLI onto @nanoforge-dev/editor 1.1.0:

catalogs:
  core:
    '@nanoforge-dev/editor': ^1.1.0        # was ^1.0.0: a published CLI can no longer resolve 1.0.x

# shortcut: editor 1.1.0 is younger than pnpm's minimum release age, drop after 2026-11-23.
minimumReleaseAgeExclude:
  - '@nanoforge-dev/editor@1.1.0'          # added by pnpm 12 on install; exact version only
  • 1.1.0 was published minutes before this change, and pnpm 12 won't resolve a version under a day old without this exclude. It covers that exact version; the editor's own dependencies are still age-gated.
  • Lockfile: editor 1.0.0 → 1.1.0. Re-resolving also dedupes the lint prettier (3.9.10) onto the 3.10.1 the editor already used, so prettier@3.9.10 leaves the lockfile. No new packages. The jiti changes only fix snapshot keys.
  • 1.1.0 keeps the contract nf editor relies on: ./package.json export, dist/index.js, PORT/FS_ROOT/HOST/PUBLIC_MODE, /healthz.

How do you test this PR?

  • Before: nf editor runs editor 1.0.0.
    After: node dist/nf.js editor --no-open -p 4793 <generated project> logs NanoForge editor 1.1.0 (OFFLINE) on http://127.0.0.1:4793/, GET / returns 200, and the home page renders in Chrome.
  • pnpm run repo:build 4/4, repo:lint 4/4, repo:test:unit 4/4, repo:test:e2e 6/6. The pre-push hook ran the same and passed.
  • pnpm install --frozen-lockfile is clean; pnpm audit --prod: no known vulnerabilities.
  • The lockfile integrity of editor 1.1.0 matches the npm provenance from NanoForge-dev/Editor release.yml on main (run 45071964340).

Merge danger

Door: two-way (revert restores 1.0.0).
Blast radius: small. @nanoforge-dev/cli is the only runtime dependent of the editor; users get it with the next CLI release, and nothing deploys on merge.
Timing: don't publish a CLI release before about 2026-11-23T21:30Z. Users whose pnpm enforces the default release age couldn't resolve ^1.1.0 until then.

Follow-up issues

None filed. Candidates: remove the minimumReleaseAgeExclude after 2026-11-23; align the schematics DEFAULT_EDITOR_VERSION fallback (^1.0.0); the two moderate dev-only advisories (glob, minimatch via eslint) already on main.

Quality gate

Check Result Notes
Docs N/A (no docs page names the editor version)
Correctness Pass 2 Minor, addressed in the amended commit
Performance N/A (lockfile and dependency config only)
Accessibility N/A (no UI or terminal output changed)
Security Pass Exact-version exclude, integrity matches provenance, audit --prod clean
Style Pass lint: pass; comment uses the shortcut: form

Re-resolving dedupes the lint prettier (3.9.10) onto the 3.10.1 the editor already used.
pnpm's minimum release age is lifted for editor 1.1.0 only, until it is a day old.
@Exeloo
Exeloo merged commit c11d064 into main Nov 22, 2026
9 checks passed
@Exeloo
Exeloo deleted the chore/editor-1.1.0 branch November 22, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant