diff --git a/.github/ISSUE_TEMPLATE/release-tracker.md b/.github/ISSUE_TEMPLATE/release-tracker.md index 71707be2cb..808dd30d0a 100644 --- a/.github/ISSUE_TEMPLATE/release-tracker.md +++ b/.github/ISSUE_TEMPLATE/release-tracker.md @@ -21,10 +21,9 @@ v without deliberation - ### Other testing -## Migration +## Migration @@ -32,8 +31,11 @@ versions of cli to guarantee that no regression is introduced --> -- [ ] Branch off main to create release branch in the form of `release/vx.y.z`. -- [ ] Add branch protection rules to new release branch. +- [ ] Update Ignite CLI version (see [#3793](https://github.com/ignite/cli/pull/3793) for example): + - [ ] Rename module version in go.mod to `/vXX` (where `XX` is the new version number). + - [ ] Update plugins go plush, protos and re-generate them + - [ ] Update documentation links (docs/docs) + - [ ] Update GitHub actions, goreleaser and other CI/CD scripts ## Post-release checklist diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml index 3d7f1c4bd2..18581f5a14 100644 --- a/.github/workflows/release-nightly.yml +++ b/.github/workflows/release-nightly.yml @@ -2,8 +2,6 @@ name: Release nightly on: workflow_dispatch: - branches: - - main push: branches: - main @@ -16,13 +14,13 @@ jobs: consecutiveness: runs-on: ubuntu-latest steps: - - uses: ignite/consecutive-workflow-action@main - with: - token: ${{ secrets.GITHUB_TOKEN }} + - uses: ignite/consecutive-workflow-action@main + with: + token: ${{ secrets.GITHUB_TOKEN }} release-nightly: runs-on: ubuntu-latest - needs: [ consecutiveness ] + needs: [consecutiveness] env: working-directory: go/src/github.com/ignite/cli @@ -70,5 +68,5 @@ jobs: release_name: "nightly" goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} - ldflags: -s -w -X github.com/ignite/cli/ignite/version.Version=nightly + ldflags: -s -w -X github.com/ignite/cli/v28/ignite/version.Version=nightly retry: 10 diff --git a/.goreleaser.yml b/.goreleaser.yml index 3c075c1b3b..ef5acdc0c4 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -2,7 +2,7 @@ project_name: ignite builds: - main: ./ignite/cmd/ignite ldflags: - - -s -w -X github.com/ignite/cli/ignite/version.Version={{.Tag}} + - -s -w -X github.com/ignite/cli/v28/ignite/version.Version={{.Tag}} goos: - linux - darwin diff --git a/Makefile b/Makefile index 97c20de6d9..732651b6f8 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ govulncheck: format: @echo Formatting... @go run mvdan.cc/gofumpt -w . - @go run golang.org/x/tools/cmd/goimports -w -local github.com/ignite/cli . + @go run golang.org/x/tools/cmd/goimports -w -local github.com/ignite/cli/v28 . @go run github.com/tbruyelle/mdgofmt/cmd/mdgofmt -w docs ## lint: Run Golang CI Lint. @@ -64,7 +64,7 @@ lint-fix: .PHONY: govet format lint ## proto-all: Format, lint and generate code from proto files using buf. -proto-all: proto-format proto-lint proto-gen +proto-all: proto-format proto-lint proto-gen format ## proto-gen: Run buf generate. proto-gen: diff --git a/changelog.md b/changelog.md index f2c241894d..8abe68d640 100644 --- a/changelog.md +++ b/changelog.md @@ -2,14 +2,19 @@ ## Unreleased +## [`v28.0.0`](https://github.com/ignite/cli/releases/tag/v28.0.0) + ### Features +- [#3659](https://github.com/ignite/cli/pull/3659) cosmos-sdk `v0.50.x` upgrade - [#3694](https://github.com/ignite/cli/pull/3694) Query and Tx AutoCLI support -- [#3544](https://github.com/ignite/cli/pull/3544) Add bidirectional communication to plugin system +- [#3536](https://github.com/ignite/cli/pull/3536) Change app.go to v2 and add AppWiring feature +- [#3544](https://github.com/ignite/cli/pull/3544) Add bidirectional communication to app (plugin) system +- [#3756](https://github.com/ignite/cli/pull/3756) Add faucet compatibility for latest sdk chains +- [#3476](https://github.com/ignite/cli/pull/3476) Use `buf.build` binary to code generate from proto files +- [#3724](https://github.com/ignite/cli/pull/3724) Add or vendor proto packages from Go dependencies - [#3561](https://github.com/ignite/cli/pull/3561) Add GetChainInfo method to plugin system API - [#3626](https://github.com/ignite/cli/pull/3626) Add logging levels to relayer -- [#3476](https://github.com/ignite/cli/pull/3476) Use `buf.build` binary to code generate from proto files -- [#3599](https://github.com/ignite/cli/pull/3599) Add google analytics - [#3614](https://github.com/ignite/cli/pull/3614) feat: use DefaultBaseappOptions for app.New method - [#3536](https://github.com/ignite/cli/pull/3536) Change app.go to v2 and add AppWiring feature - [#3659](https://github.com/ignite/cli/pull/3659) cosmos-sdk `v0.50.x` @@ -17,17 +22,16 @@ - [#3723](https://github.com/ignite/cli/pull/3723) Create a wrapper for errors - [#3724](https://github.com/ignite/cli/pull/3724) Add or vendor proto packages from Go dependencies - [#3715](https://github.com/ignite/cli/pull/3715) Add test suite for the cli tests -- [#3756](https://github.com/ignite/cli/pull/3756) Add faucet compatibility for latest sdk chains ### Changes +- [#3793](https://github.com/ignite/cli/pull/3793) Refactor Ignite to follow semantic versioning (prepares v28.0.0). If you are using packages, do not forget to import the `/v28` version of the packages. - [#3529](https://github.com/ignite/cli/pull/3529) Refactor plugin system to use gRPC -- [#3750](https://github.com/ignite/cli/pull/3750) Update default Ignite network app to `v0.2.0` - [#3751](https://github.com/ignite/cli/pull/3751) Rename label to skip changelog check - [#3745](https://github.com/ignite/cli/pull/3745) Set tx fee amount as option - [#3748](https://github.com/ignite/cli/pull/3748) Change default rpc endpoint to a working one - [#3621](https://github.com/ignite/cli/pull/3621) Change `pkg/availableport` to allow custom parameters in `Find` function and handle duplicated ports -- [#3559](https://github.com/ignite/cli/pull/3559) Bump network plugin version to `v0.1.1` +- [#3810](https://github.com/ignite/cli/pull/3810) Bump network app version to `v0.2.1` - [#3581](https://github.com/ignite/cli/pull/3581) Bump cometbft and cometbft-db in the template - [#3522](https://github.com/ignite/cli/pull/3522) Remove indentation from `chain serve` output - [#3346](https://github.com/ignite/cli/issues/3346) Improve scaffold query --help @@ -39,6 +43,8 @@ - [#3669](https://github.com/ignite/cli/pull/3669) Rename `plugins` config file to `igniteapps` - [#3683](https://github.com/ignite/cli/pull/3683) Resolve `--dep auth` as `--dep account` in `scaffold module` - [#3795](https://github.com/ignite/cli/pull/3795) Bump cometbft to `v0.38.2` +- [#3599](https://github.com/ignite/cli/pull/3599) Add analytics as an option +- [#3670](https://github.com/ignite/cli/pull/3670) Remove binaries ### Fixes @@ -48,7 +54,6 @@ - [#3610](https://github.com/ignite/cli/pull/3610) Fix overflow issue of cosmos faucet in `pkg/cosmosfaucet/transfer.go` and `pkg/cosmosfaucet/cosmosfaucet.go` - [#3618](https://github.com/ignite/cli/pull/3618) Fix TS client generation import path issue - [#3631](https://github.com/ignite/cli/pull/3631) Fix unnecessary vue import in hooks/composables template -- [#3655](https://github.com/ignite/cli/pull/3655) Re-enable TS client generation - [#3661](https://github.com/ignite/cli/pull/3661) Change `pkg/cosmosanalysis` to find Cosmos SDK runtime app registered modules - [#3716](https://github.com/ignite/cli/pull/3716) Fix invalid plugin hook check - [#3725](https://github.com/ignite/cli/pull/3725) Fix flaky TS client generation issues on linux @@ -56,6 +61,7 @@ - [#3728](https://github.com/ignite/cli/pull/3728) Fix wrong parser for proto package names - [#3729](https://github.com/ignite/cli/pull/3729) Fix broken generator due to caching /tmp include folders - [#3767](https://github.com/ignite/cli/pull/3767) Fix `v0.50` ibc genesis issue +- [#3808](https://github.com/ignite/cli/pull/3808) Correct TS code generation to generate paginated fields ## [`v0.27.2`](https://github.com/ignite/cli/releases/tag/v0.27.2) @@ -791,4 +797,4 @@ Our new name is **Ignite CLI**! ## `v0.0.9` -Initial release. \ No newline at end of file +Initial release. diff --git a/docs/docs/03-clients/01-go-client.md b/docs/docs/03-clients/01-go-client.md index 01bedd61f1..7b46127f79 100644 --- a/docs/docs/03-clients/01-go-client.md +++ b/docs/docs/03-clients/01-go-client.md @@ -119,7 +119,7 @@ import ( "log" // Importing the general purpose Cosmos blockchain client - "github.com/ignite/cli/ignite/pkg/cosmosclient" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" // Importing the types package of your blog blockchain "blog/x/blog/types" diff --git a/docs/docs/07-packages/cosmostxcollector.md b/docs/docs/07-packages/cosmostxcollector.md index 62047e4ff9..cf779d36fa 100644 --- a/docs/docs/07-packages/cosmostxcollector.md +++ b/docs/docs/07-packages/cosmostxcollector.md @@ -40,10 +40,10 @@ import ( "context" "log" - "github.com/ignite/cli/ignite/pkg/clictx" - "github.com/ignite/cli/ignite/pkg/cosmosclient" - "github.com/ignite/cli/ignite/pkg/cosmostxcollector" - "github.com/ignite/cli/ignite/pkg/cosmostxcollector/adapter/postgres" + "github.com/ignite/cli/v28/ignite/pkg/clictx" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" + "github.com/ignite/cli/v28/ignite/pkg/cosmostxcollector" + "github.com/ignite/cli/v28/ignite/pkg/cosmostxcollector/adapter/postgres" ) const ( diff --git a/go.mod b/go.mod index c3776bdacc..849d0376ec 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/ignite/cli +module github.com/ignite/cli/v28 go 1.21.1 @@ -55,9 +55,9 @@ require ( github.com/hashicorp/go-hclog v1.5.0 github.com/hashicorp/go-plugin v1.5.2 github.com/iancoleman/strcase v0.3.0 - github.com/ignite/ignite-files/nodetime v0.0.2 + github.com/ignite/ignite-files/nodetime v0.0.3 github.com/ignite/ignite-files/protoc v0.0.1 - github.com/ignite/web v0.5.1 + github.com/ignite/web v0.6.1 github.com/imdario/mergo v0.3.13 github.com/jpillora/chisel v1.9.1 github.com/lib/pq v1.10.9 diff --git a/go.sum b/go.sum index 7380e103f7..38d6c616bc 100644 --- a/go.sum +++ b/go.sum @@ -879,12 +879,12 @@ github.com/iancoleman/strcase v0.3.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47 github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= -github.com/ignite/ignite-files/nodetime v0.0.2 h1:9Aj0OEa7FWI22J/Zdq7M2JvsjgFLngZSm7vB4i9X4t4= -github.com/ignite/ignite-files/nodetime v0.0.2/go.mod h1:GKDsXdeazHyhSBPdVLp7mNIo/m9LmZ6/h8RmQ0/CoaM= +github.com/ignite/ignite-files/nodetime v0.0.3 h1:LermGsHfgGC9fTHMJ7SM8H6EiNnNpRSd88q2kqrj40E= +github.com/ignite/ignite-files/nodetime v0.0.3/go.mod h1:GKDsXdeazHyhSBPdVLp7mNIo/m9LmZ6/h8RmQ0/CoaM= github.com/ignite/ignite-files/protoc v0.0.1 h1:wXxU1dzruUgSVl1diAuAOA+xv0NQKXJFsDWht2+tAP8= github.com/ignite/ignite-files/protoc v0.0.1/go.mod h1:cVCHJbEHPIeKHMPk3ZoPS0Xw4XQfUc76BAMAPU9Fwjg= -github.com/ignite/web v0.5.1 h1:xGOt8wJG7WIrNO30e8Zbm669VFyo6sje/vWnusLPp6k= -github.com/ignite/web v0.5.1/go.mod h1:WZWBaBYF8RazN7dE462BLpvXDY8ScacxcJ07BKwX/jY= +github.com/ignite/web v0.6.1 h1:kHG+T7NnR8cCPjAGxEFQD+njVYM08toeG57iYRXzpwo= +github.com/ignite/web v0.6.1/go.mod h1:WZWBaBYF8RazN7dE462BLpvXDY8ScacxcJ07BKwX/jY= github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= diff --git a/ignite/cmd/account.go b/ignite/cmd/account.go index 641020c822..133e73b36d 100644 --- a/ignite/cmd/account.go +++ b/ignite/cmd/account.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/cobra" flag "github.com/spf13/pflag" - "github.com/ignite/cli/ignite/pkg/cliui/cliquiz" - "github.com/ignite/cli/ignite/pkg/cliui/entrywriter" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/cliui/cliquiz" + "github.com/ignite/cli/v28/ignite/pkg/cliui/entrywriter" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" ) const ( diff --git a/ignite/cmd/account_create.go b/ignite/cmd/account_create.go index 94946d4911..5672177a3a 100644 --- a/ignite/cmd/account_create.go +++ b/ignite/cmd/account_create.go @@ -3,8 +3,8 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) func NewAccountCreate() *cobra.Command { diff --git a/ignite/cmd/account_delete.go b/ignite/cmd/account_delete.go index bc07004fbe..1c82627667 100644 --- a/ignite/cmd/account_delete.go +++ b/ignite/cmd/account_delete.go @@ -3,7 +3,7 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" ) func NewAccountDelete() *cobra.Command { diff --git a/ignite/cmd/account_export.go b/ignite/cmd/account_export.go index 7771f93b2e..b2303f37cc 100644 --- a/ignite/cmd/account_export.go +++ b/ignite/cmd/account_export.go @@ -7,8 +7,8 @@ import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) func NewAccountExport() *cobra.Command { diff --git a/ignite/cmd/account_import.go b/ignite/cmd/account_import.go index a65076c96d..43618192c0 100644 --- a/ignite/cmd/account_import.go +++ b/ignite/cmd/account_import.go @@ -6,9 +6,9 @@ import ( "github.com/cosmos/go-bip39" "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui/cliquiz" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/cliquiz" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) const flagSecret = "secret" diff --git a/ignite/cmd/account_list.go b/ignite/cmd/account_list.go index 88b4d85458..d30110dd1f 100644 --- a/ignite/cmd/account_list.go +++ b/ignite/cmd/account_list.go @@ -3,7 +3,7 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" ) func NewAccountList() *cobra.Command { diff --git a/ignite/cmd/account_show.go b/ignite/cmd/account_show.go index dedc2e652a..2be302ff2a 100644 --- a/ignite/cmd/account_show.go +++ b/ignite/cmd/account_show.go @@ -3,7 +3,7 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" ) func NewAccountShow() *cobra.Command { diff --git a/ignite/cmd/chain.go b/ignite/cmd/chain.go index 233f968a2b..2d15fde589 100644 --- a/ignite/cmd/chain.go +++ b/ignite/cmd/chain.go @@ -10,17 +10,17 @@ import ( "github.com/manifoldco/promptui" "github.com/spf13/cobra" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - "github.com/ignite/cli/ignite/pkg/cosmosgen" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/goanalysis" - "github.com/ignite/cli/ignite/pkg/gomodulepath" - "github.com/ignite/cli/ignite/pkg/xast" - "github.com/ignite/cli/ignite/services/chain" - "github.com/ignite/cli/ignite/services/doctor" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/pkg/cosmosgen" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/goanalysis" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/pkg/xast" + "github.com/ignite/cli/v28/ignite/services/chain" + "github.com/ignite/cli/v28/ignite/services/doctor" ) const ( diff --git a/ignite/cmd/chain_build.go b/ignite/cmd/chain_build.go index 7ba3ff5194..47ab548c07 100644 --- a/ignite/cmd/chain_build.go +++ b/ignite/cmd/chain_build.go @@ -6,11 +6,11 @@ import ( "github.com/spf13/cobra" flag "github.com/spf13/pflag" - "github.com/ignite/cli/ignite/pkg/chaincmd" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/cosmosver" - "github.com/ignite/cli/ignite/services/chain" + "github.com/ignite/cli/v28/ignite/pkg/chaincmd" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cosmosver" + "github.com/ignite/cli/v28/ignite/services/chain" ) const ( diff --git a/ignite/cmd/chain_debug.go b/ignite/cmd/chain_debug.go index 64d6216407..d39d03c4b7 100644 --- a/ignite/cmd/chain_debug.go +++ b/ignite/cmd/chain_debug.go @@ -7,16 +7,16 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/spf13/cobra" - cmdmodel "github.com/ignite/cli/ignite/cmd/model" - "github.com/ignite/cli/ignite/pkg/chaincmd" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - cliuimodel "github.com/ignite/cli/ignite/pkg/cliui/model" - "github.com/ignite/cli/ignite/pkg/debugger" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/events" - "github.com/ignite/cli/ignite/pkg/xurl" - "github.com/ignite/cli/ignite/services/chain" + cmdmodel "github.com/ignite/cli/v28/ignite/cmd/model" + "github.com/ignite/cli/v28/ignite/pkg/chaincmd" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + cliuimodel "github.com/ignite/cli/v28/ignite/pkg/cliui/model" + "github.com/ignite/cli/v28/ignite/pkg/debugger" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/pkg/xurl" + "github.com/ignite/cli/v28/ignite/services/chain" ) const ( diff --git a/ignite/cmd/chain_faucet.go b/ignite/cmd/chain_faucet.go index c27891caf3..5bd4e06427 100644 --- a/ignite/cmd/chain_faucet.go +++ b/ignite/cmd/chain_faucet.go @@ -4,9 +4,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/chaincmd" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/services/chain" + "github.com/ignite/cli/v28/ignite/pkg/chaincmd" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/services/chain" ) // NewChainFaucet creates a new faucet command to send coins to accounts. diff --git a/ignite/cmd/chain_init.go b/ignite/cmd/chain_init.go index d2132e6552..8b49729815 100644 --- a/ignite/cmd/chain_init.go +++ b/ignite/cmd/chain_init.go @@ -3,11 +3,11 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/chaincmd" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/cosmosver" - "github.com/ignite/cli/ignite/services/chain" + "github.com/ignite/cli/v28/ignite/pkg/chaincmd" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cosmosver" + "github.com/ignite/cli/v28/ignite/services/chain" ) func NewChainInit() *cobra.Command { diff --git a/ignite/cmd/chain_serve.go b/ignite/cmd/chain_serve.go index b6acb7a83b..8404c641d1 100644 --- a/ignite/cmd/chain_serve.go +++ b/ignite/cmd/chain_serve.go @@ -6,14 +6,14 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/spf13/cobra" - cmdmodel "github.com/ignite/cli/ignite/cmd/model" - "github.com/ignite/cli/ignite/pkg/cliui" - uilog "github.com/ignite/cli/ignite/pkg/cliui/log" - cliuimodel "github.com/ignite/cli/ignite/pkg/cliui/model" - "github.com/ignite/cli/ignite/pkg/cosmosver" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/events" - "github.com/ignite/cli/ignite/services/chain" + cmdmodel "github.com/ignite/cli/v28/ignite/cmd/model" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + uilog "github.com/ignite/cli/v28/ignite/pkg/cliui/log" + cliuimodel "github.com/ignite/cli/v28/ignite/pkg/cliui/model" + "github.com/ignite/cli/v28/ignite/pkg/cosmosver" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/services/chain" ) const ( diff --git a/ignite/cmd/chain_simulate.go b/ignite/cmd/chain_simulate.go index ef0c040633..8a2c340643 100644 --- a/ignite/cmd/chain_simulate.go +++ b/ignite/cmd/chain_simulate.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/services/chain" + "github.com/ignite/cli/v28/ignite/services/chain" ) const ( diff --git a/ignite/cmd/cmd.go b/ignite/cmd/cmd.go index 5609379142..8256f85e74 100644 --- a/ignite/cmd/cmd.go +++ b/ignite/cmd/cmd.go @@ -12,17 +12,17 @@ import ( "github.com/spf13/cobra" flag "github.com/spf13/pflag" - "github.com/ignite/cli/ignite/config" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - uilog "github.com/ignite/cli/ignite/pkg/cliui/log" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gitpod" - "github.com/ignite/cli/ignite/pkg/goenv" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/services/chain" - "github.com/ignite/cli/ignite/version" + "github.com/ignite/cli/v28/ignite/config" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + uilog "github.com/ignite/cli/v28/ignite/pkg/cliui/log" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gitpod" + "github.com/ignite/cli/v28/ignite/pkg/goenv" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/services/chain" + "github.com/ignite/cli/v28/ignite/version" ) const ( diff --git a/ignite/cmd/docs.go b/ignite/cmd/docs.go index ad35367074..e0d478365f 100644 --- a/ignite/cmd/docs.go +++ b/ignite/cmd/docs.go @@ -3,9 +3,9 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/docs" - "github.com/ignite/cli/ignite/pkg/localfs" - "github.com/ignite/cli/ignite/pkg/markdownviewer" + "github.com/ignite/cli/v28/docs" + "github.com/ignite/cli/v28/ignite/pkg/localfs" + "github.com/ignite/cli/v28/ignite/pkg/markdownviewer" ) func NewDocs() *cobra.Command { diff --git a/ignite/cmd/doctor.go b/ignite/cmd/doctor.go index 072b6d5edb..ba810a64bc 100644 --- a/ignite/cmd/doctor.go +++ b/ignite/cmd/doctor.go @@ -3,8 +3,8 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/services/doctor" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/services/doctor" ) func NewDoctor() *cobra.Command { diff --git a/ignite/cmd/generate_composables.go b/ignite/cmd/generate_composables.go index 258a9acc47..c18d65a6b0 100644 --- a/ignite/cmd/generate_composables.go +++ b/ignite/cmd/generate_composables.go @@ -3,9 +3,9 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - "github.com/ignite/cli/ignite/services/chain" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/services/chain" ) func NewGenerateComposables() *cobra.Command { diff --git a/ignite/cmd/generate_go.go b/ignite/cmd/generate_go.go index 263ebd388b..7b61be77a4 100644 --- a/ignite/cmd/generate_go.go +++ b/ignite/cmd/generate_go.go @@ -3,9 +3,9 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - "github.com/ignite/cli/ignite/services/chain" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/services/chain" ) func NewGenerateGo() *cobra.Command { diff --git a/ignite/cmd/generate_hooks.go b/ignite/cmd/generate_hooks.go index 76f125f498..b4ee9e8d49 100644 --- a/ignite/cmd/generate_hooks.go +++ b/ignite/cmd/generate_hooks.go @@ -3,9 +3,9 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - "github.com/ignite/cli/ignite/services/chain" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/services/chain" ) func NewGenerateHooks() *cobra.Command { diff --git a/ignite/cmd/generate_openapi.go b/ignite/cmd/generate_openapi.go index e0795e0d06..4bd830ed85 100644 --- a/ignite/cmd/generate_openapi.go +++ b/ignite/cmd/generate_openapi.go @@ -3,9 +3,9 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - "github.com/ignite/cli/ignite/services/chain" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/services/chain" ) func NewGenerateOpenAPI() *cobra.Command { diff --git a/ignite/cmd/generate_typescript_client.go b/ignite/cmd/generate_typescript_client.go index 3bb349ca73..86b1a11f1b 100644 --- a/ignite/cmd/generate_typescript_client.go +++ b/ignite/cmd/generate_typescript_client.go @@ -3,9 +3,9 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - "github.com/ignite/cli/ignite/services/chain" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/services/chain" ) const ( diff --git a/ignite/cmd/generate_vuex.go b/ignite/cmd/generate_vuex.go index 41880b4aa3..64ef327ffe 100644 --- a/ignite/cmd/generate_vuex.go +++ b/ignite/cmd/generate_vuex.go @@ -3,9 +3,9 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - "github.com/ignite/cli/ignite/services/chain" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/services/chain" ) func NewGenerateVuex() *cobra.Command { diff --git a/ignite/cmd/ignite/main.go b/ignite/cmd/ignite/main.go index 10ec0a0154..ffd3a821b5 100644 --- a/ignite/cmd/ignite/main.go +++ b/ignite/cmd/ignite/main.go @@ -6,15 +6,15 @@ import ( "os" "sync" - ignitecmd "github.com/ignite/cli/ignite/cmd" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/internal/analytics" - "github.com/ignite/cli/ignite/pkg/clictx" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/validation" - "github.com/ignite/cli/ignite/pkg/xstrings" + ignitecmd "github.com/ignite/cli/v28/ignite/cmd" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/internal/analytics" + "github.com/ignite/cli/v28/ignite/pkg/clictx" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/validation" + "github.com/ignite/cli/v28/ignite/pkg/xstrings" ) func main() { @@ -23,11 +23,6 @@ func main() { func run() int { const exitCodeOK, exitCodeError = 0, 1 - var wg sync.WaitGroup - if len(os.Args) > 1 { - analytics.SendMetric(&wg, os.Args) - } - ctx := clictx.From(context.Background()) cmd, cleanUp, err := ignitecmd.New(ctx) if err != nil { @@ -36,6 +31,15 @@ func run() int { } defer cleanUp() + // find command and send to analytics + subCmd, _, err := cmd.Find(os.Args[1:]) + if err != nil { + fmt.Printf("%v\n", err) + return exitCodeError + } + var wg sync.WaitGroup + analytics.SendMetric(&wg, subCmd) + err = cmd.ExecuteContext(ctx) if errors.Is(ctx.Err(), context.Canceled) || errors.Is(err, context.Canceled) { fmt.Println("aborted") diff --git a/ignite/cmd/model/chain_debug.go b/ignite/cmd/model/chain_debug.go index 5395c02b28..d8dbc594a6 100644 --- a/ignite/cmd/model/chain_debug.go +++ b/ignite/cmd/model/chain_debug.go @@ -7,11 +7,11 @@ import ( tea "github.com/charmbracelet/bubbletea" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - cliuimodel "github.com/ignite/cli/ignite/pkg/cliui/model" - "github.com/ignite/cli/ignite/pkg/events" - "github.com/ignite/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + cliuimodel "github.com/ignite/cli/v28/ignite/pkg/cliui/model" + "github.com/ignite/cli/v28/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/pkg/xstrings" ) const ( diff --git a/ignite/cmd/model/chain_debug_test.go b/ignite/cmd/model/chain_debug_test.go index a15e279ec1..0f519e80cb 100644 --- a/ignite/cmd/model/chain_debug_test.go +++ b/ignite/cmd/model/chain_debug_test.go @@ -7,13 +7,13 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/stretchr/testify/require" - cmdmodel "github.com/ignite/cli/ignite/cmd/model" - "github.com/ignite/cli/ignite/cmd/model/testdata" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - cliuimodel "github.com/ignite/cli/ignite/pkg/cliui/model" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/events" + cmdmodel "github.com/ignite/cli/v28/ignite/cmd/model" + "github.com/ignite/cli/v28/ignite/cmd/model/testdata" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + cliuimodel "github.com/ignite/cli/v28/ignite/pkg/cliui/model" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/events" ) func TestChainDebugErrorView(t *testing.T) { diff --git a/ignite/cmd/model/chain_serve.go b/ignite/cmd/model/chain_serve.go index ce05ab0628..639883a97a 100644 --- a/ignite/cmd/model/chain_serve.go +++ b/ignite/cmd/model/chain_serve.go @@ -7,10 +7,10 @@ import ( tea "github.com/charmbracelet/bubbletea" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - cliuimodel "github.com/ignite/cli/ignite/pkg/cliui/model" - "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + cliuimodel "github.com/ignite/cli/v28/ignite/pkg/cliui/model" + "github.com/ignite/cli/v28/ignite/pkg/events" ) const ( diff --git a/ignite/cmd/model/chain_serve_test.go b/ignite/cmd/model/chain_serve_test.go index ac6e5ce514..3d3c8a0f6f 100644 --- a/ignite/cmd/model/chain_serve_test.go +++ b/ignite/cmd/model/chain_serve_test.go @@ -9,13 +9,13 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/stretchr/testify/require" - cmdmodel "github.com/ignite/cli/ignite/cmd/model" - "github.com/ignite/cli/ignite/cmd/model/testdata" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - cliuimodel "github.com/ignite/cli/ignite/pkg/cliui/model" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/events" + cmdmodel "github.com/ignite/cli/v28/ignite/cmd/model" + "github.com/ignite/cli/v28/ignite/cmd/model/testdata" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + cliuimodel "github.com/ignite/cli/v28/ignite/pkg/cliui/model" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/events" ) var chainServeActions = colors.Faint("Press the 'q' key to stop serve") diff --git a/ignite/cmd/model/testdata/testdata.go b/ignite/cmd/model/testdata/testdata.go index 7dc1c483a2..cb434e9f83 100644 --- a/ignite/cmd/model/testdata/testdata.go +++ b/ignite/cmd/model/testdata/testdata.go @@ -5,7 +5,7 @@ import ( tea "github.com/charmbracelet/bubbletea" - "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/pkg/events" ) func FooCmd() tea.Msg { return nil } diff --git a/ignite/cmd/node.go b/ignite/cmd/node.go index 64e6f9c68c..d4fec32bdd 100644 --- a/ignite/cmd/node.go +++ b/ignite/cmd/node.go @@ -3,9 +3,9 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" - "github.com/ignite/cli/ignite/pkg/cosmosclient" - "github.com/ignite/cli/ignite/pkg/xurl" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" + "github.com/ignite/cli/v28/ignite/pkg/xurl" ) const ( diff --git a/ignite/cmd/node_query.go b/ignite/cmd/node_query.go index 114a16781d..c5c87d2224 100644 --- a/ignite/cmd/node_query.go +++ b/ignite/cmd/node_query.go @@ -7,7 +7,7 @@ import ( "github.com/spf13/cobra" flag "github.com/spf13/pflag" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) const ( diff --git a/ignite/cmd/node_query_bank_balances.go b/ignite/cmd/node_query_bank_balances.go index 8f0275e27f..44b949cd38 100644 --- a/ignite/cmd/node_query_bank_balances.go +++ b/ignite/cmd/node_query_bank_balances.go @@ -3,7 +3,7 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cliui" ) func NewNodeQueryBankBalances() *cobra.Command { diff --git a/ignite/cmd/node_query_tx.go b/ignite/cmd/node_query_tx.go index e4d1d7d1f3..d216062199 100644 --- a/ignite/cmd/node_query_tx.go +++ b/ignite/cmd/node_query_tx.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cliui" ) func NewNodeQueryTx() *cobra.Command { diff --git a/ignite/cmd/node_tx_bank_send.go b/ignite/cmd/node_tx_bank_send.go index cf3aa101f8..f50c157cc4 100644 --- a/ignite/cmd/node_tx_bank_send.go +++ b/ignite/cmd/node_tx_bank_send.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cliui" ) func NewNodeTxBankSend() *cobra.Command { diff --git a/ignite/cmd/plugin.go b/ignite/cmd/plugin.go index 233f95d75f..952b5fcd58 100644 --- a/ignite/cmd/plugin.go +++ b/ignite/cmd/plugin.go @@ -10,14 +10,14 @@ import ( "github.com/spf13/cobra" flag "github.com/spf13/pflag" - pluginsconfig "github.com/ignite/cli/ignite/config/plugins" - "github.com/ignite/cli/ignite/pkg/clictx" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - "github.com/ignite/cli/ignite/pkg/cosmosanalysis" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/xgit" - "github.com/ignite/cli/ignite/services/plugin" + pluginsconfig "github.com/ignite/cli/v28/ignite/config/plugins" + "github.com/ignite/cli/v28/ignite/pkg/clictx" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/xgit" + "github.com/ignite/cli/v28/ignite/services/plugin" ) const ( diff --git a/ignite/cmd/plugin_default.go b/ignite/cmd/plugin_default.go index 747f6999ba..09943e54a8 100644 --- a/ignite/cmd/plugin_default.go +++ b/ignite/cmd/plugin_default.go @@ -3,9 +3,9 @@ package ignitecmd import ( "github.com/spf13/cobra" - pluginsconfig "github.com/ignite/cli/ignite/config/plugins" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/services/plugin" + pluginsconfig "github.com/ignite/cli/v28/ignite/config/plugins" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/services/plugin" ) type defaultPlugin struct { @@ -16,7 +16,7 @@ type defaultPlugin struct { } const ( - PluginNetworkVersion = "v0.2.0" + PluginNetworkVersion = "v0.2.1" PluginNetworkPath = "github.com/ignite/cli-plugin-network@" + PluginNetworkVersion ) diff --git a/ignite/cmd/plugin_default_test.go b/ignite/cmd/plugin_default_test.go index bf2d4a4c5e..d7b4bc0ae8 100644 --- a/ignite/cmd/plugin_default_test.go +++ b/ignite/cmd/plugin_default_test.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - pluginsconfig "github.com/ignite/cli/ignite/config/plugins" + pluginsconfig "github.com/ignite/cli/v28/ignite/config/plugins" ) func TestEnsureDefaultPlugins(t *testing.T) { diff --git a/ignite/cmd/plugin_test.go b/ignite/cmd/plugin_test.go index c0e4e13eca..d3c165a7f3 100644 --- a/ignite/cmd/plugin_test.go +++ b/ignite/cmd/plugin_test.go @@ -14,9 +14,9 @@ import ( "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - pluginsconfig "github.com/ignite/cli/ignite/config/plugins" - "github.com/ignite/cli/ignite/services/plugin" - "github.com/ignite/cli/ignite/services/plugin/mocks" + pluginsconfig "github.com/ignite/cli/v28/ignite/config/plugins" + "github.com/ignite/cli/v28/ignite/services/plugin" + "github.com/ignite/cli/v28/ignite/services/plugin/mocks" ) func buildRootCmd(ctx context.Context) *cobra.Command { diff --git a/ignite/cmd/relayer.go b/ignite/cmd/relayer.go index 63d07374da..2e72dd1093 100644 --- a/ignite/cmd/relayer.go +++ b/ignite/cmd/relayer.go @@ -3,8 +3,8 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // NewRelayer returns a new relayer command. diff --git a/ignite/cmd/relayer_configure.go b/ignite/cmd/relayer_configure.go index f6ae6d46c2..9bd736d001 100644 --- a/ignite/cmd/relayer_configure.go +++ b/ignite/cmd/relayer_configure.go @@ -6,13 +6,13 @@ import ( "github.com/gookit/color" "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cliui/cliquiz" - "github.com/ignite/cli/ignite/pkg/cliui/entrywriter" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/relayer" - relayerconfig "github.com/ignite/cli/ignite/pkg/relayer/config" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cliui/cliquiz" + "github.com/ignite/cli/v28/ignite/pkg/cliui/entrywriter" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/relayer" + relayerconfig "github.com/ignite/cli/v28/ignite/pkg/relayer/config" ) const ( diff --git a/ignite/cmd/relayer_connect.go b/ignite/cmd/relayer_connect.go index e3e2ac6079..409a5faf37 100644 --- a/ignite/cmd/relayer_connect.go +++ b/ignite/cmd/relayer_connect.go @@ -7,9 +7,9 @@ import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" - "github.com/ignite/cli/ignite/pkg/relayer" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/relayer" ) // NewRelayerConnect returns a new relayer connect command to link all or some relayer paths and start diff --git a/ignite/cmd/scaffold.go b/ignite/cmd/scaffold.go index e84d1647a4..61be7bd836 100644 --- a/ignite/cmd/scaffold.go +++ b/ignite/cmd/scaffold.go @@ -7,14 +7,14 @@ import ( "github.com/spf13/cobra" flag "github.com/spf13/pflag" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cosmosver" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gomodulepath" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/xgit" - "github.com/ignite/cli/ignite/services/scaffolder" - "github.com/ignite/cli/ignite/version" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cosmosver" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/xgit" + "github.com/ignite/cli/v28/ignite/services/scaffolder" + "github.com/ignite/cli/v28/ignite/version" ) // flags related to component scaffolding. diff --git a/ignite/cmd/scaffold_band.go b/ignite/cmd/scaffold_band.go index cdb2ad26f1..052cbae25b 100644 --- a/ignite/cmd/scaffold_band.go +++ b/ignite/cmd/scaffold_band.go @@ -3,10 +3,10 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/services/scaffolder" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/services/scaffolder" ) const tplScaffoldBandSuccess = ` diff --git a/ignite/cmd/scaffold_chain.go b/ignite/cmd/scaffold_chain.go index 5e6de59ca7..464f611852 100644 --- a/ignite/cmd/scaffold_chain.go +++ b/ignite/cmd/scaffold_chain.go @@ -3,10 +3,10 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/services/scaffolder" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/services/scaffolder" ) const ( diff --git a/ignite/cmd/scaffold_list.go b/ignite/cmd/scaffold_list.go index ac835e2421..21e3a8308f 100644 --- a/ignite/cmd/scaffold_list.go +++ b/ignite/cmd/scaffold_list.go @@ -3,7 +3,7 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/services/scaffolder" + "github.com/ignite/cli/v28/ignite/services/scaffolder" ) // NewScaffoldList returns a new command to scaffold a list. diff --git a/ignite/cmd/scaffold_map.go b/ignite/cmd/scaffold_map.go index 5d20479deb..6e78833804 100644 --- a/ignite/cmd/scaffold_map.go +++ b/ignite/cmd/scaffold_map.go @@ -3,7 +3,7 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/services/scaffolder" + "github.com/ignite/cli/v28/ignite/services/scaffolder" ) const ( diff --git a/ignite/cmd/scaffold_message.go b/ignite/cmd/scaffold_message.go index 931960b69c..cbdd690570 100644 --- a/ignite/cmd/scaffold_message.go +++ b/ignite/cmd/scaffold_message.go @@ -3,9 +3,9 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/services/scaffolder" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/services/scaffolder" ) const flagSigner = "signer" diff --git a/ignite/cmd/scaffold_module.go b/ignite/cmd/scaffold_module.go index 0c84cf94a2..c40591f671 100644 --- a/ignite/cmd/scaffold_module.go +++ b/ignite/cmd/scaffold_module.go @@ -8,12 +8,12 @@ import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/validation" - "github.com/ignite/cli/ignite/services/scaffolder" - modulecreate "github.com/ignite/cli/ignite/templates/module/create" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/validation" + "github.com/ignite/cli/v28/ignite/services/scaffolder" + modulecreate "github.com/ignite/cli/v28/ignite/templates/module/create" ) // moduleNameKeeperAlias is a map of well known module names that have a different keeper name than the usual Keeper. diff --git a/ignite/cmd/scaffold_package.go b/ignite/cmd/scaffold_package.go index c5a3cc689d..7bb11abb2b 100644 --- a/ignite/cmd/scaffold_package.go +++ b/ignite/cmd/scaffold_package.go @@ -3,10 +3,10 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/services/scaffolder" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/services/scaffolder" ) const ( diff --git a/ignite/cmd/scaffold_query.go b/ignite/cmd/scaffold_query.go index 4c39653336..5a9b995d6c 100644 --- a/ignite/cmd/scaffold_query.go +++ b/ignite/cmd/scaffold_query.go @@ -5,9 +5,9 @@ import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/services/scaffolder" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/services/scaffolder" ) const ( diff --git a/ignite/cmd/scaffold_react.go b/ignite/cmd/scaffold_react.go index 8755751b70..832c156e35 100644 --- a/ignite/cmd/scaffold_react.go +++ b/ignite/cmd/scaffold_react.go @@ -3,9 +3,9 @@ package ignitecmd import ( "github.com/spf13/cobra" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cosmosgen" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cosmosgen" ) // NewScaffoldReact scaffolds a React app for a chain. diff --git a/ignite/cmd/scaffold_single.go b/ignite/cmd/scaffold_single.go index 1243b34f39..22d0c84386 100644 --- a/ignite/cmd/scaffold_single.go +++ b/ignite/cmd/scaffold_single.go @@ -3,7 +3,7 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/services/scaffolder" + "github.com/ignite/cli/v28/ignite/services/scaffolder" ) // NewScaffoldSingle returns a new command to scaffold a singleton. diff --git a/ignite/cmd/scaffold_type.go b/ignite/cmd/scaffold_type.go index f8178379b9..d126d08100 100644 --- a/ignite/cmd/scaffold_type.go +++ b/ignite/cmd/scaffold_type.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/services/scaffolder" + "github.com/ignite/cli/v28/ignite/services/scaffolder" ) // NewScaffoldType returns a new command to scaffold a type. diff --git a/ignite/cmd/scaffold_vue.go b/ignite/cmd/scaffold_vue.go index 6487964a0a..bb9b953306 100644 --- a/ignite/cmd/scaffold_vue.go +++ b/ignite/cmd/scaffold_vue.go @@ -3,9 +3,9 @@ package ignitecmd import ( "github.com/spf13/cobra" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/pkg/cliui" - "github.com/ignite/cli/ignite/pkg/cosmosgen" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/pkg/cliui" + "github.com/ignite/cli/v28/ignite/pkg/cosmosgen" ) // NewScaffoldVue scaffolds a Vue.js app for a chain. diff --git a/ignite/cmd/tools.go b/ignite/cmd/tools.go index d7eac8cbd3..803adf8ae6 100644 --- a/ignite/cmd/tools.go +++ b/ignite/cmd/tools.go @@ -6,9 +6,9 @@ import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/cmdrunner" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/nodetime" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/nodetime" ) // NewTools returns a command where various tools (binaries) are attached as sub commands diff --git a/ignite/cmd/version.go b/ignite/cmd/version.go index ed65f8013f..f61136bd58 100644 --- a/ignite/cmd/version.go +++ b/ignite/cmd/version.go @@ -3,7 +3,7 @@ package ignitecmd import ( "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/version" + "github.com/ignite/cli/v28/ignite/version" ) // NewVersion creates a new version command to show the Ignite CLI version. diff --git a/ignite/config/chain/base/config.go b/ignite/config/chain/base/config.go index b3f5c1211c..98149679fa 100644 --- a/ignite/config/chain/base/config.go +++ b/ignite/config/chain/base/config.go @@ -3,8 +3,8 @@ package base import ( "github.com/imdario/mergo" - "github.com/ignite/cli/ignite/config/chain/version" - xyaml "github.com/ignite/cli/ignite/pkg/yaml" + "github.com/ignite/cli/v28/ignite/config/chain/version" + xyaml "github.com/ignite/cli/v28/ignite/pkg/yaml" ) var ( diff --git a/ignite/config/chain/config.go b/ignite/config/chain/config.go index 3724442cbf..189f7b9765 100644 --- a/ignite/config/chain/config.go +++ b/ignite/config/chain/config.go @@ -9,9 +9,9 @@ import ( "gopkg.in/yaml.v2" - v0 "github.com/ignite/cli/ignite/config/chain/v0" - v1 "github.com/ignite/cli/ignite/config/chain/v1" - "github.com/ignite/cli/ignite/config/chain/version" + v0 "github.com/ignite/cli/v28/ignite/config/chain/v0" + v1 "github.com/ignite/cli/v28/ignite/config/chain/v1" + "github.com/ignite/cli/v28/ignite/config/chain/version" ) var ( diff --git a/ignite/config/chain/config_test.go b/ignite/config/chain/config_test.go index 651b329143..1313c28344 100644 --- a/ignite/config/chain/config_test.go +++ b/ignite/config/chain/config_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/config/chain/version" + "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/config/chain/version" ) func TestCheckVersion(t *testing.T) { diff --git a/ignite/config/chain/convert.go b/ignite/config/chain/convert.go index 7cd02b99d3..6a3845355c 100644 --- a/ignite/config/chain/convert.go +++ b/ignite/config/chain/convert.go @@ -5,7 +5,7 @@ import ( "gopkg.in/yaml.v2" - "github.com/ignite/cli/ignite/config/chain/version" + "github.com/ignite/cli/v28/ignite/config/chain/version" ) // Build time check for the latest config version type. diff --git a/ignite/config/chain/convert_test.go b/ignite/config/chain/convert_test.go index 3b431bd58d..6901e82c5c 100644 --- a/ignite/config/chain/convert_test.go +++ b/ignite/config/chain/convert_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" - chainconfig "github.com/ignite/cli/ignite/config/chain" - v0testdata "github.com/ignite/cli/ignite/config/chain/v0/testdata" - "github.com/ignite/cli/ignite/config/testdata" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + v0testdata "github.com/ignite/cli/v28/ignite/config/chain/v0/testdata" + "github.com/ignite/cli/v28/ignite/config/testdata" ) func TestConvertLatest(t *testing.T) { diff --git a/ignite/config/chain/errors.go b/ignite/config/chain/errors.go index eeb4fe28af..f834144f49 100644 --- a/ignite/config/chain/errors.go +++ b/ignite/config/chain/errors.go @@ -3,8 +3,8 @@ package chain import ( "fmt" - "github.com/ignite/cli/ignite/config/chain/version" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/config/chain/version" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // ErrConfigNotFound indicates that the config.yml can't be found. diff --git a/ignite/config/chain/network/testdata/testdata.go b/ignite/config/chain/network/testdata/testdata.go index e8d3c186c2..f9c51b9f3f 100644 --- a/ignite/config/chain/network/testdata/testdata.go +++ b/ignite/config/chain/network/testdata/testdata.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" "gopkg.in/yaml.v2" - v1 "github.com/ignite/cli/ignite/config/chain/v1" + v1 "github.com/ignite/cli/v28/ignite/config/chain/v1" ) //go:embed config.yaml diff --git a/ignite/config/chain/parse.go b/ignite/config/chain/parse.go index d6ed30ae1a..562f37dc52 100644 --- a/ignite/config/chain/parse.go +++ b/ignite/config/chain/parse.go @@ -8,8 +8,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/bech32" "gopkg.in/yaml.v2" - "github.com/ignite/cli/ignite/config/chain/version" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/config/chain/version" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // Parse reads a config file. diff --git a/ignite/config/chain/parse_test.go b/ignite/config/chain/parse_test.go index 3a15d69b84..041eff238c 100644 --- a/ignite/config/chain/parse_test.go +++ b/ignite/config/chain/parse_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/require" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/config/chain/version" - "github.com/ignite/cli/ignite/config/testdata" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/config/chain/version" + "github.com/ignite/cli/v28/ignite/config/testdata" ) func TestReadConfigVersion(t *testing.T) { diff --git a/ignite/config/chain/v0/config.go b/ignite/config/chain/v0/config.go index b24de8e6da..335c5a41ac 100644 --- a/ignite/config/chain/v0/config.go +++ b/ignite/config/chain/v0/config.go @@ -6,8 +6,8 @@ import ( "github.com/imdario/mergo" "gopkg.in/yaml.v2" - "github.com/ignite/cli/ignite/config/chain/base" - "github.com/ignite/cli/ignite/config/chain/version" + "github.com/ignite/cli/v28/ignite/config/chain/base" + "github.com/ignite/cli/v28/ignite/config/chain/version" ) // Config is the user given configuration to do additional setup during serve. diff --git a/ignite/config/chain/v0/config_convert.go b/ignite/config/chain/v0/config_convert.go index 7719dc087b..4000778184 100644 --- a/ignite/config/chain/v0/config_convert.go +++ b/ignite/config/chain/v0/config_convert.go @@ -1,8 +1,8 @@ package v0 import ( - v1 "github.com/ignite/cli/ignite/config/chain/v1" - "github.com/ignite/cli/ignite/config/chain/version" + v1 "github.com/ignite/cli/v28/ignite/config/chain/v1" + "github.com/ignite/cli/v28/ignite/config/chain/version" ) // ConvertNext converts the current config version to the next one. diff --git a/ignite/config/chain/v0/config_convert_test.go b/ignite/config/chain/v0/config_convert_test.go index eb7c8d1c03..2744b3078d 100644 --- a/ignite/config/chain/v0/config_convert_test.go +++ b/ignite/config/chain/v0/config_convert_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - v0testdata "github.com/ignite/cli/ignite/config/chain/v0/testdata" - v1 "github.com/ignite/cli/ignite/config/chain/v1" - "github.com/ignite/cli/ignite/config/chain/version" + v0testdata "github.com/ignite/cli/v28/ignite/config/chain/v0/testdata" + v1 "github.com/ignite/cli/v28/ignite/config/chain/v1" + "github.com/ignite/cli/v28/ignite/config/chain/version" ) func TestV0ToV1(t *testing.T) { diff --git a/ignite/config/chain/v0/config_test.go b/ignite/config/chain/v0/config_test.go index b043994841..2726f4e0ea 100644 --- a/ignite/config/chain/v0/config_test.go +++ b/ignite/config/chain/v0/config_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - v0 "github.com/ignite/cli/ignite/config/chain/v0" + v0 "github.com/ignite/cli/v28/ignite/config/chain/v0" ) func TestClone(t *testing.T) { diff --git a/ignite/config/chain/v0/testdata/testdata.go b/ignite/config/chain/v0/testdata/testdata.go index 9854d79da0..cae8dce102 100644 --- a/ignite/config/chain/v0/testdata/testdata.go +++ b/ignite/config/chain/v0/testdata/testdata.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" "gopkg.in/yaml.v2" - v0 "github.com/ignite/cli/ignite/config/chain/v0" + v0 "github.com/ignite/cli/v28/ignite/config/chain/v0" ) //go:embed config.yaml diff --git a/ignite/config/chain/v1/config.go b/ignite/config/chain/v1/config.go index 7d74186a91..e4ee36a7db 100644 --- a/ignite/config/chain/v1/config.go +++ b/ignite/config/chain/v1/config.go @@ -6,9 +6,9 @@ import ( "github.com/imdario/mergo" "gopkg.in/yaml.v2" - "github.com/ignite/cli/ignite/config/chain/base" - "github.com/ignite/cli/ignite/config/chain/version" - "github.com/ignite/cli/ignite/pkg/xnet" + "github.com/ignite/cli/v28/ignite/config/chain/base" + "github.com/ignite/cli/v28/ignite/config/chain/version" + "github.com/ignite/cli/v28/ignite/pkg/xnet" ) // DefaultConfig returns a config with default values. diff --git a/ignite/config/chain/v1/config_convert.go b/ignite/config/chain/v1/config_convert.go index 135fd05f9a..0e4bdac3cf 100644 --- a/ignite/config/chain/v1/config_convert.go +++ b/ignite/config/chain/v1/config_convert.go @@ -1,7 +1,7 @@ package v1 import ( - "github.com/ignite/cli/ignite/config/chain/version" + "github.com/ignite/cli/v28/ignite/config/chain/version" ) // ConvertNext implements the conversion of the current config to the next version. diff --git a/ignite/config/chain/v1/config_test.go b/ignite/config/chain/v1/config_test.go index 00314d41b4..02538f06b7 100644 --- a/ignite/config/chain/v1/config_test.go +++ b/ignite/config/chain/v1/config_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/config/chain/base" - v1 "github.com/ignite/cli/ignite/config/chain/v1" - "github.com/ignite/cli/ignite/pkg/xnet" + "github.com/ignite/cli/v28/ignite/config/chain/base" + v1 "github.com/ignite/cli/v28/ignite/config/chain/v1" + "github.com/ignite/cli/v28/ignite/pkg/xnet" ) func TestConfigDecode(t *testing.T) { diff --git a/ignite/config/chain/v1/testdata/testdata.go b/ignite/config/chain/v1/testdata/testdata.go index e8d3c186c2..f9c51b9f3f 100644 --- a/ignite/config/chain/v1/testdata/testdata.go +++ b/ignite/config/chain/v1/testdata/testdata.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" "gopkg.in/yaml.v2" - v1 "github.com/ignite/cli/ignite/config/chain/v1" + v1 "github.com/ignite/cli/v28/ignite/config/chain/v1" ) //go:embed config.yaml diff --git a/ignite/config/chain/v1/validator.go b/ignite/config/chain/v1/validator.go index bfeb1fffd0..7af0b615c5 100644 --- a/ignite/config/chain/v1/validator.go +++ b/ignite/config/chain/v1/validator.go @@ -1,7 +1,7 @@ package v1 import ( - xyaml "github.com/ignite/cli/ignite/pkg/yaml" + xyaml "github.com/ignite/cli/v28/ignite/pkg/yaml" ) // Validator holds info related to validator settings. diff --git a/ignite/config/chain/v1/validator_servers.go b/ignite/config/chain/v1/validator_servers.go index 90d21c5bce..cff4f96d74 100644 --- a/ignite/config/chain/v1/validator_servers.go +++ b/ignite/config/chain/v1/validator_servers.go @@ -3,8 +3,8 @@ package v1 import ( "github.com/mitchellh/mapstructure" - baseconfig "github.com/ignite/cli/ignite/config/chain/base" - "github.com/ignite/cli/ignite/pkg/errors" + baseconfig "github.com/ignite/cli/v28/ignite/config/chain/base" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) func DefaultServers() Servers { diff --git a/ignite/config/chain/v1/validator_servers_test.go b/ignite/config/chain/v1/validator_servers_test.go index ac49b00622..c711f43603 100644 --- a/ignite/config/chain/v1/validator_servers_test.go +++ b/ignite/config/chain/v1/validator_servers_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - v1 "github.com/ignite/cli/ignite/config/chain/v1" - xyaml "github.com/ignite/cli/ignite/pkg/yaml" + v1 "github.com/ignite/cli/v28/ignite/config/chain/v1" + xyaml "github.com/ignite/cli/v28/ignite/pkg/yaml" ) func TestValidatorGetServers(t *testing.T) { diff --git a/ignite/config/config.go b/ignite/config/config.go index 44a5c4ff2b..39cc87203e 100644 --- a/ignite/config/config.go +++ b/ignite/config/config.go @@ -1,8 +1,8 @@ package config import ( - "github.com/ignite/cli/ignite/pkg/env" - "github.com/ignite/cli/ignite/pkg/xfilepath" + "github.com/ignite/cli/v28/ignite/pkg/env" + "github.com/ignite/cli/v28/ignite/pkg/xfilepath" ) // DirPath returns the path of configuration directory of Ignite. diff --git a/ignite/config/plugins/config.go b/ignite/config/plugins/config.go index 8fde017688..e8b593f482 100644 --- a/ignite/config/plugins/config.go +++ b/ignite/config/plugins/config.go @@ -7,8 +7,8 @@ import ( "golang.org/x/exp/slices" "gopkg.in/yaml.v2" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gomodule" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gomodule" ) type Config struct { diff --git a/ignite/config/plugins/config_test.go b/ignite/config/plugins/config_test.go index 5986efe8ad..10a463f4b6 100644 --- a/ignite/config/plugins/config_test.go +++ b/ignite/config/plugins/config_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - pluginsconfig "github.com/ignite/cli/ignite/config/plugins" + pluginsconfig "github.com/ignite/cli/v28/ignite/config/plugins" ) func TestPluginIsGlobal(t *testing.T) { diff --git a/ignite/config/plugins/parse.go b/ignite/config/plugins/parse.go index fed5349421..393a7f4394 100644 --- a/ignite/config/plugins/parse.go +++ b/ignite/config/plugins/parse.go @@ -7,7 +7,7 @@ import ( "gopkg.in/yaml.v2" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // ParseDir expects to find a plugin config file in dir. If dir is not a folder, diff --git a/ignite/config/plugins/parse_test.go b/ignite/config/plugins/parse_test.go index abe7558e3a..30e1904ad0 100644 --- a/ignite/config/plugins/parse_test.go +++ b/ignite/config/plugins/parse_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - pluginsconfig "github.com/ignite/cli/ignite/config/plugins" + pluginsconfig "github.com/ignite/cli/v28/ignite/config/plugins" ) func TestParseDir(t *testing.T) { diff --git a/ignite/config/testdata/testdata.go b/ignite/config/testdata/testdata.go index 530635984f..d5602c4015 100644 --- a/ignite/config/testdata/testdata.go +++ b/ignite/config/testdata/testdata.go @@ -3,11 +3,11 @@ package testdata import ( "testing" - chainconfig "github.com/ignite/cli/ignite/config/chain" - networkconfigTestdata "github.com/ignite/cli/ignite/config/chain/network/testdata" - v0testdata "github.com/ignite/cli/ignite/config/chain/v0/testdata" - v1testdata "github.com/ignite/cli/ignite/config/chain/v1/testdata" - "github.com/ignite/cli/ignite/config/chain/version" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + networkconfigTestdata "github.com/ignite/cli/v28/ignite/config/chain/network/testdata" + v0testdata "github.com/ignite/cli/v28/ignite/config/chain/v0/testdata" + v1testdata "github.com/ignite/cli/v28/ignite/config/chain/v1/testdata" + "github.com/ignite/cli/v28/ignite/config/chain/version" ) var Versions = map[version.Version][]byte{ diff --git a/ignite/internal/analytics/analytics.go b/ignite/internal/analytics/analytics.go index 55338c279b..abc57802ba 100644 --- a/ignite/internal/analytics/analytics.go +++ b/ignite/internal/analytics/analytics.go @@ -9,10 +9,11 @@ import ( "sync" "github.com/manifoldco/promptui" + "github.com/spf13/cobra" - "github.com/ignite/cli/ignite/pkg/gacli" - "github.com/ignite/cli/ignite/pkg/randstr" - "github.com/ignite/cli/ignite/version" + "github.com/ignite/cli/v28/ignite/pkg/gacli" + "github.com/ignite/cli/v28/ignite/pkg/randstr" + "github.com/ignite/cli/v28/ignite/version" ) const ( @@ -37,13 +38,8 @@ func init() { } // SendMetric send command metrics to analytics. -func SendMetric(wg *sync.WaitGroup, args []string) { - // only the app name - if len(args) <= 1 { - return - } - - if args[1] == "version" { +func SendMetric(wg *sync.WaitGroup, cmd *cobra.Command) { + if cmd.Name() == "version" { return } @@ -52,14 +48,16 @@ func SendMetric(wg *sync.WaitGroup, args []string) { return } + path := cmd.CommandPath() met := gacli.Metric{ + Name: cmd.Name(), + Cmd: path, + Tag: strings.ReplaceAll(path, " ", "+"), OS: runtime.GOOS, Arch: runtime.GOARCH, - FullCmd: strings.Join(args[1:], " "), SessionID: dntInfo.Name, Version: version.Version, } - met.Cmd = args[1] wg.Add(1) go func() { @@ -98,10 +96,12 @@ func checkDNT() (anonIdentity, error) { i.DoNotTrack = false prompt := promptui.Select{ - Label: "Ignite collects metrics about command usage. " + - "All data is anonymous and helps to improve Ignite. " + - "Ignite respect the DNT rules (consoledonottrack.com). " + - "Would you agree to share these metrics with us?", + Label: "Ignite uses anonymized metrics to enhance the application, " + + "focusing on features such as command usage. We do not collect " + + "identifiable personal information. Your privacy is important to us. " + + "For more details, please visit our Privacy Policy at https://ignite.com/privacy " + + "and our Terms of Use at https://ignite.com/terms-of-use. " + + "Do you consent to the collection of these usage metrics for analytics purposes?", Items: []string{"Yes", "No"}, } resultID, _, err := prompt.Run() diff --git a/ignite/internal/tools/gen-cli-docs/main.go b/ignite/internal/tools/gen-cli-docs/main.go index 0768131bf3..bc0f1e8660 100644 --- a/ignite/internal/tools/gen-cli-docs/main.go +++ b/ignite/internal/tools/gen-cli-docs/main.go @@ -17,10 +17,10 @@ import ( "github.com/spf13/cobra" "github.com/spf13/cobra/doc" - ignitecmd "github.com/ignite/cli/ignite/cmd" - pluginsconfig "github.com/ignite/cli/ignite/config/plugins" - "github.com/ignite/cli/ignite/pkg/env" - "github.com/ignite/cli/ignite/services/plugin" + ignitecmd "github.com/ignite/cli/v28/ignite/cmd" + pluginsconfig "github.com/ignite/cli/v28/ignite/config/plugins" + "github.com/ignite/cli/v28/ignite/pkg/env" + "github.com/ignite/cli/v28/ignite/services/plugin" ) const head = `--- diff --git a/ignite/pkg/availableport/availableport.go b/ignite/pkg/availableport/availableport.go index e1fd8ff1b8..9ceeaacdfa 100644 --- a/ignite/pkg/availableport/availableport.go +++ b/ignite/pkg/availableport/availableport.go @@ -6,7 +6,7 @@ import ( "net" "time" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) type availablePortOptions struct { diff --git a/ignite/pkg/availableport/availableport_test.go b/ignite/pkg/availableport/availableport_test.go index 8a4fb0b4d4..90c9a7f980 100644 --- a/ignite/pkg/availableport/availableport_test.go +++ b/ignite/pkg/availableport/availableport_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/availableport" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/availableport" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) func TestFind(t *testing.T) { diff --git a/ignite/pkg/cache/cache.go b/ignite/pkg/cache/cache.go index b158fe980f..c447a965d6 100644 --- a/ignite/pkg/cache/cache.go +++ b/ignite/pkg/cache/cache.go @@ -10,7 +10,7 @@ import ( bolt "go.etcd.io/bbolt" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) var ErrorNotFound = errors.New("no value was found with the provided key") diff --git a/ignite/pkg/cache/cache_test.go b/ignite/pkg/cache/cache_test.go index e8643daa78..f72b403c8d 100644 --- a/ignite/pkg/cache/cache_test.go +++ b/ignite/pkg/cache/cache_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/cache" ) type TestStruct struct { diff --git a/ignite/pkg/chaincmd/chaincmd.go b/ignite/pkg/chaincmd/chaincmd.go index da3b9fb4e9..2f15982c40 100644 --- a/ignite/pkg/chaincmd/chaincmd.go +++ b/ignite/pkg/chaincmd/chaincmd.go @@ -6,9 +6,9 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/cosmosver" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/cosmosver" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) const ( diff --git a/ignite/pkg/chaincmd/runner/account.go b/ignite/pkg/chaincmd/runner/account.go index 60c1ffe91d..75456578c0 100644 --- a/ignite/pkg/chaincmd/runner/account.go +++ b/ignite/pkg/chaincmd/runner/account.go @@ -7,8 +7,8 @@ import ( "os" "strings" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) var ( diff --git a/ignite/pkg/chaincmd/runner/chain.go b/ignite/pkg/chaincmd/runner/chain.go index ab57f99d86..1213968186 100644 --- a/ignite/pkg/chaincmd/runner/chain.go +++ b/ignite/pkg/chaincmd/runner/chain.go @@ -12,10 +12,10 @@ import ( "github.com/cenkalti/backoff" - "github.com/ignite/cli/ignite/pkg/chaincmd" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/cosmosver" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/chaincmd" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/cosmosver" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // Start starts the blockchain. diff --git a/ignite/pkg/chaincmd/runner/runner.go b/ignite/pkg/chaincmd/runner/runner.go index 91533d3fe5..c9f40ec3f6 100644 --- a/ignite/pkg/chaincmd/runner/runner.go +++ b/ignite/pkg/chaincmd/runner/runner.go @@ -9,11 +9,11 @@ import ( "sigs.k8s.io/yaml" - "github.com/ignite/cli/ignite/pkg/chaincmd" - "github.com/ignite/cli/ignite/pkg/cmdrunner" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/truncatedbuffer" + "github.com/ignite/cli/v28/ignite/pkg/chaincmd" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/truncatedbuffer" ) // Runner provides high level access to a blockchain's commands. diff --git a/ignite/pkg/chaincmd/runner/simulate.go b/ignite/pkg/chaincmd/runner/simulate.go index 62fd3cd440..f7de4e42c8 100644 --- a/ignite/pkg/chaincmd/runner/simulate.go +++ b/ignite/pkg/chaincmd/runner/simulate.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/ignite/cli/ignite/pkg/chaincmd" + "github.com/ignite/cli/v28/ignite/pkg/chaincmd" ) // Simulation run the chain simulation. diff --git a/ignite/pkg/chaincmd/simulate.go b/ignite/pkg/chaincmd/simulate.go index 8d4ead7df6..1d0d028a30 100644 --- a/ignite/pkg/chaincmd/simulate.go +++ b/ignite/pkg/chaincmd/simulate.go @@ -4,8 +4,8 @@ import ( "path/filepath" "strconv" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/gocmd" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/gocmd" ) const ( diff --git a/ignite/pkg/checksum/checksum.go b/ignite/pkg/checksum/checksum.go index 8342f92dc0..d7b882b2f5 100644 --- a/ignite/pkg/checksum/checksum.go +++ b/ignite/pkg/checksum/checksum.go @@ -8,7 +8,7 @@ import ( "os" "path/filepath" - "github.com/ignite/cli/ignite/pkg/xexec" + "github.com/ignite/cli/v28/ignite/pkg/xexec" ) // Sum reads files from dirPath, calculates sha256 for each file and creates a new checksum diff --git a/ignite/pkg/clictx/clictx_test.go b/ignite/pkg/clictx/clictx_test.go index af3d12050c..8c87b283cf 100644 --- a/ignite/pkg/clictx/clictx_test.go +++ b/ignite/pkg/clictx/clictx_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/clictx" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/clictx" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) func TestDo(t *testing.T) { diff --git a/ignite/pkg/cliui/cliquiz/question.go b/ignite/pkg/cliui/cliquiz/question.go index 6e1521a6d8..e2fbbb54a6 100644 --- a/ignite/pkg/cliui/cliquiz/question.go +++ b/ignite/pkg/cliui/cliquiz/question.go @@ -11,7 +11,7 @@ import ( "github.com/AlecAivazis/survey/v2/terminal" "github.com/spf13/pflag" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // ErrConfirmationFailed is returned when second answer is not the same with first one. diff --git a/ignite/pkg/cliui/cliui.go b/ignite/pkg/cliui/cliui.go index fbbc098f2e..2b624b89be 100644 --- a/ignite/pkg/cliui/cliui.go +++ b/ignite/pkg/cliui/cliui.go @@ -8,11 +8,11 @@ import ( "github.com/manifoldco/promptui" - "github.com/ignite/cli/ignite/pkg/cliui/cliquiz" - "github.com/ignite/cli/ignite/pkg/cliui/clispinner" - "github.com/ignite/cli/ignite/pkg/cliui/entrywriter" - uilog "github.com/ignite/cli/ignite/pkg/cliui/log" - "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/pkg/cliui/cliquiz" + "github.com/ignite/cli/v28/ignite/pkg/cliui/clispinner" + "github.com/ignite/cli/v28/ignite/pkg/cliui/entrywriter" + uilog "github.com/ignite/cli/v28/ignite/pkg/cliui/log" + "github.com/ignite/cli/v28/ignite/pkg/events" ) type sessionOptions struct { diff --git a/ignite/pkg/cliui/entrywriter/entrywriter.go b/ignite/pkg/cliui/entrywriter/entrywriter.go index 7e99a213e9..cc91405f72 100644 --- a/ignite/pkg/cliui/entrywriter/entrywriter.go +++ b/ignite/pkg/cliui/entrywriter/entrywriter.go @@ -5,8 +5,8 @@ import ( "io" "text/tabwriter" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/xstrings" ) const ( diff --git a/ignite/pkg/cliui/entrywriter/entrywriter_test.go b/ignite/pkg/cliui/entrywriter/entrywriter_test.go index 357f9cabb9..9eb89c460a 100644 --- a/ignite/pkg/cliui/entrywriter/entrywriter_test.go +++ b/ignite/pkg/cliui/entrywriter/entrywriter_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cliui/entrywriter" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/entrywriter" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) type WriterWithError struct{} diff --git a/ignite/pkg/cliui/icons/icon.go b/ignite/pkg/cliui/icons/icon.go index 75495e9753..4923be4946 100644 --- a/ignite/pkg/cliui/icons/icon.go +++ b/ignite/pkg/cliui/icons/icon.go @@ -1,7 +1,7 @@ package icons import ( - "github.com/ignite/cli/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" ) var ( diff --git a/ignite/pkg/cliui/log/output.go b/ignite/pkg/cliui/log/output.go index 358b76454e..26f049643f 100644 --- a/ignite/pkg/cliui/log/output.go +++ b/ignite/pkg/cliui/log/output.go @@ -4,10 +4,10 @@ import ( "io" "os" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/cliui/lineprefixer" - "github.com/ignite/cli/ignite/pkg/cliui/prefixgen" - "github.com/ignite/cli/ignite/pkg/xio" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/lineprefixer" + "github.com/ignite/cli/v28/ignite/pkg/cliui/prefixgen" + "github.com/ignite/cli/v28/ignite/pkg/xio" ) const ( diff --git a/ignite/pkg/cliui/model/events.go b/ignite/pkg/cliui/model/events.go index 348bcfb255..82c0034507 100644 --- a/ignite/pkg/cliui/model/events.go +++ b/ignite/pkg/cliui/model/events.go @@ -9,9 +9,9 @@ import ( "github.com/charmbracelet/bubbles/spinner" tea "github.com/charmbracelet/bubbletea" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/pkg/events" ) // EventMsg defines a message for events. diff --git a/ignite/pkg/cliui/model/events_test.go b/ignite/pkg/cliui/model/events_test.go index d43efde8bc..ec1f727ddd 100644 --- a/ignite/pkg/cliui/model/events_test.go +++ b/ignite/pkg/cliui/model/events_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - cliuimodel "github.com/ignite/cli/ignite/pkg/cliui/model" - "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + cliuimodel "github.com/ignite/cli/v28/ignite/pkg/cliui/model" + "github.com/ignite/cli/v28/ignite/pkg/events" ) func TestStatusEventsView(t *testing.T) { diff --git a/ignite/pkg/cliui/prefixgen/prefixgen.go b/ignite/pkg/cliui/prefixgen/prefixgen.go index 80974131c3..4b6e3cae7f 100644 --- a/ignite/pkg/cliui/prefixgen/prefixgen.go +++ b/ignite/pkg/cliui/prefixgen/prefixgen.go @@ -6,7 +6,7 @@ import ( "fmt" "strings" - "github.com/ignite/cli/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" ) // Prefixer generates prefixes. diff --git a/ignite/pkg/cliui/view/accountview/account.go b/ignite/pkg/cliui/view/accountview/account.go index 801f9a8a97..42d4379451 100644 --- a/ignite/pkg/cliui/view/accountview/account.go +++ b/ignite/pkg/cliui/view/accountview/account.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" ) var ( diff --git a/ignite/pkg/cliui/view/accountview/account_test.go b/ignite/pkg/cliui/view/accountview/account_test.go index e5cb240357..9578c8a098 100644 --- a/ignite/pkg/cliui/view/accountview/account_test.go +++ b/ignite/pkg/cliui/view/accountview/account_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/ignite/cli/ignite/pkg/cliui/view/accountview" + "github.com/ignite/cli/v28/ignite/pkg/cliui/view/accountview" ) func TestAccountString(t *testing.T) { diff --git a/ignite/pkg/cliui/view/errorview/error.go b/ignite/pkg/cliui/view/errorview/error.go index e0b4c47ef4..367fed2fb4 100644 --- a/ignite/pkg/cliui/view/errorview/error.go +++ b/ignite/pkg/cliui/view/errorview/error.go @@ -5,7 +5,7 @@ import ( "github.com/muesli/reflow/wordwrap" - "github.com/ignite/cli/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" ) func NewError(err error) Error { diff --git a/ignite/pkg/cmdrunner/cmdrunner.go b/ignite/pkg/cmdrunner/cmdrunner.go index 7f33b56d83..84c2c3b913 100644 --- a/ignite/pkg/cmdrunner/cmdrunner.go +++ b/ignite/pkg/cmdrunner/cmdrunner.go @@ -10,9 +10,9 @@ import ( "golang.org/x/sync/errgroup" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/env" - "github.com/ignite/cli/ignite/pkg/goenv" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/env" + "github.com/ignite/cli/v28/ignite/pkg/goenv" ) // Runner is an object to run commands. diff --git a/ignite/pkg/cmdrunner/exec/exec.go b/ignite/pkg/cmdrunner/exec/exec.go index f85512ece5..f0afa083ea 100644 --- a/ignite/pkg/cmdrunner/exec/exec.go +++ b/ignite/pkg/cmdrunner/exec/exec.go @@ -8,9 +8,9 @@ import ( "os/exec" "strings" - "github.com/ignite/cli/ignite/pkg/cmdrunner" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // ExitError is an alias to exec.ExitError. diff --git a/ignite/pkg/cosmosaccount/cosmosaccount.go b/ignite/pkg/cosmosaccount/cosmosaccount.go index bd5577bd1d..2b0b1790c9 100644 --- a/ignite/pkg/cosmosaccount/cosmosaccount.go +++ b/ignite/pkg/cosmosaccount/cosmosaccount.go @@ -17,7 +17,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/go-bip39" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) const ( diff --git a/ignite/pkg/cosmosaccount/cosmosaccount_test.go b/ignite/pkg/cosmosaccount/cosmosaccount_test.go index ec07b6d87b..8a66e1ff3d 100644 --- a/ignite/pkg/cosmosaccount/cosmosaccount_test.go +++ b/ignite/pkg/cosmosaccount/cosmosaccount_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" ) const testAccountName = "myTestAccount" diff --git a/ignite/pkg/cosmosanalysis/app/app.go b/ignite/pkg/cosmosanalysis/app/app.go index 9f4445bf88..bd409986a9 100644 --- a/ignite/pkg/cosmosanalysis/app/app.go +++ b/ignite/pkg/cosmosanalysis/app/app.go @@ -9,12 +9,12 @@ import ( "path/filepath" "strings" - "github.com/ignite/cli/ignite/pkg/cosmosanalysis" - "github.com/ignite/cli/ignite/pkg/cosmosver" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/goanalysis" - "github.com/ignite/cli/ignite/pkg/gomodule" - "github.com/ignite/cli/ignite/pkg/xast" + "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis" + "github.com/ignite/cli/v28/ignite/pkg/cosmosver" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/goanalysis" + "github.com/ignite/cli/v28/ignite/pkg/gomodule" + "github.com/ignite/cli/v28/ignite/pkg/xast" ) const registerRoutesMethod = "RegisterAPIRoutes" diff --git a/ignite/pkg/cosmosanalysis/app/app_test.go b/ignite/pkg/cosmosanalysis/app/app_test.go index be4cf1aeb7..3638950b0e 100644 --- a/ignite/pkg/cosmosanalysis/app/app_test.go +++ b/ignite/pkg/cosmosanalysis/app/app_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/goanalysis" - "github.com/ignite/cli/ignite/pkg/xast" + "github.com/ignite/cli/v28/ignite/pkg/goanalysis" + "github.com/ignite/cli/v28/ignite/pkg/xast" ) var ( diff --git a/ignite/pkg/cosmosanalysis/app/testdata/app_generic.go b/ignite/pkg/cosmosanalysis/app/testdata/app_generic.go index d3b6b88597..7125b63780 100644 --- a/ignite/pkg/cosmosanalysis/app/testdata/app_generic.go +++ b/ignite/pkg/cosmosanalysis/app/testdata/app_generic.go @@ -8,7 +8,7 @@ import ( paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" abci "github.com/tendermint/tendermint/abci/types" - app "github.com/ignite/cli/ignite/pkg/cosmosanalysis/app/testdata/modules/registration_not_in_app_go" + app "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis/app/testdata/modules/registration_not_in_app_go" ) type Foo[T any] struct { diff --git a/ignite/pkg/cosmosanalysis/app/testdata/app_minimal.go b/ignite/pkg/cosmosanalysis/app/testdata/app_minimal.go index 71ab8ba218..e845e17a83 100644 --- a/ignite/pkg/cosmosanalysis/app/testdata/app_minimal.go +++ b/ignite/pkg/cosmosanalysis/app/testdata/app_minimal.go @@ -8,7 +8,7 @@ import ( paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" abci "github.com/tendermint/tendermint/abci/types" - app "github.com/ignite/cli/ignite/pkg/cosmosanalysis/app/testdata/modules/registration_not_in_app_go" + app "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis/app/testdata/modules/registration_not_in_app_go" ) type Foo struct { diff --git a/ignite/pkg/cosmosanalysis/app/testdata/modules/crescent/app.go b/ignite/pkg/cosmosanalysis/app/testdata/modules/crescent/app.go index e7289b0155..9f5c7ba72b 100644 --- a/ignite/pkg/cosmosanalysis/app/testdata/modules/crescent/app.go +++ b/ignite/pkg/cosmosanalysis/app/testdata/modules/crescent/app.go @@ -17,7 +17,7 @@ import ( "github.com/rakyll/statik/fs" "github.com/spf13/cast" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client" diff --git a/ignite/pkg/cosmosanalysis/app/testdata/modules/gaia/app.go b/ignite/pkg/cosmosanalysis/app/testdata/modules/gaia/app.go index e37ce329a1..7d21395cce 100644 --- a/ignite/pkg/cosmosanalysis/app/testdata/modules/gaia/app.go +++ b/ignite/pkg/cosmosanalysis/app/testdata/modules/gaia/app.go @@ -118,7 +118,7 @@ import ( tmos "github.com/tendermint/tendermint/libs/os" dbm "github.com/tendermint/tm-db" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" gaiaante "github.com/cosmos/gaia/v8/ante" gaiaappparams "github.com/cosmos/gaia/v8/app/params" diff --git a/ignite/pkg/cosmosanalysis/app/testdata/two_app.go b/ignite/pkg/cosmosanalysis/app/testdata/two_app.go index e7697ccf54..e843f163dd 100644 --- a/ignite/pkg/cosmosanalysis/app/testdata/two_app.go +++ b/ignite/pkg/cosmosanalysis/app/testdata/two_app.go @@ -8,7 +8,7 @@ import ( paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" abci "github.com/tendermint/tendermint/abci/types" - app "github.com/ignite/cli/ignite/pkg/cosmosanalysis/app/testdata/modules/registration_not_in_app_go" + app "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis/app/testdata/modules/registration_not_in_app_go" ) type Foo struct { diff --git a/ignite/pkg/cosmosanalysis/cosmosanalysis.go b/ignite/pkg/cosmosanalysis/cosmosanalysis.go index b193ffaf6d..4c0629ac2f 100644 --- a/ignite/pkg/cosmosanalysis/cosmosanalysis.go +++ b/ignite/pkg/cosmosanalysis/cosmosanalysis.go @@ -12,9 +12,9 @@ import ( "golang.org/x/mod/modfile" - "github.com/ignite/cli/ignite/pkg/cosmosver" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gomodule" + "github.com/ignite/cli/v28/ignite/pkg/cosmosver" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gomodule" ) const ( diff --git a/ignite/pkg/cosmosanalysis/cosmosanalysis_test.go b/ignite/pkg/cosmosanalysis/cosmosanalysis_test.go index 713a54a156..de70ca972f 100644 --- a/ignite/pkg/cosmosanalysis/cosmosanalysis_test.go +++ b/ignite/pkg/cosmosanalysis/cosmosanalysis_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cosmosanalysis" + "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis" ) var ( diff --git a/ignite/pkg/cosmosanalysis/module/module.go b/ignite/pkg/cosmosanalysis/module/module.go index fb206060e4..b5f8dff7bf 100644 --- a/ignite/pkg/cosmosanalysis/module/module.go +++ b/ignite/pkg/cosmosanalysis/module/module.go @@ -9,12 +9,12 @@ import ( "golang.org/x/mod/semver" - "github.com/ignite/cli/ignite/pkg/cosmosanalysis" - "github.com/ignite/cli/ignite/pkg/cosmosanalysis/app" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gomodule" - "github.com/ignite/cli/ignite/pkg/protoanalysis" - "github.com/ignite/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis" + "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis/app" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gomodule" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis" + "github.com/ignite/cli/v28/ignite/pkg/xstrings" ) // Msgs is a module import path-sdk msgs pair. @@ -257,7 +257,6 @@ func (d *moduleDiscoverer) discover(pkg protoanalysis.Package) (Module, error) { Pkg: pkg, } - // fill sdk Msgs. for _, msg := range msgs { pkgmsg, err := pkg.MessageByName(msg) if err != nil { @@ -290,13 +289,8 @@ func (d *moduleDiscoverer) discover(pkg protoanalysis.Package) (Module, error) { // do not use if used as a request/return type of RPC. for _, s := range pkg.Services { - for i, q := range s.RPCFuncs { + for _, q := range s.RPCFuncs { if q.RequestType == protomsg.Name || q.ReturnsType == protomsg.Name { - // Check if the service response message is using pagination and - // update the RPC function. This is done here to avoid extra loops - // just to update the pagination property. - s.RPCFuncs[i].Paginated = hasPagination(protomsg) - return false } } @@ -307,6 +301,17 @@ func (d *moduleDiscoverer) discover(pkg protoanalysis.Package) (Module, error) { // fill types. for _, protomsg := range pkg.Messages { + // Update pagination for RPC functions when a service response uses pagination + if hasPagination(protomsg) { + for _, s := range pkg.Services { + for i, q := range s.RPCFuncs { + if q.RequestType == protomsg.Name || q.ReturnsType == protomsg.Name { + s.RPCFuncs[i].Paginated = true + } + } + } + } + if !isType(protomsg) { continue } diff --git a/ignite/pkg/cosmosanalysis/module/module_test.go b/ignite/pkg/cosmosanalysis/module/module_test.go index 2db58c75fd..0f1efc9f03 100644 --- a/ignite/pkg/cosmosanalysis/module/module_test.go +++ b/ignite/pkg/cosmosanalysis/module/module_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cosmosanalysis/module" - "github.com/ignite/cli/ignite/pkg/protoanalysis" + "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis/module" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis" ) func newModule(relChainPath, goImportPath string) module.Module { diff --git a/ignite/pkg/cosmosanalysis/module/testdata/earth/app/app.go b/ignite/pkg/cosmosanalysis/module/testdata/earth/app/app.go index 57feb0babc..c999d6a42d 100644 --- a/ignite/pkg/cosmosanalysis/module/testdata/earth/app/app.go +++ b/ignite/pkg/cosmosanalysis/module/testdata/earth/app/app.go @@ -15,7 +15,7 @@ import ( marskeeper "github.com/tendermint/planet/x/mars/keeper" abci "github.com/tendermint/tendermint/abci/types" - app "github.com/ignite/cli/ignite/pkg/cosmosanalysis/app/testdata/modules/registration_not_in_app_go" + app "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis/app/testdata/modules/registration_not_in_app_go" ) type Foo struct { diff --git a/ignite/pkg/cosmosanalysis/module/testdata/planet/app/app.go b/ignite/pkg/cosmosanalysis/module/testdata/planet/app/app.go index b2308b8699..f94ed79581 100644 --- a/ignite/pkg/cosmosanalysis/module/testdata/planet/app/app.go +++ b/ignite/pkg/cosmosanalysis/module/testdata/planet/app/app.go @@ -15,7 +15,7 @@ import ( marskeeper "github.com/tendermint/planet/x/mars/keeper" abci "github.com/tendermint/tendermint/abci/types" - app "github.com/ignite/cli/ignite/pkg/cosmosanalysis/app/testdata/modules/registration_not_in_app_go" + app "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis/app/testdata/modules/registration_not_in_app_go" ) type Foo struct { diff --git a/ignite/pkg/cosmosbuf/buf.go b/ignite/pkg/cosmosbuf/buf.go index aed85288c4..f846857cb4 100644 --- a/ignite/pkg/cosmosbuf/buf.go +++ b/ignite/pkg/cosmosbuf/buf.go @@ -9,12 +9,12 @@ import ( "golang.org/x/sync/errgroup" - "github.com/ignite/cli/ignite/pkg/cmdrunner/exec" - "github.com/ignite/cli/ignite/pkg/cosmosver" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/protoanalysis" - "github.com/ignite/cli/ignite/pkg/xexec" - "github.com/ignite/cli/ignite/pkg/xos" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/exec" + "github.com/ignite/cli/v28/ignite/pkg/cosmosver" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis" + "github.com/ignite/cli/v28/ignite/pkg/xexec" + "github.com/ignite/cli/v28/ignite/pkg/xos" ) type ( diff --git a/ignite/pkg/cosmosbuf/buf_test.go b/ignite/pkg/cosmosbuf/buf_test.go index 7220b09b74..8162b7e999 100644 --- a/ignite/pkg/cosmosbuf/buf_test.go +++ b/ignite/pkg/cosmosbuf/buf_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) func TestFindSDKPath(t *testing.T) { diff --git a/ignite/pkg/cosmosclient/bank.go b/ignite/pkg/cosmosclient/bank.go index 197d5c4949..ba67bcee9b 100644 --- a/ignite/pkg/cosmosclient/bank.go +++ b/ignite/pkg/cosmosclient/bank.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/query" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" ) func (c Client) BankBalances(ctx context.Context, address string, pagination *query.PageRequest) (sdk.Coins, error) { diff --git a/ignite/pkg/cosmosclient/cosmosclient.go b/ignite/pkg/cosmosclient/cosmosclient.go index df81d56488..b66380c7c6 100644 --- a/ignite/pkg/cosmosclient/cosmosclient.go +++ b/ignite/pkg/cosmosclient/cosmosclient.go @@ -34,9 +34,9 @@ import ( "github.com/cosmos/gogoproto/proto" prototypes "github.com/cosmos/gogoproto/types" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" - "github.com/ignite/cli/ignite/pkg/cosmosfaucet" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/cosmosfaucet" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) var ( diff --git a/ignite/pkg/cosmosclient/cosmosclient_test.go b/ignite/pkg/cosmosclient/cosmosclient_test.go index c4599c661b..26d2b190be 100644 --- a/ignite/pkg/cosmosclient/cosmosclient_test.go +++ b/ignite/pkg/cosmosclient/cosmosclient_test.go @@ -22,12 +22,12 @@ import ( "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" - "github.com/ignite/cli/ignite/pkg/cosmosclient" - "github.com/ignite/cli/ignite/pkg/cosmosclient/mocks" - "github.com/ignite/cli/ignite/pkg/cosmosclient/testutil" - "github.com/ignite/cli/ignite/pkg/cosmosfaucet" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient/mocks" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient/testutil" + "github.com/ignite/cli/v28/ignite/pkg/cosmosfaucet" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) const ( diff --git a/ignite/pkg/cosmosclient/mocks/faucet_client.go b/ignite/pkg/cosmosclient/mocks/faucet_client.go index e8a52676f2..21b15879ed 100644 --- a/ignite/pkg/cosmosclient/mocks/faucet_client.go +++ b/ignite/pkg/cosmosclient/mocks/faucet_client.go @@ -5,7 +5,7 @@ package mocks import ( context "context" - cosmosfaucet "github.com/ignite/cli/ignite/pkg/cosmosfaucet" + cosmosfaucet "github.com/ignite/cli/v28/ignite/pkg/cosmosfaucet" mock "github.com/stretchr/testify/mock" ) diff --git a/ignite/pkg/cosmosclient/rpc.go b/ignite/pkg/cosmosclient/rpc.go index bab8fb652c..1b5d271322 100644 --- a/ignite/pkg/cosmosclient/rpc.go +++ b/ignite/pkg/cosmosclient/rpc.go @@ -8,7 +8,7 @@ import ( ctypes "github.com/cometbft/cometbft/rpc/core/types" "github.com/cometbft/cometbft/types" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // rpcWrapper is a rpclient.Client but with more contextualized errors. diff --git a/ignite/pkg/cosmosclient/testutil/mocks.go b/ignite/pkg/cosmosclient/testutil/mocks.go index dbf1ccef52..33eda9fbe0 100644 --- a/ignite/pkg/cosmosclient/testutil/mocks.go +++ b/ignite/pkg/cosmosclient/testutil/mocks.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/mock" - "github.com/ignite/cli/ignite/pkg/cosmosclient/mocks" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient/mocks" ) //go:generate mockery --srcpkg github.com/cometbft/cometbft/rpc/client --name Client --structname RPCClient --filename rpc_client.go --output ../mocks --with-expecter diff --git a/ignite/pkg/cosmosclient/tx.go b/ignite/pkg/cosmosclient/tx.go index b828f1d69a..8e3e45a661 100644 --- a/ignite/pkg/cosmosclient/tx.go +++ b/ignite/pkg/cosmosclient/tx.go @@ -6,7 +6,7 @@ import ( ctypes "github.com/cometbft/cometbft/rpc/core/types" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // TX defines a block transaction. diff --git a/ignite/pkg/cosmosclient/txservice.go b/ignite/pkg/cosmosclient/txservice.go index 3dddec3b80..082698e1c6 100644 --- a/ignite/pkg/cosmosclient/txservice.go +++ b/ignite/pkg/cosmosclient/txservice.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" sdktypes "github.com/cosmos/cosmos-sdk/types" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) type TxService struct { diff --git a/ignite/pkg/cosmosclient/txservice_test.go b/ignite/pkg/cosmosclient/txservice_test.go index 7a128d6007..66f35315e4 100644 --- a/ignite/pkg/cosmosclient/txservice_test.go +++ b/ignite/pkg/cosmosclient/txservice_test.go @@ -14,9 +14,9 @@ import ( "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" - "github.com/ignite/cli/ignite/pkg/cosmosclient" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) func TestTxServiceBroadcast(t *testing.T) { diff --git a/ignite/pkg/cosmosfaucet/client_http.go b/ignite/pkg/cosmosfaucet/client_http.go index a0412ecbb5..a95719ff2c 100644 --- a/ignite/pkg/cosmosfaucet/client_http.go +++ b/ignite/pkg/cosmosfaucet/client_http.go @@ -6,7 +6,7 @@ import ( "encoding/json" "net/http" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // ErrTransferRequest is an error that occurs when a transfer request fails. diff --git a/ignite/pkg/cosmosfaucet/cosmosfaucet.go b/ignite/pkg/cosmosfaucet/cosmosfaucet.go index 0f9d10d0f2..d684478f13 100644 --- a/ignite/pkg/cosmosfaucet/cosmosfaucet.go +++ b/ignite/pkg/cosmosfaucet/cosmosfaucet.go @@ -8,9 +8,9 @@ import ( sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - chaincmdrunner "github.com/ignite/cli/ignite/pkg/chaincmd/runner" - "github.com/ignite/cli/ignite/pkg/cosmosver" - "github.com/ignite/cli/ignite/pkg/errors" + chaincmdrunner "github.com/ignite/cli/v28/ignite/pkg/chaincmd/runner" + "github.com/ignite/cli/v28/ignite/pkg/cosmosver" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) const ( diff --git a/ignite/pkg/cosmosfaucet/http.go b/ignite/pkg/cosmosfaucet/http.go index 3b87f4180f..5664c3e5ce 100644 --- a/ignite/pkg/cosmosfaucet/http.go +++ b/ignite/pkg/cosmosfaucet/http.go @@ -6,7 +6,7 @@ import ( "github.com/gorilla/mux" "github.com/rs/cors" - "github.com/ignite/cli/ignite/pkg/openapiconsole" + "github.com/ignite/cli/v28/ignite/pkg/openapiconsole" ) // ServeHTTP implements http.Handler to expose the functionality of Faucet.Transfer() via HTTP. diff --git a/ignite/pkg/cosmosfaucet/http_faucet.go b/ignite/pkg/cosmosfaucet/http_faucet.go index 1d58f0a3a5..f341108a60 100644 --- a/ignite/pkg/cosmosfaucet/http_faucet.go +++ b/ignite/pkg/cosmosfaucet/http_faucet.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/xhttp" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/xhttp" ) type TransferRequest struct { diff --git a/ignite/pkg/cosmosfaucet/http_test.go b/ignite/pkg/cosmosfaucet/http_test.go index da57c7e67b..848a4010a4 100644 --- a/ignite/pkg/cosmosfaucet/http_test.go +++ b/ignite/pkg/cosmosfaucet/http_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cosmosfaucet" + "github.com/ignite/cli/v28/ignite/pkg/cosmosfaucet" ) func TestServeHTTPCORS(t *testing.T) { diff --git a/ignite/pkg/cosmosfaucet/openapi/openapi.yml.tmpl b/ignite/pkg/cosmosfaucet/openapi/openapi.yml.tmpl index e24875af0a..b69f634492 100644 --- a/ignite/pkg/cosmosfaucet/openapi/openapi.yml.tmpl +++ b/ignite/pkg/cosmosfaucet/openapi/openapi.yml.tmpl @@ -58,4 +58,4 @@ definitions: externalDocs: description: "Find out more about Ignite CLI" - url: "https://github.com/ignite/cli/tree/develop/docs" + url: "https://github.com/ignite/cli/tree/main/docs" diff --git a/ignite/pkg/cosmosfaucet/transfer.go b/ignite/pkg/cosmosfaucet/transfer.go index 9c74b60813..42b00807f5 100644 --- a/ignite/pkg/cosmosfaucet/transfer.go +++ b/ignite/pkg/cosmosfaucet/transfer.go @@ -9,10 +9,10 @@ import ( sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/ignite/cli/ignite/pkg/chaincmd" - chaincmdrunner "github.com/ignite/cli/ignite/pkg/chaincmd/runner" - "github.com/ignite/cli/ignite/pkg/cosmosver" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/chaincmd" + chaincmdrunner "github.com/ignite/cli/v28/ignite/pkg/chaincmd/runner" + "github.com/ignite/cli/v28/ignite/pkg/cosmosver" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // transferMutex is a mutex used for keeping transfer requests in a queue so checking account balance and sending tokens is atomic. diff --git a/ignite/pkg/cosmosfaucet/try_retrieve.go b/ignite/pkg/cosmosfaucet/try_retrieve.go index aad52a8a6e..1e7232f083 100644 --- a/ignite/pkg/cosmosfaucet/try_retrieve.go +++ b/ignite/pkg/cosmosfaucet/try_retrieve.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // faucetTimeout used to set a timeout while transferring coins from a faucet. diff --git a/ignite/pkg/cosmosgen/cosmosgen.go b/ignite/pkg/cosmosgen/cosmosgen.go index 89a188eea5..8a3dd8412e 100644 --- a/ignite/pkg/cosmosgen/cosmosgen.go +++ b/ignite/pkg/cosmosgen/cosmosgen.go @@ -9,10 +9,10 @@ import ( "github.com/iancoleman/strcase" gomodule "golang.org/x/mod/module" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/cosmosanalysis/module" - "github.com/ignite/cli/ignite/pkg/cosmosbuf" - "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis/module" + "github.com/ignite/cli/v28/ignite/pkg/cosmosbuf" + "github.com/ignite/cli/v28/ignite/pkg/events" ) // generateOptions used to configure code generation. diff --git a/ignite/pkg/cosmosgen/cosmosgen_test.go b/ignite/pkg/cosmosgen/cosmosgen_test.go index f986d40689..b76a2a4065 100644 --- a/ignite/pkg/cosmosgen/cosmosgen_test.go +++ b/ignite/pkg/cosmosgen/cosmosgen_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cosmosanalysis/module" - "github.com/ignite/cli/ignite/pkg/protoanalysis" + "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis/module" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis" ) func TestTypescriptModulePath(t *testing.T) { diff --git a/ignite/pkg/cosmosgen/generate.go b/ignite/pkg/cosmosgen/generate.go index 5c3065bf26..1c609846b1 100644 --- a/ignite/pkg/cosmosgen/generate.go +++ b/ignite/pkg/cosmosgen/generate.go @@ -12,19 +12,19 @@ import ( "gopkg.in/yaml.v2" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - "github.com/ignite/cli/ignite/pkg/cmdrunner" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/cosmosanalysis/module" - "github.com/ignite/cli/ignite/pkg/cosmosbuf" - "github.com/ignite/cli/ignite/pkg/cosmosver" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/events" - "github.com/ignite/cli/ignite/pkg/gomodule" - "github.com/ignite/cli/ignite/pkg/xfilepath" - "github.com/ignite/cli/ignite/pkg/xos" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis/module" + "github.com/ignite/cli/v28/ignite/pkg/cosmosbuf" + "github.com/ignite/cli/v28/ignite/pkg/cosmosver" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/pkg/gomodule" + "github.com/ignite/cli/v28/ignite/pkg/xfilepath" + "github.com/ignite/cli/v28/ignite/pkg/xos" ) const ( diff --git a/ignite/pkg/cosmosgen/generate_composables.go b/ignite/pkg/cosmosgen/generate_composables.go index 679cfa79bc..75b3f89713 100644 --- a/ignite/pkg/cosmosgen/generate_composables.go +++ b/ignite/pkg/cosmosgen/generate_composables.go @@ -10,9 +10,9 @@ import ( "github.com/imdario/mergo" "golang.org/x/sync/errgroup" - "github.com/ignite/cli/ignite/pkg/cosmosanalysis/module" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis/module" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" ) type composablesGenerator struct { diff --git a/ignite/pkg/cosmosgen/generate_go.go b/ignite/pkg/cosmosgen/generate_go.go index 2662199ed4..8df674f10f 100644 --- a/ignite/pkg/cosmosgen/generate_go.go +++ b/ignite/pkg/cosmosgen/generate_go.go @@ -7,7 +7,7 @@ import ( "github.com/otiai10/copy" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) func (g *generator) gogoTemplate() string { diff --git a/ignite/pkg/cosmosgen/generate_openapi.go b/ignite/pkg/cosmosgen/generate_openapi.go index c6e7feb0d0..00fdec7d1c 100644 --- a/ignite/pkg/cosmosgen/generate_openapi.go +++ b/ignite/pkg/cosmosgen/generate_openapi.go @@ -9,13 +9,13 @@ import ( "github.com/iancoleman/strcase" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/cosmosanalysis/module" - "github.com/ignite/cli/ignite/pkg/dirchange" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/nodetime" - swaggercombine "github.com/ignite/cli/ignite/pkg/nodetime/programs/swagger-combine" - "github.com/ignite/cli/ignite/pkg/xos" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis/module" + "github.com/ignite/cli/v28/ignite/pkg/dirchange" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/nodetime" + swaggercombine "github.com/ignite/cli/v28/ignite/pkg/nodetime/programs/swagger-combine" + "github.com/ignite/cli/v28/ignite/pkg/xos" ) const ( diff --git a/ignite/pkg/cosmosgen/generate_typescript.go b/ignite/pkg/cosmosgen/generate_typescript.go index 80ecd12997..1fbad56f41 100644 --- a/ignite/pkg/cosmosgen/generate_typescript.go +++ b/ignite/pkg/cosmosgen/generate_typescript.go @@ -9,13 +9,13 @@ import ( "golang.org/x/sync/errgroup" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/cosmosanalysis/module" - "github.com/ignite/cli/ignite/pkg/dirchange" - "github.com/ignite/cli/ignite/pkg/gomodulepath" - "github.com/ignite/cli/ignite/pkg/nodetime/programs/sta" - tsproto "github.com/ignite/cli/ignite/pkg/nodetime/programs/ts-proto" - "github.com/ignite/cli/ignite/pkg/protoc" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis/module" + "github.com/ignite/cli/v28/ignite/pkg/dirchange" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/pkg/nodetime/programs/sta" + tsproto "github.com/ignite/cli/v28/ignite/pkg/nodetime/programs/ts-proto" + "github.com/ignite/cli/v28/ignite/pkg/protoc" ) var ( diff --git a/ignite/pkg/cosmosgen/generate_vuex.go b/ignite/pkg/cosmosgen/generate_vuex.go index 72b39865f5..bcb29f34db 100644 --- a/ignite/pkg/cosmosgen/generate_vuex.go +++ b/ignite/pkg/cosmosgen/generate_vuex.go @@ -10,10 +10,10 @@ import ( "github.com/imdario/mergo" "golang.org/x/sync/errgroup" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/pkg/cosmosanalysis/module" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gomodulepath" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis/module" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" ) type vuexGenerator struct { diff --git a/ignite/pkg/cosmosgen/install.go b/ignite/pkg/cosmosgen/install.go index 26536d73e4..5ef17e74de 100644 --- a/ignite/pkg/cosmosgen/install.go +++ b/ignite/pkg/cosmosgen/install.go @@ -4,9 +4,9 @@ import ( "context" "go/ast" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/goanalysis" - "github.com/ignite/cli/ignite/pkg/gocmd" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/goanalysis" + "github.com/ignite/cli/v28/ignite/pkg/gocmd" ) // DepTools necessary tools to build and run the chain. diff --git a/ignite/pkg/cosmosgen/install_test.go b/ignite/pkg/cosmosgen/install_test.go index 919575feb8..222eadc22a 100644 --- a/ignite/pkg/cosmosgen/install_test.go +++ b/ignite/pkg/cosmosgen/install_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cosmosgen" + "github.com/ignite/cli/v28/ignite/pkg/cosmosgen" ) func TestMissingTools(t *testing.T) { diff --git a/ignite/pkg/cosmosgen/templates/root/package.json.tpl b/ignite/pkg/cosmosgen/templates/root/package.json.tpl index b0babc1b29..189708e493 100644 --- a/ignite/pkg/cosmosgen/templates/root/package.json.tpl +++ b/ignite/pkg/cosmosgen/templates/root/package.json.tpl @@ -18,16 +18,16 @@ "build": "NODE_OPTIONS='--max-old-space-size=16384' tsc" }, "dependencies": { - "@cosmjs/proto-signing": "0.31.1", - "@cosmjs/stargate": "0.31.1", - "@keplr-wallet/types": "^0.11.3", + "@cosmjs/proto-signing": "0.32.1", + "@cosmjs/stargate": "0.32.1", + "@keplr-wallet/types": "^0.12.44", "axios": "0.21.4", "buffer": "^6.0.3", "events": "^3.3.0" }, "peerDependencies": { - "@cosmjs/proto-signing": "0.31.1", - "@cosmjs/stargate": "0.31.1" + "@cosmjs/proto-signing": "0.32.1", + "@cosmjs/stargate": "0.32.1" }, "devDependencies": { "@types/events": "^3.0.0", diff --git a/ignite/pkg/cosmosgen/webtemplates.go b/ignite/pkg/cosmosgen/webtemplates.go index 793d86b61c..ba60111f0f 100644 --- a/ignite/pkg/cosmosgen/webtemplates.go +++ b/ignite/pkg/cosmosgen/webtemplates.go @@ -3,7 +3,7 @@ package cosmosgen import ( webtemplates "github.com/ignite/web" - "github.com/ignite/cli/ignite/pkg/localfs" + "github.com/ignite/cli/v28/ignite/pkg/localfs" ) // React scaffolds a React app for a chain. diff --git a/ignite/pkg/cosmostxcollector/adapter/adapter.go b/ignite/pkg/cosmostxcollector/adapter/adapter.go index c3819884d0..3f769d73d6 100644 --- a/ignite/pkg/cosmostxcollector/adapter/adapter.go +++ b/ignite/pkg/cosmostxcollector/adapter/adapter.go @@ -3,8 +3,8 @@ package adapter import ( "context" - "github.com/ignite/cli/ignite/pkg/cosmosclient" - "github.com/ignite/cli/ignite/pkg/cosmostxcollector/query" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" + "github.com/ignite/cli/v28/ignite/pkg/cosmostxcollector/query" ) // Saver is the interface that wraps the transactions save method. diff --git a/ignite/pkg/cosmostxcollector/adapter/postgres/filters_test.go b/ignite/pkg/cosmostxcollector/adapter/postgres/filters_test.go index 07cd7b7afd..ace13b742a 100644 --- a/ignite/pkg/cosmostxcollector/adapter/postgres/filters_test.go +++ b/ignite/pkg/cosmostxcollector/adapter/postgres/filters_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cosmostxcollector/adapter/postgres" + "github.com/ignite/cli/v28/ignite/pkg/cosmostxcollector/adapter/postgres" ) func TestFilter(t *testing.T) { diff --git a/ignite/pkg/cosmostxcollector/adapter/postgres/parsers.go b/ignite/pkg/cosmostxcollector/adapter/postgres/parsers.go index 278e9324c3..f48b2bc952 100644 --- a/ignite/pkg/cosmostxcollector/adapter/postgres/parsers.go +++ b/ignite/pkg/cosmostxcollector/adapter/postgres/parsers.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/ignite/cli/ignite/pkg/cosmostxcollector/query" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cosmostxcollector/query" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) const ( diff --git a/ignite/pkg/cosmostxcollector/adapter/postgres/postgres.go b/ignite/pkg/cosmostxcollector/adapter/postgres/postgres.go index 3652222e28..342501f422 100644 --- a/ignite/pkg/cosmostxcollector/adapter/postgres/postgres.go +++ b/ignite/pkg/cosmostxcollector/adapter/postgres/postgres.go @@ -11,9 +11,9 @@ import ( ctypes "github.com/cometbft/cometbft/rpc/core/types" "github.com/lib/pq" - "github.com/ignite/cli/ignite/pkg/cosmosclient" - "github.com/ignite/cli/ignite/pkg/cosmostxcollector/query" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" + "github.com/ignite/cli/v28/ignite/pkg/cosmostxcollector/query" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) const ( diff --git a/ignite/pkg/cosmostxcollector/adapter/postgres/postgres_test.go b/ignite/pkg/cosmostxcollector/adapter/postgres/postgres_test.go index 8856a9436e..5dbdbc4217 100644 --- a/ignite/pkg/cosmostxcollector/adapter/postgres/postgres_test.go +++ b/ignite/pkg/cosmostxcollector/adapter/postgres/postgres_test.go @@ -16,9 +16,9 @@ import ( "github.com/lib/pq" "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cosmosclient" - "github.com/ignite/cli/ignite/pkg/cosmostxcollector/query" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" + "github.com/ignite/cli/v28/ignite/pkg/cosmostxcollector/query" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) var ( diff --git a/ignite/pkg/cosmostxcollector/adapter/postgres/schemas.go b/ignite/pkg/cosmostxcollector/adapter/postgres/schemas.go index 096cfb0d78..fc3d5dda28 100644 --- a/ignite/pkg/cosmostxcollector/adapter/postgres/schemas.go +++ b/ignite/pkg/cosmostxcollector/adapter/postgres/schemas.go @@ -9,7 +9,7 @@ import ( "strconv" "strings" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // SchemasDir defines the name for the embedded schema directory. diff --git a/ignite/pkg/cosmostxcollector/adapter/postgres/schemas_test.go b/ignite/pkg/cosmostxcollector/adapter/postgres/schemas_test.go index 268449d4fe..0a6b6e8a17 100644 --- a/ignite/pkg/cosmostxcollector/adapter/postgres/schemas_test.go +++ b/ignite/pkg/cosmostxcollector/adapter/postgres/schemas_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cosmostxcollector/adapter/postgres" + "github.com/ignite/cli/v28/ignite/pkg/cosmostxcollector/adapter/postgres" ) func TestSchemasWalk(t *testing.T) { diff --git a/ignite/pkg/cosmostxcollector/collector.go b/ignite/pkg/cosmostxcollector/collector.go index 525d53ede5..75c9e6791e 100644 --- a/ignite/pkg/cosmostxcollector/collector.go +++ b/ignite/pkg/cosmostxcollector/collector.go @@ -5,8 +5,8 @@ import ( "golang.org/x/sync/errgroup" - "github.com/ignite/cli/ignite/pkg/cosmosclient" - "github.com/ignite/cli/ignite/pkg/cosmostxcollector/adapter" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" + "github.com/ignite/cli/v28/ignite/pkg/cosmostxcollector/adapter" ) // TXsCollector defines the interface for Cosmos clients that support collection of transactions. diff --git a/ignite/pkg/cosmostxcollector/collector_test.go b/ignite/pkg/cosmostxcollector/collector_test.go index 72253002b0..85fa3e191b 100644 --- a/ignite/pkg/cosmostxcollector/collector_test.go +++ b/ignite/pkg/cosmostxcollector/collector_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cosmosclient" - "github.com/ignite/cli/ignite/pkg/cosmostxcollector" - "github.com/ignite/cli/ignite/pkg/cosmostxcollector/mocks" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" + "github.com/ignite/cli/v28/ignite/pkg/cosmostxcollector" + "github.com/ignite/cli/v28/ignite/pkg/cosmostxcollector/mocks" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) func TestCollector(t *testing.T) { diff --git a/ignite/pkg/cosmostxcollector/mocks/saver.go b/ignite/pkg/cosmostxcollector/mocks/saver.go index f468eb112f..816c691e2b 100644 --- a/ignite/pkg/cosmostxcollector/mocks/saver.go +++ b/ignite/pkg/cosmostxcollector/mocks/saver.go @@ -7,7 +7,7 @@ import ( mock "github.com/stretchr/testify/mock" - cosmosclient "github.com/ignite/cli/ignite/pkg/cosmosclient" + cosmosclient "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" ) // Saver is an autogenerated mock type for the Saver type diff --git a/ignite/pkg/cosmostxcollector/mocks/txs_collector.go b/ignite/pkg/cosmostxcollector/mocks/txs_collector.go index c1a71eafe4..0a1a3f46e3 100644 --- a/ignite/pkg/cosmostxcollector/mocks/txs_collector.go +++ b/ignite/pkg/cosmostxcollector/mocks/txs_collector.go @@ -5,7 +5,7 @@ package mocks import ( context "context" - cosmosclient "github.com/ignite/cli/ignite/pkg/cosmosclient" + cosmosclient "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" mock "github.com/stretchr/testify/mock" ) diff --git a/ignite/pkg/cosmostxcollector/query/query_test.go b/ignite/pkg/cosmostxcollector/query/query_test.go index e4a786a1ba..48f285339d 100644 --- a/ignite/pkg/cosmostxcollector/query/query_test.go +++ b/ignite/pkg/cosmostxcollector/query/query_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cosmostxcollector/query" + "github.com/ignite/cli/v28/ignite/pkg/cosmostxcollector/query" ) func TestQuery(t *testing.T) { diff --git a/ignite/pkg/cosmosutil/address.go b/ignite/pkg/cosmosutil/address.go index 1223f661a1..fff3306dec 100644 --- a/ignite/pkg/cosmosutil/address.go +++ b/ignite/pkg/cosmosutil/address.go @@ -3,7 +3,7 @@ package cosmosutil import ( "github.com/cosmos/cosmos-sdk/types/bech32" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // ChangeAddressPrefix returns the address with another prefix. diff --git a/ignite/pkg/cosmosutil/address_test.go b/ignite/pkg/cosmosutil/address_test.go index a24f055ab7..ae1700b1b0 100644 --- a/ignite/pkg/cosmosutil/address_test.go +++ b/ignite/pkg/cosmosutil/address_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/v28/ignite/pkg/cosmosutil" ) func TestChangePrefix(t *testing.T) { diff --git a/ignite/pkg/cosmosutil/genesis/genesis.go b/ignite/pkg/cosmosutil/genesis/genesis.go index 7f707e1e5e..3e244be532 100644 --- a/ignite/pkg/cosmosutil/genesis/genesis.go +++ b/ignite/pkg/cosmosutil/genesis/genesis.go @@ -5,7 +5,7 @@ import ( "fmt" "os" - "github.com/ignite/cli/ignite/pkg/jsonfile" + "github.com/ignite/cli/v28/ignite/pkg/jsonfile" ) const ( diff --git a/ignite/pkg/cosmosutil/genesis/genesis_test.go b/ignite/pkg/cosmosutil/genesis/genesis_test.go index 6fe0d3179c..ed9b11d810 100644 --- a/ignite/pkg/cosmosutil/genesis/genesis_test.go +++ b/ignite/pkg/cosmosutil/genesis/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - cosmosgenesis "github.com/ignite/cli/ignite/pkg/cosmosutil/genesis" + cosmosgenesis "github.com/ignite/cli/v28/ignite/pkg/cosmosutil/genesis" ) func TestModuleParamField(t *testing.T) { diff --git a/ignite/pkg/cosmosutil/gentx.go b/ignite/pkg/cosmosutil/gentx.go index c15dbebcf5..1fd3ecb53b 100644 --- a/ignite/pkg/cosmosutil/gentx.go +++ b/ignite/pkg/cosmosutil/gentx.go @@ -9,7 +9,7 @@ import ( "github.com/cometbft/cometbft/crypto/ed25519" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) type ( diff --git a/ignite/pkg/cosmosutil/gentx_test.go b/ignite/pkg/cosmosutil/gentx_test.go index 0cfb83781b..d6c72d42cf 100644 --- a/ignite/pkg/cosmosutil/gentx_test.go +++ b/ignite/pkg/cosmosutil/gentx_test.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cosmosutil" + "github.com/ignite/cli/v28/ignite/pkg/cosmosutil" ) func TestParseGentx(t *testing.T) { diff --git a/ignite/pkg/cosmosver/detect.go b/ignite/pkg/cosmosver/detect.go index f280084829..1be3f53537 100644 --- a/ignite/pkg/cosmosver/detect.go +++ b/ignite/pkg/cosmosver/detect.go @@ -1,7 +1,7 @@ package cosmosver import ( - "github.com/ignite/cli/ignite/pkg/gomodule" + "github.com/ignite/cli/v28/ignite/pkg/gomodule" ) const ( diff --git a/ignite/pkg/ctxticker/ctxticker_test.go b/ignite/pkg/ctxticker/ctxticker_test.go index 210ef4bfe5..70c6ee4a7b 100644 --- a/ignite/pkg/ctxticker/ctxticker_test.go +++ b/ignite/pkg/ctxticker/ctxticker_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) func TestDoNow(t *testing.T) { diff --git a/ignite/pkg/debugger/server.go b/ignite/pkg/debugger/server.go index f5c0cf6e0c..dbe8d9e943 100644 --- a/ignite/pkg/debugger/server.go +++ b/ignite/pkg/debugger/server.go @@ -12,7 +12,7 @@ import ( "github.com/go-delve/delve/service/rpccommon" "golang.org/x/sync/errgroup" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) const ( diff --git a/ignite/pkg/dirchange/dirchange.go b/ignite/pkg/dirchange/dirchange.go index 8926fab54d..1d9835255e 100644 --- a/ignite/pkg/dirchange/dirchange.go +++ b/ignite/pkg/dirchange/dirchange.go @@ -6,8 +6,8 @@ import ( "os" "path/filepath" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) var ErrNoFile = errors.New("no file in specified paths") diff --git a/ignite/pkg/dirchange/dirchange_test.go b/ignite/pkg/dirchange/dirchange_test.go index 73e49c6bb1..d086454164 100644 --- a/ignite/pkg/dirchange/dirchange_test.go +++ b/ignite/pkg/dirchange/dirchange_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/dirchange" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/dirchange" ) const ( diff --git a/ignite/pkg/env/env.go b/ignite/pkg/env/env.go index 25c66fe152..40503c65fc 100644 --- a/ignite/pkg/env/env.go +++ b/ignite/pkg/env/env.go @@ -5,7 +5,7 @@ import ( "os" "path" - "github.com/ignite/cli/ignite/pkg/xfilepath" + "github.com/ignite/cli/v28/ignite/pkg/xfilepath" ) const ( diff --git a/ignite/pkg/errors/xerrors.go b/ignite/pkg/errors/xerrors.go index 86e7bd5a3b..a09391020a 100644 --- a/ignite/pkg/errors/xerrors.go +++ b/ignite/pkg/errors/xerrors.go @@ -3,7 +3,7 @@ // // e.g.: // -// import "github.com/ignite/cli/ignite/pkg/errors" +// import "github.com/ignite/cli/v28/ignite/pkg/errors" // // func main() { // err1 := errors.New("error new") diff --git a/ignite/pkg/events/bus.go b/ignite/pkg/events/bus.go index 2df16f19b0..c95fa87e75 100644 --- a/ignite/pkg/events/bus.go +++ b/ignite/pkg/events/bus.go @@ -3,7 +3,7 @@ package events import ( "fmt" - "github.com/ignite/cli/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" ) // DefaultBufferSize defines the default maximum number diff --git a/ignite/pkg/events/bus_test.go b/ignite/pkg/events/bus_test.go index fdd150e2d8..cd5f2c975f 100644 --- a/ignite/pkg/events/bus_test.go +++ b/ignite/pkg/events/bus_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/events" ) func TestBusSend(t *testing.T) { diff --git a/ignite/pkg/events/events_test.go b/ignite/pkg/events/events_test.go index 15e8d2f0ed..15157ed752 100644 --- a/ignite/pkg/events/events_test.go +++ b/ignite/pkg/events/events_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/pkg/events" ) func TestNew(t *testing.T) { diff --git a/ignite/pkg/gacli/gacli.go b/ignite/pkg/gacli/gacli.go index 9c663bc0f4..df5e5ef9c9 100644 --- a/ignite/pkg/gacli/gacli.go +++ b/ignite/pkg/gacli/gacli.go @@ -7,7 +7,7 @@ import ( "net/url" "time" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) type ( @@ -30,10 +30,11 @@ type ( } // Metric represents a data point. Metric struct { + Name string `json:"name,omitempty"` + Cmd string `json:"command,omitempty"` + Tag string `json:"tag,omitempty"` OS string `json:"os,omitempty"` Arch string `json:"arch,omitempty"` - FullCmd string `json:"full_command,omitempty"` - Cmd string `json:"command,omitempty"` Version string `json:"version,omitempty"` SessionID string `json:"session_id,omitempty"` EngagementTimeMsec string `json:"engagement_time_msec,omitempty"` diff --git a/ignite/pkg/gitpod/gitpod.go b/ignite/pkg/gitpod/gitpod.go index b359799538..2f4e8f88c9 100644 --- a/ignite/pkg/gitpod/gitpod.go +++ b/ignite/pkg/gitpod/gitpod.go @@ -6,8 +6,8 @@ import ( "os" "strings" - "github.com/ignite/cli/ignite/pkg/cmdrunner/exec" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/exec" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" ) // IsOnGitpod reports whether if running on Gitpod or not. diff --git a/ignite/pkg/goanalysis/goanalysis.go b/ignite/pkg/goanalysis/goanalysis.go index 80bcdd481a..6e3846c173 100644 --- a/ignite/pkg/goanalysis/goanalysis.go +++ b/ignite/pkg/goanalysis/goanalysis.go @@ -12,7 +12,7 @@ import ( "strconv" "strings" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) const ( diff --git a/ignite/pkg/goanalysis/goanalysis_test.go b/ignite/pkg/goanalysis/goanalysis_test.go index 76bdfcd9a5..e19899b619 100644 --- a/ignite/pkg/goanalysis/goanalysis_test.go +++ b/ignite/pkg/goanalysis/goanalysis_test.go @@ -13,9 +13,9 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/tools/go/ast/astutil" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/goanalysis" - "github.com/ignite/cli/ignite/pkg/xast" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/goanalysis" + "github.com/ignite/cli/v28/ignite/pkg/xast" ) var MainFile = []byte(`package main`) diff --git a/ignite/pkg/gocmd/gocmd.go b/ignite/pkg/gocmd/gocmd.go index 11cd68bca3..af9287ba2e 100644 --- a/ignite/pkg/gocmd/gocmd.go +++ b/ignite/pkg/gocmd/gocmd.go @@ -8,10 +8,10 @@ import ( "path/filepath" "strings" - "github.com/ignite/cli/ignite/pkg/cmdrunner/exec" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/goenv" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/exec" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/goenv" ) const ( diff --git a/ignite/pkg/gocmd/gocmd_test.go b/ignite/pkg/gocmd/gocmd_test.go index da34cf5442..5178b28e3e 100644 --- a/ignite/pkg/gocmd/gocmd_test.go +++ b/ignite/pkg/gocmd/gocmd_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gocmd" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gocmd" ) func TestIsInstallError(t *testing.T) { @@ -24,8 +24,8 @@ func TestList(t *testing.T) { assert.NoError(t, err) ctx := context.Background() - packages, err := gocmd.List(ctx, wd, []string{"-m", "-f={{.Path}}", "github.com/ignite/cli"}) + packages, err := gocmd.List(ctx, wd, []string{"-m", "-f={{.Path}}", "github.com/ignite/cli/v28"}) assert.NoError(t, err) - assert.Contains(t, packages, "github.com/ignite/cli") + assert.Contains(t, packages, "github.com/ignite/cli/v28") } diff --git a/ignite/pkg/goenv/goenv_test.go b/ignite/pkg/goenv/goenv_test.go index c4c9429bed..50bfc1dbc6 100644 --- a/ignite/pkg/goenv/goenv_test.go +++ b/ignite/pkg/goenv/goenv_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/goenv" + "github.com/ignite/cli/v28/ignite/pkg/goenv" ) func TestGoModCache(t *testing.T) { diff --git a/ignite/pkg/gomodule/gomodule.go b/ignite/pkg/gomodule/gomodule.go index e5fcef2f61..5b6145ec55 100644 --- a/ignite/pkg/gomodule/gomodule.go +++ b/ignite/pkg/gomodule/gomodule.go @@ -14,11 +14,11 @@ import ( "golang.org/x/mod/modfile" "golang.org/x/mod/module" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/cmdrunner/exec" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gocmd" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/exec" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gocmd" ) const pathCacheNamespace = "gomodule.path" diff --git a/ignite/pkg/gomodule/gomodule_test.go b/ignite/pkg/gomodule/gomodule_test.go index 2c453ecd28..8c3cb19228 100644 --- a/ignite/pkg/gomodule/gomodule_test.go +++ b/ignite/pkg/gomodule/gomodule_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/gomodule" + "github.com/ignite/cli/v28/ignite/pkg/gomodule" ) func TestSplitPath(t *testing.T) { diff --git a/ignite/pkg/gomodulepath/gomodulepath.go b/ignite/pkg/gomodulepath/gomodulepath.go index 74c811340d..a26d8b1b6f 100644 --- a/ignite/pkg/gomodulepath/gomodulepath.go +++ b/ignite/pkg/gomodulepath/gomodulepath.go @@ -15,8 +15,8 @@ import ( "golang.org/x/mod/module" "golang.org/x/mod/semver" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gomodule" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gomodule" ) // Path represents a Go module's path. diff --git a/ignite/pkg/gomodulepath/gomodulepath_test.go b/ignite/pkg/gomodulepath/gomodulepath_test.go index b18cb33cea..f076d06b83 100644 --- a/ignite/pkg/gomodulepath/gomodulepath_test.go +++ b/ignite/pkg/gomodulepath/gomodulepath_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) func TestParse(t *testing.T) { @@ -166,7 +166,7 @@ func TestExtractAppPath(t *testing.T) { } func TestValidateURIPath(t *testing.T) { - require.NoError(t, validateURIPath("github.com/ignite/cli")) + require.NoError(t, validateURIPath("github.com/ignite/cli/v28")) } func TestValidateURIPathWithInvalidPath(t *testing.T) { diff --git a/ignite/pkg/jsonfile/jsonfile.go b/ignite/pkg/jsonfile/jsonfile.go index 5026e75311..733d731c8e 100644 --- a/ignite/pkg/jsonfile/jsonfile.go +++ b/ignite/pkg/jsonfile/jsonfile.go @@ -16,8 +16,8 @@ import ( "github.com/buger/jsonparser" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/tarball" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/tarball" ) const ( diff --git a/ignite/pkg/jsonfile/jsonfile_test.go b/ignite/pkg/jsonfile/jsonfile_test.go index 01365f98e7..1317abcf8b 100644 --- a/ignite/pkg/jsonfile/jsonfile_test.go +++ b/ignite/pkg/jsonfile/jsonfile_test.go @@ -15,8 +15,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/tarball" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/tarball" ) func TestJSONFile_Field(t *testing.T) { diff --git a/ignite/pkg/localfs/watcher.go b/ignite/pkg/localfs/watcher.go index f17a2ff034..68254b79b0 100644 --- a/ignite/pkg/localfs/watcher.go +++ b/ignite/pkg/localfs/watcher.go @@ -10,7 +10,7 @@ import ( wt "github.com/radovskyb/watcher" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) type watcher struct { diff --git a/ignite/pkg/multiformatname/multiformatname.go b/ignite/pkg/multiformatname/multiformatname.go index 9ff00997e4..08fe1e7996 100644 --- a/ignite/pkg/multiformatname/multiformatname.go +++ b/ignite/pkg/multiformatname/multiformatname.go @@ -6,8 +6,8 @@ import ( "github.com/iancoleman/strcase" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/xstrings" ) // Name represents a name with multiple naming convention representations. diff --git a/ignite/pkg/multiformatname/multiformatname_test.go b/ignite/pkg/multiformatname/multiformatname_test.go index 4298e5f290..ac1f437a15 100644 --- a/ignite/pkg/multiformatname/multiformatname_test.go +++ b/ignite/pkg/multiformatname/multiformatname_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" ) func TestNewMultiFormatName(t *testing.T) { diff --git a/ignite/pkg/nodetime/nodetime.go b/ignite/pkg/nodetime/nodetime.go index c593017c66..65569fbf7d 100644 --- a/ignite/pkg/nodetime/nodetime.go +++ b/ignite/pkg/nodetime/nodetime.go @@ -12,7 +12,7 @@ import ( "github.com/ignite/ignite-files/nodetime" - "github.com/ignite/cli/ignite/pkg/localfs" + "github.com/ignite/cli/v28/ignite/pkg/localfs" ) // the list of CLIs included. diff --git a/ignite/pkg/nodetime/programs/sta/sta.go b/ignite/pkg/nodetime/programs/sta/sta.go index 2cfe7b1300..b89acd778f 100644 --- a/ignite/pkg/nodetime/programs/sta/sta.go +++ b/ignite/pkg/nodetime/programs/sta/sta.go @@ -6,8 +6,8 @@ import ( "os" "path/filepath" - "github.com/ignite/cli/ignite/pkg/cmdrunner/exec" - "github.com/ignite/cli/ignite/pkg/nodetime" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/exec" + "github.com/ignite/cli/v28/ignite/pkg/nodetime" ) // Option configures Generate configs. diff --git a/ignite/pkg/nodetime/programs/swagger-combine/swagger-combine.go b/ignite/pkg/nodetime/programs/swagger-combine/swagger-combine.go index 2b0c3da375..285f229e46 100644 --- a/ignite/pkg/nodetime/programs/swagger-combine/swagger-combine.go +++ b/ignite/pkg/nodetime/programs/swagger-combine/swagger-combine.go @@ -7,7 +7,7 @@ import ( "os" "regexp" - "github.com/ignite/cli/ignite/pkg/cmdrunner/exec" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/exec" ) // Config represent swagger-combine config. diff --git a/ignite/pkg/nodetime/programs/ts-proto/tsproto.go b/ignite/pkg/nodetime/programs/ts-proto/tsproto.go index 9b7944ab56..5aa14a700c 100644 --- a/ignite/pkg/nodetime/programs/ts-proto/tsproto.go +++ b/ignite/pkg/nodetime/programs/ts-proto/tsproto.go @@ -7,7 +7,7 @@ import ( "path/filepath" "strings" - "github.com/ignite/cli/ignite/pkg/nodetime" + "github.com/ignite/cli/v28/ignite/pkg/nodetime" ) const ( diff --git a/ignite/pkg/nodetime/programs/ts-relayer/tsrelayer.go b/ignite/pkg/nodetime/programs/ts-relayer/tsrelayer.go index d9369525be..9710d8fdd4 100644 --- a/ignite/pkg/nodetime/programs/ts-relayer/tsrelayer.go +++ b/ignite/pkg/nodetime/programs/ts-relayer/tsrelayer.go @@ -10,10 +10,10 @@ import ( "github.com/gorilla/rpc/v2/json2" "golang.org/x/sync/errgroup" - "github.com/ignite/cli/ignite/pkg/cmdrunner" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/nodetime" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/nodetime" ) // Call calls a method in the ts relayer wrapper lib with args and fills reply from the returned value. diff --git a/ignite/pkg/numbers/numbers.go b/ignite/pkg/numbers/numbers.go index dd001bd844..7f9a3af5ed 100644 --- a/ignite/pkg/numbers/numbers.go +++ b/ignite/pkg/numbers/numbers.go @@ -5,7 +5,7 @@ import ( "strconv" "strings" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) const ( diff --git a/ignite/pkg/numbers/numbers_test.go b/ignite/pkg/numbers/numbers_test.go index 7f2e80263d..3f1030039d 100644 --- a/ignite/pkg/numbers/numbers_test.go +++ b/ignite/pkg/numbers/numbers_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) func TestParseList(t *testing.T) { diff --git a/ignite/pkg/placeholder/error.go b/ignite/pkg/placeholder/error.go index 83e58e781a..414b5c36d5 100644 --- a/ignite/pkg/placeholder/error.go +++ b/ignite/pkg/placeholder/error.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/validation" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/validation" ) var _ validation.Error = (*MissingPlaceholdersError)(nil) diff --git a/ignite/pkg/protoanalysis/package.go b/ignite/pkg/protoanalysis/package.go index cfd76616d1..de7cb57e6d 100644 --- a/ignite/pkg/protoanalysis/package.go +++ b/ignite/pkg/protoanalysis/package.go @@ -6,7 +6,7 @@ import ( "golang.org/x/mod/semver" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) type ( diff --git a/ignite/pkg/protoanalysis/parser.go b/ignite/pkg/protoanalysis/parser.go index 754ec8acf0..d8d9ba13f4 100644 --- a/ignite/pkg/protoanalysis/parser.go +++ b/ignite/pkg/protoanalysis/parser.go @@ -7,8 +7,8 @@ import ( "github.com/emicklei/proto" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/localfs" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/localfs" ) const optionGoPkg = "go_package" diff --git a/ignite/pkg/protoanalysis/protoanalysis.go b/ignite/pkg/protoanalysis/protoanalysis.go index 0183c83de0..b57915c825 100644 --- a/ignite/pkg/protoanalysis/protoanalysis.go +++ b/ignite/pkg/protoanalysis/protoanalysis.go @@ -5,7 +5,7 @@ import ( "context" "fmt" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // ErrImportNotFound returned when proto file import cannot be found. diff --git a/ignite/pkg/protoanalysis/protoutil/creator_test.go b/ignite/pkg/protoanalysis/protoutil/creator_test.go index 7fc36d9885..afdbbb8202 100644 --- a/ignite/pkg/protoanalysis/protoutil/creator_test.go +++ b/ignite/pkg/protoanalysis/protoutil/creator_test.go @@ -6,7 +6,7 @@ import ( "github.com/emicklei/proto" "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/protoanalysis/protoutil" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis/protoutil" ) // Imports. diff --git a/ignite/pkg/protoanalysis/protoutil/helpers.go b/ignite/pkg/protoanalysis/protoutil/helpers.go index 2c9df0cdac..8279098914 100644 --- a/ignite/pkg/protoanalysis/protoutil/helpers.go +++ b/ignite/pkg/protoanalysis/protoutil/helpers.go @@ -3,7 +3,7 @@ package protoutil import ( "github.com/emicklei/proto" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // AddAfterSyntax tries to add the given Visitee after the 'syntax' statement. diff --git a/ignite/pkg/protoc/protoc.go b/ignite/pkg/protoc/protoc.go index 8e9a31f43a..3b4557ec61 100644 --- a/ignite/pkg/protoc/protoc.go +++ b/ignite/pkg/protoc/protoc.go @@ -13,11 +13,11 @@ import ( "github.com/ignite/ignite-files/protoc" - "github.com/ignite/cli/ignite/pkg/cmdrunner/exec" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/localfs" - "github.com/ignite/cli/ignite/pkg/protoanalysis" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/exec" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/localfs" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis" ) // Option configures Generate configs. diff --git a/ignite/pkg/relayer/chain.go b/ignite/pkg/relayer/chain.go index a2ac9268de..619a2d10d4 100644 --- a/ignite/pkg/relayer/chain.go +++ b/ignite/pkg/relayer/chain.go @@ -7,11 +7,11 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/imdario/mergo" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" - "github.com/ignite/cli/ignite/pkg/cosmosclient" - "github.com/ignite/cli/ignite/pkg/cosmosfaucet" - "github.com/ignite/cli/ignite/pkg/errors" - relayerconfig "github.com/ignite/cli/ignite/pkg/relayer/config" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" + "github.com/ignite/cli/v28/ignite/pkg/cosmosfaucet" + "github.com/ignite/cli/v28/ignite/pkg/errors" + relayerconfig "github.com/ignite/cli/v28/ignite/pkg/relayer/config" ) const ( diff --git a/ignite/pkg/relayer/config/config.go b/ignite/pkg/relayer/config/config.go index f322fdef08..8e872835cd 100644 --- a/ignite/pkg/relayer/config/config.go +++ b/ignite/pkg/relayer/config/config.go @@ -4,8 +4,8 @@ import ( "os" "reflect" - "github.com/ignite/cli/ignite/pkg/confile" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/confile" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) const SupportVersion = "2" diff --git a/ignite/pkg/relayer/relayer.go b/ignite/pkg/relayer/relayer.go index 14862258ef..932d449ccc 100644 --- a/ignite/pkg/relayer/relayer.go +++ b/ignite/pkg/relayer/relayer.go @@ -12,13 +12,13 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "golang.org/x/sync/errgroup" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" - "github.com/ignite/cli/ignite/pkg/cosmosclient" - "github.com/ignite/cli/ignite/pkg/ctxticker" - "github.com/ignite/cli/ignite/pkg/errors" - tsrelayer "github.com/ignite/cli/ignite/pkg/nodetime/programs/ts-relayer" - relayerconf "github.com/ignite/cli/ignite/pkg/relayer/config" - "github.com/ignite/cli/ignite/pkg/xurl" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" + "github.com/ignite/cli/v28/ignite/pkg/ctxticker" + "github.com/ignite/cli/v28/ignite/pkg/errors" + tsrelayer "github.com/ignite/cli/v28/ignite/pkg/nodetime/programs/ts-relayer" + relayerconf "github.com/ignite/cli/v28/ignite/pkg/relayer/config" + "github.com/ignite/cli/v28/ignite/pkg/xurl" ) const ( diff --git a/ignite/pkg/tarball/tarball.go b/ignite/pkg/tarball/tarball.go index 53c5b4721f..6423703c89 100644 --- a/ignite/pkg/tarball/tarball.go +++ b/ignite/pkg/tarball/tarball.go @@ -6,7 +6,7 @@ import ( "io" "path/filepath" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) var ( diff --git a/ignite/pkg/tendermintrpc/rpc.go b/ignite/pkg/tendermintrpc/rpc.go index e1f509422f..9d01a2a64d 100644 --- a/ignite/pkg/tendermintrpc/rpc.go +++ b/ignite/pkg/tendermintrpc/rpc.go @@ -9,7 +9,7 @@ import ( "net/http" "strconv" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) const ( diff --git a/ignite/pkg/xast/xast.go b/ignite/pkg/xast/xast.go index 93308305fb..c0306b6b0c 100644 --- a/ignite/pkg/xast/xast.go +++ b/ignite/pkg/xast/xast.go @@ -6,7 +6,7 @@ import ( "go/token" "strings" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) var ErrStop = errors.New("ast stop") diff --git a/ignite/pkg/xast/xast_test.go b/ignite/pkg/xast/xast_test.go index b6a94efc0b..c9d7ac4f0b 100644 --- a/ignite/pkg/xast/xast_test.go +++ b/ignite/pkg/xast/xast_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/xast" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/xast" ) func TestInspect(t *testing.T) { diff --git a/ignite/pkg/xchisel/xchisel.go b/ignite/pkg/xchisel/xchisel.go index daaa6bdbf6..dab3cfa644 100644 --- a/ignite/pkg/xchisel/xchisel.go +++ b/ignite/pkg/xchisel/xchisel.go @@ -9,7 +9,7 @@ import ( chclient "github.com/jpillora/chisel/client" chserver "github.com/jpillora/chisel/server" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) var DefaultServerPort = "7575" diff --git a/ignite/pkg/xexec/xexec.go b/ignite/pkg/xexec/xexec.go index 51defd9486..db72286b47 100644 --- a/ignite/pkg/xexec/xexec.go +++ b/ignite/pkg/xexec/xexec.go @@ -5,7 +5,7 @@ import ( "os/exec" "path/filepath" - "github.com/ignite/cli/ignite/pkg/goenv" + "github.com/ignite/cli/v28/ignite/pkg/goenv" ) // IsExec checks if a file is executable by anyone. diff --git a/ignite/pkg/xexec/xexec_test.go b/ignite/pkg/xexec/xexec_test.go index e55c1eddca..17365f6405 100644 --- a/ignite/pkg/xexec/xexec_test.go +++ b/ignite/pkg/xexec/xexec_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/xexec" + "github.com/ignite/cli/v28/ignite/pkg/xexec" ) func TestIsExec(t *testing.T) { diff --git a/ignite/pkg/xfilepath/xfilepath_test.go b/ignite/pkg/xfilepath/xfilepath_test.go index 929afab5b8..a76d5f7a03 100644 --- a/ignite/pkg/xfilepath/xfilepath_test.go +++ b/ignite/pkg/xfilepath/xfilepath_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/xfilepath" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/xfilepath" ) func TestJoin(t *testing.T) { diff --git a/ignite/pkg/xgenny/run.go b/ignite/pkg/xgenny/run.go index 65370423a1..00133d6024 100644 --- a/ignite/pkg/xgenny/run.go +++ b/ignite/pkg/xgenny/run.go @@ -9,9 +9,9 @@ import ( "github.com/gobuffalo/logger" "github.com/gobuffalo/packd" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/validation" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/validation" ) var _ validation.Error = (*dryRunError)(nil) diff --git a/ignite/pkg/xgenny/sourcemodification_test.go b/ignite/pkg/xgenny/sourcemodification_test.go index 508fce28ee..5dcb380ebb 100644 --- a/ignite/pkg/xgenny/sourcemodification_test.go +++ b/ignite/pkg/xgenny/sourcemodification_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" ) var ( diff --git a/ignite/pkg/xgenny/xgenny.go b/ignite/pkg/xgenny/xgenny.go index 7d1e0bab61..7f4d36cf95 100644 --- a/ignite/pkg/xgenny/xgenny.go +++ b/ignite/pkg/xgenny/xgenny.go @@ -11,7 +11,7 @@ import ( "github.com/gobuffalo/packd" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // Walker implements packd.Walker for Go embed's fs.FS. diff --git a/ignite/pkg/xgenny/xgenny_test.go b/ignite/pkg/xgenny/xgenny_test.go index d9c8e48b99..442dd3b63b 100644 --- a/ignite/pkg/xgenny/xgenny_test.go +++ b/ignite/pkg/xgenny/xgenny_test.go @@ -9,7 +9,7 @@ import ( "github.com/gobuffalo/plush/v4" "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" ) func Test_Transformer(t *testing.T) { diff --git a/ignite/pkg/xgit/xgit.go b/ignite/pkg/xgit/xgit.go index aa671d5c89..e2953063ff 100644 --- a/ignite/pkg/xgit/xgit.go +++ b/ignite/pkg/xgit/xgit.go @@ -11,7 +11,7 @@ import ( "github.com/go-git/go-git/v5/plumbing" "github.com/go-git/go-git/v5/plumbing/object" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) var ( diff --git a/ignite/pkg/xgit/xgit_test.go b/ignite/pkg/xgit/xgit_test.go index 3cc9b7b9db..dca65807d6 100644 --- a/ignite/pkg/xgit/xgit_test.go +++ b/ignite/pkg/xgit/xgit_test.go @@ -14,8 +14,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/randstr" - "github.com/ignite/cli/ignite/pkg/xgit" + "github.com/ignite/cli/v28/ignite/pkg/randstr" + "github.com/ignite/cli/v28/ignite/pkg/xgit" ) func TestInitAndCommit(t *testing.T) { diff --git a/ignite/pkg/xhttp/response.go b/ignite/pkg/xhttp/response.go index 701017b536..5020afbe02 100644 --- a/ignite/pkg/xhttp/response.go +++ b/ignite/pkg/xhttp/response.go @@ -4,7 +4,7 @@ import ( "encoding/json" "net/http" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // ResponseJSON writes a JSON response to w by using status as http status and data diff --git a/ignite/pkg/xhttp/response_test.go b/ignite/pkg/xhttp/response_test.go index a46e8606df..82f4d09986 100644 --- a/ignite/pkg/xhttp/response_test.go +++ b/ignite/pkg/xhttp/response_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) func TestResponseJSON(t *testing.T) { diff --git a/ignite/pkg/xhttp/server.go b/ignite/pkg/xhttp/server.go index a321ea39d2..12eb2976ca 100644 --- a/ignite/pkg/xhttp/server.go +++ b/ignite/pkg/xhttp/server.go @@ -5,7 +5,7 @@ import ( "net/http" "time" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // ShutdownTimeout is the timeout for waiting all requests to complete. diff --git a/ignite/pkg/xnet/xnet_test.go b/ignite/pkg/xnet/xnet_test.go index 3375eba057..360234dacc 100644 --- a/ignite/pkg/xnet/xnet_test.go +++ b/ignite/pkg/xnet/xnet_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/xnet" + "github.com/ignite/cli/v28/ignite/pkg/xnet" ) func TestLocalhostIPv4Address(t *testing.T) { diff --git a/ignite/pkg/xos/cp_test.go b/ignite/pkg/xos/cp_test.go index a86329db58..11556b60b3 100644 --- a/ignite/pkg/xos/cp_test.go +++ b/ignite/pkg/xos/cp_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/xos" + "github.com/ignite/cli/v28/ignite/pkg/xos" ) func TestCopyFolder(t *testing.T) { diff --git a/ignite/pkg/xos/files_test.go b/ignite/pkg/xos/files_test.go index fa5fe54f98..d5da93e5e5 100644 --- a/ignite/pkg/xos/files_test.go +++ b/ignite/pkg/xos/files_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/xos" + "github.com/ignite/cli/v28/ignite/pkg/xos" ) func TestFindFiles(t *testing.T) { diff --git a/ignite/pkg/xos/mv.go b/ignite/pkg/xos/mv.go index 49561a833b..0813211b44 100644 --- a/ignite/pkg/xos/mv.go +++ b/ignite/pkg/xos/mv.go @@ -4,7 +4,7 @@ import ( "io" "os" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // Rename copy oldPath to newPath and then delete oldPath. diff --git a/ignite/pkg/xos/mv_test.go b/ignite/pkg/xos/mv_test.go index c991d31b6d..4bb761c7ac 100644 --- a/ignite/pkg/xos/mv_test.go +++ b/ignite/pkg/xos/mv_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/xos" + "github.com/ignite/cli/v28/ignite/pkg/xos" ) func TestRename(t *testing.T) { diff --git a/ignite/pkg/xstrings/xstrings_test.go b/ignite/pkg/xstrings/xstrings_test.go index 0087b4e6ce..ea52b956df 100644 --- a/ignite/pkg/xstrings/xstrings_test.go +++ b/ignite/pkg/xstrings/xstrings_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/v28/ignite/pkg/xstrings" ) func TestNoDash(t *testing.T) { diff --git a/ignite/pkg/xtime/clock_test.go b/ignite/pkg/xtime/clock_test.go index 4d2c72f238..19e9e7683e 100644 --- a/ignite/pkg/xtime/clock_test.go +++ b/ignite/pkg/xtime/clock_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/xtime" + "github.com/ignite/cli/v28/ignite/pkg/xtime" ) func TestClockSystem(t *testing.T) { diff --git a/ignite/pkg/xtime/unix_test.go b/ignite/pkg/xtime/unix_test.go index 4fc370e234..52a647afbb 100644 --- a/ignite/pkg/xtime/unix_test.go +++ b/ignite/pkg/xtime/unix_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/ignite/cli/ignite/pkg/xtime" + "github.com/ignite/cli/v28/ignite/pkg/xtime" "github.com/stretchr/testify/require" ) diff --git a/ignite/pkg/xurl/xurl.go b/ignite/pkg/xurl/xurl.go index 21f4703d91..1c6a0bf9cc 100644 --- a/ignite/pkg/xurl/xurl.go +++ b/ignite/pkg/xurl/xurl.go @@ -6,7 +6,7 @@ import ( "net/url" "strings" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) const ( diff --git a/ignite/pkg/xurl/xurl_test.go b/ignite/pkg/xurl/xurl_test.go index 9032c45fc0..4e27b67fbd 100644 --- a/ignite/pkg/xurl/xurl_test.go +++ b/ignite/pkg/xurl/xurl_test.go @@ -46,18 +46,18 @@ func TestTCP(t *testing.T) { }{ { name: "with scheme", - addr: "tcp://github.com/ignite/cli", - want: "tcp://github.com/ignite/cli", + addr: "tcp://github.com/ignite/cli/v28", + want: "tcp://github.com/ignite/cli/v28", }, { name: "without scheme", - addr: "github.com/ignite/cli", - want: "tcp://github.com/ignite/cli", + addr: "github.com/ignite/cli/v28", + want: "tcp://github.com/ignite/cli/v28", }, { name: "with invalid scheme", - addr: "ftp://github.com/ignite/cli", - want: "tcp://github.com/ignite/cli", + addr: "ftp://github.com/ignite/cli/v28", + want: "tcp://github.com/ignite/cli/v28", }, { name: "with ip and port", @@ -103,18 +103,18 @@ func TestHTTP(t *testing.T) { }{ { name: "with scheme", - addr: "http://github.com/ignite/cli", - want: "http://github.com/ignite/cli", + addr: "http://github.com/ignite/cli/v28", + want: "http://github.com/ignite/cli/v28", }, { name: "without scheme", - addr: "github.com/ignite/cli", - want: "http://github.com/ignite/cli", + addr: "github.com/ignite/cli/v28", + want: "http://github.com/ignite/cli/v28", }, { name: "with invalid scheme", - addr: "ftp://github.com/ignite/cli", - want: "http://github.com/ignite/cli", + addr: "ftp://github.com/ignite/cli/v28", + want: "http://github.com/ignite/cli/v28", }, { name: "with ip and port", @@ -160,18 +160,18 @@ func TestHTTPS(t *testing.T) { }{ { name: "with scheme", - addr: "https://github.com/ignite/cli", - want: "https://github.com/ignite/cli", + addr: "https://github.com/ignite/cli/v28", + want: "https://github.com/ignite/cli/v28", }, { name: "without scheme", - addr: "github.com/ignite/cli", - want: "https://github.com/ignite/cli", + addr: "github.com/ignite/cli/v28", + want: "https://github.com/ignite/cli/v28", }, { name: "with invalid scheme", - addr: "ftp://github.com/ignite/cli", - want: "https://github.com/ignite/cli", + addr: "ftp://github.com/ignite/cli/v28", + want: "https://github.com/ignite/cli/v28", }, { name: "with ip and port", @@ -217,18 +217,18 @@ func TestWS(t *testing.T) { }{ { name: "with scheme", - addr: "ws://github.com/ignite/cli", - want: "ws://github.com/ignite/cli", + addr: "ws://github.com/ignite/cli/v28", + want: "ws://github.com/ignite/cli/v28", }, { name: "without scheme", - addr: "github.com/ignite/cli", - want: "ws://github.com/ignite/cli", + addr: "github.com/ignite/cli/v28", + want: "ws://github.com/ignite/cli/v28", }, { name: "with invalid scheme", - addr: "ftp://github.com/ignite/cli", - want: "ws://github.com/ignite/cli", + addr: "ftp://github.com/ignite/cli/v28", + want: "ws://github.com/ignite/cli/v28", }, { name: "with ip and port", @@ -274,23 +274,23 @@ func TestMightHTTPS(t *testing.T) { }{ { name: "with http scheme", - addr: "http://github.com/ignite/cli", - want: "http://github.com/ignite/cli", + addr: "http://github.com/ignite/cli/v28", + want: "http://github.com/ignite/cli/v28", }, { name: "with https scheme", - addr: "https://github.com/ignite/cli", - want: "https://github.com/ignite/cli", + addr: "https://github.com/ignite/cli/v28", + want: "https://github.com/ignite/cli/v28", }, { name: "without scheme", - addr: "github.com/ignite/cli", - want: "https://github.com/ignite/cli", + addr: "github.com/ignite/cli/v28", + want: "https://github.com/ignite/cli/v28", }, { name: "with invalid scheme", - addr: "ftp://github.com/ignite/cli", - want: "https://github.com/ignite/cli", + addr: "ftp://github.com/ignite/cli/v28", + want: "https://github.com/ignite/cli/v28", }, { name: "with ip and port", diff --git a/ignite/pkg/yaml/map_test.go b/ignite/pkg/yaml/map_test.go index 0491d8b282..afc87e6e4b 100644 --- a/ignite/pkg/yaml/map_test.go +++ b/ignite/pkg/yaml/map_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" "gopkg.in/yaml.v2" - xyaml "github.com/ignite/cli/ignite/pkg/yaml" + xyaml "github.com/ignite/cli/v28/ignite/pkg/yaml" ) func TestUnmarshalWithCustomMapType(t *testing.T) { diff --git a/ignite/pkg/yaml/yaml.go b/ignite/pkg/yaml/yaml.go index a7242e0439..edeb602257 100644 --- a/ignite/pkg/yaml/yaml.go +++ b/ignite/pkg/yaml/yaml.go @@ -7,7 +7,7 @@ import ( "github.com/goccy/go-yaml" "github.com/goccy/go-yaml/parser" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) // Marshal converts an object to a string in a YAML format and transforms diff --git a/ignite/services/chain/app.go b/ignite/services/chain/app.go index 716478c8a2..9c5f894e02 100644 --- a/ignite/services/chain/app.go +++ b/ignite/services/chain/app.go @@ -3,8 +3,8 @@ package chain import ( "path/filepath" - "github.com/ignite/cli/ignite/pkg/gomodulepath" - "github.com/ignite/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/pkg/xstrings" ) // App keeps info about chain. diff --git a/ignite/services/chain/build.go b/ignite/services/chain/build.go index bf6dfee49d..2bb2753288 100644 --- a/ignite/services/chain/build.go +++ b/ignite/services/chain/build.go @@ -11,17 +11,17 @@ import ( "github.com/moby/moby/pkg/archive" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/checksum" - "github.com/ignite/cli/ignite/pkg/cmdrunner" - "github.com/ignite/cli/ignite/pkg/cmdrunner/exec" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/dirchange" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/events" - "github.com/ignite/cli/ignite/pkg/goanalysis" - "github.com/ignite/cli/ignite/pkg/gocmd" - "github.com/ignite/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/checksum" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/exec" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/dirchange" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/pkg/goanalysis" + "github.com/ignite/cli/v28/ignite/pkg/gocmd" + "github.com/ignite/cli/v28/ignite/pkg/xstrings" ) const ( diff --git a/ignite/services/chain/chain.go b/ignite/services/chain/chain.go index 6090d5c8f8..f4b2ddfb5f 100644 --- a/ignite/services/chain/chain.go +++ b/ignite/services/chain/chain.go @@ -7,20 +7,20 @@ import ( "github.com/go-git/go-git/v5" - chainconfig "github.com/ignite/cli/ignite/config/chain" - chainconfigv1 "github.com/ignite/cli/ignite/config/chain/v1" - "github.com/ignite/cli/ignite/pkg/chaincmd" - chaincmdrunner "github.com/ignite/cli/ignite/pkg/chaincmd/runner" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - uilog "github.com/ignite/cli/ignite/pkg/cliui/log" - "github.com/ignite/cli/ignite/pkg/confile" - "github.com/ignite/cli/ignite/pkg/cosmosver" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/events" - "github.com/ignite/cli/ignite/pkg/repoversion" - "github.com/ignite/cli/ignite/pkg/xexec" - "github.com/ignite/cli/ignite/pkg/xurl" - igniteversion "github.com/ignite/cli/ignite/version" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + chainconfigv1 "github.com/ignite/cli/v28/ignite/config/chain/v1" + "github.com/ignite/cli/v28/ignite/pkg/chaincmd" + chaincmdrunner "github.com/ignite/cli/v28/ignite/pkg/chaincmd/runner" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + uilog "github.com/ignite/cli/v28/ignite/pkg/cliui/log" + "github.com/ignite/cli/v28/ignite/pkg/confile" + "github.com/ignite/cli/v28/ignite/pkg/cosmosver" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/pkg/repoversion" + "github.com/ignite/cli/v28/ignite/pkg/xexec" + "github.com/ignite/cli/v28/ignite/pkg/xurl" + igniteversion "github.com/ignite/cli/v28/ignite/version" ) var appBackendSourceWatchPaths = []string{ diff --git a/ignite/services/chain/faucet.go b/ignite/services/chain/faucet.go index 72cfad6817..9b521ab3fb 100644 --- a/ignite/services/chain/faucet.go +++ b/ignite/services/chain/faucet.go @@ -8,11 +8,11 @@ import ( sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - chainconfig "github.com/ignite/cli/ignite/config/chain" - chaincmdrunner "github.com/ignite/cli/ignite/pkg/chaincmd/runner" - "github.com/ignite/cli/ignite/pkg/cosmosfaucet" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/xurl" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + chaincmdrunner "github.com/ignite/cli/v28/ignite/pkg/chaincmd/runner" + "github.com/ignite/cli/v28/ignite/pkg/cosmosfaucet" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/xurl" ) var ( diff --git a/ignite/services/chain/generate.go b/ignite/services/chain/generate.go index 36b123dfdb..66bda129e6 100644 --- a/ignite/services/chain/generate.go +++ b/ignite/services/chain/generate.go @@ -6,13 +6,13 @@ import ( "os" "path/filepath" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/config/chain/base" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - "github.com/ignite/cli/ignite/pkg/cosmosgen" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/events" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/config/chain/base" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/pkg/cosmosgen" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/events" ) type generateOptions struct { diff --git a/ignite/services/chain/init.go b/ignite/services/chain/init.go index ced6440c9b..f15b2db322 100644 --- a/ignite/services/chain/init.go +++ b/ignite/services/chain/init.go @@ -8,11 +8,11 @@ import ( "github.com/imdario/mergo" - chainconfig "github.com/ignite/cli/ignite/config/chain" - chaincmdrunner "github.com/ignite/cli/ignite/pkg/chaincmd/runner" - "github.com/ignite/cli/ignite/pkg/cliui/view/accountview" - "github.com/ignite/cli/ignite/pkg/confile" - "github.com/ignite/cli/ignite/pkg/events" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + chaincmdrunner "github.com/ignite/cli/v28/ignite/pkg/chaincmd/runner" + "github.com/ignite/cli/v28/ignite/pkg/cliui/view/accountview" + "github.com/ignite/cli/v28/ignite/pkg/confile" + "github.com/ignite/cli/v28/ignite/pkg/events" ) type ( diff --git a/ignite/services/chain/proto.go b/ignite/services/chain/proto.go index 67fb2503b7..e82ee3b4bb 100644 --- a/ignite/services/chain/proto.go +++ b/ignite/services/chain/proto.go @@ -3,10 +3,10 @@ package chain import ( "path/filepath" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/pkg/xos" - "github.com/ignite/cli/ignite/templates/app" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/pkg/xos" + "github.com/ignite/cli/v28/ignite/templates/app" ) var bufFiles = []string{ diff --git a/ignite/services/chain/runtime.go b/ignite/services/chain/runtime.go index 95d1bcaee4..bcbfa157c4 100644 --- a/ignite/services/chain/runtime.go +++ b/ignite/services/chain/runtime.go @@ -9,11 +9,11 @@ import ( "github.com/nqd/flat" "github.com/pelletier/go-toml" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/pkg/chaincmd" - chaincmdrunner "github.com/ignite/cli/ignite/pkg/chaincmd/runner" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/xurl" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/pkg/chaincmd" + chaincmdrunner "github.com/ignite/cli/v28/ignite/pkg/chaincmd/runner" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/xurl" ) // Gentx wraps the "testd gentx" command for generating a gentx for a validator. diff --git a/ignite/services/chain/serve.go b/ignite/services/chain/serve.go index 43987c4ece..e1ce79d29b 100644 --- a/ignite/services/chain/serve.go +++ b/ignite/services/chain/serve.go @@ -13,23 +13,23 @@ import ( "github.com/otiai10/copy" "golang.org/x/sync/errgroup" - "github.com/ignite/cli/ignite/config" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/pkg/cache" - chaincmdrunner "github.com/ignite/cli/ignite/pkg/chaincmd/runner" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - "github.com/ignite/cli/ignite/pkg/cliui/view/accountview" - "github.com/ignite/cli/ignite/pkg/cliui/view/errorview" - "github.com/ignite/cli/ignite/pkg/cosmosfaucet" - "github.com/ignite/cli/ignite/pkg/dirchange" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/events" - "github.com/ignite/cli/ignite/pkg/localfs" - "github.com/ignite/cli/ignite/pkg/xexec" - "github.com/ignite/cli/ignite/pkg/xfilepath" - "github.com/ignite/cli/ignite/pkg/xhttp" - "github.com/ignite/cli/ignite/pkg/xurl" + "github.com/ignite/cli/v28/ignite/config" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/pkg/cache" + chaincmdrunner "github.com/ignite/cli/v28/ignite/pkg/chaincmd/runner" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/pkg/cliui/view/accountview" + "github.com/ignite/cli/v28/ignite/pkg/cliui/view/errorview" + "github.com/ignite/cli/v28/ignite/pkg/cosmosfaucet" + "github.com/ignite/cli/v28/ignite/pkg/dirchange" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/pkg/localfs" + "github.com/ignite/cli/v28/ignite/pkg/xexec" + "github.com/ignite/cli/v28/ignite/pkg/xfilepath" + "github.com/ignite/cli/v28/ignite/pkg/xhttp" + "github.com/ignite/cli/v28/ignite/pkg/xurl" ) const ( diff --git a/ignite/services/doctor/doctor.go b/ignite/services/doctor/doctor.go index 7a5e2c560d..1cd8e64217 100644 --- a/ignite/services/doctor/doctor.go +++ b/ignite/services/doctor/doctor.go @@ -9,16 +9,16 @@ import ( "github.com/gobuffalo/genny/v2" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - "github.com/ignite/cli/ignite/pkg/cosmosgen" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/events" - "github.com/ignite/cli/ignite/pkg/goanalysis" - "github.com/ignite/cli/ignite/pkg/gomodulepath" - "github.com/ignite/cli/ignite/pkg/xast" - "github.com/ignite/cli/ignite/templates/app" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/pkg/cosmosgen" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/pkg/goanalysis" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/pkg/xast" + "github.com/ignite/cli/v28/ignite/templates/app" ) const ( diff --git a/ignite/services/doctor/doctor_plugins.go b/ignite/services/doctor/doctor_plugins.go index 78011299d5..27a6d9349c 100644 --- a/ignite/services/doctor/doctor_plugins.go +++ b/ignite/services/doctor/doctor_plugins.go @@ -9,12 +9,12 @@ import ( "gopkg.in/yaml.v2" - "github.com/ignite/cli/ignite/config" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/pkg/cliui/colors" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/config" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/pkg/cliui/colors" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/events" ) // MigratePluginsConfig migrates plugins config to Ignite App config if required. diff --git a/ignite/services/plugin/cache.go b/ignite/services/plugin/cache.go index d56557a803..89fe8d32c6 100644 --- a/ignite/services/plugin/cache.go +++ b/ignite/services/plugin/cache.go @@ -7,8 +7,8 @@ import ( hplugin "github.com/hashicorp/go-plugin" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) const ( diff --git a/ignite/services/plugin/grpc/v1/client_api.pb.go b/ignite/services/plugin/grpc/v1/client_api.pb.go index 95f1c0c403..faf4cf22fc 100644 --- a/ignite/services/plugin/grpc/v1/client_api.pb.go +++ b/ignite/services/plugin/grpc/v1/client_api.pb.go @@ -108,11 +108,11 @@ var file_ignite_services_plugin_grpc_v1_client_api_proto_rawDesc = []byte{ 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x70, 0x63, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x67, 0x6e, 0x69, 0x74, 0x65, 0x2f, 0x63, 0x6c, 0x69, - 0x2f, 0x69, 0x67, 0x6e, 0x69, 0x74, 0x65, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x76, 0x32, 0x38, 0x2f, 0x69, 0x67, 0x6e, 0x69, 0x74, 0x65, 0x2f, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, + 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/ignite/services/plugin/grpc/v1/interface.pb.go b/ignite/services/plugin/grpc/v1/interface.pb.go index aa33de84fa..c16eef1a6a 100644 --- a/ignite/services/plugin/grpc/v1/interface.pb.go +++ b/ignite/services/plugin/grpc/v1/interface.pb.go @@ -708,11 +708,11 @@ var file_ignite_services_plugin_grpc_v1_interface_proto_rawDesc = []byte{ 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x6c, 0x61, - 0x63, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x4f, 0x6e, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, + 0x63, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x4f, 0x6e, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x67, 0x6e, 0x69, 0x74, 0x65, 0x2f, 0x63, 0x6c, - 0x69, 0x2f, 0x69, 0x67, 0x6e, 0x69, 0x74, 0x65, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x69, 0x2f, 0x76, 0x32, 0x38, 0x2f, 0x69, 0x67, 0x6e, 0x69, 0x74, 0x65, 0x2f, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x67, 0x72, 0x70, + 0x63, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/ignite/services/plugin/grpc/v1/interface_flag.go b/ignite/services/plugin/grpc/v1/interface_flag.go index 5e43d4f4db..bdd20bbb80 100644 --- a/ignite/services/plugin/grpc/v1/interface_flag.go +++ b/ignite/services/plugin/grpc/v1/interface_flag.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/pflag" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) const ( diff --git a/ignite/services/plugin/grpc/v1/service.pb.go b/ignite/services/plugin/grpc/v1/service.pb.go index 11f2012a59..8ed95cc549 100644 --- a/ignite/services/plugin/grpc/v1/service.pb.go +++ b/ignite/services/plugin/grpc/v1/service.pb.go @@ -677,11 +677,11 @@ var file_ignite_services_plugin_grpc_v1_service_proto_rawDesc = []byte{ 0x1a, 0x34, 0x2e, 0x69, 0x67, 0x6e, 0x69, 0x74, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x67, 0x6e, 0x69, 0x74, 0x65, 0x2f, 0x63, 0x6c, 0x69, 0x2f, - 0x69, 0x67, 0x6e, 0x69, 0x74, 0x65, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, - 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x76, 0x32, 0x38, 0x2f, 0x69, 0x67, 0x6e, 0x69, 0x74, 0x65, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, + 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/ignite/services/plugin/grpc/v1/types_command_test.go b/ignite/services/plugin/grpc/v1/types_command_test.go index c74034e656..6b9fbdc98c 100644 --- a/ignite/services/plugin/grpc/v1/types_command_test.go +++ b/ignite/services/plugin/grpc/v1/types_command_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - v1 "github.com/ignite/cli/ignite/services/plugin/grpc/v1" + v1 "github.com/ignite/cli/v28/ignite/services/plugin/grpc/v1" ) func TestCommandToCobraCommand(t *testing.T) { diff --git a/ignite/services/plugin/grpc/v1/types_hook_test.go b/ignite/services/plugin/grpc/v1/types_hook_test.go index 4fed09ed08..aa3d3e771a 100644 --- a/ignite/services/plugin/grpc/v1/types_hook_test.go +++ b/ignite/services/plugin/grpc/v1/types_hook_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - v1 "github.com/ignite/cli/ignite/services/plugin/grpc/v1" + v1 "github.com/ignite/cli/v28/ignite/services/plugin/grpc/v1" ) func TestHookCommandPath(t *testing.T) { diff --git a/ignite/services/plugin/grpc/v1/types_manifest_test.go b/ignite/services/plugin/grpc/v1/types_manifest_test.go index 73246d9c93..6c85d95af3 100644 --- a/ignite/services/plugin/grpc/v1/types_manifest_test.go +++ b/ignite/services/plugin/grpc/v1/types_manifest_test.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/cobra" "github.com/stretchr/testify/assert" - v1 "github.com/ignite/cli/ignite/services/plugin/grpc/v1" + v1 "github.com/ignite/cli/v28/ignite/services/plugin/grpc/v1" ) func TestManifestImportCobraCommand(t *testing.T) { diff --git a/ignite/services/plugin/interface.go b/ignite/services/plugin/interface.go index 9eb44b008c..532faf8ae5 100644 --- a/ignite/services/plugin/interface.go +++ b/ignite/services/plugin/interface.go @@ -3,7 +3,7 @@ package plugin import ( "context" - v1 "github.com/ignite/cli/ignite/services/plugin/grpc/v1" + v1 "github.com/ignite/cli/v28/ignite/services/plugin/grpc/v1" ) // Flag type aliases. diff --git a/ignite/services/plugin/mocks/client_api.go b/ignite/services/plugin/mocks/client_api.go index 74ea82911d..aad6a6b49f 100644 --- a/ignite/services/plugin/mocks/client_api.go +++ b/ignite/services/plugin/mocks/client_api.go @@ -7,7 +7,7 @@ import ( mock "github.com/stretchr/testify/mock" - v1 "github.com/ignite/cli/ignite/services/plugin/grpc/v1" + v1 "github.com/ignite/cli/v28/ignite/services/plugin/grpc/v1" ) // PluginClientAPI is an autogenerated mock type for the ClientAPI type diff --git a/ignite/services/plugin/mocks/interface.go b/ignite/services/plugin/mocks/interface.go index 530177f9b1..644d292d0e 100644 --- a/ignite/services/plugin/mocks/interface.go +++ b/ignite/services/plugin/mocks/interface.go @@ -7,9 +7,9 @@ import ( mock "github.com/stretchr/testify/mock" - plugin "github.com/ignite/cli/ignite/services/plugin" + plugin "github.com/ignite/cli/v28/ignite/services/plugin" - v1 "github.com/ignite/cli/ignite/services/plugin/grpc/v1" + v1 "github.com/ignite/cli/v28/ignite/services/plugin/grpc/v1" ) // PluginInterface is an autogenerated mock type for the Interface type diff --git a/ignite/services/plugin/plugin.go b/ignite/services/plugin/plugin.go index 9cdc0068bd..a3ec58cf66 100644 --- a/ignite/services/plugin/plugin.go +++ b/ignite/services/plugin/plugin.go @@ -17,16 +17,16 @@ import ( "github.com/hashicorp/go-hclog" hplugin "github.com/hashicorp/go-plugin" - "github.com/ignite/cli/ignite/config" - pluginsconfig "github.com/ignite/cli/ignite/config/plugins" - "github.com/ignite/cli/ignite/pkg/cliui/icons" - "github.com/ignite/cli/ignite/pkg/env" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/events" - "github.com/ignite/cli/ignite/pkg/gocmd" - "github.com/ignite/cli/ignite/pkg/xfilepath" - "github.com/ignite/cli/ignite/pkg/xgit" - "github.com/ignite/cli/ignite/pkg/xurl" + "github.com/ignite/cli/v28/ignite/config" + pluginsconfig "github.com/ignite/cli/v28/ignite/config/plugins" + "github.com/ignite/cli/v28/ignite/pkg/cliui/icons" + "github.com/ignite/cli/v28/ignite/pkg/env" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/events" + "github.com/ignite/cli/v28/ignite/pkg/gocmd" + "github.com/ignite/cli/v28/ignite/pkg/xfilepath" + "github.com/ignite/cli/v28/ignite/pkg/xgit" + "github.com/ignite/cli/v28/ignite/pkg/xurl" ) // PluginsPath holds the plugin cache directory. diff --git a/ignite/services/plugin/plugin_test.go b/ignite/services/plugin/plugin_test.go index f41ef3d541..4c7ea80288 100644 --- a/ignite/services/plugin/plugin_test.go +++ b/ignite/services/plugin/plugin_test.go @@ -16,10 +16,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - pluginsconfig "github.com/ignite/cli/ignite/config/plugins" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gocmd" - "github.com/ignite/cli/ignite/pkg/gomodule" + pluginsconfig "github.com/ignite/cli/v28/ignite/config/plugins" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gocmd" + "github.com/ignite/cli/v28/ignite/pkg/gomodule" ) func TestNewPlugin(t *testing.T) { @@ -522,7 +522,7 @@ func scaffoldPlugin(t *testing.T, dir, name string, sharedHost bool) string { modpath, err := gocmd.Env(gocmd.EnvGOMOD) require.NoError(err) modpath = filepath.Dir(modpath) - err = gomod.AddReplace("github.com/ignite/cli", "", modpath, "") + err = gomod.AddReplace("github.com/ignite/cli/v28", "", modpath, "") require.NoError(err) // Save go.mod data, err := gomod.Format() diff --git a/ignite/services/plugin/protocol.go b/ignite/services/plugin/protocol.go index 0423e2e9b6..6bb3e2431e 100644 --- a/ignite/services/plugin/protocol.go +++ b/ignite/services/plugin/protocol.go @@ -6,7 +6,7 @@ import ( hplugin "github.com/hashicorp/go-plugin" "google.golang.org/grpc" - v1 "github.com/ignite/cli/ignite/services/plugin/grpc/v1" + v1 "github.com/ignite/cli/v28/ignite/services/plugin/grpc/v1" ) var handshakeConfig = hplugin.HandshakeConfig{ diff --git a/ignite/services/plugin/scaffold.go b/ignite/services/plugin/scaffold.go index 0404026a2a..cd82fe45ae 100644 --- a/ignite/services/plugin/scaffold.go +++ b/ignite/services/plugin/scaffold.go @@ -10,9 +10,8 @@ import ( "github.com/gobuffalo/genny/v2" "github.com/gobuffalo/plush/v4" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gocmd" - "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" ) //go:embed template/* @@ -56,9 +55,5 @@ func Scaffold(ctx context.Context, dir, moduleName string, sharedHost bool) (str return "", errors.WithStack(err) } - if err := gocmd.ModTidy(ctx, finalDir); err != nil { - return "", errors.WithStack(err) - } - return finalDir, nil } diff --git a/ignite/services/plugin/template/go.mod.plush b/ignite/services/plugin/template/go.mod.plush index 650b85a600..71ae3ecdf8 100644 --- a/ignite/services/plugin/template/go.mod.plush +++ b/ignite/services/plugin/template/go.mod.plush @@ -4,5 +4,5 @@ go 1.21 require ( github.com/hashicorp/go-plugin v1.5.0 - github.com/ignite/cli v0.27.2 + github.com/ignite/cli/v28 v28.0.0 ) diff --git a/ignite/services/plugin/template/main.go.plush b/ignite/services/plugin/template/main.go.plush index 83181ccd76..56d8b447c0 100644 --- a/ignite/services/plugin/template/main.go.plush +++ b/ignite/services/plugin/template/main.go.plush @@ -7,8 +7,8 @@ import ( hplugin "github.com/hashicorp/go-plugin" - "github.com/ignite/cli/ignite/services/chain" - "github.com/ignite/cli/ignite/services/plugin" + "github.com/ignite/cli/v28/ignite/services/chain" + "github.com/ignite/cli/v28/ignite/services/plugin" ) type app struct{} diff --git a/ignite/services/scaffolder/component.go b/ignite/services/scaffolder/component.go index cc87e36ff9..b9b3588d5f 100644 --- a/ignite/services/scaffolder/component.go +++ b/ignite/services/scaffolder/component.go @@ -10,10 +10,10 @@ import ( "path/filepath" "strings" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/protoanalysis" - "github.com/ignite/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis" + "github.com/ignite/cli/v28/ignite/templates/field/datatype" ) const ( diff --git a/ignite/services/scaffolder/component_test.go b/ignite/services/scaffolder/component_test.go index 92ddea3775..e154432b7c 100644 --- a/ignite/services/scaffolder/component_test.go +++ b/ignite/services/scaffolder/component_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" ) func TestCheckForbiddenComponentName(t *testing.T) { diff --git a/ignite/services/scaffolder/init.go b/ignite/services/scaffolder/init.go index 5e3b9000ae..f861ebf31f 100644 --- a/ignite/services/scaffolder/init.go +++ b/ignite/services/scaffolder/init.go @@ -8,15 +8,15 @@ import ( "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/cosmosgen" - "github.com/ignite/cli/ignite/pkg/gomodulepath" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/xgit" - "github.com/ignite/cli/ignite/templates/app" - "github.com/ignite/cli/ignite/templates/field" - modulecreate "github.com/ignite/cli/ignite/templates/module/create" - "github.com/ignite/cli/ignite/templates/testutil" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/cosmosgen" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/xgit" + "github.com/ignite/cli/v28/ignite/templates/app" + "github.com/ignite/cli/v28/ignite/templates/field" + modulecreate "github.com/ignite/cli/v28/ignite/templates/module/create" + "github.com/ignite/cli/v28/ignite/templates/testutil" ) // Init initializes a new app with name and given options. diff --git a/ignite/services/scaffolder/message.go b/ignite/services/scaffolder/message.go index 51b07d43ec..f3e167f4f7 100644 --- a/ignite/services/scaffolder/message.go +++ b/ignite/services/scaffolder/message.go @@ -6,15 +6,15 @@ import ( "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/templates/field" - "github.com/ignite/cli/ignite/templates/field/datatype" - "github.com/ignite/cli/ignite/templates/message" - modulecreate "github.com/ignite/cli/ignite/templates/module/create" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/templates/field" + "github.com/ignite/cli/v28/ignite/templates/field/datatype" + "github.com/ignite/cli/v28/ignite/templates/message" + modulecreate "github.com/ignite/cli/v28/ignite/templates/module/create" ) // messageOptions represents configuration for the message scaffolding. diff --git a/ignite/services/scaffolder/module.go b/ignite/services/scaffolder/module.go index 840f5a64ba..781127593b 100644 --- a/ignite/services/scaffolder/module.go +++ b/ignite/services/scaffolder/module.go @@ -28,16 +28,16 @@ import ( ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported" "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/cache" - appanalysis "github.com/ignite/cli/ignite/pkg/cosmosanalysis/app" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/validation" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/templates/field" - "github.com/ignite/cli/ignite/templates/module" - modulecreate "github.com/ignite/cli/ignite/templates/module/create" + "github.com/ignite/cli/v28/ignite/pkg/cache" + appanalysis "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis/app" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/validation" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/templates/field" + "github.com/ignite/cli/v28/ignite/templates/module" + modulecreate "github.com/ignite/cli/v28/ignite/templates/module/create" ) const ( diff --git a/ignite/services/scaffolder/oracle.go b/ignite/services/scaffolder/oracle.go index 909ecdeddc..73f659d5e0 100644 --- a/ignite/services/scaffolder/oracle.go +++ b/ignite/services/scaffolder/oracle.go @@ -5,15 +5,15 @@ import ( "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/cmdrunner" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gocmd" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/templates/ibc" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gocmd" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/templates/ibc" ) const ( diff --git a/ignite/services/scaffolder/packet.go b/ignite/services/scaffolder/packet.go index a451e72ad1..f914d5741b 100644 --- a/ignite/services/scaffolder/packet.go +++ b/ignite/services/scaffolder/packet.go @@ -7,14 +7,14 @@ import ( "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/templates/field" - "github.com/ignite/cli/ignite/templates/field/datatype" - "github.com/ignite/cli/ignite/templates/ibc" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/templates/field" + "github.com/ignite/cli/v28/ignite/templates/field/datatype" + "github.com/ignite/cli/v28/ignite/templates/ibc" ) const ( diff --git a/ignite/services/scaffolder/patch.go b/ignite/services/scaffolder/patch.go index b51d2c8e9c..2080cd30d8 100644 --- a/ignite/services/scaffolder/patch.go +++ b/ignite/services/scaffolder/patch.go @@ -6,8 +6,8 @@ import ( "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/placeholder" - modulecreate "github.com/ignite/cli/ignite/templates/module/create" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + modulecreate "github.com/ignite/cli/v28/ignite/templates/module/create" ) // supportMsgServer checks if the module supports the MsgServer convention diff --git a/ignite/services/scaffolder/query.go b/ignite/services/scaffolder/query.go index c7845b4f8a..7279abebe3 100644 --- a/ignite/services/scaffolder/query.go +++ b/ignite/services/scaffolder/query.go @@ -5,13 +5,13 @@ import ( "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/templates/field" - "github.com/ignite/cli/ignite/templates/query" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/templates/field" + "github.com/ignite/cli/v28/ignite/templates/query" ) // AddQuery adds a new query to scaffolded app. diff --git a/ignite/services/scaffolder/scaffolder.go b/ignite/services/scaffolder/scaffolder.go index 6a2dc82f61..c5fc8ae5bb 100644 --- a/ignite/services/scaffolder/scaffolder.go +++ b/ignite/services/scaffolder/scaffolder.go @@ -6,14 +6,14 @@ import ( "context" "path/filepath" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/cosmosanalysis" - "github.com/ignite/cli/ignite/pkg/cosmosgen" - "github.com/ignite/cli/ignite/pkg/cosmosver" - "github.com/ignite/cli/ignite/pkg/gocmd" - "github.com/ignite/cli/ignite/pkg/gomodulepath" - "github.com/ignite/cli/ignite/version" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/cosmosanalysis" + "github.com/ignite/cli/v28/ignite/pkg/cosmosgen" + "github.com/ignite/cli/v28/ignite/pkg/cosmosver" + "github.com/ignite/cli/v28/ignite/pkg/gocmd" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/version" ) // Scaffolder is Ignite CLI app scaffolder. diff --git a/ignite/services/scaffolder/type.go b/ignite/services/scaffolder/type.go index 6b72eb8247..43112d6a6f 100644 --- a/ignite/services/scaffolder/type.go +++ b/ignite/services/scaffolder/type.go @@ -6,19 +6,19 @@ import ( "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/cache" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/templates/field" - "github.com/ignite/cli/ignite/templates/field/datatype" - modulecreate "github.com/ignite/cli/ignite/templates/module/create" - "github.com/ignite/cli/ignite/templates/typed" - "github.com/ignite/cli/ignite/templates/typed/dry" - "github.com/ignite/cli/ignite/templates/typed/list" - maptype "github.com/ignite/cli/ignite/templates/typed/map" - "github.com/ignite/cli/ignite/templates/typed/singleton" + "github.com/ignite/cli/v28/ignite/pkg/cache" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/templates/field" + "github.com/ignite/cli/v28/ignite/templates/field/datatype" + modulecreate "github.com/ignite/cli/v28/ignite/templates/module/create" + "github.com/ignite/cli/v28/ignite/templates/typed" + "github.com/ignite/cli/v28/ignite/templates/typed/dry" + "github.com/ignite/cli/v28/ignite/templates/typed/list" + maptype "github.com/ignite/cli/v28/ignite/templates/typed/map" + "github.com/ignite/cli/v28/ignite/templates/typed/singleton" ) // AddTypeOption configures options for AddType. diff --git a/ignite/services/scaffolder/type_test.go b/ignite/services/scaffolder/type_test.go index 0cdf3c50d9..6176f8fe49 100644 --- a/ignite/services/scaffolder/type_test.go +++ b/ignite/services/scaffolder/type_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/templates/field" - "github.com/ignite/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/templates/field" + "github.com/ignite/cli/v28/ignite/templates/field/datatype" ) func TestParseTypeFields(t *testing.T) { diff --git a/ignite/templates/app/app.go b/ignite/templates/app/app.go index fc64f9a4bd..be1955dd46 100644 --- a/ignite/templates/app/app.go +++ b/ignite/templates/app/app.go @@ -7,10 +7,10 @@ import ( "github.com/gobuffalo/genny/v2" "github.com/gobuffalo/plush/v4" - "github.com/ignite/cli/ignite/pkg/cosmosgen" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/v28/ignite/pkg/cosmosgen" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/templates/field/plushhelpers" ) //go:embed files/* files/**/* diff --git a/ignite/templates/app/proto.go b/ignite/templates/app/proto.go index 255d4c6377..ab0df00121 100644 --- a/ignite/templates/app/proto.go +++ b/ignite/templates/app/proto.go @@ -5,7 +5,7 @@ import ( "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" ) //go:embed files/proto/* files/buf.work.yaml diff --git a/ignite/templates/field/datatype/bool.go b/ignite/templates/field/datatype/bool.go index 29ec545aab..e281d4a456 100644 --- a/ignite/templates/field/datatype/bool.go +++ b/ignite/templates/field/datatype/bool.go @@ -5,8 +5,8 @@ import ( "github.com/emicklei/proto" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/protoanalysis/protoutil" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis/protoutil" ) // DataBool bool data type definition. diff --git a/ignite/templates/field/datatype/coin.go b/ignite/templates/field/datatype/coin.go index dba4270409..beee6e77bc 100644 --- a/ignite/templates/field/datatype/coin.go +++ b/ignite/templates/field/datatype/coin.go @@ -5,8 +5,8 @@ import ( "github.com/emicklei/proto" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/protoanalysis/protoutil" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis/protoutil" ) var ( diff --git a/ignite/templates/field/datatype/custom.go b/ignite/templates/field/datatype/custom.go index c5481549ae..486d285fb2 100644 --- a/ignite/templates/field/datatype/custom.go +++ b/ignite/templates/field/datatype/custom.go @@ -5,8 +5,8 @@ import ( "github.com/emicklei/proto" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/protoanalysis/protoutil" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis/protoutil" ) // DataCustom is a custom data type definition. diff --git a/ignite/templates/field/datatype/int.go b/ignite/templates/field/datatype/int.go index 2ef5e46975..5165ff0bfa 100644 --- a/ignite/templates/field/datatype/int.go +++ b/ignite/templates/field/datatype/int.go @@ -5,8 +5,8 @@ import ( "github.com/emicklei/proto" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/protoanalysis/protoutil" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis/protoutil" ) var ( diff --git a/ignite/templates/field/datatype/string.go b/ignite/templates/field/datatype/string.go index 3f8934133d..9568caaa72 100644 --- a/ignite/templates/field/datatype/string.go +++ b/ignite/templates/field/datatype/string.go @@ -5,8 +5,8 @@ import ( "github.com/emicklei/proto" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/protoanalysis/protoutil" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis/protoutil" ) var ( diff --git a/ignite/templates/field/datatype/types.go b/ignite/templates/field/datatype/types.go index 0eec98ce41..ee61f2806e 100644 --- a/ignite/templates/field/datatype/types.go +++ b/ignite/templates/field/datatype/types.go @@ -3,7 +3,7 @@ package datatype import ( "github.com/emicklei/proto" - "github.com/ignite/cli/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" ) const ( diff --git a/ignite/templates/field/datatype/types_test.go b/ignite/templates/field/datatype/types_test.go index a622941f81..112706f01c 100644 --- a/ignite/templates/field/datatype/types_test.go +++ b/ignite/templates/field/datatype/types_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/v28/ignite/templates/field/datatype" ) func TestIsSupportedType(t *testing.T) { diff --git a/ignite/templates/field/datatype/uint.go b/ignite/templates/field/datatype/uint.go index f952656061..6433a7878a 100644 --- a/ignite/templates/field/datatype/uint.go +++ b/ignite/templates/field/datatype/uint.go @@ -5,8 +5,8 @@ import ( "github.com/emicklei/proto" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/protoanalysis/protoutil" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis/protoutil" ) var ( diff --git a/ignite/templates/field/field.go b/ignite/templates/field/field.go index 62fdee9115..3407e6c193 100644 --- a/ignite/templates/field/field.go +++ b/ignite/templates/field/field.go @@ -6,8 +6,8 @@ import ( "github.com/emicklei/proto" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/templates/field/datatype" ) // Field represents a field inside a structure for a component diff --git a/ignite/templates/field/fields.go b/ignite/templates/field/fields.go index a87d465f8c..5d1db7e219 100644 --- a/ignite/templates/field/fields.go +++ b/ignite/templates/field/fields.go @@ -3,8 +3,8 @@ package field import ( "fmt" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/templates/field/datatype" ) // Fields represents a Field slice. diff --git a/ignite/templates/field/parse.go b/ignite/templates/field/parse.go index dede524030..2d1f81314a 100644 --- a/ignite/templates/field/parse.go +++ b/ignite/templates/field/parse.go @@ -3,9 +3,9 @@ package field import ( "strings" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/templates/field/datatype" ) // validateField validates the field Name and type, and checks the name is not forbidden by Ignite CLI. diff --git a/ignite/templates/field/parse_test.go b/ignite/templates/field/parse_test.go index 3f6eb094d8..0aca1d7c27 100644 --- a/ignite/templates/field/parse_test.go +++ b/ignite/templates/field/parse_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/templates/field/datatype" ) var ( diff --git a/ignite/templates/field/plushhelpers/plushhelpers.go b/ignite/templates/field/plushhelpers/plushhelpers.go index 90ed1b553e..487e3604e1 100644 --- a/ignite/templates/field/plushhelpers/plushhelpers.go +++ b/ignite/templates/field/plushhelpers/plushhelpers.go @@ -5,9 +5,9 @@ import ( "github.com/gobuffalo/plush/v4" - "github.com/ignite/cli/ignite/pkg/xstrings" - "github.com/ignite/cli/ignite/templates/field" - "github.com/ignite/cli/ignite/templates/field/datatype" + "github.com/ignite/cli/v28/ignite/pkg/xstrings" + "github.com/ignite/cli/v28/ignite/templates/field" + "github.com/ignite/cli/v28/ignite/templates/field/datatype" ) // ExtendPlushContext sets available field helpers on the provided context. diff --git a/ignite/templates/ibc/oracle.go b/ignite/templates/ibc/oracle.go index 25a031f1ee..1e88ebe1d3 100644 --- a/ignite/templates/ibc/oracle.go +++ b/ignite/templates/ibc/oracle.go @@ -9,13 +9,13 @@ import ( "github.com/gobuffalo/genny/v2" "github.com/gobuffalo/plush/v4" - "github.com/ignite/cli/ignite/pkg/gomodulepath" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/templates/field/plushhelpers" - "github.com/ignite/cli/ignite/templates/module" - "github.com/ignite/cli/ignite/templates/testutil" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/v28/ignite/templates/module" + "github.com/ignite/cli/v28/ignite/templates/testutil" ) //go:embed files/oracle/* files/oracle/**/* diff --git a/ignite/templates/ibc/packet.go b/ignite/templates/ibc/packet.go index 5b6aa93600..b7520cdcc7 100644 --- a/ignite/templates/ibc/packet.go +++ b/ignite/templates/ibc/packet.go @@ -10,17 +10,17 @@ import ( "github.com/gobuffalo/genny/v2" "github.com/gobuffalo/plush/v4" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/protoanalysis/protoutil" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/pkg/xstrings" - "github.com/ignite/cli/ignite/templates/field" - "github.com/ignite/cli/ignite/templates/field/plushhelpers" - "github.com/ignite/cli/ignite/templates/module" - "github.com/ignite/cli/ignite/templates/testutil" - "github.com/ignite/cli/ignite/templates/typed" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis/protoutil" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/pkg/xstrings" + "github.com/ignite/cli/v28/ignite/templates/field" + "github.com/ignite/cli/v28/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/v28/ignite/templates/module" + "github.com/ignite/cli/v28/ignite/templates/testutil" + "github.com/ignite/cli/v28/ignite/templates/typed" ) var ( diff --git a/ignite/templates/message/message.go b/ignite/templates/message/message.go index cc26969098..4706810996 100644 --- a/ignite/templates/message/message.go +++ b/ignite/templates/message/message.go @@ -11,13 +11,13 @@ import ( "github.com/gobuffalo/packd" "github.com/gobuffalo/plush/v4" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/protoanalysis/protoutil" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/templates/field/plushhelpers" - "github.com/ignite/cli/ignite/templates/testutil" - "github.com/ignite/cli/ignite/templates/typed" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis/protoutil" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/v28/ignite/templates/testutil" + "github.com/ignite/cli/v28/ignite/templates/typed" ) var ( diff --git a/ignite/templates/message/options.go b/ignite/templates/message/options.go index c5739e0368..9b8be72ae3 100644 --- a/ignite/templates/message/options.go +++ b/ignite/templates/message/options.go @@ -1,8 +1,8 @@ package message import ( - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/templates/field" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/templates/field" ) // Options ... diff --git a/ignite/templates/module/create/base.go b/ignite/templates/module/create/base.go index fa10754043..ba19e4b9da 100644 --- a/ignite/templates/module/create/base.go +++ b/ignite/templates/module/create/base.go @@ -8,12 +8,12 @@ import ( "github.com/gobuffalo/plush/v4" "github.com/iancoleman/strcase" - "github.com/ignite/cli/ignite/pkg/gomodulepath" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/pkg/xstrings" - "github.com/ignite/cli/ignite/templates/field/plushhelpers" - "github.com/ignite/cli/ignite/templates/module" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/pkg/xstrings" + "github.com/ignite/cli/v28/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/v28/ignite/templates/module" ) // NewGenerator returns the generator to scaffold a module inside an app. diff --git a/ignite/templates/module/create/ibc.go b/ignite/templates/module/create/ibc.go index 8b0c2a81e2..557b984c64 100644 --- a/ignite/templates/module/create/ibc.go +++ b/ignite/templates/module/create/ibc.go @@ -7,15 +7,15 @@ import ( "github.com/gobuffalo/genny/v2" "github.com/gobuffalo/plush/v4" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gomodulepath" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/protoanalysis/protoutil" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/pkg/xstrings" - "github.com/ignite/cli/ignite/templates/field/plushhelpers" - "github.com/ignite/cli/ignite/templates/module" - "github.com/ignite/cli/ignite/templates/typed" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis/protoutil" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/pkg/xstrings" + "github.com/ignite/cli/v28/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/v28/ignite/templates/module" + "github.com/ignite/cli/v28/ignite/templates/typed" ) // NewIBC returns the generator to scaffold the implementation of the IBCModule interface inside a module. diff --git a/ignite/templates/module/create/msgserver.go b/ignite/templates/module/create/msgserver.go index 630ca37dd9..706f11f514 100644 --- a/ignite/templates/module/create/msgserver.go +++ b/ignite/templates/module/create/msgserver.go @@ -7,11 +7,11 @@ import ( "github.com/gobuffalo/genny/v2" "github.com/gobuffalo/plush/v4" - "github.com/ignite/cli/ignite/pkg/gomodulepath" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/templates/field/plushhelpers" - "github.com/ignite/cli/ignite/templates/module" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/v28/ignite/templates/module" ) const msgServiceImport = `"github.com/cosmos/cosmos-sdk/types/msgservice"` diff --git a/ignite/templates/module/create/options.go b/ignite/templates/module/create/options.go index fc09404a0b..d74dbeab77 100644 --- a/ignite/templates/module/create/options.go +++ b/ignite/templates/module/create/options.go @@ -5,7 +5,7 @@ import ( "github.com/iancoleman/strcase" - "github.com/ignite/cli/ignite/templates/field" + "github.com/ignite/cli/v28/ignite/templates/field" ) type ( diff --git a/ignite/templates/module/module.go b/ignite/templates/module/module.go index c95616077f..f6b77618f8 100644 --- a/ignite/templates/module/module.go +++ b/ignite/templates/module/module.go @@ -4,7 +4,7 @@ import ( "regexp" "strings" - "github.com/ignite/cli/ignite/pkg/xstrings" + "github.com/ignite/cli/v28/ignite/pkg/xstrings" ) // ProtoPackageName creates a protocol buffer package name for an app module. diff --git a/ignite/templates/query/options.go b/ignite/templates/query/options.go index 29da94d95d..e18ba6e8c7 100644 --- a/ignite/templates/query/options.go +++ b/ignite/templates/query/options.go @@ -1,8 +1,8 @@ package query import ( - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/templates/field" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/templates/field" ) // Options ... diff --git a/ignite/templates/query/query.go b/ignite/templates/query/query.go index 4c5579d820..e673372de1 100644 --- a/ignite/templates/query/query.go +++ b/ignite/templates/query/query.go @@ -11,12 +11,12 @@ import ( "github.com/gobuffalo/packd" "github.com/gobuffalo/plush/v4" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gomodulepath" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/protoanalysis/protoutil" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis/protoutil" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/templates/field/plushhelpers" ) //go:embed files/* files/**/* diff --git a/ignite/templates/testutil/register.go b/ignite/templates/testutil/register.go index 1263880c69..28fc7ed2fc 100644 --- a/ignite/templates/testutil/register.go +++ b/ignite/templates/testutil/register.go @@ -5,7 +5,7 @@ import ( "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" ) //go:embed files/* files/**/* diff --git a/ignite/templates/typed/dry/dry.go b/ignite/templates/typed/dry/dry.go index a75a7fd5eb..57554ed9ec 100644 --- a/ignite/templates/typed/dry/dry.go +++ b/ignite/templates/typed/dry/dry.go @@ -5,8 +5,8 @@ import ( "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/templates/typed" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/templates/typed" ) //go:embed files/component/* files/component/**/* diff --git a/ignite/templates/typed/genesis.go b/ignite/templates/typed/genesis.go index 4b3cef8547..f58fa6cc39 100644 --- a/ignite/templates/typed/genesis.go +++ b/ignite/templates/typed/genesis.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" ) // ProtoGenesisStateMessage is the name of the proto message that represents the genesis state. diff --git a/ignite/templates/typed/list/genesis.go b/ignite/templates/typed/list/genesis.go index 6787d1388b..c6f06ff79d 100644 --- a/ignite/templates/typed/list/genesis.go +++ b/ignite/templates/typed/list/genesis.go @@ -6,11 +6,11 @@ import ( "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/protoanalysis/protoutil" - "github.com/ignite/cli/ignite/templates/module" - "github.com/ignite/cli/ignite/templates/typed" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis/protoutil" + "github.com/ignite/cli/v28/ignite/templates/module" + "github.com/ignite/cli/v28/ignite/templates/typed" ) func genesisModify(replacer placeholder.Replacer, opts *typed.Options, g *genny.Generator) { diff --git a/ignite/templates/typed/list/list.go b/ignite/templates/typed/list/list.go index 11c88e8009..8fb9729e5b 100644 --- a/ignite/templates/typed/list/list.go +++ b/ignite/templates/typed/list/list.go @@ -10,12 +10,12 @@ import ( "github.com/emicklei/proto" "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gomodulepath" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/protoanalysis/protoutil" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/templates/typed" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis/protoutil" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/templates/typed" ) var ( diff --git a/ignite/templates/typed/list/simulation.go b/ignite/templates/typed/list/simulation.go index d71c455214..3e285953ac 100644 --- a/ignite/templates/typed/list/simulation.go +++ b/ignite/templates/typed/list/simulation.go @@ -6,8 +6,8 @@ import ( "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/templates/typed" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/templates/typed" ) func moduleSimulationModify(replacer placeholder.Replacer, opts *typed.Options) genny.RunFn { diff --git a/ignite/templates/typed/map/map.go b/ignite/templates/typed/map/map.go index 9ea01b9a14..9f15900e75 100644 --- a/ignite/templates/typed/map/map.go +++ b/ignite/templates/typed/map/map.go @@ -9,14 +9,14 @@ import ( "github.com/emicklei/proto" "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gomodulepath" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/protoanalysis/protoutil" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/templates/field/datatype" - "github.com/ignite/cli/ignite/templates/module" - "github.com/ignite/cli/ignite/templates/typed" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis/protoutil" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/templates/field/datatype" + "github.com/ignite/cli/v28/ignite/templates/module" + "github.com/ignite/cli/v28/ignite/templates/typed" ) var ( diff --git a/ignite/templates/typed/map/simulation.go b/ignite/templates/typed/map/simulation.go index 2c41118d54..42e74aca04 100644 --- a/ignite/templates/typed/map/simulation.go +++ b/ignite/templates/typed/map/simulation.go @@ -6,8 +6,8 @@ import ( "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/templates/typed" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/templates/typed" ) func moduleSimulationModify(replacer placeholder.Replacer, opts *typed.Options) genny.RunFn { diff --git a/ignite/templates/typed/options.go b/ignite/templates/typed/options.go index 25f1002577..5c6bc7ed1c 100644 --- a/ignite/templates/typed/options.go +++ b/ignite/templates/typed/options.go @@ -6,9 +6,9 @@ import ( "github.com/emicklei/proto" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/protoanalysis/protoutil" - "github.com/ignite/cli/ignite/templates/field" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis/protoutil" + "github.com/ignite/cli/v28/ignite/templates/field" ) // Options ... diff --git a/ignite/templates/typed/simapp.go b/ignite/templates/typed/simapp.go index 26db4a796d..cddba5358c 100644 --- a/ignite/templates/typed/simapp.go +++ b/ignite/templates/typed/simapp.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/ignite/cli/ignite/pkg/multiformatname" - "github.com/ignite/cli/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/multiformatname" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" ) func ModuleSimulationMsgModify( diff --git a/ignite/templates/typed/singleton/simulation.go b/ignite/templates/typed/singleton/simulation.go index 714de80366..e8499899cf 100644 --- a/ignite/templates/typed/singleton/simulation.go +++ b/ignite/templates/typed/singleton/simulation.go @@ -5,8 +5,8 @@ import ( "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/templates/typed" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/templates/typed" ) func moduleSimulationModify(replacer placeholder.Replacer, opts *typed.Options) genny.RunFn { diff --git a/ignite/templates/typed/singleton/singleton.go b/ignite/templates/typed/singleton/singleton.go index dcbcd9b729..70e60cbd81 100644 --- a/ignite/templates/typed/singleton/singleton.go +++ b/ignite/templates/typed/singleton/singleton.go @@ -10,13 +10,13 @@ import ( "github.com/emicklei/proto" "github.com/gobuffalo/genny/v2" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gomodulepath" - "github.com/ignite/cli/ignite/pkg/placeholder" - "github.com/ignite/cli/ignite/pkg/protoanalysis/protoutil" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/templates/module" - "github.com/ignite/cli/ignite/templates/typed" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/pkg/placeholder" + "github.com/ignite/cli/v28/ignite/pkg/protoanalysis/protoutil" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/templates/module" + "github.com/ignite/cli/v28/ignite/templates/typed" ) var ( diff --git a/ignite/templates/typed/typed.go b/ignite/templates/typed/typed.go index d750f64f68..d6ae6779df 100644 --- a/ignite/templates/typed/typed.go +++ b/ignite/templates/typed/typed.go @@ -5,11 +5,11 @@ import ( "github.com/gobuffalo/packd" "github.com/gobuffalo/plush/v4" - "github.com/ignite/cli/ignite/pkg/gomodulepath" - "github.com/ignite/cli/ignite/pkg/xgenny" - "github.com/ignite/cli/ignite/templates/field/plushhelpers" - "github.com/ignite/cli/ignite/templates/module" - "github.com/ignite/cli/ignite/templates/testutil" + "github.com/ignite/cli/v28/ignite/pkg/gomodulepath" + "github.com/ignite/cli/v28/ignite/pkg/xgenny" + "github.com/ignite/cli/v28/ignite/templates/field/plushhelpers" + "github.com/ignite/cli/v28/ignite/templates/module" + "github.com/ignite/cli/v28/ignite/templates/testutil" ) func Box(box packd.Walker, opts *Options, g *genny.Generator) error { diff --git a/ignite/version/version.go b/ignite/version/version.go index 659d0200d4..6f177c3635 100644 --- a/ignite/version/version.go +++ b/ignite/version/version.go @@ -13,13 +13,13 @@ import ( "github.com/blang/semver/v4" "github.com/google/go-github/v48/github" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/pkg/cmdrunner/exec" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/cosmosver" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gitpod" - "github.com/ignite/cli/ignite/pkg/xexec" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/exec" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/cosmosver" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gitpod" + "github.com/ignite/cli/v28/ignite/pkg/xexec" ) const ( diff --git a/integration/account/cmd_account_test.go b/integration/account/cmd_account_test.go index 0ec564ef1b..c72ef8235d 100644 --- a/integration/account/cmd_account_test.go +++ b/integration/account/cmd_account_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/randstr" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/randstr" + envtest "github.com/ignite/cli/v28/integration" ) const testAccountMnemonic = "develop mansion drum glow husband trophy labor jelly fault run pause inside jazz foil page injury foam oppose fruit chunk segment morning series nation" diff --git a/integration/app.go b/integration/app.go index 5a05b60944..29aceb8dbd 100644 --- a/integration/app.go +++ b/integration/app.go @@ -11,13 +11,13 @@ import ( "github.com/stretchr/testify/require" "gopkg.in/yaml.v2" - chainconfig "github.com/ignite/cli/ignite/config/chain" - v1 "github.com/ignite/cli/ignite/config/chain/v1" - "github.com/ignite/cli/ignite/pkg/availableport" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/gocmd" - "github.com/ignite/cli/ignite/pkg/goenv" - "github.com/ignite/cli/ignite/pkg/xurl" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + v1 "github.com/ignite/cli/v28/ignite/config/chain/v1" + "github.com/ignite/cli/v28/ignite/pkg/availableport" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/gocmd" + "github.com/ignite/cli/v28/ignite/pkg/goenv" + "github.com/ignite/cli/v28/ignite/pkg/xurl" ) const ServeTimeout = time.Minute * 15 diff --git a/integration/app/cmd_app_test.go b/integration/app/cmd_app_test.go index e37082c86e..f6d8b5079a 100644 --- a/integration/app/cmd_app_test.go +++ b/integration/app/cmd_app_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/v28/integration" ) func TestGenerateAnApp(t *testing.T) { diff --git a/integration/chain/cache_test.go b/integration/chain/cache_test.go index a6edaf1758..d0f59257d0 100644 --- a/integration/chain/cache_test.go +++ b/integration/chain/cache_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/v28/integration" ) func TestCliWithCaching(t *testing.T) { diff --git a/integration/chain/cmd_serve_test.go b/integration/chain/cmd_serve_test.go index 3638b98804..0c818e691c 100644 --- a/integration/chain/cmd_serve_test.go +++ b/integration/chain/cmd_serve_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/xos" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/xos" + envtest "github.com/ignite/cli/v28/integration" ) func TestServeWithWasm(t *testing.T) { diff --git a/integration/chain/config_test.go b/integration/chain/config_test.go index 11cd1b578d..20d50446ed 100644 --- a/integration/chain/config_test.go +++ b/integration/chain/config_test.go @@ -10,10 +10,10 @@ import ( "github.com/stretchr/testify/require" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/pkg/confile" - "github.com/ignite/cli/ignite/pkg/randstr" - envtest "github.com/ignite/cli/integration" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/pkg/confile" + "github.com/ignite/cli/v28/ignite/pkg/randstr" + envtest "github.com/ignite/cli/v28/integration" ) func TestOverwriteSDKConfigsAndChainID(t *testing.T) { diff --git a/integration/client.go b/integration/client.go index 7ed43a645b..9e075f2158 100644 --- a/integration/client.go +++ b/integration/client.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/require" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/pkg/cmdrunner" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" ) type clientOptions struct { diff --git a/integration/cosmosgen/bank_module_test.go b/integration/cosmosgen/bank_module_test.go index cad5ef8fcc..61ebe1ebcd 100644 --- a/integration/cosmosgen/bank_module_test.go +++ b/integration/cosmosgen/bank_module_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/require" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/config/chain/base" - "github.com/ignite/cli/ignite/pkg/xurl" - envtest "github.com/ignite/cli/integration" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/config/chain/base" + "github.com/ignite/cli/v28/ignite/pkg/xurl" + envtest "github.com/ignite/cli/v28/integration" ) func TestBankModule(t *testing.T) { diff --git a/integration/cosmosgen/cosmosgen_composables_test.go b/integration/cosmosgen/cosmosgen_composables_test.go index 4c0bab13f0..0c65326fae 100644 --- a/integration/cosmosgen/cosmosgen_composables_test.go +++ b/integration/cosmosgen/cosmosgen_composables_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/v28/integration" ) func TestCosmosGenScaffoldComposables(t *testing.T) { diff --git a/integration/cosmosgen/cosmosgen_hooks_test.go b/integration/cosmosgen/cosmosgen_hooks_test.go index ab6fe7877b..10b96fc588 100644 --- a/integration/cosmosgen/cosmosgen_hooks_test.go +++ b/integration/cosmosgen/cosmosgen_hooks_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/v28/integration" ) func TestCosmosGenScaffoldHooks(t *testing.T) { diff --git a/integration/cosmosgen/cosmosgen_test.go b/integration/cosmosgen/cosmosgen_test.go index 6194194dae..1be472f62f 100644 --- a/integration/cosmosgen/cosmosgen_test.go +++ b/integration/cosmosgen/cosmosgen_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/v28/integration" ) func TestCosmosGenScaffold(t *testing.T) { diff --git a/integration/cosmosgen/custom_module_test.go b/integration/cosmosgen/custom_module_test.go index 7c7fe996f3..50ac36d6c1 100644 --- a/integration/cosmosgen/custom_module_test.go +++ b/integration/cosmosgen/custom_module_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/require" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/config/chain/base" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/xurl" - envtest "github.com/ignite/cli/integration" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/config/chain/base" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/xurl" + envtest "github.com/ignite/cli/v28/integration" ) func TestCustomModule(t *testing.T) { diff --git a/integration/doctor/doctor_test.go b/integration/doctor/doctor_test.go index aa6368c284..1a6ac31708 100644 --- a/integration/doctor/doctor_test.go +++ b/integration/doctor/doctor_test.go @@ -7,9 +7,9 @@ import ( "github.com/rogpeppe/go-internal/gotooltest" "github.com/rogpeppe/go-internal/testscript" - "github.com/ignite/cli/ignite/config" - "github.com/ignite/cli/ignite/pkg/xfilepath" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/config" + "github.com/ignite/cli/v28/ignite/pkg/xfilepath" + envtest "github.com/ignite/cli/v28/integration" ) func TestDoctor(t *testing.T) { diff --git a/integration/env.go b/integration/env.go index d7f74c2b05..ef2cc5ae56 100644 --- a/integration/env.go +++ b/integration/env.go @@ -15,12 +15,12 @@ import ( "github.com/cenkalti/backoff" "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cosmosfaucet" - "github.com/ignite/cli/ignite/pkg/env" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/gocmd" - "github.com/ignite/cli/ignite/pkg/httpstatuschecker" - "github.com/ignite/cli/ignite/pkg/xurl" + "github.com/ignite/cli/v28/ignite/pkg/cosmosfaucet" + "github.com/ignite/cli/v28/ignite/pkg/env" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/gocmd" + "github.com/ignite/cli/v28/ignite/pkg/httpstatuschecker" + "github.com/ignite/cli/v28/ignite/pkg/xurl" ) const ( @@ -70,7 +70,7 @@ func compileBinary(ctx context.Context) { if err != nil { panic(fmt.Sprintf("unable to get working dir: %v", err)) } - pkgs, err := gocmd.List(ctx, wd, []string{"-m", "-f={{.Dir}}", "github.com/ignite/cli"}) + pkgs, err := gocmd.List(ctx, wd, []string{"-m", "-f={{.Dir}}", "github.com/ignite/cli/v28"}) if err != nil { panic(fmt.Sprintf("unable to list ignite cli package: %v", err)) } diff --git a/integration/exec.go b/integration/exec.go index 603363954d..87e441cfde 100644 --- a/integration/exec.go +++ b/integration/exec.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/ignite/cli/ignite/pkg/cmdrunner" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/errors" ) type execOptions struct { diff --git a/integration/faucet/faucet_test.go b/integration/faucet/faucet_test.go index 0896680f56..75202880ac 100644 --- a/integration/faucet/faucet_test.go +++ b/integration/faucet/faucet_test.go @@ -13,11 +13,11 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/sync/errgroup" - "github.com/ignite/cli/ignite/pkg/cosmosclient" - "github.com/ignite/cli/ignite/pkg/cosmosfaucet" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/xurl" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" + "github.com/ignite/cli/v28/ignite/pkg/cosmosfaucet" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/xurl" + envtest "github.com/ignite/cli/v28/integration" ) const ( diff --git a/integration/ibc/cmd_ibc_test.go b/integration/ibc/cmd_ibc_test.go index dfe76f62b4..e9c65d33b4 100644 --- a/integration/ibc/cmd_ibc_test.go +++ b/integration/ibc/cmd_ibc_test.go @@ -5,8 +5,8 @@ package ibc_test import ( "testing" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/v28/integration" ) func TestCreateModuleWithIBC(t *testing.T) { diff --git a/integration/list/cmd_list_test.go b/integration/list/cmd_list_test.go index 96e18b50d3..b6368588f0 100644 --- a/integration/list/cmd_list_test.go +++ b/integration/list/cmd_list_test.go @@ -5,8 +5,8 @@ package list_test import ( "testing" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/v28/integration" ) func TestGenerateAnAppWithListAndVerify(t *testing.T) { diff --git a/integration/map/cmd_map_test.go b/integration/map/cmd_map_test.go index 88533b09d7..8069e06396 100644 --- a/integration/map/cmd_map_test.go +++ b/integration/map/cmd_map_test.go @@ -6,8 +6,8 @@ import ( "path/filepath" "testing" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/v28/integration" ) func TestCreateMap(t *testing.T) { diff --git a/integration/network/network_test.go b/integration/network/network_test.go index 092ddd13fb..6e496c9075 100644 --- a/integration/network/network_test.go +++ b/integration/network/network_test.go @@ -14,12 +14,12 @@ import ( "github.com/go-git/go-git/v5/plumbing" "github.com/stretchr/testify/require" - ignitecmd "github.com/ignite/cli/ignite/cmd" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/gomodule" - "github.com/ignite/cli/ignite/pkg/xgit" - envtest "github.com/ignite/cli/integration" + ignitecmd "github.com/ignite/cli/v28/ignite/cmd" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/gomodule" + "github.com/ignite/cli/v28/ignite/pkg/xgit" + envtest "github.com/ignite/cli/v28/integration" ) const ( diff --git a/integration/node/cmd_query_bank_test.go b/integration/node/cmd_query_bank_test.go index 36f164fe07..af4ddfbeb7 100644 --- a/integration/node/cmd_query_bank_test.go +++ b/integration/node/cmd_query_bank_test.go @@ -12,16 +12,16 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/config/chain/base" - "github.com/ignite/cli/ignite/pkg/cliui/entrywriter" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" - "github.com/ignite/cli/ignite/pkg/cosmosclient" - "github.com/ignite/cli/ignite/pkg/randstr" - "github.com/ignite/cli/ignite/pkg/xurl" - xyaml "github.com/ignite/cli/ignite/pkg/yaml" - envtest "github.com/ignite/cli/integration" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/config/chain/base" + "github.com/ignite/cli/v28/ignite/pkg/cliui/entrywriter" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" + "github.com/ignite/cli/v28/ignite/pkg/randstr" + "github.com/ignite/cli/v28/ignite/pkg/xurl" + xyaml "github.com/ignite/cli/v28/ignite/pkg/yaml" + envtest "github.com/ignite/cli/v28/integration" ) const ( diff --git a/integration/node/cmd_query_tx_test.go b/integration/node/cmd_query_tx_test.go index 2f48bac772..3407c35ee9 100644 --- a/integration/node/cmd_query_tx_test.go +++ b/integration/node/cmd_query_tx_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/cosmosclient" - "github.com/ignite/cli/ignite/pkg/randstr" - "github.com/ignite/cli/ignite/pkg/xurl" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" + "github.com/ignite/cli/v28/ignite/pkg/randstr" + "github.com/ignite/cli/v28/ignite/pkg/xurl" + envtest "github.com/ignite/cli/v28/integration" ) func TestNodeQueryTx(t *testing.T) { diff --git a/integration/node/cmd_tx_bank_send_test.go b/integration/node/cmd_tx_bank_send_test.go index ce1393d725..442c8e9ec7 100644 --- a/integration/node/cmd_tx_bank_send_test.go +++ b/integration/node/cmd_tx_bank_send_test.go @@ -11,15 +11,15 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/stretchr/testify/require" - chainconfig "github.com/ignite/cli/ignite/config/chain" - "github.com/ignite/cli/ignite/config/chain/base" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/cosmosaccount" - "github.com/ignite/cli/ignite/pkg/cosmosclient" - "github.com/ignite/cli/ignite/pkg/randstr" - "github.com/ignite/cli/ignite/pkg/xurl" - xyaml "github.com/ignite/cli/ignite/pkg/yaml" - envtest "github.com/ignite/cli/integration" + chainconfig "github.com/ignite/cli/v28/ignite/config/chain" + "github.com/ignite/cli/v28/ignite/config/chain/base" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/cosmosaccount" + "github.com/ignite/cli/v28/ignite/pkg/cosmosclient" + "github.com/ignite/cli/v28/ignite/pkg/randstr" + "github.com/ignite/cli/v28/ignite/pkg/xurl" + xyaml "github.com/ignite/cli/v28/ignite/pkg/yaml" + envtest "github.com/ignite/cli/v28/integration" ) func waitForNextBlock(env envtest.Env, client cosmosclient.Client) { diff --git a/integration/other_components/cmd_message_test.go b/integration/other_components/cmd_message_test.go index 0d04e86b4f..7a69b5f33c 100644 --- a/integration/other_components/cmd_message_test.go +++ b/integration/other_components/cmd_message_test.go @@ -5,8 +5,8 @@ package other_components_test import ( "testing" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/v28/integration" ) func TestGenerateAnAppWithMessage(t *testing.T) { diff --git a/integration/other_components/cmd_query_test.go b/integration/other_components/cmd_query_test.go index 94ec3dc46d..5a8269e7dc 100644 --- a/integration/other_components/cmd_query_test.go +++ b/integration/other_components/cmd_query_test.go @@ -5,8 +5,8 @@ package other_components_test import ( "testing" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/v28/integration" ) func TestGenerateAnAppWithQuery(t *testing.T) { diff --git a/integration/plugin/plugin_test.go b/integration/plugin/plugin_test.go index 9f0fe6268e..bb8dc7ed70 100644 --- a/integration/plugin/plugin_test.go +++ b/integration/plugin/plugin_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - pluginsconfig "github.com/ignite/cli/ignite/config/plugins" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/services/plugin" - envtest "github.com/ignite/cli/integration" + pluginsconfig "github.com/ignite/cli/v28/ignite/config/plugins" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/services/plugin" + envtest "github.com/ignite/cli/v28/integration" ) func TestAddRemovePlugin(t *testing.T) { diff --git a/integration/plugin/testdata/example-plugin/go.mod b/integration/plugin/testdata/example-plugin/go.mod index ef14d27a04..6a0234f90f 100644 --- a/integration/plugin/testdata/example-plugin/go.mod +++ b/integration/plugin/testdata/example-plugin/go.mod @@ -6,7 +6,7 @@ toolchain go1.21.4 require ( github.com/hashicorp/go-plugin v1.5.2 - github.com/ignite/cli v0.27.1 + github.com/ignite/cli/v28 v28.0.0 ) require ( @@ -18,9 +18,12 @@ require ( github.com/aymerick/douceur v0.2.0 // indirect github.com/charmbracelet/lipgloss v0.6.0 // indirect github.com/cloudflare/circl v1.3.3 // indirect +<<<<<<< HEAD github.com/cockroachdb/errors v1.11.1 // indirect github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect github.com/cockroachdb/redact v1.1.5 // indirect +======= +>>>>>>> origin/main github.com/cyphar/filepath-securejoin v0.2.4 // indirect github.com/emirpasic/gods v1.18.1 // indirect github.com/fatih/color v1.15.0 // indirect @@ -39,7 +42,10 @@ require ( github.com/gobuffalo/tags/v3 v3.1.4 // indirect github.com/gobuffalo/validate/v3 v3.3.3 // indirect github.com/gofrs/uuid v4.4.0+incompatible // indirect +<<<<<<< HEAD github.com/gogo/protobuf v1.3.2 // indirect +======= +>>>>>>> origin/main github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect github.com/gorilla/css v1.0.0 // indirect @@ -48,8 +54,11 @@ require ( github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect +<<<<<<< HEAD github.com/kr/pretty v0.3.1 // indirect github.com/kr/text v0.2.0 // indirect +======= +>>>>>>> origin/main github.com/lucasb-eyer/go-colorful v1.2.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect @@ -88,4 +97,4 @@ require ( gopkg.in/yaml.v2 v2.4.0 // indirect ) -replace github.com/ignite/cli => ../../../../ +replace github.com/ignite/cli/v28 => ../../../../ diff --git a/integration/plugin/testdata/example-plugin/main.go b/integration/plugin/testdata/example-plugin/main.go index 4a8b177bf4..2e3c5dee03 100644 --- a/integration/plugin/testdata/example-plugin/main.go +++ b/integration/plugin/testdata/example-plugin/main.go @@ -6,7 +6,7 @@ import ( hplugin "github.com/hashicorp/go-plugin" - "github.com/ignite/cli/ignite/services/plugin" + "github.com/ignite/cli/v28/ignite/services/plugin" ) type p struct{} diff --git a/integration/simulation/simapp_test.go b/integration/simulation/simapp_test.go index 1718cbe59f..84d0b75c49 100644 --- a/integration/simulation/simapp_test.go +++ b/integration/simulation/simapp_test.go @@ -5,8 +5,8 @@ package simulation_test import ( "testing" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/v28/integration" ) func TestGenerateAnAppAndSimulate(t *testing.T) { diff --git a/integration/single/cmd_singleton_test.go b/integration/single/cmd_singleton_test.go index 38d9891701..8b1f9eaf66 100644 --- a/integration/single/cmd_singleton_test.go +++ b/integration/single/cmd_singleton_test.go @@ -5,8 +5,8 @@ package single_test import ( "testing" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + envtest "github.com/ignite/cli/v28/integration" ) func TestCreateSingleton(t *testing.T) { diff --git a/integration/tx/tx_test.go b/integration/tx/tx_test.go index c25ea8af6d..9de4e7e6f5 100644 --- a/integration/tx/tx_test.go +++ b/integration/tx/tx_test.go @@ -13,12 +13,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/ignite/cli/ignite/pkg/cmdrunner" - "github.com/ignite/cli/ignite/pkg/cmdrunner/step" - "github.com/ignite/cli/ignite/pkg/errors" - "github.com/ignite/cli/ignite/pkg/randstr" - "github.com/ignite/cli/ignite/pkg/xurl" - envtest "github.com/ignite/cli/integration" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner" + "github.com/ignite/cli/v28/ignite/pkg/cmdrunner/step" + "github.com/ignite/cli/v28/ignite/pkg/errors" + "github.com/ignite/cli/v28/ignite/pkg/randstr" + "github.com/ignite/cli/v28/ignite/pkg/xurl" + envtest "github.com/ignite/cli/v28/integration" ) func TestSignTxWithDashedAppName(t *testing.T) { diff --git a/proto/ignite/services/plugin/grpc/v1/client_api.proto b/proto/ignite/services/plugin/grpc/v1/client_api.proto index d7b76c7bc0..8be0b43b18 100644 --- a/proto/ignite/services/plugin/grpc/v1/client_api.proto +++ b/proto/ignite/services/plugin/grpc/v1/client_api.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package ignite.services.plugin.grpc.v1; -option go_package = "github.com/ignite/cli/ignite/services/plugin/grpc/v1"; +option go_package = "github.com/ignite/cli/v28/ignite/services/plugin/grpc/v1"; message ChainInfo { string chain_id = 1; diff --git a/proto/ignite/services/plugin/grpc/v1/interface.proto b/proto/ignite/services/plugin/grpc/v1/interface.proto index 5dcaef4209..ed1b9bae71 100644 --- a/proto/ignite/services/plugin/grpc/v1/interface.proto +++ b/proto/ignite/services/plugin/grpc/v1/interface.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package ignite.services.plugin.grpc.v1; -option go_package = "github.com/ignite/cli/ignite/services/plugin/grpc/v1"; +option go_package = "github.com/ignite/cli/v28/ignite/services/plugin/grpc/v1"; // ExecutedCommand represents a plugin command under execution. message ExecutedCommand { diff --git a/proto/ignite/services/plugin/grpc/v1/service.proto b/proto/ignite/services/plugin/grpc/v1/service.proto index e35d89f2f5..b6da18a47c 100644 --- a/proto/ignite/services/plugin/grpc/v1/service.proto +++ b/proto/ignite/services/plugin/grpc/v1/service.proto @@ -5,7 +5,7 @@ package ignite.services.plugin.grpc.v1; import "ignite/services/plugin/grpc/v1/client_api.proto"; import "ignite/services/plugin/grpc/v1/interface.proto"; -option go_package = "github.com/ignite/cli/ignite/services/plugin/grpc/v1"; +option go_package = "github.com/ignite/cli/v28/ignite/services/plugin/grpc/v1"; // InterfaceService defines the interface that must be implemented by all plugins. service InterfaceService { diff --git a/scripts/test-coverage b/scripts/test-coverage index c0775c667e..5f23095cd0 100755 --- a/scripts/test-coverage +++ b/scripts/test-coverage @@ -1,7 +1,7 @@ #!/bin/bash set -e -x -go test -v -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... $(go list github.com/ignite/cli/ignite/...) +go test -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... $(go list github.com/ignite/cli/v28/ignite/...) # append "||true" to grep so if no match the return code stays 0 excludelist="$(find ./ -type f -name '*.go' | xargs grep -l 'DONTCOVER' || true)" diff --git a/scripts/test-integration b/scripts/test-integration index 21aace2417..f2a96dd338 100755 --- a/scripts/test-integration +++ b/scripts/test-integration @@ -1,3 +1,3 @@ #!/bin/bash -go test -v -timeout 120m github.com/ignite/cli/integration/... +go test -v -timeout 120m github.com/ignite/cli/v28/integration/... diff --git a/scripts/test-unit b/scripts/test-unit index eba3a8c2a4..d701f88b88 100755 --- a/scripts/test-unit +++ b/scripts/test-unit @@ -1,3 +1,3 @@ #!/bin/bash -go test -v github.com/ignite/cli/ignite/... +go test -v github.com/ignite/cli/v28/ignite/...