-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Bump vfs and twoslash versions #2524
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
Conversation
.yarn/versions/9066d04f.yml
Outdated
undecided: | ||
- "@typescript/ata" | ||
- community-meta | ||
- create-typescript-playground-plugin | ||
- documentation | ||
- glossary | ||
- handbook-epub | ||
- "@typescript/playground" | ||
- playground-examples | ||
- "@typescript/playground-handbook" | ||
- "@typescript/playground-worker" | ||
- "@typescript/sandbox" | ||
- tsconfig-reference | ||
- "@typescript/vfs" | ||
- typescriptlang-org |
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.
What is this? Am I supposed to commit it?
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.
IIRC @orta said you didn't need to do any version stuff; maybe we shouldn't have added the plugin and instead let whatever Orta had run work? #2523 (comment)
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.
Yeah, I think https://github.com/microsoft/TypeScript-Website/blob/v2/.github/workflows/v2-merged-staging.yml actually does this automatically. Maybe the plugin should be 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.
Hm, though I cannot figure out if it handles version bumps, of if that is even a thing that needs to be done.
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.
But to answer the question what is this and should it be committed; this is what yarn 2+ uses to track changes to packages to know which packages need to bump and when. Normally, you would commit it, but I don't think that we actually use yarn to manage versions.
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.
Oh, I need to read better. orta said that you just change the version and it does the rest. In which case, I guess you could do yarn version patch --immediate
which skips this? (But, I didn't know that this was even the default behavior, I thought deferred was opt-in)
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.
My guess is that this is a similar thing to changesets - https://github.com/changesets/changesets - basically in the monorepo you have a declare updates command, it could be some packages have minor some major, then later you do some sort of deploy command which uses this metadata.
IMO you drop it as you're not using it during deploy.
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.
Yeah. That's basically it. But, what do we do in this repo? Just bump the version by hand? Use yarn? Something else? (I have no idea, but I don't think we use yarn deferred changes)
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.
I don’t understand the “just update the versions manually” flow. You’re even updating the lockfile by hand? All I was looking for was something to bump every mention of 1.3.4 to 1.3.5.
Deleted the yarn versions artifact; going to try merging. |
Ah yeah, I have a script |
To publish the change from #2522