Skip to content

Commit

Permalink
ci(github): fix type exports in packages/cacti-ledger-browser
Browse files Browse the repository at this point in the history
Primary Changes
---------------
1. Removed packages/cacti-ledger-browser/hyperledger-cacti-ledger-browser-*.tgz
in ignore paths in get-all-tgz-path.ts file
2. Added main, module, types, and files in package.json

Fixes: #3630

Signed-off-by: ruzell22 <[email protected]>
  • Loading branch information
ruzell22 authored and petermetz committed Jan 29, 2025
1 parent 6af5fda commit f4725a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions packages/cacti-ledger-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
"url": "https://www.fujitsu.com/global/"
}
],
"main": "dist/lib/main/typescript/index.js",
"module": "dist/lib/main/typescript/index.js",
"types": "dist/lib/main/typescript/index.d.ts",
"files": [
"dist/*"
],
"scripts": {
"build": "yarn run tsc && yarn run build:prod:frontend",
"build:dev:frontend": "vite build --mode=development",
Expand Down
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 @@ -48,8 +48,6 @@ export async function getAllTgzPath(): Promise<IGetAllTgzPathResponse> {
"packages/cacti-plugin-weaver-driver-fabric/src/main/typescript/hyperledger-cacti-weaver-driver-fabric-*.tgz",
// link for issue ticket relating to this package: https://github.com/hyperledger-cacti/cacti/issues/3629
"packages/cacti-plugin-copm-fabric/hyperledger-cacti-cacti-plugin-copm-fabric-*.tgz",
// link for issue ticket relating to this package: https://github.com/hyperledger-cacti/cacti/issues/3630
"packages/cacti-ledger-browser/hyperledger-cacti-ledger-browser-*.tgz",
// link for issue ticket relating to this package: https://github.com/hyperledger-cacti/cacti/issues/3632
"examples/cactus-common-example-server/hyperledger-cactus-common-example-server-*.tgz",
// link for issue ticket relating to this package: https://github.com/hyperledger-cacti/cacti/issues/3633
Expand Down

0 comments on commit f4725a7

Please sign in to comment.