Skip to content

Commit

Permalink
fix(npm): clean script was missing folders
Browse files Browse the repository at this point in the history
1. No longer uses lerna and instead specifies glob patterns
2. Expands the deletion of generated Typescript code to all
packages where it's present not just the api-client package.

Fixes hyperledger-cacti#469

Signed-off-by: Peter Somogyvari <[email protected]>
  • Loading branch information
petermetz committed Jan 13, 2021
1 parent e6dd435 commit 4eb4222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start:api-server": "node ./packages/cactus-cmd-api-server/dist/lib/main/typescript/cmd/cactus-api.js --config-file=.config.json",
"start:cockpit": "lerna run --scope '*/cactus-cockpit' --stream serve:proxy",
"start:example-supply-chain": "node ./examples/supply-chain-app/node_modules/.bin/cactus-example-supply-chain-backend",
"clean": "lerna exec --stream --ignore '*/*cockpit' -- del-cli dist/** && del-cli packages/cactus-api-client/src/main/typescript/generated/openapi/typescript-axios/*",
"clean": "del-cli \"./packages/cactus-*/{dist,.nyc_output,src/main/typescript/generated/openapi/typescript-axios/*}\"",
"lint": "lerna exec --stream --ignore '*/*cockpit' -- cross-env DEBUG= tslint --project tsconfig.json",
"tsc": "lerna run tsc",
"build": "npm-run-all build:dev build:prod",
Expand Down

0 comments on commit 4eb4222

Please sign in to comment.