Skip to content

fix(cosmosgen): fix ts-client (backport #4347) #4634

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

Merged
merged 2 commits into from
Apr 17, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Apr 17, 2025

Closes: #4305

ref: #4414


This is an automatic backport of pull request #4347 done by Mergify.

* fix(cosmosgen): fix ts-client

* cl

* fix path

* add axios + fix typescript path

* simplify

* updates

* rm consensus chain specific logic

* fix

* fix templates

* fix type discovery

* lint

* remove broken disclaimer from docs

* add error goup at correct place

* lint

(cherry picked from commit 1fc0b9a)

# Conflicts:
#	ignite/cmd/generate_typescript_client.go
#	ignite/pkg/cosmosgen/generate_typescript.go
#	ignite/pkg/cosmosgen/template.go
Copy link
Contributor Author

mergify bot commented Apr 17, 2025

Cherry-pick of 1fc0b9a has failed:

On branch mergify/bp/release/v28.x.y/pr-4347
Your branch is up to date with 'origin/release/v28.x.y'.

You are currently cherry-picking commit 1fc0b9af.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   changelog.md
	modified:   ignite/cmd/generate_composables.go
	modified:   ignite/cmd/generate_hooks.go
	modified:   ignite/pkg/cosmosanalysis/module/module.go
	new file:   ignite/pkg/cosmosgen/generate_typescript_test.go
	modified:   ignite/pkg/cosmosgen/templates/module/module.ts.tpl
	modified:   ignite/pkg/cosmosgen/templates/module/registry.ts.tpl
	modified:   ignite/pkg/cosmosgen/templates/module/types.ts.tpl
	new file:   ignite/pkg/cosmosgen/templates/rest/rest.ts.tpl
	modified:   ignite/pkg/cosmosgen/templates/root/client.ts.tpl
	modified:   ignite/pkg/cosmosgen/templates/root/index.ts.tpl

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   ignite/cmd/generate_typescript_client.go
	both modified:   ignite/pkg/cosmosgen/generate_typescript.go
	both modified:   ignite/pkg/cosmosgen/template.go

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@julienrbrt julienrbrt merged commit e769caa into release/v28.x.y Apr 17, 2025
39 of 42 checks passed
@julienrbrt julienrbrt deleted the mergify/bp/release/v28.x.y/pr-4347 branch April 17, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant