remove unused generated code

This commit is contained in:
Egor Aristov 2025-02-28 17:18:13 +03:00
parent 67c6bd9856
commit f12f480cb0
Signed by: egor3f
GPG Key ID: 40482A264AAEC85F
4 changed files with 4 additions and 5763 deletions

View File

@ -4,7 +4,10 @@ all:
js_proto:
protoc -I=. -I=${PROTOBUF_TAGGER_PATH} --ts_out=./frontend/wizard-vue/src/urlmaker ./proto/specs.proto
sed -i '1 i //@ts-nocheck' ./frontend/wizard-vue/src/urlmaker/google/protobuf/descriptor.ts
# Remove unneeded code left from GO plugin (and corresponsing unused import)
sed -i -E '/import.+tagger\/tagger/d' ./frontend/wizard-vue/src/urlmaker/proto/specs.ts
rm -rf ./frontend/wizard-vue/src/urlmaker/google
rm -rf ./frontend/wizard-vue/src/urlmaker/tagger
go_proto:
protoc -I=. -I=${PROTOBUF_TAGGER_PATH} --go_out=. ./proto/specs.proto

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,6 @@
* compiler version: 5.29.3
* source: proto/specs.proto
* git: https://github.com/thesayyn/protoc-gen-ts */
import * as dependency_1 from "./../tagger/tagger";
import * as pb_1 from "google-protobuf";
export namespace rssalchemy {
export class Specs extends pb_1.Message {

View File

@ -1,7 +0,0 @@
/**
* Generated by the protoc-gen-ts. DO NOT EDIT!
* compiler version: 5.29.3
* source: tagger/tagger.proto
* git: https://github.com/thesayyn/protoc-gen-ts */
import * as dependency_1 from "./../google/protobuf/descriptor";
export namespace tagger { }