exocore-docs / docs /editor /07-sidebar-npm.md
ChoruYt's picture
Upload 151 files
dc2b30a verified
|
Raw
History Blame Contribute Delete
1.01 kB

07 — NPM sidebar pane

NpmPane.tsx searches the public registry, lists the project's installed dependencies, and (when an access token is present in localStorage) lets you publish a new version.

Screenshots

Desktop Mobile
07 — NPM sidebar pane — desktop 07 — NPM sidebar pane — mobile

What it does

  • Search proxies through /exocore/api/editor/npm/search?q=… to avoid CORS and to allow private-registry overrides.

  • Install / uninstall calls into routes/editor/npm.ts which runs npm install --save inside the project workspace.

  • Publish flow uses the user's npm access token (stored client-side, never echoed back to the server logs).

    Source files

  • routes/editor/npm.ts


    ← Back to the editor index.