Skip to content

Commit 416b82e

Browse files
committed
fix(npm): clean script was missing folders
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. 3. Deletes the two files that were meant to be deleted to begin with, but since the clean script was not fully working they were actually left undeleted until now. Fixes #469 Signed-off-by: Peter Somogyvari <[email protected]>
1 parent bd09b8a commit 416b82e

File tree

3 files changed

+1
-117
lines changed
  • packages
    • cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios
    • cactus-plugin-ledger-connector-fabric/src/main/typescript/generated/openapi/typescript-axios

3 files changed

+1
-117
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start:api-server": "node ./packages/cactus-cmd-api-server/dist/lib/main/typescript/cmd/cactus-api.js --config-file=.config.json",
99
"start:cockpit": "lerna run --scope '*/cactus-cockpit' --stream serve:proxy",
1010
"start:example-supply-chain": "node ./examples/supply-chain-app/node_modules/.bin/cactus-example-supply-chain-backend",
11-
"clean": "lerna exec --stream --ignore '*/*cockpit' -- del-cli dist/** && del-cli packages/cactus-api-client/src/main/typescript/generated/openapi/typescript-axios/*",
11+
"clean": "del-cli \"./packages/cactus-*/{dist,.nyc_output,src/main/typescript/generated/openapi/typescript-axios/*}\"",
1212
"lint": "lerna exec --stream --ignore '*/*cockpit' -- cross-env DEBUG= tslint --project tsconfig.json",
1313
"tsc": "lerna run tsc",
1414
"build": "npm-run-all build:dev build:prod",

packages/cactus-plugin-consortium-manual/src/main/typescript/generated/openapi/typescript-axios/git_push.sh

-58
This file was deleted.

packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/generated/openapi/typescript-axios/git_push.sh

-58
This file was deleted.

0 commit comments

Comments
 (0)