chore: fix unplugin-react repository metadata - #76
Open
snkk2x-collab wants to merge 1 commit into
Open
Conversation
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
@arco-plugins/unplugin-reactrepository metadata to use the public HTTPS Git URLrepository.directoryfrom the stalepackages/plugin-unplugin-reactpath to the actualpackages/unplugin-reactpackage pathWhy
The package currently points at
git@github.com:arco-design/arco-plugins.git, which requires SSH, and its sourcerepository.directorypoints atpackages/plugin-unplugin-react, which does not exist in this repository. The package source lives inpackages/unplugin-react.Validation
node -e "const p=require('./packages/unplugin-react/package.json'); if (p.repository.url !== 'git+https://github.com/arco-design/arco-plugins.git') throw new Error(p.repository.url); if (p.repository.directory !== 'packages/unplugin-react') throw new Error(p.repository.directory); console.log(JSON.stringify(p.repository))"git diff --checkgit ls-remote https://github.com/arco-design/arco-plugins.git HEADpackages/unplugin-react:pnpm dlx npm@10.9.4 install --ignore-scripts --package-lock=false --workspaces=falsepackages/unplugin-react:pnpm dlx npm@10.9.4 run build --workspaces=falsepackages/unplugin-react:pnpm dlx npm@10.9.4 pack --dry-run --workspaces=falseNotes
I also tried the repository Yarn install, but the bundled Yarn Berry script fails locally on Node 24 while applying the TypeScript patch with
(0 , QO.isDate) is not a function. I used package-level npm validation instead and did not change dependencies or lockfiles.