From 95150c26708afa4f92a53fda824703e3eefb4b73 Mon Sep 17 00:00:00 2001 From: Elena Izaguirre Date: Tue, 23 Nov 2021 13:40:45 +0100 Subject: [PATCH] fix(connector-corda): add script to remove files before generate them added new pattern to 'clean' script to remove autogenerated files from corda main-server Closes: #1559 Signed-off-by: Elena Izaguirre --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d3829e391a8..f41ec7741d4 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "start:example-supply-chain": "yarn build:dev && cd ./examples/supply-chain-app/ && yarn --no-lockfile && yarn start", "start:example-carbon-accounting": "CONFIG_FILE=examples/cactus-example-carbon-accounting-backend/example-config.json node examples/cactus-example-carbon-accounting-backend/dist/lib/main/typescript/carbon-accounting-app-cli.js", "purge-build-cache": "del-cli .build-cache/*", - "clean": "npm run purge-build-cache && del-cli \"./{packages,examples,extensions}/cactus-*/{dist,.nyc_output,src/main/proto/generated/*,src/main/typescript/generated/proto/protoc-gen-ts/*,src/main/typescript/generated/openapi/typescript-axios/*}\"", + "clean": "npm run purge-build-cache && del-cli \"./{packages,examples,extensions}/cactus-*/{dist,.nyc_output,src/main/proto/generated/*,src/main/typescript/generated/proto/protoc-gen-ts/*,src/main/typescript/generated/openapi/typescript-axios/*,src/main-server/kotlin/gen/kotlin-spring/src/**/{model,api}/*}\"", "lint": "eslint '*/*/src/**/*.{js,ts}' --quiet --fix && cspell \"*/*/src/**/*.{js,ts}\"", "tsc": "tsc --build --verbose", "codegen": "lerna run codegen",