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

fix(build-cli): Add baseline version and normalize JSON #12682

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

tylerbutler
Copy link
Member

@tylerbutler tylerbutler commented Oct 26, 2022

Updates the typetests command to add the baseline version as a property in the typetests node of package.json. The baseline version is helpful information and previously you had to parse it out of the *-previous dependency string.

This change also always appends a trailing newline when writing JSON files, which is consistent with our repo settings.

@github-actions github-actions bot added the base: main PRs targeted against main branch label Oct 26, 2022
@tylerbutler tylerbutler marked this pull request as ready for review October 26, 2022 21:18
@tylerbutler tylerbutler requested a review from a team as a code owner October 26, 2022 21:18
@sonalivdeshpande
Copy link
Contributor

The baseline version is the previous minor/major released version?

@tylerbutler
Copy link
Member Author

The baseline version is the previous minor/major released version?

It's based on what's provided when the typetests command is run. The baseline version may differ based on the branch in the future.

@tylerbutler tylerbutler merged commit 29236f9 into microsoft:main Oct 27, 2022
@tylerbutler tylerbutler deleted the cli/typetest-fix1 branch October 27, 2022 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants