Skip to content

Commit 8e0937d

Browse files
authored
feat: remove protoc pkg and also nodetime helpers ts-proto and sta (#4090)
* remove protoc * add changelog * run go mod tidy * remove unused proto folder handling * add ts-client tests * remove unused methods * use import includes instead manual * use buf dep instead buf mod * change buf mod update to comand to buf dep update * improve code readbility * bump buf.build * bump buf into the go.mod * bump protobuf pkgs for buf * check if the folder has proto before update buf dependencies --------- Co-authored-by: Pantani <Pantani>
1 parent 1ee2658 commit 8e0937d

File tree

30 files changed

+428
-961
lines changed

30 files changed

+428
-961
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
scripts/**/nodetime-*
22
**/testdata/**/go.sum
3+
**/testdata/go.sum
34
dist/
45
node_modules
56
.DS_Store

changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
- [#4071](https://github.com/ignite/cli/pull/4071) Support custom proto path
1515
- [#3718](https://github.com/ignite/cli/pull/3718) Add `gen-mig-diffs` tool app to compare scaffold output of two versions of ignite
1616
- [#4077](https://github.com/ignite/cli/pull/4077) Merge the swagger files manually instead use nodetime `swagger-combine`
17+
- [#4090](https://github.com/ignite/cli/pull/4090) Remove `protoc` pkg and also nodetime helpers `ts-proto` and `sta`
1718
- [#4100](https://github.com/ignite/cli/pull/4100) Set the `proto-dir` flag only for the `scaffold chain` command and use the proto path from the config
1819
- [#4111](https://github.com/ignite/cli/pull/4111) Remove vuex generation
1920
- [#4133](https://github.com/ignite/cli/pull/4133) Improve buf rate limit

go.mod

+27-26
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ require (
2121
github.com/DATA-DOG/go-sqlmock v1.5.2
2222
github.com/blang/semver/v4 v4.0.0
2323
github.com/briandowns/spinner v1.23.0
24-
github.com/bufbuild/buf v1.30.1
24+
github.com/bufbuild/buf v1.32.1
2525
github.com/buger/jsonparser v1.1.1
2626
github.com/cenkalti/backoff v2.2.1+incompatible
2727
github.com/charmbracelet/bubbles v0.7.6
@@ -51,8 +51,6 @@ require (
5151
github.com/hashicorp/go-hclog v1.6.3
5252
github.com/hashicorp/go-plugin v1.6.0
5353
github.com/iancoleman/strcase v0.3.0
54-
github.com/ignite/ignite-files/nodetime v0.0.4
55-
github.com/ignite/ignite-files/protoc v0.0.1
5654
github.com/ignite/web v0.6.1
5755
github.com/imdario/mergo v0.3.13
5856
github.com/jpillora/chisel v1.9.1
@@ -66,7 +64,7 @@ require (
6664
github.com/pelletier/go-toml v1.9.5
6765
github.com/radovskyb/watcher v1.0.7
6866
github.com/rogpeppe/go-internal v1.12.0
69-
github.com/rs/cors v1.10.1
67+
github.com/rs/cors v1.11.0
7068
github.com/spf13/cobra v1.8.0
7169
github.com/spf13/pflag v1.0.5
7270
github.com/stretchr/testify v1.9.0
@@ -75,12 +73,12 @@ require (
7573
go.etcd.io/bbolt v1.3.9
7674
golang.org/x/mod v0.17.0
7775
golang.org/x/sync v0.7.0
78-
golang.org/x/term v0.19.0
79-
golang.org/x/text v0.14.0
80-
golang.org/x/tools v0.20.0
76+
golang.org/x/term v0.20.0
77+
golang.org/x/text v0.15.0
78+
golang.org/x/tools v0.21.0
8179
golang.org/x/vuln v1.0.4
82-
google.golang.org/grpc v1.63.2
83-
google.golang.org/protobuf v1.33.0
80+
google.golang.org/grpc v1.64.0
81+
google.golang.org/protobuf v1.34.1
8482
gopkg.in/yaml.v3 v3.0.1
8583
mvdan.cc/gofumpt v0.6.0
8684
sigs.k8s.io/yaml v1.4.0
@@ -89,8 +87,10 @@ require (
8987
require (
9088
4d63.com/gocheckcompilerdirectives v1.2.1 // indirect
9189
4d63.com/gochecknoglobals v0.2.1 // indirect
92-
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.33.0-20240221180331-f05a6f4403ce.1 // indirect
93-
connectrpc.com/connect v1.16.0 // indirect
90+
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.1-20240508200655-46a4cf4ba109.1 // indirect
91+
buf.build/gen/go/bufbuild/registry/connectrpc/go v1.16.1-20240514010100-299bd9c9a0c4.1 // indirect
92+
buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.34.1-20240514010100-299bd9c9a0c4.1 // indirect
93+
connectrpc.com/connect v1.16.1 // indirect
9494
connectrpc.com/otelconnect v0.7.0 // indirect
9595
cosmossdk.io/api v0.7.4 // indirect
9696
cosmossdk.io/collections v0.4.0 // indirect
@@ -142,15 +142,16 @@ require (
142142
github.com/breml/errchkjson v0.3.6 // indirect
143143
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
144144
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2 // indirect
145-
github.com/bufbuild/protocompile v0.9.0 // indirect
146-
github.com/bufbuild/protovalidate-go v0.6.0 // indirect
147-
github.com/bufbuild/protoyaml-go v0.1.8 // indirect
145+
github.com/bufbuild/protocompile v0.13.1-0.20240510201809-752249dfc37f // indirect
146+
github.com/bufbuild/protoplugin v0.0.0-20240323223605-e2735f6c31ee // indirect
147+
github.com/bufbuild/protovalidate-go v0.6.2 // indirect
148+
github.com/bufbuild/protoyaml-go v0.1.9 // indirect
148149
github.com/butuzov/ireturn v0.3.0 // indirect
149150
github.com/butuzov/mirror v1.1.0 // indirect
150151
github.com/calmh/randomart v1.1.0 // indirect
151152
github.com/catenacyber/perfsprint v0.7.1 // indirect
152153
github.com/ccojocar/zxcvbn-go v1.0.2 // indirect
153-
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
154+
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
154155
github.com/cespare/xxhash v1.1.0 // indirect
155156
github.com/cespare/xxhash/v2 v2.3.0 // indirect
156157
github.com/charithe/durationcheck v0.0.10 // indirect
@@ -196,9 +197,9 @@ require (
196197
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
197198
github.com/distribution/reference v0.6.0 // indirect
198199
github.com/dlclark/regexp2 v1.2.0 // indirect
199-
github.com/docker/cli v26.0.0+incompatible // indirect
200+
github.com/docker/cli v26.1.2+incompatible // indirect
200201
github.com/docker/distribution v2.8.3+incompatible // indirect
201-
github.com/docker/docker v26.0.2+incompatible // indirect
202+
github.com/docker/docker v26.1.2+incompatible // indirect
202203
github.com/docker/docker-credential-helpers v0.8.1 // indirect
203204
github.com/docker/go-connections v0.5.0 // indirect
204205
github.com/docker/go-units v0.5.0 // indirect
@@ -250,7 +251,7 @@ require (
250251
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
251252
github.com/gofrs/flock v0.8.1 // indirect
252253
github.com/gofrs/uuid v4.4.0+incompatible // indirect
253-
github.com/gofrs/uuid/v5 v5.0.0 // indirect
254+
github.com/gofrs/uuid/v5 v5.2.0 // indirect
254255
github.com/gogo/googleapis v1.4.1 // indirect
255256
github.com/gogo/protobuf v1.3.2 // indirect
256257
github.com/golang-jwt/jwt/v4 v4.1.0 // indirect
@@ -270,7 +271,7 @@ require (
270271
github.com/google/go-containerregistry v0.19.1 // indirect
271272
github.com/google/go-dap v0.11.0 // indirect
272273
github.com/google/go-querystring v1.1.0 // indirect
273-
github.com/google/pprof v0.0.0-20240327155427-868f304927ed // indirect
274+
github.com/google/pprof v0.0.0-20240509144519-723abb6459b7 // indirect
274275
github.com/google/uuid v1.6.0 // indirect
275276
github.com/gordonklaus/ineffassign v0.1.0 // indirect
276277
github.com/gorilla/css v1.0.0 // indirect
@@ -315,7 +316,7 @@ require (
315316
github.com/kevinburke/ssh_config v1.2.0 // indirect
316317
github.com/kisielk/errcheck v1.7.0 // indirect
317318
github.com/kkHAIKE/contextcheck v1.1.5 // indirect
318-
github.com/klauspost/compress v1.17.7 // indirect
319+
github.com/klauspost/compress v1.17.8 // indirect
319320
github.com/klauspost/pgzip v1.2.6 // indirect
320321
github.com/kr/pretty v0.3.1 // indirect
321322
github.com/kr/text v0.2.0 // indirect
@@ -463,15 +464,15 @@ require (
463464
go.uber.org/multierr v1.11.0 // indirect
464465
go.uber.org/zap v1.27.0 // indirect
465466
golang.org/x/arch v0.6.0 // indirect
466-
golang.org/x/crypto v0.22.0 // indirect
467-
golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0 // indirect
467+
golang.org/x/crypto v0.23.0 // indirect
468+
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 // indirect
468469
golang.org/x/exp/typeparams v0.0.0-20240314144324-c7f7c6466f7f // indirect
469-
golang.org/x/net v0.24.0 // indirect
470-
golang.org/x/sys v0.19.0 // indirect
470+
golang.org/x/net v0.25.0 // indirect
471+
golang.org/x/sys v0.20.0 // indirect
471472
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
472473
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
473-
google.golang.org/genproto/googleapis/api v0.0.0-20240325203815-454cdb8f5daa // indirect
474-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
474+
google.golang.org/genproto/googleapis/api v0.0.0-20240515191416-fc5f0ca64291 // indirect
475+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 // indirect
475476
gopkg.in/ini.v1 v1.67.0 // indirect
476477
gopkg.in/warnings.v0 v0.1.2 // indirect
477478
gopkg.in/yaml.v2 v2.4.0 // indirect

0 commit comments

Comments
 (0)