-
Notifications
You must be signed in to change notification settings - Fork 376
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
fix: refactor workers into their own package #6382
Conversation
exclude server-workers deps from yarn workspace
@lei9444 can you help take a look at this one, and verify if there is impact to the way other workers are used or packed? |
@@ -8,23 +8,22 @@ import yeoman from 'yeoman-environment'; | |||
import TerminalAdapter from 'yeoman-environment/lib/adapter'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove commented code
a bunch of awaits down below are not necessary, linter shows them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"dependencies": { | ||
"yeoman-environment": "^2.10.3", | ||
"format-message": "^6.2.3", | ||
"@microsoft/bf-dialog": "4.11.0-dev.20201025.69cf2b9" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be 4.12.x?
Composer/packages/server-workers/src/templateInstallation.worker.ts
Outdated
Show resolved
Hide resolved
@benbrown and I discussed offline, I am going to finish up this work today. |
the @types package is outdated, so we'll want to update that when a new version is published
* refactor workers into their own package * unpack the new server-workers module exclude server-workers deps from yarn workspace * adjustments to workspace settings * fix typo in path * expose ServerWorker class for workers * update yeoman-environment the @types package is outdated, so we'll want to update that when a new version is published * mock server worker in test Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com> Co-authored-by: Andy Brown <asbrown002@gmail.com>
Description
refactors the server workers into their own package.
cuts direct dependencies on server internals.
this allows the workers to be unpacked in the electron repo and used.
Task Item
fixes #6372