Skip to content

Commit

Permalink
ci(github): fix type exports in packages/cactus-common
Browse files Browse the repository at this point in the history
Primary Changes
---------------
1. Remove packages/cactus-common/hyperledger-cactus-common-*.tgz in ignore
paths in get-all-tgz-path.ts file
2. Added the missing LogLevelDesc in index.ts as per attw -f json error log

Fixes: #3635

Signed-off-by: ruzell22 <[email protected]>
  • Loading branch information
ruzell22 committed Nov 22, 2024
1 parent 27a24dd commit ddbe5b2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 15 additions & 0 deletions packages/cactus-common/src/main/typescript/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
export * from "./public-api";
export { IListenOptions, Servers } from "./servers";
export const LogLevel = {
TRACE: "TRACE",
trace: "trace",
ERROR: "ERROR",
error: "error",
WARN: "WARN",
warn: "warn",
INFO: "INFO",
info: "info",
DEBUG: "DEBUG",
debug: "debug",
SILENT: "SILENT",
silent: "silent",
} as const;
export type LogLevelDesc = (typeof LogLevel)[keyof typeof LogLevel];
2 changes: 0 additions & 2 deletions tools/custom-checks/get-all-tgz-path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ export async function getAllTgzPath(): Promise<IGetAllTgzPathResponse> {
"packages/cactus-verifier-client/hyperledger-cactus-verifier-client-*.tgz",
// link for issue ticket relating to this package: https://github.com/hyperledger-cacti/cacti/issues/3634
"packages/cactus-plugin-ledger-connector-polkadot/hyperledger-cactus-plugin-ledger-connector-polkadot-*.tgz",
// link for issue ticket relating to this package: https://github.com/hyperledger-cacti/cacti/issues/3635
"packages/cactus-common/hyperledger-cactus-common-*.tgz",
],
};

Expand Down

0 comments on commit ddbe5b2

Please sign in to comment.