-
Notifications
You must be signed in to change notification settings - Fork 295
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
build(sync-ts-config): integrating the weaver packages to the monorepo build #3400
Conversation
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.
@ruzell22 Some of the weaver CI jobs are failing. I'm guessing it's related to these changes, but not yet sure how. Could you please investigate?
@petermetz I have updated my branch and repush this PR. I can't see the weaver CI job that is failing. I have also tried to look into past latest commit in the main repo and looked for weaver that are failing and didn't see one. I would like to know the specific weaver job that is failing on your end, thank you |
@ruzell22 I think Peter meant the following (required) CI jobs that are failing:
Take a look at CI jobs listing on the bottom of this PR to see the details and logs why these jobs are failing |
The folders added to the ignore list are modules and sample apps that are used in the Weaver test harnesses (see list posted by Michal above). I'm not sure what the purpose of this PR is. Could you clarify, @ruzell22 ? Is there a requirement for TypeScript packages to have a We are undertaking an integration of Weaver packages into the Cacti monorepo, and one of our mentees (Jennifer Bell) is addressing part of that process. The But whether or not a package contains a @ruzell22 If you are interested in exposing all other Weaver packages the way I described above for the Fabric Driver, be my guest. @sandeepnRES and I can advise you on that and you can submit a comprehensive PR then. |
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.
Please see my comment in the thread above. I'd recommend closing this PR and working with us on a separate PR if you are interested in carrying out integration tasks.
@VRamakrishna It's not. Longer term, I'd love it if it was, but because I also don't want to slow down teams working on code who aren't there yet (as in not ready to have Typescript instead of Javascript). The vision: It would be a nice bump for developer experience if the Typescript compiler was checking all NodeJS/browser source code. It makes entire classes of bugs impossible (not nearly all of them, but small wins are good too).
The reason why it matters is because the automation is currently broken (it assumes that there is a tsconfig.json for all nodejs packages in the monorepo).
@VRamakrishna Have you seen this thread? #3366 (comment) @ruzell22 Please remove the part of the diff that moves around the tsconfig.json file so that it only changes |
@petermetz I have updated my repo and remove the moving of tsconfig.json. After re-running the |
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.
@ruzell22 On my side it still shows up in the diff containing the tsconfig.json file as being renamed. Screenshot attached below.
What I mean is that the diff should only contain the ./tools/
script.
…o build Primary Changes --------------- 1. Updated the ignore paths with the latest cacti clone Fixes: hyperledger-cacti#3366 Related to: hyperledger-cacti#3069 Signed-off-by: ruzell22 <ruzell.vince.aquino@accenture.com>
@@ -45,7 +45,7 @@ const main = async (argv: string[], env: NodeJS.ProcessEnv) => { | |||
"**/weaver/common/protos-js/**", | |||
"**/weaver/samples/besu/simpleasset/**", | |||
"**/weaver/samples/besu/simplestate/**", | |||
], // Follow-up issue regarding these hardcoded paths (https://github.com/hyperledger/cacti/issues/3366) | |||
], //Follow-up issue regarding these hardcoded paths (https://github.com/hyperledger/cacti/issues/3366) |
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.
Is that the only reason for this PR? one whitespace removal? I don't see any other changes in this PR.
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.
@sandeepnRES @VRamakrishna Agreed. That would actually cause a linter warning if we removed that space character so this PR is probably good to close as a no-op then.
@petermetz Let's close this as @ruzell22 asked for, unless you see a reason to merge it. As @sandeepnRES says above, this doesn't do anything other than change a whitespace. |
Commit to be reviewed
build(sync-ts-config): integrating the weaver packages to the monorepo build
Fixes: #3366
Related to: #3069
Pull Request Requirements
upstream/main
branch and squashed into single commit to help maintainers review it more efficient and to avoid spaghetti git commit graphs that obfuscate which commit did exactly what change, when and, why.-s
flag when usinggit commit
command. You may refer to this link for more information.Character Limit
A Must Read for Beginners
For rebasing and squashing, here's a must read guide for beginners.