-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: codegen to call clean on a per pkg basis
Primary Changes --------------- 1. Updated codegen scripts of all affected packages to include a global openapi-generator-ignore file 2. Created script to clean openapi folders generated by codegen for typescript-axios and kotlin Secondary Changes ----------------- 1. Removed duplicated code generated previously when codegen clear wasn't enabled 2. Created openapi-generator-ignore file at project root for global ignore rules 3. Updated package.json of all affected packages, extensions and examples Peter's Additional Changes -------------------------- 1. The sawtooth connector's package.json's codegen script had to also be updated so that it uses the central ignore file from the root 2. yarn.lock update (because it's out of date on the main branch) Fixes #2736 Co-authored-by: Peter Somogyvari <[email protected]> Signed-off-by: jagpreetsinghsasan <[email protected]> Signed-off-by: Peter Somogyvari <[email protected]>
- Loading branch information
1 parent
4671297
commit 6a0d479
Showing
123 changed files
with
96 additions
and
2,194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
...ss-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
...c-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
...ss-logic-plugin/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
...c-plugin/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 0 additions & 27 deletions
27
...tor-besu/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
...ject-store-ipfs/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
...ore-ipfs/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
**/git_push.sh | ||
**/.npmignore | ||
**/.gitignore | ||
**/generated/openapi/kotlin-client/docs/** | ||
**/generated/openapi/kotlin-client/gradle/** | ||
**/generated/**/.openapi-generator-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
...-cmd-api-server/src/main/kotlin/generated/openapi/kotlin-client/.openapi-generator-ignore
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
packages/cactus-cmd-api-server/src/main/proto/generated/openapi/.openapi-generator/FILES
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
.openapi-generator-ignore | ||
README.md | ||
models/health_check_response_pb.proto | ||
models/memory_usage_pb.proto | ||
|
27 changes: 0 additions & 27 deletions
27
...i-server/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator-ignore
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.