imbajin opened a new pull request, #869:
URL: https://github.com/apache/hugegraph-toolchain/pull/869

   ## Purpose of the PR
   
   Fix Hubble frontend builds when pnpm's experimental global virtual store is 
enabled locally. `@antv/component` imports `tslib` at runtime but declares it 
only as a development dependency, so Vite cannot resolve it from the shared 
store.
   
   ## Main Changes
   
   - Declare `tslib` as a runtime dependency of `@antv/[email protected]` 
through pnpm's package extensions and update the lockfile.
   - Keep the project's default virtual store layout unchanged.
   
   ## Verifying these changes
   
   - [x] Need tests and can be verified as follows:
       - Run a frozen install and production build with the global virtual 
store in the main checkout and a separate worktree; verify their dependency 
links point to the shared store.
       - Run a frozen install and production build in the worktree with the 
default project virtual store.
   
   ## Does this PR potentially affect the following parts?
   
   - [x] Dependencies (the existing `tslib` version is already in the lockfile; 
no new package or license)
   - [x] Modify configurations
   - [ ] The public API
   - [ ] Other affects
   
   ## Documentation Status
   
   - [x] `Doc - No Need`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to