Repository navigation
chore(release): publish unscoped npm packages - #1166
Merged
Merged
Conversation
…, 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
@linuxdevilnpm scope doesn't exist and can't be created byNPM_TOKEN— the release workflow failed with404 Scope not found. The npm account (aligmohammad) already owns the unscoped names, so this drops the scope entirely:lousho— SDK (continues the existinglousho@1.0.0-alpha.117line; the scoped name was never published)lousho-studio— Studiocreate-lousho— scaffoldChanges:
'lousho','lousho/executor', …), tsconfigpaths, workspace deps, and bin names updated (~660 files, mechanical codemod)node_modules/@linuxdevil/loushonow buildnode_modules/loushofindWorkspaceSdkaccepts bothloushoand@linuxdevil/lousho, preferringloushorelease.ymlpublishes the three unscoped names (--access publicdropped — meaningless for unscoped)publish-github-packages.mjs+ its workflow + the release.yml step):npm.pkg.github.comonly accepts scoped@owner/pkgnames, so unscoped packages cannot be mirrored. npm is the source of truth.lousho→loushoafter the codemod)Test plan
npm run typecheck,typecheck:tests,typecheck:examples— cleannpm run lint,lint:imports(studio),docs:ratchet,docs:llms:check,registry:check,workspaces:schema:check— cleannpm run pack-smoke— tarballlousho-1.0.0-alpha.119.tgz, all install/bin/tsc checks passnpm run pack-smoke:studio—lousho-studio-0.1.0-alpha.1.tgz,lousho-studio --help, direct serve andlousho studiolauncher all passGenerated with Devin