Skip to content

feat: introduce the turborepo to the parser.js - #1008

Merged
asyncapi-bot merged 50 commits into
asyncapi:masterfrom
ayushnau:feat-changeset
Jul 4, 2024
Merged

asyncapi-bot merged 50 commits into
asyncapi:masterfrom
ayushnau:feat-changeset

Conversation

@ayushnau

@ayushnau ayushnau commented Jun 9, 2024 •

Copy link
Copy Markdown
Contributor

Changes Added.

Turborepo Added.
Converted the parser repo to app, inside the turborepo.
Added the required scripts of the turborepo to the root package.json file.

Related issue(s)

Related to: #963

@ayushnau

ayushnau commented Jun 9, 2024 •

Copy link
Copy Markdown
Contributor Author
image

link
@smoya please check added the changeset integration.

@ayushnau ayushnau changed the title Feat changeset Feat: Added the multiparser to the turborepo. Jun 9, 2024
@ayushnau

Copy link
Copy Markdown
Contributor Author

@smoya I think the changesets changes are ready to merge I have still used the changelog (didnt make it false in the config) cause there is ongoing bug in the changesets which they have not given the solution yet. And this is basically causing changesets still search for the CHANGELOG.md inspite of making it false in the config. here is the link changesets/action#256
Also I was needed to install the @changesets/cli also cause once I run the chagnesets/cli command directly with npx it is installing the cli version and correctly working but then the ci is not able to find the changelog causing the error.

See https://github.com/asyncapi/parser-js/pull/1008/files#r1648443871

Shouldn’t be @changesets/changelog-git ? You don’t need the cli package with such change and maybe that's the reason you needed to install it?

Alternatively, can't we just then get rid of the GH action and do the commands manually maybe?

@smoya added the @changelog/git and its working now . without installing the cli.

smoya
smoya previously approved these changes Jul 3, 2024

@smoya smoya left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume you properly tested the release on your own branch and npm account @ayushnau.

LGTM

@ayushnau

ayushnau commented Jul 3, 2024 •

Copy link
Copy Markdown
Contributor Author
image tested and it is deployed to npm registry. Just a thing it creates a pr which i have merged manually. which khudad have told that will get merged automatically with the bot, In my case i did by myself.

@ayushnau

ayushnau commented Jul 3, 2024

Copy link
Copy Markdown
Contributor Author

also just one thing do i need to change this or it is fine
image
the generate asset line (last line. ) cause in testing it doesnt caused any issue.

@smoya

smoya commented Jul 4, 2024

Copy link
Copy Markdown
Member

also just one thing do i need to change this or it is fine image the generate asset line (last line. ) cause in testing it doesnt caused any issue.

At a glance, I don't see why the PR would break anything so if you tested and the README's toc is being properly updated + the built app is right, let's skip it.

@smoya

smoya commented Jul 4, 2024

Copy link
Copy Markdown
Member

/rtm

@smoya

smoya commented Jul 4, 2024 •

Copy link
Copy Markdown
Member

For some reason, Sonarcloud status is not being reported. I see it is ok in https://sonarcloud.io/summary/new_code?id=asyncapi_parser-js&pullRequest=1008

Trying to push an empty commit so it triggers a new CI build.

@smoya

smoya commented Jul 4, 2024

Copy link
Copy Markdown
Member

Trying to push an empty commit so it triggers a new CI build.

No success. BTW, I fixed the .sonarcloud.properties file for you.

@smoya

smoya commented Jul 4, 2024

Copy link
Copy Markdown
Member

I see it is ok in https://sonarcloud.io/summary/new_code?id=asyncapi_parser-js&pullRequest=1008

No, it's not. That instance ran 18 days ago 😮
Google Chrome_p9ttTOi4@2x

Additionally, is pointing to a commit that I can't find within the commits of this branch ad50cc4

@aeworxet

aeworxet commented Jul 4, 2024

Copy link
Copy Markdown
Contributor

There was an issue with SonarCloud several weeks ago.
There was a long discussion in Slack
https://asyncapi.slack.com/archives/CQVJXFNQL/p1718711108263639
and at the end of the day an issue was opened in .github
asyncapi/.github#306

It seems not to have a simple immediate solution.

@smoya

smoya commented Jul 4, 2024

Copy link
Copy Markdown
Member

It seems not to have a simple immediate solution.

Yeah, I even tried to reset the config on Sonarcloud with no success.
I disabled the check in master branch now.

@smoya

smoya commented Jul 4, 2024

Copy link
Copy Markdown
Member

/rtm

@asyncapi-bot
asyncapi-bot merged commit b2a0f54 into asyncapi:master Jul 4, 2024
@smoya

smoya commented Jul 4, 2024

Copy link
Copy Markdown
Member

I disabled the check in master branch now.

Found like it seems a workaround. See #1033 (comment)

@ayushnau

ayushnau commented Jul 4, 2024

Copy link
Copy Markdown
Contributor Author

@smoya creating the pr for the multiparser.

@smoya

smoya commented Jul 4, 2024

Copy link
Copy Markdown
Member

For the record, the release didn't work because the release action wasn't triggered when the automated PR was merged.

The guess is that didn't work because of this https://github.com/asyncapi/parser-js/blob/master/.github/workflows/release-with-changesets.yml#L21-L26, however the PR was created as chore (it is ok).

We would need to remove such checks as in https://github.com/asyncapi/studio/blob/master/.github/workflows/release.yml

@asyncapi-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Completed

Development

Successfully merging this pull request may close these issues.

6 participants