ci(github): fix type exports in examples/cactus-common-example-server
Description
Relates to: #3140
Ignore pattern has been added in tools/custom-checks/get-all-tgz-path.ts in PR #3561 for packages that are having error when running the newly added check in custom-checks to validate exported types being correct so that the job will pass for now.
This ticket is created to fix examples/cactus-common-example-server/hyperledger-cactus-common-example-server-*.tgz and delete it in the ignore pattern right after. For more info about the custom-check log, refer to this github action link:
https://github.com/hyperledger-cacti/cacti/actions/runs/11798447068/job/32864671597?pr=3561
and this discussion reply: https://github.com/hyperledger-cacti/cacti/pull/3561#pullrequestreview-2430386262
Related link that can help with regards to the error logs: https://www.npmjs.com/package/@arethetypeswrong/cli
Acceptance Criteria
- ci yarn-custom-checks should pass
- remove the ignore pattern for this specific package in tools/custom-checks/get-all-tgz-path.ts
On hold for now, similar to #3633 , LedgerEvent is being exported in public-api.ts but is not reflecting on .js file when building. More details about the tests made here: https://github.com/hyperledger-cacti/cacti/pull/3654#issuecomment-2505367464 https://github.com/hyperledger-cacti/cacti/pull/3654#issuecomment-2509561816
@ruzell22 Packages in examples/* are not part of public API and can be modified anytime
We are refactoring the CI, as part of https://github.com/hyperledger-cacti/cacti/issues/4037.