Skip to content

Commit

Permalink
Adding clean scripts (#3191)
Browse files Browse the repository at this point in the history
* add clean scripts

* update README

* update one more
  • Loading branch information
0xverin authored Dec 7, 2024
1 parent d9c5c63 commit 8b7369e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tee-worker/identity/client-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"build": "pnpm --filter parachain-api run build && pnpm --filter sidechain-api run build",
"update-build": "pnpm run update && pnpm run build",
"format": "pnpm run --recursive format",
"check-format": "pnpm run --recursive check-format"
"check-format": "pnpm run --recursive check-format",
"clean": "pnpm --filter parachain-api run clean && pnpm --filter sidechain-api run clean"
},
"packageManager": "[email protected]"
}
2 changes: 2 additions & 0 deletions tee-worker/identity/ts-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ See client-api [README.md](https://github.com/litentry/litentry-parachain/blob/d

## Installation

Note: Whenever the `client-api` is updated, it must be reinstalled, and it's best to clean node_modules(`pnpm run clean`) to prevent caching issues.

```
cd tee-worker/ts-tests
nvm use
Expand Down
3 changes: 2 additions & 1 deletion tee-worker/identity/ts-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"license": "ISC",
"scripts": {
"format": "pnpm run --recursive format",
"check-format": "pnpm run --recursive check-format"
"check-format": "pnpm run --recursive check-format",
"clean": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +"
},
"packageManager": "[email protected]"
}

0 comments on commit 8b7369e

Please sign in to comment.