Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: auto sync package's optionalDependencies #399

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Feb 9, 2023

closes #397

@fengmk2 fengmk2 added the enhancement New feature or request label Feb 9, 2023
@@ -737,7 +741,7 @@ export class PackageSyncerService extends AbstractService {

// 5. add deps sync task
for (const dependencyName of dependenciesSet) {
const existsTask = await this.taskRepository.findTaskByTargetName(fullname, TaskType.SyncPackage, TaskState.Waiting);
const existsTask = await this.taskRepository.findTaskByTargetName(dependencyName, TaskType.SyncPackage, TaskState.Waiting);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里竟然有一个低级错误一直存在。

@codecov
Copy link

codecov bot commented Feb 9, 2023

Codecov Report

Merging #399 (737ab45) into master (db8995a) will decrease coverage by 0.20%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #399      +/-   ##
==========================================
- Coverage   97.61%   97.41%   -0.20%     
==========================================
  Files         152      152              
  Lines       13193    13197       +4     
  Branches     1710     1707       -3     
==========================================
- Hits        12878    12856      -22     
- Misses        315      341      +26     
Impacted Files Coverage Δ
app/core/service/PackageSyncerService.ts 99.35% <100.00%> (+<0.01%) ⬆️
app/infra/NFSClientAdapter.ts 86.58% <0.00%> (-8.54%) ⬇️
config/config.default.ts 87.50% <0.00%> (-8.53%) ⬇️
app/core/service/TaskService.ts 97.77% <0.00%> (-1.67%) ⬇️
app/core/service/PackageManagerService.ts 97.53% <0.00%> (-0.12%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@fengmk2 fengmk2 disabled auto-merge February 9, 2023 15:38
@fengmk2 fengmk2 merged commit 07a19cf into master Feb 9, 2023
@fengmk2 fengmk2 deleted the optionalDependencies branch February 9, 2023 15:38
fengmk2 pushed a commit that referenced this pull request Feb 9, 2023
[skip ci]

## [3.3.0](v3.2.6...v3.3.0) (2023-02-09)

### Features

* auto sync package's optionalDependencies ([#399](#399)) ([07a19cf](07a19cf))
@github-actions
Copy link

github-actions bot commented Feb 9, 2023

🎉 This PR is included in version 3.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

同步包时需要一起同步 optionalDependencies 中的依赖
1 participant