Skip to content

chore(release): publish unscoped npm packages - #1166

Merged
LinuxDevil merged 2 commits into
mainfrom
chore/unscoped-package-names
Nov 14, 2026
Merged

LinuxDevil merged 2 commits into
mainfrom
chore/unscoped-package-names

Conversation

@LinuxDevil

Copy link
Copy Markdown
Owner

Summary

The @linuxdevil npm scope doesn't exist and can't be created by NPM_TOKEN — the release workflow failed with 404 Scope not found. The npm account (aligmohammad) already owns the unscoped names, so this drops the scope entirely:

  • lousho — SDK (continues the existing lousho@1.0.0-alpha.117 line; the scoped name was never published)
  • lousho-studio — Studio
  • create-lousho — scaffold

Changes:

  • All package names, import specifiers ('lousho', 'lousho/executor', …), tsconfig paths, workspace deps, and bin names updated (~660 files, mechanical codemod)
  • Test fixtures that built node_modules/@linuxdevil/lousho now build node_modules/lousho
  • findWorkspaceSdk accepts both lousho and @linuxdevil/lousho, preferring lousho
  • release.yml publishes the three unscoped names (--access public dropped — meaningless for unscoped)
  • Removed the GitHub Packages mirror (publish-github-packages.mjs + its workflow + the release.yml step): npm.pkg.github.com only accepts scoped @owner/pkg names, so unscoped packages cannot be mirrored. npm is the source of truth.
  • CHANGELOG Unreleased entry records the final naming; the alpha.118 rename bullet corrected (it claimed lousho → lousho after the codemod)

Test plan

  • npm run typecheck, typecheck:tests, typecheck:examples — clean
  • npm run lint, lint:imports (studio), docs:ratchet, docs:llms:check, registry:check, workspaces:schema:check — clean
  • npm run pack-smoke — tarball lousho-1.0.0-alpha.119.tgz, all install/bin/tsc checks pass
  • npm run pack-smoke:studio — lousho-studio-0.1.0-alpha.1.tgz, lousho-studio --help, direct serve and lousho studio launcher all pass
  • Focused tests: workspaceSdk, sdkRoot, hostRoutes, bridgeAgentHost, dualPackage — 44 pass
  • CI

Generated with Devin

LinuxDevil and others added 2 commits November 14, 2026 23:57
…, create-lousho

The @linuxdevil/* scope cannot be published: no such npm org exists and
the NPM_TOKEN user (aligmohammad) owns the unscoped names already
(lousho@1.0.0-alpha.117, create-lousho). Drop the scope everywhere:

- package names: lousho / lousho-studio / create-lousho
- all import specifiers, tsconfig paths, workspace deps, bin names
- node_modules layout in tests: node_modules/lousho (not @linuxdevil/lousho)
- findWorkspaceSdk still accepts @linuxdevil/lousho for the one-cycle
  scoped installs, preferring plain lousho
- release.yml: publish the three unscoped names; drop --access public
  (unscoped packages are public by default)
- remove the GitHub Packages mirror: npm.pkg.github.com only accepts
  scoped names, so unscoped packages cannot be mirrored there

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@LinuxDevil
LinuxDevil merged commit ae91375 into main Nov 14, 2026
7 checks passed
@LinuxDevil
LinuxDevil deleted the chore/unscoped-package-names branch November 14, 2026 21:20
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