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

Revert "Delete @types/gulp & @types/minimatch on posinstall" #11787

Closed
wants to merge 2 commits into from

Conversation

coroiu
Copy link
Contributor

@coroiu coroiu commented Oct 30, 2024

Reverts #11509

@coroiu coroiu requested a review from Hinton October 30, 2024 10:24
Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 33.55%. Comparing base (586edaf) to head (57bdf57).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #11787   +/-   ##
=======================================
  Coverage   33.54%   33.55%           
=======================================
  Files        2815     2815           
  Lines       87635    87635           
  Branches    16685    16685           
=======================================
+ Hits        29397    29404    +7     
+ Misses      55928    55921    -7     
  Partials     2310     2310           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines +217 to +219
"@electron/asar": {
"@types/glob": "7.1.3"
}
Copy link
Member

@Hinton Hinton Oct 30, 2024

Choose a reason for hiding this comment

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

I don't think we need this any longer? Unsure if minimatch is needed either.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have no idea what any of this does, I just know minimatch is blocking lock-file maintenance, do you think we can remove minimatch entirely?

@Hinton
Copy link
Member

Hinton commented Oct 31, 2024

@coroiu can you provide more context for this? We need to first upgrade electron asar to the new version which inlines @types/gulp. Unfortunately they still depend on the old version of minimatch which probably causes conflicts with gulp.

@coroiu
Copy link
Contributor Author

coroiu commented Oct 31, 2024

@Hinton #11509 (comment) says

"This can be reverted once electron/asar#330 is resolved."

And since that issue seems to be closed I opened this PR. I was hoping you had the context 😅

@Hinton
Copy link
Member

Hinton commented Oct 31, 2024

Yes, once we upgrade asar the types/gulp portion should be fixed, not sure about minimatch. But we first have to ensure we get the new asar package in, which means updating the lockfile.

Comment on lines +215 to +219
"replacestream": "4.0.3",
"@types/minimatch": "3.0.5",
"@electron/asar": {
"@types/glob": "7.1.3"
}
Copy link
Member

Choose a reason for hiding this comment

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

This should work now, both type dependencies were gone from my lockfile.

Suggested change
"replacestream": "4.0.3",
"@types/minimatch": "3.0.5",
"@electron/asar": {
"@types/glob": "7.1.3"
}
"replacestream": "4.0.3"

@coroiu
Copy link
Contributor Author

coroiu commented Nov 5, 2024

Closing since no longer needed

@coroiu coroiu closed this Nov 5, 2024
@coroiu coroiu deleted the revert-11509-arch/fix-package-lock branch November 5, 2024 10:00
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.

2 participants