-
Notifications
You must be signed in to change notification settings - Fork 3
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
add @guardian/libs
code
#63
Conversation
|
@@ -104,24 +104,3 @@ If you are using this library with TypeScript, make sure you are using at least | |||
This package uses `ES2020`. | |||
|
|||
If your target environment does not support that, make sure you transpile this package when bundling your application. | |||
|
|||
## Development |
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.
are these sections now covered by a more general monorepo readme? maybe we could link to where that is, if it exists?
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.
no, this readme is the info gets displayed on npm for example, so it's still needed here
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.
sorry — I was referring to the ones you removed
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.
no that's something we need to address, but probably beyond the scope of 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.
okay, is it recorded somewhere that we need to address this? (on trello or similar)
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.
Thanks for updating the logger script!
Is it a problem at all that we have now lost git history? I'm assuming as we were squashing and merging, the change log is roughly equivalent.
we'll always have the history in the original repo – do you think we need to manage bringing in the history for the code that moves here? the conversations around this so far have tended towards concluding that history is useful to a point, but maybe not worth the noise it introduces in a migration like this (esp where the history starts again, but the earlier stages can be found in the old home) |
maybe it would be useful to add a link to the original repo in the merge commit – that way if someone is diving into the history of these files, at least they'd eventually reach that commit that would redirect them to the old repo and it's history |
I think that would be very beneficial, along with a small explanation of the decision in the commit message and a link to the change log. Contrary to many other repos, I would not expect people to rely on
|
I'd agree with this - it's worth remembering as well that if you were bringing in the previous history, you end up with mis-matched PR #'s on the old commits, as they same PRs don't exist in the new repository. As long as when navigating back to the end of the history in the new repo, you can get a link to the old repo & basic information on what's happened, this is likely better than having a lot of old history which doesn't link up well to the new repo |
@guardian/libs
(https://github.com/guardian/libs)VisibilityState
type in the CWV tests to use TS'sDocumentVisibilityState
generateSvg.logger.teams.ts
script to match the CSNX node version, and accommodate changes in fix: remove type assertions from logger libs#384 that were missed here